﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <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">digits</field>
    <field name="TRADETYPE_LIST">overunder</field>
    <field name="TYPE_LIST">DIGITOVER</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="awAj[S-D=2+}AW~3,sP`">
        <field name="VAR">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="@99*MXoOp+u[{kAdIPo)">
            <field name="NUM">100</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="D[`ePS9_0afYdv(-A+ce">
            <field name="VAR">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="/l`s)D(V-vVc}D@MRX}+">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="2BpT/}O9/9GhrFzxDdp)">
                <field name="VAR">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="mp.,_shcRj*/3$kh@QAs">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="s[Tfd{+[Ve,%mqo.ym+1">
                    <field name="VAR">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="?z}.Kn=y(F-a5zxb1vNl">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="zVE,,=O!R(BcsrK,)eJZ">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="Y{ws+rJdR)=fWb+h611a">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="mpAg4_Sg){KLQk@w$O23">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
        <value name="PREDICTION">
          <block type="math_number" id="T/v@dN6IIspgJS?qttqT">
            <field name="NUM">1</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="0" y="384">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="purchase" id="N.@iMVcZn8XK81!+kGO^">
        <field name="PURCHASE_LIST">DIGITOVER</field>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="0" y="474">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="xCW:Xo6(xsBEC?~~;W64">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="]-]$A7SmOKChQtH?|:(r">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="Jc@3DbYY3WXsq8n)$SKS">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">earned-money</field>
            <value name="MESSAGE">
              <block type="text_join" id="GhC8!=1!TkxE,rQaS)Pt">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="j~4s7bQej+pe6--6GXxl">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="d?q6jc]{O[cUFb_oc/Hd">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="|kK5Lr;8fAY{GFs!GPU}">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="R{:u*VL}oB}F5w1uP]f?">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id=".i[(wY-H6TUAo)Z{~;)u">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">error</field>
            <value name="MESSAGE">
              <block type="text_join" id="[^`mBV$lE83,BaPv_pGO">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="IGHP[QzJ%|w/q86%+h]v">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="K4Xb5R2pvG7us69!0#Xf">
                    <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="PK^?il!who,6X]@SE$k@">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="a[=org/5.+gj?uwAoglu">
                <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="ne4)CRVZ#g5Zbg|L_!E{">
                    <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="lgKzac^nQvpC[[T^:oyF">
                        <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="/tgpMY$]KJ1#)rU4gT~o">
                            <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="8ZDzDJREDdy}(|}l_[;0">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="wT`pl_rX5#.iOS+tCFR6">
                    <value name="IF0">
                      <block type="logic_compare" id="b+YTa,.,!`H}X4:!tQ2]">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="PVK42CJFDyx:si+D38V^">
                            <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="?oeT2vmY`%NDUG:{9E5G">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="QS1[4-H=yIuUU%^^V5uE">
                            <field name="VAR">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id=";_qhWh:Nn0d!5$8Ys^|,">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="zQwf18fQ5ZDf?D(lr4HS">
                            <field name="VAR">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="AcvC3kW;^?,|5MlQ]|jh">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="ZJRyk+^WvojYUj)I?EH_">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="aZ|cCRQpjm1+#!(mT(DX">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id=",*mMLiWf]w4Y:J(om:*|"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="2j;B1]}Pb7ugpiE=,M#j">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="mE2.EPS}#8Zsr3#@$K#q">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="nw2]v8n#d=ohbw:lIVKX"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="[p./hYe)rm[$2g[%4Pq#">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="P_(ElbAQ?Kwt4ah:g9h6"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="O}cw?HO{z1Qei!NMk^r9">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="=.@G9`#q67}CeQpC)gjP">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="It/fT[Tu{FUE7;8#Djqv">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="uhNrxXpk?Rp5Jv(wi4KB"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>