﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id="trade" x="94" y="12">
    <statement name="SUBMARKET">
      <block type="variables_set" id="lc`.:M:jvexC3%f!PjqM">
        <field name="VAR">Expected Profit</field>
        <value name="VALUE">
          <block type="math_number" id="=bc([hlSpIKCZ%;xt8H(">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="hc;r%NVGKWNQ!zZ=gg5/">
            <field name="VAR">Win Amount</field>
            <value name="VALUE">
              <block type="math_number" id=",w)l?3R`3fc95k+v,sK-">
                <field name="NUM">0.5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="BjxP-?rdnXo|:VfQ8vgO">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="-h;iEHnijBZ6s(%:#B_t">
                    <field name="NUM">0.5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="IF/nc15juR-w4%y^rRnm">
                    <field name="VAR">Nº de Stop Loss</field>
                    <value name="VALUE">
                      <block type="math_number" id="sm46Y)c.Mf)_OAb:`w+a">
                        <field name="NUM">10</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="ESxdQoiKjq(a;#4)WMwW">
                        <field name="VAR">Loss</field>
                        <value name="VALUE">
                          <block type="math_number" id="#R|RK@#7=gBwCL@O`UCP">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="3E0`CQde%l@A^_8/`eN2">
                            <field name="VAR">Max Perdas</field>
                            <value name="VALUE">
                              <block type="math_number" id="%-Rsls#Lr5PC%`l,/C6:">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <next>
                              <block type="market" id="TPj:|w7uj1Oj~o@eTK79">
                                <field name="MARKET_LIST">forex</field>
                                <field name="SUBMARKET_LIST">major_pairs</field>
                                <field name="SYMBOL_LIST">frxEURAUD</field>
                                <field name="TRADETYPECAT_LIST">callput</field>
                                <field name="TRADETYPE_LIST">risefall</field>
                                <field name="TYPE_LIST">both</field>
                                <field name="CANDLEINTERVAL_LIST">60</field>
                                <field name="DURATIONTYPE_LIST">t</field>
                                <field name="PAYOUTTYPE_LIST">stake</field>
                                <field name="CURRENCY_LIST">USD</field>
                                <field name="RESTARTONERROR">FALSE</field>
                                <value name="DURATION">
                                  <block type="math_number" id="E91p=iyLgg)d`(G863Ag">
                                    <field name="NUM">5</field>
                                  </block>
                                </value>
                                <value name="AMOUNT">
                                  <block type="variables_get" id="v:UTCAr)4K4YwHCHBful">
                                    <field name="VAR">Initial Amount</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="561" y="-2">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="NjhCw?{FMU#TpAHL}D07">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id=":nY7G]FjBbsc%QPsX-iq">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="0%M![KR#qHa.d/xp(.k.">
            <field name="NOTIFICATION_TYPE">success</field>
            <value name="MESSAGE">
              <block type="text_join" id="A;VLL]pS2%KXA|LdZYLR">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="LUwP8=/22vv~+XFr%-I{">
                    <field name="TEXT">Won: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="Vy.^Qb|]9+29zH.o]D{;">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="s1;;CN~tfDTTz;6Zuj-+">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="ew9P)}[k^MVQWe]*PiGz">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="7kwZYP(Fd)E;]!MY3eNg">
                    <field name="VAR">Loss</field>
                    <value name="VALUE">
                      <block type="math_number" id="AzrF}6bYGJuZ(M8i=8v9">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id=",*7~K0qmiNHNf*nhIQ@9">
            <field name="VAR">Loss</field>
            <value name="DELTA">
              <shadow type="math_number" id="zP#%HWiO3{Pb)l27a{Vx">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="notify" id="3Ttd-43zd4-nT#cH,gHu">
                <field name="NOTIFICATION_TYPE">warn</field>
                <value name="MESSAGE">
                  <block type="text_join" id="BpHh8ZSGQ*/VL?UL7q04">
                    <mutation items="4"></mutation>
                    <value name="ADD0">
                      <block type="text" id="tA/Zpnc%q4|(:-yOwpBl">
                        <field name="TEXT">Lost:  </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="math_single" id="J!zKA%~^Ly88[lE9Whh1">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="SVxkU]cFN/2BeXCh-xGl">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="%hNl!COc(_(uK^d1fB8C">
                        <field name="TEXT">  |  Stop Loss = </field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="variables_get" id="1?%G8wmgC:I`jGH}^QS1">
                        <field name="VAR">Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="lc[DNS/)2?Yde:JI8N-K">
                    <field name="VAR">Initial Amount</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="N=Vo^MVz~/^(xt7Ag@8E">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="#oInv_B@S33;o_vXVm|]">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="*s82VcZiDuRDi@g,J@V[">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="Kw]ZFOYC%4H5Jw=+R5+d">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="vARoBYV}c;iBxsoAmwRC">
                            <field name="NUM">1.11</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="?WL6pC0{93Esx:9m`@;B">
            <field name="NOTIFICATION_TYPE">info</field>
            <value name="MESSAGE">
              <block type="text_join" id="!Qv1h@@x.[rAUe@B:XhB">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id=",/DcP6Ad!EA^[gOT-~W2">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="V]b#zZDeGK}I)[1V]bjm"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="((11vd-?K`(h1s%cg#^a">
                <value name="IF0">
                  <block type="logic_compare" id="qfEQV`Ir4kuv/t]RB=Zd">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="variables_get" id="r7{Sm}_..L|[GoinLP]w">
                        <field name="VAR">Loss</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="={g:B;^pgjGwPQ:=Q}9y">
                        <field name="VAR">Nº de Stop Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="C(@(JSNY?)+C:]#puvus">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="9?lwbsZ2EY0/~lIZfsMF">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="NEW!r=^#hlVL|ysEmm/j"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="1r*3}XY)0G..riHKsUuR">
                            <field name="VAR">Expected Profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="sJ5hp]#hpWYAHuq53*:i"></block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="r06Ie`=Qa}Wr3glTBX4)">
                        <value name="TEXT">
                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="av#.,OKHTLpVhJKY,W(r">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="^%(Js:@*DZijk4iO[6bT">
                                <field name="TEXT">Done! Total profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="i!sp[}huN%4~xPpdbb,+"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="psU_4edcK@n3@nKTG7[|">
                    <value name="IF0">
                      <block type="logic_compare" id="/53Vaul;gUQ/M1GoMp9#">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="fMj;3Pf~J/s)zXG/{DLl">
                            <field name="VAR">Loss</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id=",-;u[-{nT`M=dL6YX:N5">
                            <field name="VAR">Nº de Stop Loss</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="km^MfR-xH{?un75;SqsN">
                        <value name="TEXT">
                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="CuO2~gu@v4dS8IY:SaX;">
                            <mutation items="4"></mutation>
                            <value name="ADD0">
                              <block type="text" id="m0,]E;Qk4)~QJB30T%I9">
                                <field name="TEXT">Limite de Stop Loss atingido!</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="text" id="{y3bUjYd+v8Gh{,Ou~Pv">
                                <field name="TEXT">  - Espere o mercado melhorar para continuar!!!</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="!zM7RG=;tvTy9WY{H7!X">
                                <field name="TEXT"> Profit US$ </field>
                              </block>
                            </value>
                            <value name="ADD3">
                              <block type="total_profit" id="uY7{NU+z-k2WmMTyc^GD"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="95" y="403">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="V!^b0qSU1iJ:pkcnmpBJ">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="udHx~FO~a4aVU]EX_!LS">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="bV8]!#*=0$Ryh1_s]F#K">
                <field name="VAR">Max Perdas</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="j`1lX?a$-=/$]rZ8T*f+">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="variables_get" id="uX%/|/5L5j4HNGVb_=`.">
                    <field name="VAR">Loss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="check_direction" id="E6vbT*VjHCQE(ug/PHff">
                    <field name="CHECK_DIRECTION">rise</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="M1oXO)/JRVWwJL}lrt%k">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="controls_if" id="Df%B3%espEh^T!.vVv2K">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="check_direction" id="]gNR+zf|a:^e[;%C~4i+">
                <field name="CHECK_DIRECTION">rise</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="1)76;d*jU@:R9MXMXaI4">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="purchase" id="v3RxcSJS#)}b}Hwlhpg-">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>