﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxAUDJPY</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="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="v/O]iCQ}j[GiAK!S1!vk">
        <field name="VAR">Derrotas seguidas</field>
        <value name="VALUE">
          <block type="math_number" id="^:bth~fukQ(H;qG~W,J9">
            <field name="NUM">3</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="yuF[{UN_)/n/p_7|Bn{^">
            <field name="VAR">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="TNeUN!N2ai|Riu#T4Hs+">
                <field name="NUM">10</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="!rE+(YJ?USv@e;5A6{3i">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="zBSG}Pb^V)cr2}S(Tt})">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="YtQk@m86-{dB2w249nh;">
                    <field name="VAR">Periodo BB</field>
                    <value name="VALUE">
                      <block type="math_number" id="aK43MgC-UE*ZN1:)cqvs">
                        <field name="NUM">25</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="6iJd+0H%~07}T`7!`[@T">
                        <field name="VAR">Desvio BB</field>
                        <value name="VALUE">
                          <block type="math_number" id="Gw5z(bRTD7RB,j+{NG#J">
                            <field name="NUM">2.5</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="y?SrTFD~{JM^d[Zb)aRM" collapsed="true">
                            <field name="VAR">Contador Loss</field>
                            <value name="VALUE">
                              <block type="math_number" id="?vSf%u[N1xK{BxE$.NHL">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">4</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="j#2sMHK~q%Qn:kUF]n~M">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="435">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="PPRCrnmC[`zuzGRDJ48Y">
        <field name="VAR">BB_Sup</field>
        <value name="VALUE">
          <block type="bb" id="1`_xyF,IUo+DW)C_9NI+">
            <field name="BBRESULT_LIST">1</field>
            <value name="INPUT">
              <block type="ohlc_values" id="s_DC2QcYev3Jq^#_UUID">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="]-^0T5*0BY:jI**ea?@N">
                <field name="NUM">25</field>
              </shadow>
              <block type="variables_get" id="DCJni2@JiU#R3C06:;$1">
                <field name="VAR">Periodo BB</field>
              </block>
            </value>
            <value name="UPMULTIPLIER">
              <shadow type="math_number" id="G3q`1*1!m*W8o(fI3g2;">
                <field name="NUM">2.5</field>
              </shadow>
              <block type="variables_get" id="mR-ne1ah/o_MI}_evxkt">
                <field name="VAR">Desvio BB</field>
              </block>
            </value>
            <value name="DOWNMULTIPLIER">
              <shadow type="math_number" id="T[_(-Q+)H~$U+C2l_PQh">
                <field name="NUM">2.5</field>
              </shadow>
              <block type="variables_get" id="Aja`[m+`2FqOQX[6v.l3">
                <field name="VAR">Desvio BB</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="W2|89iW:K*aJKl,[7wEa">
            <field name="VAR">BB_Inf</field>
            <value name="VALUE">
              <block type="bb" id="p`I0F0p)UojEFv}#v}HC">
                <field name="BBRESULT_LIST">2</field>
                <value name="INPUT">
                  <block type="ohlc_values" id="X?F3_bhX#VZ5G!}ej0(5">
                    <field name="OHLCFIELD_LIST">close</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="Ay=.=s-5[DInpiSgN_y3">
                    <field name="NUM">25</field>
                  </shadow>
                  <block type="variables_get" id="6R,j|`g(tW~_PMI!vb*]">
                    <field name="VAR">Periodo BB</field>
                  </block>
                </value>
                <value name="UPMULTIPLIER">
                  <shadow type="math_number" id="Q7Ug=o-n7#FV;23$=5F4">
                    <field name="NUM">2.5</field>
                  </shadow>
                  <block type="variables_get" id="jk)^ak|AxAz1LSWQWoY$">
                    <field name="VAR">Desvio BB</field>
                  </block>
                </value>
                <value name="DOWNMULTIPLIER">
                  <shadow type="math_number" id="}AEeiRUTt1sDM_O?:S24">
                    <field name="NUM">2.5</field>
                  </shadow>
                  <block type="variables_get" id="CIK_nm/i-y7hHnHY_#Vj">
                    <field name="VAR">Desvio BB</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="kf}`,+n8r4vwSZwc(zZ7">
                <value name="IF0">
                  <block type="logic_compare" id="E!PGujV88X]SqUN}.[X(">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="tick" id="3RC#F^=y#0Lt(Vp:O=c-"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="n]Pj]l4hPulCYf`QJ:v%">
                        <field name="VAR">BB_Sup</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="purchase" id="e3D@V:ls^ArxmSCAU4_;">
                    <field name="PURCHASE_LIST">PUT</field>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id=")%iL(~|1]~aBW`EIuVSC">
                    <value name="IF0">
                      <block type="logic_compare" id="kz0}an[dJ(8j}wp`UlE*">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="tick" id="LmI5T#+{(AH)O~Ew%TPF"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="xa`=w1{sNnbBz`EbF^P^">
                            <field name="VAR">BB_Inf</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="`c+;yiWT29qcBlkKIO6;">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="v=p+B()df|`fzgc!qCTB" x="0" y="907">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="vvVkEYdM|-%~JX^X`,U@">
        <value name="IF0">
          <block type="contract_check_result" id="a#iFuF:d?2ei6`wZlSB+">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="|wi(+1KpXz,BC.`!mUR)">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="X#rtD_I:^]253truBA9i">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="total_profit" id="%l?%+gW7Wf%Ht;E86UE9"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="7;%_kjG(S(y}Y}K|yYmA">
                    <field name="VAR">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="87:c,[JI[yS+;^W3BiLy">
                <field name="VAR">Contador Loss</field>
                <value name="VALUE">
                  <block type="math_number" id=",3VvcbL?R-:c^?$}JUEQ">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="trade_again" id="]M*Q7T^e~]Zij.`8Yx?!"></block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="text_print" id="7mv]dgu_SvZZ5$WGS~P)">
                <value name="TEXT">
                  <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text" id=":NNyLul6b#i/r*O?8]fy">
                    <field name="TEXT">Total Profit Alcançado</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="aTCxu7Fa(7%HSe7y5c4M">
            <value name="IF0">
              <block type="contract_check_result" id=".`?O:mg!`|fW8(aQ`PD_">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="Z]V)Bd$RS9S#s$m_Gz,S">
                <field name="VAR">Contador Loss</field>
                <value name="DELTA">
                  <shadow type="math_number" id="7$bBKP(WS82Scei3%Hg;">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
                <next>
                  <block type="controls_if" id="tV=!l0:.a|:{k@S01fK#">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="ZEY-a|].Y(#;_}Hx{f+F">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="2O@]dITUE+r2n@Bzr.z9">
                            <field name="VAR">Contador Loss</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="mS[iY5`GP6X9)GX^Ng!T">
                            <field name="VAR">Derrotas seguidas</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id=",G;?4#uZ(F$%f[RRN[|9">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="qz4N6LR9$z=W?$VY?gPT">
                            <field name="TEXT">Limite de Perca</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="timeout" id=",[).F8H^!-mJ;#`owX9N">
                        <statement name="TIMEOUTSTACK">
                          <block type="trade_again" id="i|**7^}}:/z*4BWWt`[M"></block>
                        </statement>
                        <value name="SECONDS">
                          <shadow type="math_number" id="jUVjzad/P,0orj-1YP!o">
                            <field name="NUM">180</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>