﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="before_purchase" id="strategy" x="0" y="0">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="cDmqON2GM3rcoJR5mvPB">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="rxq0o[W[%cWWm`q(I`]f">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="|Es4}n(`,[N1OF6v8T4q">
                <field name="VAR">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="l2j/Jo2MnE?CbjKW`sW]">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="Z;Sj!6*e{2)4QH?NPGNI">
            <field name="PURCHASE_LIST">DIGITEVEN</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="-NHK?@%OLO@m;eKAK@-_">
            <field name="PURCHASE_LIST">DIGITODD</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="trade" id="trade" deletable="false" x="0" y="178">
    <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">evenodd</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="@hBUAL3xExW9$2iu#HI{">
        <field name="VAR">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="(_:_g,bGBxTvmIwZKz^0">
            <field name="TEXT">Even</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id=".=dXljaTs2k^YY07Sy`z">
            <field name="VAR">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="(TzHAcoIld)|vFMF+JkB">
                <field name="NUM">50</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="TJ$[t;,X6c?]sSCy~go/">
                <field name="VAR">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="dY#e=x4oV-k2:*XFbtz6">
                    <field name="NUM">5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="6R`V]JXU2cqB~]LO.vQ)">
                    <field name="VAR">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="yF#A9J?|K4wrJiXgeg}w">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id=".yDq^vu^MFDiQqJuIuna">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="zQwuFz*,F7M:F*HZ3M)]">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="{s-qbb@mDH$l`PrU27Cl">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="n*Q)J{|NK4[WbYE7H8^v">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="/6!8Nz-t1!JQO$M@@@F6">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="0" y="588">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="awiMJWcICFT*MNb|W(;8">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="#Pj5BKT@~{#PQmb0Pm{|">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="Mh1N0wnCi:*!TjI^{#p!">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id=")pE$Z_`:U5!}IP:^jBv=">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="=$I|umC5fpC8,q64j=rC">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="%uboX2G}:azxv^y(/A]G">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="Ln4oavWQFmt$JJgX-3t|">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="VWcb,1f0K[R]t[AW7KoU">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="eiu*aEJc0Fj^L;BKYM*%">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="SCoUOKl+Gnu7zY;933J?">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="G.oZ^OX!.%w14V$TAbuC">
                            <field name="VAR">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="{kX)L|J3uw*Z+,(R]Sa7">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id=":2@}r2m2sfV0_$Rl*]T|">
                        <field name="VAR">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="ZPrj%^@1iJP%Q;4Sh~8E">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="o{bVFS_(]3=uW0+t3Ng{">
                        <field name="VAR">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="[I*%l%Ox[@Txl/m*ppAm">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="L$;5%M0,eUkVH^*E9U[2">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="kk+BIHfz(%t`*15dmWw6">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="WJAi;d[u@w%#N_OQl2vB">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="AWj11.0$)bA4rq=bAOYz">
                    <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="oBM-.8M%o@[2mRn~P=Lr">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="#m)e@^*dj7a=%N3wZ`Zi">
                <field name="VAR">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="@pWi02R95]0OK*Inkivi">
                    <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="GDm_ubwSwD34tZUarr=4">
                        <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="!AqY`*,f)r@lS^*mOY(C">
                            <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="674$HR`ztcG3t}e:SF1C">
                        <field name="NUM">1.041</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="K@B}-HabXXa*{|GdeW0=">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="LDJLN[87oD_[1IEKLwXF">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="9f1b@M*ZR]wu2MWkT!]@">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="SMC7y2HFZ$:yOV@an+:U"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="]kXm]@9._bL=k:V5U#ST">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="|qKGA50xJCKZIMy,bmuJ">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="N*m#.H(eCzirTT?q`s7S"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="7{6wTGro@Wn/i9ibZsq#">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="-#c:1!jC!P|tQ=f4Va$9">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="/+czFQLL5@[-KJ.[{J#T">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="fYO97S9IyEot?Hoon/tX">
                            <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="mx6)H^Va9X0p9+x^(S%M"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="$Mj1-P}:HLxO]RZDlzal">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="@r{4J2i*,+`:;h2RX4,p">
                                <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="8|SuPMFwwdhmFl_^[T|b"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="Fx339@o^SU?%FN0t=Ya$">
                                <field name="VAR">Max Acceptable Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="ISSo8b;RP%*4Sqi{P%OX">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="Ef7;taXIb6F$faGBW.lV">
                            <field name="TEXT">Max Acceptable Loss Reached</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="A(b3SnTIS%i[u-(hfSY;"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="JWcb}Q1HMi0[!+O=2~Rj">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="hw5KoF}m$!ulNIYczZ[6">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="JDHJ|bZB8^:Sk!AtfQDr">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="8RrYj7]1SC}A:,C2K_dj"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>