﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ribHK[]VZPh#BNdZN2y4">Expected Profit</variable>
    <variable type="" id="-R?6Zk%@vy+Li9kEnrok">Next Trade Condition</variable>
    <variable type="" id="70!g:te({aR4yRA=P^FK">Initial Amount</variable>
    <variable type="" id="IE;s7O%_W$uj=BlL_tV*">Win Amount</variable>
    <variable type="" id="sTo;y46{|f8x8r]*,3.$">Max Acceptable Loss</variable>
    <variable type="" id="I8v,J_Z/[+:5E2zMein~">expectativa perda</variable>
  </variables>
  <block type="trade" id="trade" x="-13" y="11">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_25</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="!5P/vnS%8}[h)`s^yAz+">
        <field name="VAR" id="ribHK[]VZPh#BNdZN2y4" variabletype="">Expected Profit</field>
        <value name="VALUE">
          <block type="math_number" id="izcq~0SPX*.8PEAq~`(J">
            <field name="NUM">100</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="-#;u;t4:C8f8d1Vx#75]">
            <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
            <value name="VALUE">
              <block type="text" id="$vTus5jpiiN/s`)Z71l?">
                <field name="TEXT">Even</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="{jkyJ*8noIT^U;vt:qiB">
                <field name="VAR" id="sTo;y46{|f8x8r]*,3.$" variabletype="">Max Acceptable Loss</field>
                <value name="VALUE">
                  <block type="math_number" id="2mAm`SJkHCm@ENK#xTRN">
                    <field name="NUM">600</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="*P:qdO|64r-YsH;7-]9h">
                    <field name="VAR" id="IE;s7O%_W$uj=BlL_tV*" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="xLn7t8k!nv_/DV?~Moem">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id=",(PEKcHJ/..Wi@8nhu65">
                        <field name="VAR" id="70!g:te({aR4yRA=P^FK" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="YKRI,!u0kSb7*9a)]T8C">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="LLk,E$#,E`I;%Z1~bp4@">
                            <field name="VAR" id="I8v,J_Z/[+:5E2zMein~" variabletype="">expectativa perda</field>
                            <value name="VALUE">
                              <block type="math_number" id="oj7+aV_iNccx9bZ*Loj2">
                                <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="?Bm^Rbkm|CJRcR}u)^1(">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="TAqJJs%i7hxk)an|uoRV">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="u/|+Gzi0B5aSwt`yP~T-">
            <field name="VAR" id="70!g:te({aR4yRA=P^FK" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="64" y="161">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="vm1;C02TtEyPcS+=Y+_T">
        <value name="IF0">
          <block type="contract_check_result" id="{_4^ew7s]~9+-:HI}15W">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",!oUE^,01]Y#nK^[}O`g">
            <field name="VAR" id="IE;s7O%_W$uj=BlL_tV*" variabletype="">Win Amount</field>
            <value name="VALUE">
              <block type="variables_get" id="]$co3}WbV}_[LUAjq}yy">
                <field name="VAR" id="70!g:te({aR4yRA=P^FK" variabletype="">Initial Amount</field>
              </block>
            </value>
            <next>
              <block type="math_change" id="ZvNLMH}Yhy{S%IiPE)HG">
                <field name="VAR" id="70!g:te({aR4yRA=P^FK" 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="D~SgMOyIq/)M(Q(t[gXH">
                    <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="N;izlDYD}hdgjlz}QxBZ">
                        <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="{]Ynl6qbHKIX{?(SD(D8">
                            <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="dFm,*=@i+.HsJ]}{g:=z">
                        <field name="NUM">0.75</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="IIBVWlZJ:5$oMjpO^uAG">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="6$?avp7`cj3WU*T.50V/">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="sINFUDK[UV0wqs@sr_/]">
                            <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="5?]`f_O#OqirRu}}b4eS">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="=+atuH8b6B,8gw{,hAS`">
                        <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id=",|fM/aHs|e?2$fH|p@$O">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="_#6{W?U3nL]!45rUfQn[">
                        <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="/uKdmWd[`6%g?.R0#9Ew">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="WZQEzLU`#(-rsVAq7c#w">
            <value name="IF0">
              <block type="contract_check_result" id="A$LdD6.Tmy5%r]([/Rw1">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="Q1K*-psXe4qPN{6/mTu=">
                <field name="VAR" id="70!g:te({aR4yRA=P^FK" 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="|hM+fWS%m^/{@{=OKBwZ">
                    <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="[B@~8P31}aAPxXA=B:Xy">
                        <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="?c_!p}e.IhGz=x@8M(QH">
                            <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="2mu:RwPVSn65$6x95gSv">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="uU1Ce:Q/D9pEXG0/Ut.m">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="YJdM-9=mMPmB{!bU:^tP">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="@IJ66QGUEfS};KVp1*j(">
                            <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="d9hZAZon~l-vFmI`kS:/">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id=")%]H03ox^CJUCTwMFtir">
                        <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="V-n7)X2u)Rr7HBCD7fk5">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="DnK6+tYG)otyRoCO.Hn,">
                        <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id=";71k*hvvYB}WDHek^o|`">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="trade_again" id="t-:o;$/g:PX[3WZAG@s6"></block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="math_number" id="G|jJ~vq9=@G4NhkGwY+*" disabled="true" x="203" y="555">
    <field name="NUM">1</field>
  </block>
  <block type="before_purchase" id="strategy" x="-67" y="594">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="wo]EZZDH,clW1Q}HZ9gO">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="u?]A(_$nN02Gj@n%~wU)">
            <field name="OP">GTE</field>
            <value name="A">
              <block type="variables_get" id=":uz6)hG(5G,y?7-mX.[y">
                <field name="VAR" id="-R?6Zk%@vy+Li9kEnrok" variabletype="">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="WwOr~o#TdSAG1Z`;~.45">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="kVXG]9Jpa0n[g!Uh=q)L">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="4isGw+hhQxM)g?*nw/vB">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>