﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ePLvCCJZ920CHhwyx~9l">martingale</variable>
    <variable type="" id="EfdQh!K;CbAch[+/g=8h">stop loss</variable>
    <variable type="" id="~e1d.{j.cf-%dWUMmov8">total proft</variable>
    <variable type="" id="Jm7-LeLzgomh|B_bX5eN">entrada</variable>
    <variable type="" id="PRF%}V=TAT=faO6s1tRm">Meta de Lucros</variable>
    <variable type="" id="*aR6_AOg0R^HP6i0bkLQ">entradaAtualIndice</variable>
    <variable type="" id="/*HfP?q[$ZxW2ly`0miu">entradas</variable>
    <variable type="" id="IWUqF;NMC=Bj^sP~b,`u">Limite de perdas</variable>
    <variable type="" id="JPNj!{.pW~sQ$N80ZQTT">totalEntradas</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="Ab5fJ1)VZ}8ykdBUN*%z">
        <field name="VAR" id="EfdQh!K;CbAch[+/g=8h" variabletype="">stop loss</field>
        <value name="VALUE">
          <block type="math_number" id="%1F}Jyzeagu~|]}+B`E;">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="EO5SuNicNm-qVUi.i}`4">
            <field name="VAR" id="~e1d.{j.cf-%dWUMmov8" variabletype="">total proft</field>
            <value name="VALUE">
              <block type="math_number" id="r+uxUAWKFE3r.Qg3?[$r">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="i9eQ$VY6+QMDDWiNq~)M" collapsed="true">
                <field name="VAR" id="/*HfP?q[$ZxW2ly`0miu" variabletype="">entradas</field>
                <value name="VALUE">
                  <block type="lists_create_with" id="waMFW8*ZXVHU}wi3AIih">
                    <mutation items="15"></mutation>
                    <value name="ADD0">
                      <block type="math_number" id="qjBf4Yc7YCuMw`7$13h=">
                        <field name="NUM">1563149700</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="math_number" id="Jj]kq:X2/lbcJRFL_~e3">
                        <field name="NUM">1563150000</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="math_number" id="NvMom!Dy3jw}zO5bE9#0">
                        <field name="NUM">30000</field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="math_number" id="Z|su-q^bo2gb1uknBAx4">
                        <field name="NUM">40000</field>
                      </block>
                    </value>
                    <value name="ADD4">
                      <block type="math_number" id="nc(IgBwzEP.!Lg%LcFo!">
                        <field name="NUM">50000</field>
                      </block>
                    </value>
                    <value name="ADD5">
                      <block type="math_number" id="gyUZ4-U${|5;WX3g?y4K">
                        <field name="NUM">60000</field>
                      </block>
                    </value>
                    <value name="ADD6">
                      <block type="math_number" id="hbt_@R,=W}jD*)+_b+5%">
                        <field name="NUM">70000</field>
                      </block>
                    </value>
                    <value name="ADD7">
                      <block type="math_number" id="2DxDnnzSr*9O8Om$7Bbt">
                        <field name="NUM">80000</field>
                      </block>
                    </value>
                    <value name="ADD8">
                      <block type="math_number" id="8q*NKZj.bWW|eGk2HRO!">
                        <field name="NUM">90000</field>
                      </block>
                    </value>
                    <value name="ADD9">
                      <block type="math_number" id="Egvvl?1`7NGz,Z2KSM8X">
                        <field name="NUM">11000</field>
                      </block>
                    </value>
                    <value name="ADD10">
                      <block type="math_number" id="),Fr9Xq?gI7[6FW.Hu(@">
                        <field name="NUM">12000</field>
                      </block>
                    </value>
                    <value name="ADD11">
                      <block type="math_number" id="_:a##]%$CC|w#^zSVavK">
                        <field name="NUM">13000</field>
                      </block>
                    </value>
                    <value name="ADD12">
                      <block type="math_number" id="_[$g1EO+;Nlj7,H`vnp]">
                        <field name="NUM">14000</field>
                      </block>
                    </value>
                    <value name="ADD13">
                      <block type="math_number" id="}Ov_U29[Wu1zUbv*nEfH">
                        <field name="NUM">15000</field>
                      </block>
                    </value>
                    <value name="ADD14">
                      <block type="math_number" id=",oqBYd`WogX^b5pngRqk">
                        <field name="NUM">16000</field>
                      </block>
                    </value>
                  </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>
                                    <next>
                                      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
                                        <field name="DURATIONTYPE_LIST">t</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>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="636">
    <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@;" x="12" y="759">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="#E0U7ce0=@IQw^}Wn}F@">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="-FpE%g7L:5s1*iFRYv45">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="~C^t/GA-UNB,8UYUruGj">
            <field name="VAR" id="~e1d.{j.cf-%dWUMmov8" variabletype="">total proft</field>
            <value name="VALUE">
              <block type="logic_compare" id="a}!xuWO:*!I6Y(mu[e_K">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="total_profit" id="%*8LdC!*|wWf)Q}_~;.["></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="R4ee;y7t0id)2KgIBlP[">
                    <field name="VAR" id="~e1d.{j.cf-%dWUMmov8" variabletype="">total proft</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="text_print" id="o8;m.2d%x59~A):Gj1K=">
                <value name="TEXT">
                  <shadow type="text" id="J{B+]{OSp:T}@774FL1V">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="^6ekO,Mwya^m;G/44W)j">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="i/W,k{d^TB`:n20_N~8A">
                        <field name="TEXT">Meta alcanÃ§ada de: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="F4T`pe93Vv=/%}!OH^/I"></block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="contract_check_result" id="q6`?=^oRVSfg-fbn%(ed">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO1">
          <block type="variables_set" id="L}:9ju0$_V79CF}rDt.L">
            <field name="VAR" id="EfdQh!K;CbAch[+/g=8h" variabletype="">stop loss</field>
            <value name="VALUE">
              <block type="logic_compare" id="Ljn?+H#uv-LU|@J;$BS3">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="total_profit" id="!d9U]z/EM[Pk|{J6rxU~"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="*1-GSE^,|lrhO=WE=E_X">
                    <field name="VAR" id="EfdQh!K;CbAch[+/g=8h" variabletype="">stop loss</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <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">Limite de perdas: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="qFmjSW.(j=kO{~p9XrzM"></block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="text_print" id="?S}|g0xS6q8o|6+Cd6]%" disabled="true" x="86" y="1109">
    <value name="TEXT">
      <shadow type="text" id="-#_2hli7u#RrllsrQ!FE">
        <field name="TEXT">abc</field>
      </shadow>
    </value>
  </block>
  <block type="text_print" id="qtQ/%aIYFAvqw+xmu?_t" disabled="true" x="288" y="1109">
    <value name="TEXT">
      <shadow type="text" id="kX+62Ymo8oXVi7*6C?L)">
        <field name="TEXT">abc</field>
      </shadow>
    </value>
  </block>
  <block type="controls_if" id="R0=AK`PW02O(bu^I=YB@" disabled="true" x="156" y="1504"></block>
  <block type="math_number_property" id="^NJ][4m9GXTer=DoP8,P" disabled="true" x="290" y="1512">
    <mutation divisor_input="false"></mutation>
    <field name="PROPERTY">NEGATIVE</field>
    <value name="NUMBER_TO_CHECK">
      <shadow type="math_number" id="otH_VG.6ad,:GnG=3=)5">
        <field name="NUM">0</field>
      </shadow>
    </value>
  </block>
  <block type="controls_if" id="=Xqy0}S#~NjSuQol~MK3" disabled="true" x="31" y="1544">
    <mutation else="1"></mutation>
    <comment pinned="false" h="80" w="160">Meta de lucros</comment>
    <value name="IF0">
      <block type="logic_compare" id="1iSxvVg.erD6@_[=$Gr6">
        <field name="OP">GT</field>
        <value name="A">
          <block type="total_profit" id="]:m*Wo^:@$L}p*R=N14C"></block>
        </value>
        <value name="B">
          <block type="variables_get" id="%E3K=Mh/Ko[G.n-o:6lK">
            <field name="VAR" id="PRF%}V=TAT=faO6s1tRm" variabletype="">Meta de Lucros</field>
          </block>
        </value>
      </block>
    </value>
    <statement name="ELSE">
      <block type="trade_again" id="1U]8Ubg(?s_x.1CYhtLW" disabled="true"></block>
    </statement>
  </block>
  <block type="contract_check_result" id="ms}Pq3IPUlBB9Gbc;^FZ" disabled="true" x="341" y="1532">
    <field name="CHECK_RESULT">loss</field>
  </block>
  <block type="variables_get" id="y$+{qux3)Vn8/W%e.Nb8" disabled="true" x="141" y="1548">
    <field name="VAR" id="EfdQh!K;CbAch[+/g=8h" variabletype="">stop loss</field>
  </block>
  <block type="variables_get" id="Ux0MSA~#g7E8r~J2qMK?" disabled="true" x="135" y="1559">
    <field name="VAR" id="~e1d.{j.cf-%dWUMmov8" variabletype="">total proft</field>
  </block>
  <block type="variables_set" id="v;DLoaBcq-S-~1(9.-]^" disabled="true" x="164" y="1589">
    <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
    <value name="VALUE">
      <block type="logic_negate" id="Z1z/S)}#Xyi5p?HY:HW$">
        <value name="BOOL">
          <block type="variables_get" id="Ktxo54Mpmv*8ZDepq2U#">
            <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="logic_operation" id="hq3+RG$(Ic7z^|ESdCUz" disabled="true" x="305" y="1587">
    <field name="OP">OR</field>
    <value name="B">
      <block type="variables_get" id="Ss7Z;|?8knUx/*Q2UNVu">
        <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
      </block>
    </value>
  </block>
  <block type="controls_if" id="G`*hfP8=eKFJ}r|!JL^/" disabled="true" x="158" y="1650">
    <statement name="DO0">
      <block type="variables_set" id="Z[dQs20;;ChrNCO`pfq8">
        <field name="VAR" id="ePLvCCJZ920CHhwyx~9l" variabletype="">martingale</field>
        <value name="VALUE">
          <block type="logic_boolean" id="%[#-4#WMmoM^JON*TS$_">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="i-jVx`O;VLZddFBk08Jr" disabled="true">
            <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
            <value name="VALUE">
              <block type="math_arithmetic" id=")CXudFQN}B$2X{;YE#w1">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow id="T,+Dg0qq`.8PmU#42(1X" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="BhlW5bB^/z_UK=Y(r0J1">
                    <field name="VAR" id="*aR6_AOg0R^HP6i0bkLQ" variabletype="">entradaAtualIndice</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="e,sM/mYd(]jq#@[GVNI=">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <next>
      <block type="controls_if" id="c,0lET)M;+:$mWb`2~7K" disabled="true">
        <mutation else="1"></mutation>
        <comment pinned="false" h="68" w="157">Limite de perdas (Stop Loss)</comment>
        <value name="IF0">
          <block type="logic_operation" id="hv/Fb%0Y|w43Ul_~6T$q">
            <field name="OP">AND</field>
            <value name="B">
              <block type="logic_compare" id="-q;Y!{[npdqLPy(y/9ur">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="math_single" id="/zyoUhllWZOwzubSzLMZ">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="(UBCH+RQSwYPbgf%@ANZ">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="total_profit" id="C(}0RWO:ooq^PN[A[rNG"></block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="7]1CR=7hf9X[E.2lZV9X">
                    <field name="VAR" id="IWUqF;NMC=Bj^sP~b,`u" variabletype="">Limite de perdas</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </next>
  </block>
</xml>
