﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="hk(z%;%1J~lMTs[78!rk">lastContractType</variable>
    <variable type="" id="rq5zCq%KnElPZ;;EM^)J">Max Loss Amount</variable>
    <variable type="" id="bXuQ+tZ22zeS.QS-yL`q">Initial Amount</variable>
    <variable type="" id="?lnaM^9Wj~;1nbQ(qP9J">Expected Profit</variable>
    <variable type="" id="swB4d(:sw8O@.,:K$[V@">Win Amount</variable>
  </variables>
  <block type="text" id="zJ%hS[h9EeE+bDv=kwa_" disabled="true" x="-14" y="-67">
    <field name="TEXT">Bem vindo ao Cordeirinho $$$$ infinito...</field>
  </block>
  <block type="after_purchase" id="finish" x="665" y="-73">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="a!_WKGNJh,yQ}tk|:`NI">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="O1ON.Ffb1!6t,P`iFZ]!">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="zw:P~.RrRR4@/[ZDu;Cc">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="6v3if%7]E52#?`jFIB!f">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="ODDvC.!;oC7lFi#W0*kB">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="KzeETsb#x.wDkbkAPd=}">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="=*k@},WThq4c@/K_{kF%">
                <field name="VAR" id="bXuQ+tZ22zeS.QS-yL`q" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="logic_compare" id="j=_2MQs~1[Ii.I4=m`CJ">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="variables_get" id="zaeP]S1q0DLSb08yz]+4">
                        <field name="VAR" id="swB4d(:sw8O@.,:K$[V@" variabletype="">Win Amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="YW#=:I{,[Axd@`4^PODf">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="MdU]=yCAY-#z6VbXcKD!">
                    <field name="VAR" id="bXuQ+tZ22zeS.QS-yL`q" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="read_details" id="|+_EO`5W.vN3*Ht,5KnT">
                        <field name="DETAIL_INDEX">3</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="t/vd#WQi3po[AI|yeY!A">
                        <field name="NOTIFICATION_TYPE">error</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="variables_get" id="0FWd8Z}Z.K0FaHBSS.pt">
                            <field name="VAR" id="hk(z%;%1J~lMTs[78!rk" variabletype="">lastContractType</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="%oq)w)m2-uXUJwDkEX3r">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="kRD-eN4Qav7`u.gQ(tkn">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="_u}p#WG2-0R,3wmR::e7">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="WC8^:q6MT;.=}juq3~w+">
                    <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="[6yQUMvdZh#*SBr)o1Lf">
                        <field name="DETAIL_INDEX">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="szxi%pOMsEZiNe!@=`z_">
                <field name="VAR" id="?lnaM^9Wj~;1nbQ(qP9J" variabletype="">Expected Profit</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="L|Yp}u1YlBQ9k78`pWjV">
                    <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="FX_=g~%((pbM8DTsJlMU">
                        <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="E^S1f%ov/wT*)f}Q2!SK">
                            <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="`QKav=/U4)}^__0!o_(c">
                        <field name="NUM">0.2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="mu#-HM%oPx={kJ=fV8=|">
                    <value name="IF0">
                      <block type="logic_compare" id="dNs]t(GyzgglM,XMTDvb">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="a0@ts-ulSz~m0[mw87ir">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="ft^DVzOH^GlSjzUC}@3c">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="A/Hs,Vny^(7-mM{:InU[">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="HeD6}Fq/mG)kOI1]*44[">
                            <field name="VAR" id="rq5zCq%KnElPZ;;EM^)J" variabletype="">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="u:oJzS]FEYpy9ypI3bD*">
                        <field name="VAR" id="swB4d(:sw8O@.,:K$[V@" variabletype="">Win Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="),(#N=,PVUQl!wgt-~4i">
                            <field name="VAR" id="bXuQ+tZ22zeS.QS-yL`q" variabletype="">Initial Amount</field>
                          </block>
                        </value>
                        <next>
                          <block type="trade_again" id="~SU-:MBD|L@`/P5NhxZB"></block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id=")%Wnn`(1O,vAO]%6SvSW">
                        <field name="VAR" id="hk(z%;%1J~lMTs[78!rk" variabletype="">lastContractType</field>
                        <value name="VALUE">
                          <block type="read_details" id="!3pxAdh.ZtCLbE2gI?eZ">
                            <field name="DETAIL_INDEX">5</field>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="|#K9woi.D{7_~e+JYVMb">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="variables_get" id="T73s=S(/BU.pfwi#/J7P">
                                <field name="VAR" id="hk(z%;%1J~lMTs[78!rk" variabletype="">lastContractType</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="]fc2SUtM2UzE|=Tzpy}S">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="*!(=c%67H[//(y{YBgZy">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="[69Ue}W}MaCF*BU#294_">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="}*H,Z~xMxuNBTwVTv4*{"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="Su2G{`dLNbP}g7q=]!p)">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="N^U?{:24gAXhqr=~#}={">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="%wR%e|eExAHt5W:,kAsm"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id=",F_S*,CaK.}p}MS{#)eG">
                        <field name="VAR" id="?lnaM^9Wj~;1nbQ(qP9J" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="WlL(Yr4%r-~ea4QwP#Nm"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="Flww-KT}T1+c~bF:^cMb">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="_3~!q2F=HY|q(Kdb^m9l">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="Gg@4VoMw!c3UbQ[:@PB.">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="O:MYUukPm?_m(w65eRd?"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="trade" x="2" y="-20">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">digits</field>
    <field name="TRADETYPE_LIST">evenodd</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">FALSE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id=";]ile?mGw{tLI:]lkBV3">
        <field name="VAR" id="hk(z%;%1J~lMTs[78!rk" variabletype="">lastContractType</field>
        <value name="VALUE">
          <block type="math_number" id="T]S]*BPIXu}#.ec;);}X">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="IpH/OKA3R.E;dEgGMbf,">
            <field name="VAR" id="rq5zCq%KnElPZ;;EM^)J" variabletype="">Max Loss Amount</field>
            <value name="VALUE">
              <block type="math_number" id="=XFKCMq#6s#Mo6`~.@`0">
                <field name="NUM">-10</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="{_clcmJ(*gEi!Br8c}kM">
                <field name="VAR" id="?lnaM^9Wj~;1nbQ(qP9J" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="q}((XO%dDMm1RXxPNqt#">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id=")ZZGf^cT0rOqa/Ma%NC]">
                    <field name="VAR" id="swB4d(:sw8O@.,:K$[V@" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="YHAI}G~p-MzbG{Q#}HYP">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="su0Gc91D[(`K},Nk5p|N">
                        <field name="VAR" id="bXuQ+tZ22zeS.QS-yL`q" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="MFliyze83ZUSaeqHp]Qd">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="[Og2O:Y~6bW]/CE)`SnS">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="~G^:]=.b`!T9.Il_vkLS">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="U7j6VStMd;ipx]Ouc..l">
            <field name="VAR" id="bXuQ+tZ22zeS.QS-yL`q" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="30" y="529">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="yZw~U*2Q/):Lxukn?K@s">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id=":Z*`/jvTnW6R^`W[RW*=">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="zkq|70It.F^lxV55^.^a">
                <field name="VAR" id="hk(z%;%1J~lMTs[78!rk" variabletype="">lastContractType</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="ZfpFs(rc@EZ1u=buuaST">
                <field name="TEXT">CALL</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="|Ey6%r1nYx8~K-QxnW^R">
            <field name="PURCHASE_LIST">DIGITODD</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="Pahm]~Pk~wNrpjmbK-Bv">
            <field name="PURCHASE_LIST">DIGITODD</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>