﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id=";$ZQf`P.{Nfj2%cf$U~+">Max Loss Amount</variable>
    <variable type="" id="pt@?n}1RFe6_3h7^k:LX">Expected Profit</variable>
    <variable type="" id="1i4q,zqdJs--)bl5UdlM">Initial Amount</variable>
    <variable type="" id="[:*sc!{S6gRB/,L5Q9?)">Win Amount</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="23" y="-149">
    <field name="MARKET_LIST">synthetic_index</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">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="XDMYoip}{3uMJ$~,Wa(K">
        <field name="VAR" id=";$ZQf`P.{Nfj2%cf$U~+" variabletype="">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="P!2=P_+S,MKLQTjA]xg(">
            <field name="NUM">1000</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="dqduY+F]dYVC%/;)_QyX">
            <field name="VAR" id="pt@?n}1RFe6_3h7^k:LX" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="pGL%0jCRlD;R_i-Q:?jz">
                <field name="NUM">500</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="cG;6qVzC4dU[J9h%wYdK">
                <field name="VAR" id="[:*sc!{S6gRB/,L5Q9?)" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="?UMlJ9?s?=7*h-CIL?Hv">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(GqO!$8|aP4T+(5lW(^E">
                    <field name="VAR" id="1i4q,zqdJs--)bl5UdlM" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="dI_3Be9-$EK_$F=d.7w#">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="XKd#y9I}aKa_0=M7KeHr">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <block type="math_number" id="0p-bjjEuB1k(LNWLaiS]">
            <field name="NUM">57</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="p+TPBS;7,b0?9`GtSOmc">
            <field name="VAR" id="1i4q,zqdJs--)bl5UdlM" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="vo)V{P[%eHK_ZOyL{(_]" x="977" y="-55">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="JWG{mqne^g}9VJ%BJy/^">
        <value name="IF0">
          <block type="logic_compare" id="fyW@!.jDaiNbMF.PtdrU">
            <field name="OP">GT</field>
            <value name="A">
              <block type="tick" id="Kp0d7fn0kPbEgf7#~-X]"></block>
            </value>
            <value name="B">
              <block type="bb" id=";zss?2MR#~2W$u?mAfl*">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="ticks" id="e^/Hppq.eBe4clLOD]YV"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="[j#f}F8dvTMgMyhmCF9m">
                    <field name="NUM">30</field>
                  </shadow>
                </value>
                <value name="UPMULTIPLIER">
                  <shadow type="math_number" id=")?RQM(hSg9Q]DOE@zeMt">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
                <value name="DOWNMULTIPLIER">
                  <shadow type="math_number" id="gu/$%1E6zta8p[ueLQhO">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="ey`4F8hqM?imNSj3P~4F">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="*f`[PROTECTED EMAIL]+^Kr">
            <value name="IF0">
              <block type="logic_compare" id="Gkg%Vbb*LF1`FgqFa_!Q">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="tick" id="/P2rMj2J`~O4,+Ou{2(`"></block>
                </value>
                <value name="B">
                  <block type="bb" id="4#Lp}G^G;s0UQsm+x:Gd">
                    <field name="BBRESULT_LIST">1</field>
                    <value name="INPUT">
                      <block type="ticks" id="kXJ-wfKYBb(i%]SW;Zf`"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="vHR)S@|c+DVB*tF%d3~|">
                        <field name="NUM">20</field>
                      </shadow>
                    </value>
                    <value name="UPMULTIPLIER">
                      <shadow type="math_number" id="dT$A-[%K4QNM.X/=GH}~">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                    <value name="DOWNMULTIPLIER">
                      <shadow type="math_number" id="aJHG6cZV2Owm*!{gD]EH">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="1p5$|K33W)Q$`1l8-,4`">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="E}flj2%IJ~0rwd(Fn)TO">
                <value name="IF0">
                  <block type="logic_compare" id="rY03IT_|Swn5#`h[VA^J">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="tick" id="Hgh+6hRq;xX?_28X6u!P"></block>
                    </value>
                    <value name="B">
                      <block type="bb" id=")TH.P=q8[~xZHcD3#AW^">
                        <field name="BBRESULT_LIST">1</field>
                        <value name="INPUT">
                          <block type="ticks" id="{=CGbv$ols`TI%;sl[Y0"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="cKsm.@{Ny8qzw*rJN/T9">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                        <value name="UPMULTIPLIER">
                          <shadow type="math_number" id="r{I/AN~2Hk_](wOw:/CU">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                        <value name="DOWNMULTIPLIER">
                          <shadow type="math_number" id="rjde[_W7F1]Q*;*+!w(%">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="purchase" id="k^cSC8[oRD6.=,IOBMiK">
                    <field name="PURCHASE_LIST">PUT</field>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="0$a+rh}MD0)TQvzB/8O,">
                    <value name="IF0">
                      <block type="logic_compare" id="OO?|89CSD%QkDuB2d|pP">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="tick" id="2aO#DK[X$[HL().c`)!!"></block>
                        </value>
                        <value name="B">
                          <block type="bb" id="uP%Av2PR[@#j$J(:nJXI">
                            <field name="BBRESULT_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="E$r8@]-[Mo;=[6bF=w0%"></block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="Il|mNg`l*3Kib;%?*nd(">
                                <field name="NUM">10</field>
                              </shadow>
                            </value>
                            <value name="UPMULTIPLIER">
                              <shadow type="math_number" id="DvuRW!iqgqOxT$q~np9b">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                            <value name="DOWNMULTIPLIER">
                              <shadow type="math_number" id="5:t1$_Qumfqp=X=jnNV[">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="q5*ggZ!4@pQ1|9vBhujM">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="9tlY+,0#KRoY|:S%xsWM">
                        <value name="IF0">
                          <block type="logic_compare" id="/8ME[f2YkUbo;eh@8CPc">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="tick" id="X%yVdlv5pZiBr_#Y~M)7"></block>
                            </value>
                            <value name="B">
                              <block type="bb" id="+(AsO]Y!.LD(`/!*d45%">
                                <field name="BBRESULT_LIST">2</field>
                                <value name="INPUT">
                                  <block type="ticks" id="m/1Djn$-9DD~1P^TkwTk"></block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="F)8/H.=S))]A8EXVa}S.">
                                    <field name="NUM">20</field>
                                  </shadow>
                                </value>
                                <value name="UPMULTIPLIER">
                                  <shadow type="math_number" id="Z_F8?-8@UA5VS@MrR-B{">
                                    <field name="NUM">2</field>
                                  </shadow>
                                </value>
                                <value name="DOWNMULTIPLIER">
                                  <shadow type="math_number" id="iNOcu07ZT/Bb7`iMh6)?">
                                    <field name="NUM">2</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="+8|9-O?24#AooCCn=D+a">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="1/qv$E1Or]A$:p:aV:TH">
                            <value name="IF0">
                              <block type="logic_compare" id="Bx}~8Gj|`a(_81G:7qtk">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="tick" id="YQv8pbr/lvYly%zeK(k5"></block>
                                </value>
                                <value name="B">
                                  <block type="bb" id="Ab?IdK8xT`=u,5F^}X(6">
                                    <field name="BBRESULT_LIST">2</field>
                                    <value name="INPUT">
                                      <block type="ticks" id="i[iYBd@XXeC5d)^1__9E"></block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="a+=bubzIPY?4qVDIY`iO">
                                        <field name="NUM">30</field>
                                      </shadow>
                                    </value>
                                    <value name="UPMULTIPLIER">
                                      <shadow type="math_number" id=",zPB$ZdXEk`S`cd(|yHx">
                                        <field name="NUM">2</field>
                                      </shadow>
                                    </value>
                                    <value name="DOWNMULTIPLIER">
                                      <shadow type="math_number" id="/RU3#nNe8S(Ca6Tsp{=i">
                                        <field name="NUM">2</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="purchase" id="T]!90C;./x@A!h:U,R=u">
                                <field name="PURCHASE_LIST">PUT</field>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="9" y="394">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="/TP%I,hfU)^|c.|/3ndN">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="!Ju)S0aU{UXQf0qHA6X,">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="gHD9SF(^C:~$q@c/;(KP">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="]Je7[};kvx`BRACG:?(;">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="s/=(=W~@G6,IQ,b://B3">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="SXm{k(Ltcd0rel3iez82">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="!7vE(S.O$(Hp%A$z{Q)4">
                <field name="VAR" id="1i4q,zqdJs--)bl5UdlM" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="xt{eOIX[E!rJ4}0f(|)w">
                    <field name="VAR" id="[:*sc!{S6gRB/,L5Q9?)" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="@^jo^p%_Dc9)/}ZVUN=q">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="L!A5F7obJ6YDSU%sb~v$">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id=":bct,J@#aZ1,ap7%$u;m">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="Us=FXR=G20;r.vw#Qzx9">
                    <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="6^U0{%K4N4+shx$i.^;H">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="Lp7Sf;6}.+aaQK7u|qC,">
                <field name="VAR" id="1i4q,zqdJs--)bl5UdlM" 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="eN7/Pe-C@6[cZuG=;sr|">
                    <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#dZL(R~tbmwTs^YpY{n">
                        <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="bV`6lc$_j`ElSi~fxG-e">
                            <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="L2m6.74Wo}DL)X%A@uE}">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="THEX=3SJ9vM.fn6isSQX">
                    <value name="IF0">
                      <block type="logic_compare" id=")?vQl#~,J(1mnfNi]c|F">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="AeT7xRW8;G`0dUU3G9Zu">
                            <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="Dywmoc_eJ)3BDdpvZ+8%">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="E4PQgTd`qv/BrAIUSv;E">
                            <field name="NUM">1000</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="{Dp3Zh`qx3F{e%!zm[oF">
                        <field name="VAR" id="1i4q,zqdJs--)bl5UdlM" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="h:P1U@JR9*Miyg4^$hVa">
                            <field name="VAR" id="[:*sc!{S6gRB/,L5Q9?)" variabletype="">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="1)tW7}^o?Ym2qm8-qmdO">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="t]P+(Nqhmu!Tg.F7-CPr">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="7gm[}!($og`%Y,*D%j%;">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="|K4ymCMY8D%B0Pqg?9ad"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="IuxXfH4y2;l}4;x^GXgv">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qq=J(YADm#qJRtdnM78y">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="W{-s|:=aTg]?pW@/|k~#"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="~h}JcSkFo$2+DvY7Z(i1">
                        <field name="VAR" id="pt@?n}1RFe6_3h7^k:LX" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id=";?v.`3czHAz0=p.kKdO$"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="{#=T-jZoV^~Hg2fDop#P">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="LlYXC#rV|?[e@:Hp=,j=">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="e{xh9Rs1RU:W_h6hSy/1">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="TPWF3d]yS|:~*^VVyv]X"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
