﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable id="5wJJfc9UlZLpxEIPR^xB" type="">stake</variable>
    <variable id="I;JDwkVzN4Kt;w5o]]+B" type="">ganho total</variable>
    <variable id="cpuB!lOaS0+}?vdEF!$}" type="">martingale inicial</variable>
    <variable id="4$D,f`Z^kB{YBhK0Ie.S" type="">martingale max</variable>
  </variables>
  <block id="xgH69|xFn9=70w.*3Vo@" type="trade" y="0" x="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</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 id="O_BnGN^y;$f=ga;1ao~j" type="variables_set">
        <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
        <value name="VALUE">
          <block id="ODv?3D..lb:Gs^wJ{|:y" type="math_number">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block id=":}i7,d7a$YMZw8O_={n)" type="variables_set">
            <field id="I;JDwkVzN4Kt;w5o]]+B" name="VAR" variabletype="">ganho total</field>
            <value name="VALUE">
              <block id="~um.11MO/pkdrc7r7#9D" type="math_number">
                <field name="NUM">10</field>
              </block>
            </value>
            <next>
              <block id="_@4)96(eDJ}vJX(@]Odw" type="variables_set">
                <field id="cpuB!lOaS0+}?vdEF!$}" name="VAR" variabletype="">martingale inicial</field>
                <value name="VALUE">
                  <block id="Hcyoi0{n!?i|K%@/ppp^" type="math_number">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block id="~GI34vo#W%fR;PMo.|ud" type="variables_set">
                    <field id="4$D,f`Z^kB{YBhK0Ie.S" name="VAR" variabletype="">martingale max</field>
                    <value name="VALUE">
                      <block id=".K~U:DqDW4av^0{G4fVU" type="math_number">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block id="x=V33~4Lb|(sLv`J[:Eb" type="tradeOptions">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow id="O*@58sDc=!cOO}*b2vf9" type="math_number">
            <field name="NUM">20</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">0.35</field>
          </shadow>
          <block id="Ze[s5HJr72q?1$yUkr3l" type="variables_get">
            <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block id="i-CIx.(Onm4?ihxzA}Y]" type="before_purchase" y="516" x="0">
    <statement name="BEFOREPURCHASE_STACK">
      <block id="RIpx+YV$6D0RYnA;2ra`" type="controls_if">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block id="Vq-/[6BC~~UUh;mN|oB{" type="logic_compare">
            <field name="OP">LT</field>
            <value name="A">
              <block id="VDMt,.){B8ekANF/DC~i" type="math_modulo">
                <value name="DIVIDEND">
                  <shadow id="n+vK?^S?*7_rB4,q~FpL" type="math_number">
                    <field name="NUM">64</field>
                  </shadow>
                  <block id="4(QY(($I)47_9B,+E)Q1" type="epoch"></block>
                </value>
                <value name="DIVISOR">
                  <shadow id="_Xb/ngv(N2rAE,,HdqwI" type="math_number">
                    <field name="NUM">60</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block id="2M?@L2$jtBWdjMGQXr5E" type="math_number">
                <field name="NUM">4</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block id="W6q#Z-I3q3d[d3-`S[dS" type="purchase">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <value name="IF1">
          <block id="Bz}!XPkJ7VD{5ujcs}`a" type="logic_operation">
            <field name="OP">AND</field>
            <value name="A">
              <block id="/2ttP9dBTiE.)J~G*5Lz" type="logic_compare">
                <field name="OP">LT</field>
                <value name="A">
                  <block id="bBe59Lq(+r)yI%uje7eY" type="math_modulo">
                    <value name="DIVIDEND">
                      <shadow id="n+vK?^S?*7_rB4,q~FpL" type="math_number">
                        <field name="NUM">64</field>
                      </shadow>
                      <block id="x@QznQy:ooYGctAf`TnC" type="epoch"></block>
                    </value>
                    <value name="DIVISOR">
                      <shadow id="o9:1kZ?%@n|P9ADi-$lK" type="math_number">
                        <field name="NUM">60</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block id="fQl-4){.M+*oi4r+=4u[" type="math_number">
                    <field name="NUM">32</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block id="t5bbnvB]{hW8hZ|MJglu" type="logic_compare">
                <field name="OP">GT</field>
                <value name="A">
                  <block id="sv{8iX=?`raP+#B@pJlt" type="math_modulo">
                    <value name="DIVIDEND">
                      <shadow id="n+vK?^S?*7_rB4,q~FpL" type="math_number">
                        <field name="NUM">64</field>
                      </shadow>
                      <block id="Sf%)1o;Xp_l3xz(]x{2k" type="epoch"></block>
                    </value>
                    <value name="DIVISOR">
                      <shadow id="Z4tB1[Y7/sbC_)XDznTD" type="math_number">
                        <field name="NUM">60</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block id="+Z,wtDyKi{52ghIG*_;S" type="math_number">
                    <field name="NUM">28</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block id="vCD{@9o60FV]`M!`}xDc" type="purchase">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block id="D^Jz1^n=2vtZku1vBN@;" type="after_purchase" y="788" x="0" collapsed="true">
    <statement name="AFTERPURCHASE_STACK">
      <block id="LCL:=s4T/v9[3[j^wIXV" type="controls_if">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block id="lyo%B2p.D7-[!fX0Ljt]" type="contract_check_result">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block id="bj}zQ)[?iXza59e:}yC(" type="variables_set">
            <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
            <value name="VALUE">
              <block id="tH0iou,-sJPNv~e[#4SU" type="math_arithmetic">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow id="g+Q-mbeR*kj|U9@BWsih" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="ohYq:r_6SR35FW4hb.xq" type="variables_get">
                    <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="CVf+bk5.Hsi_T]Bf!{.)" type="math_number">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block id=";RFtiv0=KWi%/|u3dEoq" type="variables_set">
                <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
                <value name="VALUE">
                  <block id="Q77J5az?S*W%A~u-h$V0" type="math_arithmetic">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow id="g+Q-mbeR*kj|U9@BWsih" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block id="P`?xqN]|+*Ab+Y?7jLiR" type="variables_get">
                        <field id="cpuB!lOaS0+}?vdEF!$}" name="VAR" variabletype="">martingale inicial</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow id="Go9W_v%VmPTdvA-3;GVt" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block id="^G?1AuEMdFQDRQs@Iqr+" type="contract_check_result">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO1">
          <block id="mC:z7JxAV7V*=~1uqe?G" type="variables_set">
            <field id="5wJJfc9UlZLpxEIPR^xB" name="VAR" variabletype="">stake</field>
            <value name="VALUE">
              <block id="@!JJUJCE;p/Hse)Z_Np5" type="math_number">
                <field name="NUM">0.35</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block id="qjUNX|r#3jW*}I6wD;MA" type="controls_if">
            <value name="IF0">
              <block id="bpfiGIpF[Gjxp,uYwK:F" type="logic_operation">
                <field name="OP">AND</field>
                <value name="A">
                  <block id="OF%Stuzj,Xg?Z6T;gA%K" type="logic_compare">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block id="8xd7wwts!/?4Kp*uuSI9" type="total_profit"></block>
                    </value>
                    <value name="B">
                      <block id="9?uQKw(=IuYQdhNnGy`Y" type="variables_get">
                        <field id="I;JDwkVzN4Kt;w5o]]+B" name="VAR" variabletype="">ganho total</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block id="$-|Lv(bOMzlgV[qdvfqg" type="logic_compare">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block id="Q(5v*jAH[NA#bBrwXNe$" type="variables_get">
                        <field id="cpuB!lOaS0+}?vdEF!$}" name="VAR" variabletype="">martingale inicial</field>
                      </block>
                    </value>
                    <value name="B">
                      <block id="BnnGe_DIVZ)=6mO+-i]u" type="variables_get">
                        <field id="4$D,f`Z^kB{YBhK0Ie.S" name="VAR" variabletype="">martingale max</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block id="c)S|KjoQdXc8l#J@5z3P" type="trade_again"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>