﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="7v{b?A4.f%8!px,=Fp]Q">Expected Profit</variable>
    <variable type="" id="?FSdkSsXDfldac}{,X?:">Win Amount</variable>
    <variable type="" id="rOWLMvHLXI;^UisX4uyF">Initial Amount</variable>
  </variables>
  <block type="trade" id="trade" x="-69" y="-22">
    <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="=X3k6GZ)kFy!-k5B`U6G">
        <field name="VAR" id="7v{b?A4.f%8!px,=Fp]Q" variabletype="">Expected Profit</field>
        <value name="VALUE">
          <block type="math_number" id="WNwLkIa|=hnoMV2~Dl,T">
            <field name="NUM">50</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="J$[,xNV1GvH;+*8S**Zo">
            <field name="VAR" id="?FSdkSsXDfldac}{,X?:" variabletype="">Win Amount</field>
            <value name="VALUE">
              <block type="math_number" id="`*=H~O6+;NzOT).xySQK">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="^77NQ`7AoteeU!*Zg/rP">
                <field name="VAR" id="rOWLMvHLXI;^UisX4uyF" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_number" id=";s%(^fK{.(9{v`gS;;e#">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="m{j;dYKB8$wFg=9yv)+.">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="Bj/C!TkFbQ~/2Bf/|co#">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="-sRUZY`~p8.]NwhJJIv~">
            <field name="VAR" id="rOWLMvHLXI;^UisX4uyF" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="515" y="-25">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="p6AvS}#WBH;ul*1y(%6G">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="M{icJMtAb@^wJB_Zrx?u">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id=";C*07b^*LdQEez{$drn5">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="OkXWJ,+)(TsQ5k[jQvjr">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="Yo1)GAPuS3Xx/TyG!f!.">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="tn9cH5_Z=iZ%L.rkUb^A">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="RYma_Sn-sq1=gWvWWRC;">
                <field name="VAR" id="rOWLMvHLXI;^UisX4uyF" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="d8Ox!2`e|K?bN^L(a{:Z">
                    <field name="VAR" id="?FSdkSsXDfldac}{,X?:" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="=cyp#zhF8a%3R*^AV4Z1">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="/?n26{AaqXzRQ8Hs?uH_">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="E.y#AA{w(5uBRbfJ$c|_">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="_ySv+V{!DBj:al5|i*u-">
                    <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="IK|(J;R~^9i^ed;{7d0Y">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="k#+R5uuzk_qVO-j)ge_X">
                <field name="VAR" id="rOWLMvHLXI;^UisX4uyF" 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=":!~{iozS7#@tI%e4U+RR">
                    <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="f0D2+/[Nn.V2J`cO3@sf">
                        <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="Yc-b1A_(!]2b8Yi#91nE">
                            <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="?bG#NkR/O.%IBv7SG+!_">
                        <field name="NUM">0.95</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id=".X4DIonfdK?-U.Z9dbkL">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="i9@Epy[x4B.HMAiar=vm">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="uf=bfki7edRabv`j$f-X">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="kC5p-Ut6*2ZPN(n/$WXg"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="[t9`*_Ei!T^EL`Nrk}rv">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="jL5{3u/1/r~IkhbpF7W(">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="H92J-Olsm+mj$t!`?x?1"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="}4)07Vp#;q=duj7jC/3^">
                        <field name="VAR" id="7v{b?A4.f%8!px,=Fp]Q" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="1nz!_}8S38KB,rApcU7m"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="{^/d?1TRlUKs5i2#S!{U">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="FEmKQeku)J6/,TBx/vLC">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="!Wj@GkoNx9!~rrJc1#Ol">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="}t3l=c+PF![q.fi|/^Ke"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="468" y="-2">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="purchase" id="~E80vy4DpU70Y,RCWX6)">
        <field name="PURCHASE_LIST">DIGITEVEN</field>
      </block>
    </statement>
  </block>
</xml>