﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="yCg9NJY0I}w#,X%X8[W!">Stop Loss</variable>
    <variable type="" id="Pm-*E0X^jgLnASLuboe*">Take Profit</variable>
    <variable type="" id="LXIC*d-_G8!IE4#GfanJ">Initial Stake</variable>
    <variable type="" id="MohmwgecL=%l~qiW9?/@">tick 1</variable>
    <variable type="" id="GMO^yoHZr{P@VkyJh-$b">SMA</variable>
    <variable type="" id="^).W|[lD{xkU@giU?7N2">Max Acceptable Loss</variable>
    <variable type="" id="39*R+Uf!txs36Q@n*yU@">Initial Amount</variable>
    <variable type="" id="|;2-Aita.P0Y$hiG2b/L">tick 2</variable>
    <variable type="" id="R)|FG?Bc.|Q+[Zv!38b~">SMA Variable</variable>
    <variable type="" id="aOv_w50oF)]%+xE7SvBc">Expected Profit</variable>
    <variable type="" id="wA!9$T0,%NRMkwes=iDd">RSI</variable>
    <variable type="" id="mJ4Y-*f[eb].H}NPco(r">Win Amount</variable>
    <variable type="" id="+V%qzRC@o+uN-8{Z;QPv">Five</variable>
    <variable type="" id="@{]=pUX$zCE~@?`P_wn3">Six</variable>
  </variables>
  <block type="trade" id="trade" x="216" y="-24">
    <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">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="procedures_callnoreturn" id="/YVp+I!rbThF?%)-{!a-">
        <mutation name="Configuration">
          <arg name="Stop Loss"></arg>
          <arg name="Take Profit"></arg>
          <arg name="Initial Stake"></arg>
        </mutation>
        <value name="ARG0">
          <block type="math_number" id="tI*!J(IHO$,Wk|G6oY4[">
            <field name="NUM">4444</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="a3]P:xxvH;pLPCjnn?VZ">
            <field name="NUM">2000</field>
          </block>
        </value>
        <value name="ARG2">
          <block type="math_number" id="dK]^-;=va4T2D%+Cr@c1">
            <field name="NUM">0.36</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="S4e`:SW1I08Ivn1o1OG2">
            <field name="VAR" id="|;2-Aita.P0Y$hiG2b/L" variabletype="">tick 2</field>
            <value name="VALUE">
              <block type="math_number" id=",b2DM|n7dC*rRhl?6~+[">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="giWotQ6aHI|oF5HT]c3Z">
                <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
                <value name="VALUE">
                  <block type="math_number" id="rG/NMlKiSyVSMvq|+09t">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="BAU[;0KnD;CHh%WN$.^I">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="procedures_callreturn" id="XMO321T57UqZKa-;TV^s">
            <mutation name="Tick Time"></mutation>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="procedures_callreturn" id="N]$Oh/`2{Stj^uq-Vgps">
            <mutation name="Stake"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="836" y="36">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="|O~uOx%R7xcXppR?f`0b">
        <field name="VAR" id="GMO^yoHZr{P@VkyJh-$b" variabletype="">SMA</field>
        <value name="VALUE">
          <block type="sma" id="kq$GS{@iNS7#+=+8W!Yc" inline="true">
            <value name="INPUT">
              <block type="ticks" id="exm@PUH?S0OK5)a/)EXK"></block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="KrcM5RbOlG,?zh7;msT8">
                <field name="NUM">4</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="x^dKV).m-X,_`wO3_P|B">
            <field name="VAR" id="R)|FG?Bc.|Q+[Zv!38b~" variabletype="">SMA Variable</field>
            <value name="VALUE">
              <block type="sma" id="nNH7#:;T/^#O/YZ~~-}:" inline="true">
                <value name="INPUT">
                  <block type="ticks" id="VNy3C+nufM@oYON4w^rz"></block>
                </value>
                <value name="PERIOD">
                  <block type="math_number" id="+e8buR94p;jNu11R~]{u">
                    <field name="NUM">14</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="df]wJnO2xYI2,shE+a|:">
                <field name="VAR" id="wA!9$T0,%NRMkwes=iDd" variabletype="">RSI</field>
                <value name="VALUE">
                  <block type="rsi" id="Ve}R6i7c|}XWlagdE|!5" inline="true">
                    <value name="INPUT">
                      <block type="ticks" id="r)kq~*1D3O.@p5fG7jKe"></block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="64P(5-8^Xmo@iU0A6A5{">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="X.`yb]NDRgu016t`QrCR">
                    <value name="IF0">
                      <block type="logic_compare" id="?bRZFp`@neix?u5q?.Ry" inline="false">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="math_single" id="rO_U6HLhhmy2L{D0P_C$">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="A{hd8uh?~owsKX:},#~E">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="math_arithmetic" id="U91NyF57Wqc(fwOwzOXn" inline="false">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="LhXc68C]O/^TXabFnt@c">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="U7@.nHqhxbS4bw{o)^Zj">
                                    <field name="VAR" id="GMO^yoHZr{P@VkyJh-$b" variabletype="">SMA</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="Y@;|lEDjJ,?qQymXGde5">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="[nZ^LWcrplNR{K,6c3{,">
                                    <field name="VAR" id="R)|FG?Bc.|Q+[Zv!38b~" variabletype="">SMA Variable</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="f;C/7~qSByLfMJQ`(P*(">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="G:ww@-PT?pD6{2z^%)f#">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="S^G6*so.t!P`~.Ig9%;D" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="J8fPxAVJ=pJRsvb2*/,2" inline="false">
                                <field name="OP">LTE</field>
                                <value name="A">
                                  <block type="variables_get" id="j/)Z{xC~w:%S~.$tPFcW">
                                    <field name="VAR" id="wA!9$T0,%NRMkwes=iDd" variabletype="">RSI</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="k^GA+}=[E*+b5DPc3-$O">
                                    <field name="NUM">99</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_operation" id="D[lE,df|dih@^g+$Hw]{" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="i[}Pbw$lOhrAw4:A8X}+" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="7:FEpPtsoi*:sooYDd33" inline="false">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="tick" id="H@PweP/{m-z-[NeKTJNO"></block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="pn,2BcUw`[2S#ry0jlD$">
                                            <field name="VAR" id="R)|FG?Bc.|Q+[Zv!38b~" variabletype="">SMA Variable</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="ADV?Vd.p^7h3{],,_A%]" inline="false">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="tick" id="|DKi=4psa1UmhgzdO4;B"></block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="|zoIV(amF(%cjd{JgQKN">
                                            <field name="VAR" id="GMO^yoHZr{P@VkyJh-$b" variabletype="">SMA</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="kCGJCtX8nFfTs#i|@}$q" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="70bq1`N]?-j.ajbih|XG">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="vzP$DeUqW7QJ0yFdO1rP">
                                            <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="C{zLlyEtuBQl]soOIihx">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="*ZB?ndz|s8gVr_|`d@D*">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="9*1K3lEY)AfPK]4-plpZ">
                                            <field name="VAR" id="|;2-Aita.P0Y$hiG2b/L" variabletype="">tick 2</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="8^CoqY;-zvkU0n3mV59D">
                                            <field name="NUM">9</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="purchase" id="gs,?h#|o0*/A|w-+p*m-">
                            <field name="PURCHASE_LIST">PUT</field>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_operation" id="*8g,Nrx0pSO!H]AFi[!;" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="?z$Vr|Ggn(|O-isu4o_c" inline="false">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="variables_get" id="^(%Upbzq6TmP0]^].Tpo">
                                    <field name="VAR" id="wA!9$T0,%NRMkwes=iDd" variabletype="">RSI</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="QoWiTBA]%Ms2$T@Vq7(h">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_operation" id="XB^i8idWvVjMe)0vC0[D" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="qnPML.T,_Xx2qETGvoK`" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="(uQj7zlG;4!rR=^3;F[T" inline="false">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="tick" id="bU#d]U_mXfnm?#wJAt@R"></block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="wiK-[ytv)|7#Xs!plMp.">
                                            <field name="VAR" id="R)|FG?Bc.|Q+[Zv!38b~" variabletype="">SMA Variable</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id=".=+=vJ]mtLZd!i?XkAQ0" inline="false">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="tick" id="[t@;RH9bg$.L8Yu|EvN5"></block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="E5vg5k_[bdNMzz`}9g,7">
                                            <field name="VAR" id="GMO^yoHZr{P@VkyJh-$b" variabletype="">SMA</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="x:/Q.+*R-W4lZUNUX`hK" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="C{#z#dej4}upB%2^$RQR">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="uYQDwu{pwSDPet1Q_RR;">
                                            <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="O56KZ0UDo3q(WnTQ~wAo">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="92Q|N#k;O5rREtO.GYXG">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="s2.#]6_b3]4`M-ln?JEf">
                                            <field name="VAR" id="|;2-Aita.P0Y$hiG2b/L" variabletype="">tick 2</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="l=(#pg5I*FEm5+zeR,A`">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="purchase" id="YC=};p1xoI4|LJ[q@.6Z">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="/$x}(TnQ_a;chAk9:(7*" x="1397" y="441">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id=",,,/$$gnB4`I0z#+F5j0">
        <field name="VAR" id="|;2-Aita.P0Y$hiG2b/L" variabletype="">tick 2</field>
        <value name="VALUE">
          <block type="variables_get" id="Bm1,ZGjTTd:lZ]=-Dp3C">
            <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="M/-u?6?9e^6FzK;V7N!C">
            <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
            <value name="VALUE">
              <block type="last_digit" id="~$PiB$;OD%|)60`@BKq4"></block>
            </value>
            <next>
              <block type="notify" id="(D[k)h(=m;M,FzH7L0f:">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="sfaY266(t*?sY*KmbTk[">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="s`Ss=P#rSQ9/IpJTg2xl">
                    <mutation items="4"></mutation>
                    <value name="ADD0">
                      <block type="text" id="c!8KMPAl%_W6tY;eh~M,">
                        <field name="TEXT">LD tick 1 :    </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="variables_get" id="i};j(oj^~dOQ%WgHH@y^">
                        <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="7fEZzMjTl]OwcX13Imfn">
                        <field name="TEXT">         |  tick 2 : </field>
                      </block>
                    </value>
                    <value name="ADD3">
                      <block type="variables_get" id="CE3Z5sgbwXq)D`exPOWF">
                        <field name="VAR" id="|;2-Aita.P0Y$hiG2b/L" variabletype="">tick 2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="variables_get" id="sK^47c0{mCSLuxkwi_I*" disabled="true" x="591" y="507">
    <field name="VAR" id="MohmwgecL=%l~qiW9?/@" variabletype="">tick 1</field>
  </block>
  <block type="logic_compare" id="jdx!aKXS`7|Ck@B%P][e" disabled="true" x="1117" y="592">
    <field name="OP">EQ</field>
  </block>
  <block type="logic_operation" id="@J=U;;EI]BW4aO#.jIhD" inline="false" disabled="true" x="1207" y="821">
    <field name="OP">AND</field>
  </block>
  <block type="procedures_defnoreturn" id="F0.vd9bcoo2@sz|C3K$R" collapsed="true" x="0" y="1210">
    <mutation>
      <arg name="Stop Loss" varid="yCg9NJY0I}w#,X%X8[W!"></arg>
      <arg name="Take Profit" varid="Pm-*E0X^jgLnASLuboe*"></arg>
      <arg name="Initial Stake" varid="LXIC*d-_G8!IE4#GfanJ"></arg>
    </mutation>
    <field name="NAME">Configuration</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="el-3[,6@:M|$+^R;7w78">
        <field name="VAR" id="^).W|[lD{xkU@giU?7N2" variabletype="">Max Acceptable Loss</field>
        <value name="VALUE">
          <block type="variables_get" id="v,!@EW)h;0?y~|lzW7??">
            <field name="VAR" id="yCg9NJY0I}w#,X%X8[W!" variabletype="">Stop Loss</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="v`RkE[2ch6$pNs^LJm7z">
            <field name="VAR" id="aOv_w50oF)]%+xE7SvBc" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="variables_get" id="O=iz4O,V](}=:EU2S(I^">
                <field name="VAR" id="Pm-*E0X^jgLnASLuboe*" variabletype="">Take Profit</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="L}XefZ92:exzG):.A?}U">
                <field name="VAR" id="mJ4Y-*f[eb].H}NPco(r" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="tYyBF}zw4y2VGskPKQqV">
                    <field name="VAR" id="LXIC*d-_G8!IE4#GfanJ" variabletype="">Initial Stake</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="!v8zfySEtveaXe]mg%Xm">
                    <field name="VAR" id="39*R+Uf!txs36Q@n*yU@" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="variables_get" id="W]#4pb%W7qZW-@tA4%JA">
                        <field name="VAR" id="LXIC*d-_G8!IE4#GfanJ" variabletype="">Initial Stake</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="H5%|K:=lNLB:.Q9:DFt@">
                        <field name="VAR" id="+V%qzRC@o+uN-8{Z;QPv" variabletype="">Five</field>
                        <value name="VALUE">
                          <block type="math_number" id="(LHL#8JGNx!:C/,Y1hl0">
                            <field name="NUM">5</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="0AH|Omqatb4mGv1_{a8e">
                            <field name="VAR" id="@{]=pUX$zCE~@?`P_wn3" variabletype="">Six</field>
                            <value name="VALUE">
                              <block type="math_number" id="iz%Q~`XpthcdFmBaUi1g">
                                <field name="NUM">6</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="sst.fEgEGv-@.Db^UF9|" collapsed="true" x="0" y="1263">
    <field name="NAME">Stake</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="!Rw]}kyC;w+l~e=qd/,s">
        <field name="VAR" id="39*R+Uf!txs36Q@n*yU@" variabletype="">Initial Amount</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="@gRhK*C,NO/QsP[NfFoA" collapsed="true" x="0" y="1316">
    <field name="NAME">Tick Time</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="math_random_int" id="8]SjTDxMP(15IcfR4GOw">
        <value name="FROM">
          <shadow type="math_number" id="-!;TCR@_FOu9BglNtY{S">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="TO">
          <shadow type="math_number" id="pJE6H}m^8}UQ{anfpr|m">
            <field name="NUM">6</field>
          </shadow>
        </value>
      </block>
    </value>
  </block>
  <block type="after_purchase" id="finish" x="0" y="1369">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="uP=;W#5+8I0y:,sp.SyX">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="4jQPCgO4}UB][D|rClNo">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="H6h`pFd(e/L:xon5VkmX">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="$0lAQ*ufW*,B7|#xVPhS">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="?]eY[N4.^V$^V4Q84b$v">
                    <field name="TEXT">ITM: +</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="=f!}~}+c`)yhMPj{MH;x">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="/yCDWTuwHA/^pBMi;)DT">
                <field name="VAR" id="39*R+Uf!txs36Q@n*yU@" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="}[$Mg|8)lyZ]W;,n`cCv">
                    <field name="VAR" id="mJ4Y-*f[eb].H}NPco(r" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="6u]sJP/Ue}-nE{`k=g?Y">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="0m8dd365RWAC^o(K%=SJ">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="KQ`A,{Bd{Sz|PG~~(,+n">
                    <field name="TEXT">OTM: -</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="[1xGFdH;,h@]IAc_b]$T">
                    <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="LIH]KBaI#++]Da*tPgMo">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="C$%h/EPhRAFhNPofde*O">
                <field name="VAR" id="39*R+Uf!txs36Q@n*yU@" 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="c;G-3AbJ9_fw,5Z,VVf1">
                    <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="?!]3;[%r7/0l?@Q4|A?$">
                        <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="};sLCwTkEX;,hzZ@ib{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="WJ$C3Wq.uwb+{0NdBjmC">
                        <field name="NUM">1.02</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="g5y#WpI}d)*@9-.+f661">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="`97BOC64sQUbuN/Rb6?=">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="total_profit" id="zddT8c@i}]q7veA8L@TH"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="2ZUyw$cPJOs/_bP+Ed;6">
                    <field name="VAR" id="aOv_w50oF)]%+xE7SvBc" variabletype="">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="#VPR6~71GgiwE6Qz#sQz">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="9R%@t0ob[/;t/08a:Lj[">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="math_number_property" id="~%#k8rSy)n7WGEQd*BJc">
                        <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="uLRD1[Vq|_1o01S4:CZ:"></block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="c`H1uYw:Qr_a$DdplgkD">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="d$Y9*S3/.p!?)EXf0i5S">
                            <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="%1nuJc@8ZABU`4b,G(HS"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="/D/EBW8C~Kqh2}bZ/`#t">
                            <field name="VAR" id="^).W|[lD{xkU@giU?7N2" variabletype="">Max Acceptable Loss</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="HAL/Sjr[woJ`uqEe%q#L">
                    <value name="TEXT">
                      <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text" id="B9j*#b6.eCAzV:slAs+G">
                        <field name="TEXT">Fail, We'll get it next time</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="trade_again" id="$izV$eJ.b1*fK1/.Sx6l"></block>
                </statement>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="text_print" id="[=g_]e`PQGmf0DcX:C%d">
                <value name="TEXT">
                  <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id=")jOvsDIw2LrMhE=0/.lz">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text" id="SEhNW1{8#t;!%G(jXS=c">
                        <field name="TEXT">You hit your target profit! - </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text" id="*j-V~Dr$k:Lyzm^BzX(I">
                        <field name="TEXT">USD </field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="total_profit" id="$_C%NLhS$)mAV|]-#9t0"></block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>