<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="Z/2phN]r,ZM9tvzUNL|R">Stake</variable>
    <variable type="" id="Jm7-LeLzgomh|B_bX5eN">entrada</variable>
    <variable type="" id="*aR6_AOg0R^HP6i0bkLQ">entradaAtualIndice</variable>
    <variable type="" id="JPNj!{.pW~sQ$N80ZQTT">totalEntradas</variable>
    <variable type="" id="/*HfP?q[$ZxW2ly`0miu">entradas</variable>
    <variable type="" id="ePLvCCJZ920CHhwyx~9l">martingale</variable>
    <variable type="" id="PRF%}V=TAT=faO6s1tRm">Meta de Lucros</variable>
    <variable type="" id="IWUqF;NMC=Bj^sP~b,`u">Limite de perdas</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</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="/,7_u8d@h~*.=u$4kNL!">
        <field name="VAR" id="Z/2phN]r,ZM9tvzUNL|R" variabletype="">Stake</field>
        <value name="VALUE">
          <block type="math_number" id="8NrQmu)bEzL|XRfGuSH-">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="YD7[oWMnB3)GG*I8^b#1">
            <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
            <value name="VALUE">
              <block type="math_number" id="AyS}|o+{vW{AQ7%n/b9~">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="VJ}8+SzfjWGm~Nh1t;U0">
                <field name="VAR" id="JPNj!{.pW~sQ$N80ZQTT" variabletype="">totalEntradas</field>
                <value name="VALUE">
                  <block type="math_number" id="Hm`zAZmv[3Ss)!YI52BU">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="gt:6#5ytZd,^k+Ohm_dk">
                    <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="?~W7sSP,@D=[iQioCnxk">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="@Zx2axHJt,g6VeOw}LPs">
                        <field name="VAR" id="PRF%}V=TAT=faO6s1tRm" variabletype="">Meta de Lucros</field>
                        <value name="VALUE">
                          <block type="math_number" id="ra,q|:FF*~=k3d{k/%;S">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="I(|!;;n;)6`3zzPnVrBY">
                            <field name="VAR" id="IWUqF;NMC=Bj^sP~b,`u" variabletype="">Limite de perdas</field>
                            <value name="VALUE">
                              <block type="math_number" id="_6cHOc40nO3D/0EoWH]R">
                                <field name="NUM">10</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>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="+[r/]gffx,mnN,DRw@tc">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="logic_ternary" id="$94~(OIXkj3q!z@n5PO0">
            <value name="IF">
              <block type="logic_negate" id="Mm%A5qtzD-AT2|E]$a}y">
                <value name="BOOL">
                  <block type="variables_get" id="m771^-gT0pc4J%)w8=]A">
                    <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="math_number" id="+JJ(#faf}v2:*^{1BE?B">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_number" id="|t(B4Ysm5hW!~C_8Yc]N">
                <field name="NUM">5</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="-13" y="620">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="n}r.s$j+(52#BlS/@m+t">
        <field name="VAR" id="Jm7-LeLzgomh|B_bX5eN" variabletype="">entrada</field>
        <value name="VALUE">
          <block type="lists_getIndex" id="L$NTtm#CE:i~}2(Ue|E@">
            <mutation statement="false" at="true"></mutation>
            <field name="MODE">GET</field>
            <field name="WHERE">FROM_START</field>
            <value name="VALUE">
              <block type="variables_get" id="?;=:v;%E{LlF-Yd/;X%s">
                <field name="VAR" id="/*HfP?q[$ZxW2ly`0miu" variabletype="">entradas</field>
              </block>
            </value>
            <value name="AT">
              <block type="variables_get" id="`Lm_H()_u5qB-Y123P1K">
                <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="_*i+7u{7{_4I!{h]SQ8E">
            <value name="IF0">
              <block type="logic_operation" id="KJy8e$6kD2OpbAw9I-5`">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="P@k)mm^atAOwSe(B9lbl">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="epoch" id="ge.~cXJ[n{`5D64:U,PB"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="U$4b}0Yb*=LXK(pc`H3`">
                        <field name="VAR" id="Jm7-LeLzgomh|B_bX5eN" variabletype="">entrada</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id=":dDCB^RJ~%_uiZ[s*0*`">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="variables_get" id="M1D[{{f:0a?Ucn=?*{!T">
                        <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="8cdp]6]_8U|@Xb]{RxCh">
                        <field name="VAR" id="JPNj!{.pW~sQ$N80ZQTT" variabletype="">totalEntradas</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="CX6sWEtv{T2ir-~8Z51x">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="-10" y="686">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="#E0U7ce0=@IQw^}Wn}F@">
        <value name="IF0">
          <block type="contract_check_result" id="yr!$VYX0yG{~VCNpM.5|">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="i-jVx`O;VLZddFBk08Jr">
            <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
            <value name="VALUE">
              <block type="variables_get" id="G`bgWS]y5V]:O;}Mr7jn">
                <field name="VAR" id="Z/2phN]r,ZM9tvzUNL|R" variabletype="">Stake</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="R0=AK`PW02O(bu^I=YB@">
            <value name="IF0">
              <block type="contract_check_result" id="ms}Pq3IPUlBB9Gbc;^FZ">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="AU%epED]r@$X.=A2WLw^">
                <field name="VAR" id="Z/2phN]r,ZM9tvzUNL|R" variabletype="">Stake</field>
                <value name="DELTA">
                  <shadow type="math_number" id="J,XV5#W8ekykn@)=Vz4[">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="hAD|{;d=:/Ky6RQ3?xA(">
                    <field name="VAR" id="Z/2phN]r,ZM9tvzUNL|R" variabletype="">Stake</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="c,0lET)M;+:$mWb`2~7K">
                <mutation else="1"></mutation>
                <comment pinned="false" h="68" w="157">Limite de perdas (Stop Loss)</comment>
                <value name="IF0">
                  <block type="logic_compare" id="}OI;NmzE.853:8ZyGfX#">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="total_profit" id="%*8LdC!*|wWf)Q}_~;.["></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="*G|_`xy|9vsEF%?x9w:7">
                        <field name="VAR" id="PRF%}V=TAT=faO6s1tRm" variabletype="">Meta de Lucros</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="Ukys=,SfWL[~ICll|dRG">
                    <value name="TEXT">
                      <shadow type="text" id="J{B+]{OSp:T}@774FL1V">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="$F}d.75Dg%_[Rn.lx,z{">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="LR`p}xVYc5?vR*319?Vv">
                            <field name="TEXT">Meta Atingida</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="qFmjSW.(j=kO{~p9XrzM"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="*RZ#8KFVaYiqP7h9$`]6">
                    <value name="IF0">
                      <block type="logic_compare" id="ryk;8eCprzNw,clp9*_r">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="total_profit" id="|JJLV.uoZ,U5y-/lb.8w"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="B{A|AAd@5G~[mrncsq{w">
                            <field name="VAR" id="IWUqF;NMC=Bj^sP~b,`u" variabletype="">Limite de perdas</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="zRIcSiO{c)/^/PlQtuzp">
                        <value name="TEXT">
                          <shadow type="text" id="J{B+]{OSp:T}@774FL1V">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="%9n^`KpkN;aQ4kpX:]I:">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id=";r[N|tWFBqW^cS{D3p7Y">
                                <field name="TEXT">Stop Loss</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="`S5LBm*PU)c)msVvPy]j"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>