﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <variables>
    <variable type="" id="D:{v45+,Ks`wWl6GtHj,">Max Acceptable Loss</variable>
    <variable type="" id="N(rysMIo$FX,VN2HLwP?">RSI</variable>
    <variable type="" id="$c`.`@-?0(_M*n^l8pRP">Expected Profit</variable>
    <variable type="" id="Jp[nn8c^MeV3@9CzRs]Q">Initial Amount</variable>
    <variable type="" id="?w*.fHQJ7$O}.3O}$*Z+">Win Amount</variable>
  </variables>
  <block type="trade" id="trade" x="0" y="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 type="variables_set" id="v/O]iCQ}j[GiAK!S1!vk">
        <field name="VAR" id="D:{v45+,Ks`wWl6GtHj," variabletype="">Max Acceptable Loss</field>
        <value name="VALUE">
          <block type="math_number" id="^:bth~fukQ(H;qG~W,J9">
            <field name="NUM">12</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="yuF[{UN_)/n/p_7|Bn{^">
            <field name="VAR" id="$c`.`@-?0(_M*n^l8pRP" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="TNeUN!N2ai|Riu#T4Hs+">
                <field name="NUM">12</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="kYN4z~^G*jW!tl[ag//|">
                <field name="VAR" id="?w*.fHQJ7$O}.3O}$*Z+" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="D.+RaH}/KM^=R_/i;Uj-">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="!rE+(YJ?USv@e;5A6{3i">
                    <field name="VAR" id="Jp[nn8c^MeV3@9CzRs]Q" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="zBSG}Pb^V)cr2}S(Tt})">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="NDif7y5R[Bwg#Pd)*@2%">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="E{wg9Uzbj#A5|*K4jYPN">
            <field name="NUM">30</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="0?Q}sei*{a4`}f^PRB%]">
            <field name="VAR" id="Jp[nn8c^MeV3@9CzRs]Q" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" collapsed="true" x="0" y="516">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="IXjzMcQZcdDd3n7,,:dR">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id=".tV9-1S^OyBs^[#.IOwC">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="uHc(4S]c;*Z6b;)LGsR5">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="dVWvER8BQ0q`N2UIpjIo">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="Asktta7Jm6kHHrjc!I}p">
                    <field name="TEXT">Lucro:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="dNyHb`zWopmOp2]z/M{I">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="sz:*/;3FGv{_(@8`CsAN">
                <field name="VAR" id="Jp[nn8c^MeV3@9CzRs]Q" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="N+s2q0OtXoD?l5m)*yEC">
                    <field name="VAR" id="?w*.fHQJ7$O}.3O}$*Z+" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="3e=nKHmT}R)kEkNwE44K">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="+ihcjUv_-T3-JNIE/Qf#">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="OZW#yh+cQb3FF4-u#oq_">
                    <field name="TEXT">Perca: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="xoS[VZRN?!FYo0k(6f^L">
                    <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="){wa^q*D#Y8}pX03-S,U">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="b.}/:AKk:!MkP9M]i]^L">
                <field name="VAR" id="Jp[nn8c^MeV3@9CzRs]Q" variabletype="">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="kwXPJjs[|E9{~lCyv^0I">
                    <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="{{BEm2CxpR[vmDc8R%=!">
                        <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="#pt~G|1(kk;gPZNzCmFF">
                            <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="1q||m4Da@z,?Qwp-:,~=">
                        <field name="NUM">1.041</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="F!E.gsA%z7,B}ors))8*">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="W9TI44~3c3+I`K_6p^.M">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="D|DhSB{=+;}aRn_1ywy3">
                    <field name="TEXT">Lucro Total: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="guYFpjWw}}fK)u9rR520"></block>
                </value>
              </block>
            </value>
            <next>
              <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" id="$c`.`@-?0(_M*n^l8pRP" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="~A}Tn7=998po(%-Z9G/i">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="/Zj6:Sh2HC}E5={Mz|dQ">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="8u4+N)Jsia1ueHZj)?0f">
                            <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>
                              <block type="total_profit" id="e](;NpPt*dH-VjB97+#!"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="A[wua)LdE-eXJcBa{2Yj">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="O|11X%J,DD:tzfT+6BXW">
                                <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="NuCH#x3VEU}}7^|P96t`"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="WMJQ_hyS8o#3y@Bj89CI">
                                <field name="VAR" id="D:{v45+,Ks`wWl6GtHj," variabletype="">Max Acceptable Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="Wkf6pR9`=a{mijQRVuvs">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="MoyQ.AxmX?i*C|oua3f!">
                            <field name="TEXT">Perca Total:</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="sK}5;Fpy9Nk1Rg-:;jXE"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="_EBWv0o6mmneP1k,qm,c">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="Gikz_{+PnB190]#QzjHx">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="RZ`{vrw!^U%//Gjrqtcy">
                            <field name="TEXT">Fim de Operações! Total de Lucro: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="x34f6rZ~cULVD+?SXh]~"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="0" y="569">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" collapsed="true" x="0" y="622">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="q%Zsvsp,pe*U[)::Q9?B">
        <field name="VAR" id="N(rysMIo$FX,VN2HLwP?" variabletype="">RSI</field>
        <value name="VALUE">
          <block type="rsi" id=";7S6orJ~q{KNU`/r{U{[">
            <value name="INPUT">
              <block type="ohlc_values" id="!/8Uye02*=B(oXuT%`ru">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="P5?rSqdDMy8=lmO$hN!%">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id=".6hy?$4pj7(j(w*weVeU">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="JI#cB-Q$t$XG$p`9*+o^">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="Uv|1EOoB(X]{8sz7oPz!">
                    <field name="TEXT">Buscando Oportunidade...</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="Fshwz]Ry==X^N5USpO8/">
                    <field name="VAR" id="N(rysMIo$FX,VN2HLwP?" variabletype="">RSI</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="xKr)Q^0Bno%cF0%tG}3)">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="{bWZu6h^p_1$7vmS.7hT">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="variables_get" id="}NP#w{pDPPM$d_ttnmLl">
                        <field name="VAR" id="N(rysMIo$FX,VN2HLwP?" variabletype="">RSI</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="p2(#9T3vY(`HqWT/Wl6M">
                        <field name="NUM">70</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="purchase" id="Up@ca8Jf%_RR_OqJ=4b[">
                    <field name="PURCHASE_LIST">CALL</field>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="PvtUQmE#;AE?1d35%zqU">
                    <value name="IF0">
                      <block type="logic_compare" id="h4vllfU}~H%(~25Xmt!1">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="~EF9Vc_*a#4mu{8x`Yd^">
                            <field name="VAR" id="N(rysMIo$FX,VN2HLwP?" variabletype="">RSI</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="Q=Zed*=HFj0y`#FLsU#j">
                            <field name="NUM">30</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="XHCQg3yE#4z8vD?6dE^K">
                        <field name="PURCHASE_LIST">PUT</field>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>