﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="61,kt*Wpm7IJIVv~=)`*">Max Acceptable Loss</variable>
    <variable type="" id="9^U0i7U=fCJ=JYkNxHlx">Expected Profit</variable>
    <variable type="" id="1`=aCJ+i3BY+(;z7.vg$">Initial Amount</variable>
    <variable type="" id="XXT:4Zx?b,iBk8##=t$h">Lose</variable>
    <variable type="" id="ois6BaiX;|ShujP@IN0/">Win Amount</variable>
    <variable type="" id="rui~b4br]c=-).}aRc:H">SIGNAL</variable>
    <variable type="" id="yq#BmDU.$0)r~uSDh9K2">Historgam</variable>
  </variables>
  <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">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="GU,pFH*[eRn[5Dw=!l]V">
        <field name="VAR" id="61,kt*Wpm7IJIVv~=)`*" variabletype="">Max Acceptable Loss</field>
        <value name="VALUE">
          <block type="math_number" id="mx$nK4Dq$DW+VX*_#hks">
            <field name="NUM">10</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="SVwPa2m6,{TA`i;2Ku^#">
            <field name="VAR" id="9^U0i7U=fCJ=JYkNxHlx" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="TGwy2#WSu6!Y+HGV,Et=">
                <field name="NUM">10</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="`d8GOIE$}^[,)m5}FKW_">
                <field name="VAR" id="ois6BaiX;|ShujP@IN0/" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="@oA)k+vryy`^4#gb(Z#?">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="`US)S_o0qxy~qiq|A-N=">
                    <field name="VAR" id="1`=aCJ+i3BY+(;z7.vg$" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="`}|,(_Tt%+Y7zzh_T~7A">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="z$hJLMnJ3mGA7P~G|MH/">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="?@=sTWY:%rlse@;K:3ic">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="_m:;y@muBD=|IcZ92;Aq">
            <field name="VAR" id="1`=aCJ+i3BY+(;z7.vg$" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="0" y="516">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="3Dd@nIXH73U4o)E4%oju">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="8df`l-P%-;A_guXILtdH">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="eb2.~zp[XY|b~8`SK|G^">
            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
            <value name="VALUE">
              <block type="math_number" id="u^)q?h.D[K2WHrI.e`2W">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="notify" id="cjNP]Gd`#7K|{.Eyt!gj">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">announcement</field>
                <value name="MESSAGE">
                  <block type="text_join" id="KgUb#]JBj5iU@=jraVN!">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="h,lf1ze,}kG(#EaMakFe">
                        <field name="TEXT">Won:</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="read_details" id="MMU6+6s4)DxUaP3}p{Z?">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="A55lnx@7V99fk-qr8p3q">
                    <field name="VAR" id="1`=aCJ+i3BY+(;z7.vg$" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="variables_get" id="yIj4kOCe6u_9iEsJSU?$">
                        <field name="VAR" id="ois6BaiX;|ShujP@IN0/" variabletype="">Win Amount</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id="/eW6pSU?P^]kb:$FLvSK">
            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
            <value name="DELTA">
              <shadow type="math_number" id="1-a^5.]l90TYrF{0e0~A">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="oaa_u^f*;{fhjKBQzieF">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="notify" id="OuQmA;6?uf~)37;;F9G:">
                <field name="NOTIFICATION_TYPE">warn</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <block type="text_join" id="==v5EJ}4O`d_GLZYm/Q,">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="7v9{jNq,Sw.uVHCezmvK">
                        <field name="TEXT">Lost: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="math_single" id="55JdxfV9uXP[V$mkcdt*">
                        <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="oFKN,Oxd~Owc[/-}S.!%">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="!NH_{9K_0LSs;rJ;4INO">
                    <field name="VAR" id="1`=aCJ+i3BY+(;z7.vg$" 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_single" id="MMJVYN3,dj5I/sa@i$_R">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="Qk3s@#$bQ86}*KQ~JuI#">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="math_arithmetic" id="xvEMTW?d68ba9`7om4?l">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="ip*C[kI:`fW4t*eBiyTW">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_details" id="pxGZGNaa*l:Dz,ky#vaq">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="(3A[mj`V6[N6z{|W:h{1">
                                <field name="NUM">1.08</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="timeout" id="`_gh+B.!-]]g~5cVl_0P">
                        <value name="SECONDS">
                          <shadow type="math_number" id="U$2EIfa|r.RB]%D;er(E">
                            <field name="NUM">5</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="us{m[KS/c_zVovTm)(lP">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id=":rA*+n`t/#0ol8[qCnqe">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="f.98ylJI0)e={-+0?LXi">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="Gh11[WxMHX08UO6RrFQL"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="p]K%{vhNk1Wve%7?=*fX">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="%@XN(TB$w?E~]I0*6f5i">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="{W3s~Zz;YCW2N^HG-zLi">
                        <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="lxi.O=z9)OK[)kxs;C([">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="pETpZ=M_}|*p*P{``9#s">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">error</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="bAi0/kLq|BT6R^DZ/f##">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="u(GaKylX$izijL]wVL?u">
                            <field name="TEXT">Số Loss: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="2W58)=}~g~n!|?4(xBA(">
                            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="math_change" id="5vYQI.{3aZg?8Mp`P:iM">
                        <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="1-a^5.]l90TYrF{0e0~A">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="m^0C*fbCCLUVC|tynxFe">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="timeout" id="me@-t=d#ZLP#G?y[q`?1">
                            <statement name="TIMEOUTSTACK">
                              <block type="trade_again" id="Vtc!f2il82z@uJiV+7Z%"></block>
                            </statement>
                            <value name="SECONDS">
                              <shadow type="math_number" id=")uUdVD/e*~1_zVq~n/x#">
                                <field name="NUM">60</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="x}+uy*HP~A[cz.D1%?+[">
                    <value name="IF0">
                      <block type="logic_compare" id="Hh=wT)[ibH}TM]~ch+(z">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="{kBAQpg2W(6]D1u?A;m|">
                            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="iVP^s@zOX~-lB]HMW26{">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="notify" id="24kts@Y#h@GP^b/~ZL4a">
                        <field name="NOTIFICATION_TYPE">error</field>
                        <field name="NOTIFICATION_SOUND">error</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="Ur-ps$T=GMh0KMB(j{x*">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="G,PlzJZ}bL`r%yb%_LdW">
                                <field name="TEXT">Số Loss: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Ur`32];mZEl#/+j))8~J">
                                <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="timeout" id="By3flRZ:#Rx3?d*XTy6!">
                            <statement name="TIMEOUTSTACK">
                              <block type="trade_again" id="lD*;TyfaA!_P-!H^{8DV"></block>
                            </statement>
                            <value name="SECONDS">
                              <shadow type="math_number" id="g~dXVnmW{u})(G1,JA%m">
                                <field name="NUM">120</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="NrLa/UUmq!5hTm.hCe,5">
                        <value name="IF0">
                          <block type="logic_compare" id="u`$oFIvV|+V2_/#p[gc7">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="b#zl9ykE6(DE#@_::]U5">
                                <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="2{2c5s{Xf/|-_T`Qu/^*">
                                <field name="NUM">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="notify" id="~$c4kM5%x7~_tU0x(8Tk">
                            <field name="NOTIFICATION_TYPE">error</field>
                            <field name="NOTIFICATION_SOUND">error</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="V9Jeq%Shh@-FGGI,p75t">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="V`?M*f$WBNgh=qT6vbWH">
                                    <field name="TEXT">Số Loss: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="B`r9|mqsGZtBS+Ovn(Cg">
                                    <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="timeout" id="5|ZL;uz.G@wz^z`Z9aVm">
                                <statement name="TIMEOUTSTACK">
                                  <block type="trade_again" id="[k)ldT(D)OxZ2J*uYR:G"></block>
                                </statement>
                                <value name="SECONDS">
                                  <shadow type="math_number" id="mA27%4cy*JT_oTo-#.+|">
                                    <field name="NUM">180</field>
                                  </shadow>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="^1J}#@G[m][=6nB!qD~s">
                            <value name="IF0">
                              <block type="logic_compare" id="jAC^0l6dX-+L9NAIOy2k">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="$1MX-aj%ByyQ3=?v:f$X">
                                    <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="y|QslN|Rg#6V=fP4;xK-">
                                    <field name="NUM">5</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="notify" id="%)Pn3Brb6VzR`p!22)f%">
                                <field name="NOTIFICATION_TYPE">error</field>
                                <field name="NOTIFICATION_SOUND">error</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="ldelY_b%7c=Bg!faF;.y">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="1aK$-6]O,cs%KueJOP1t">
                                        <field name="TEXT">Số Loss: </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="qJEF5o+Qj-]j8^SuF#*9">
                                        <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeout" id="_tnw/Tj5KQ-=UFR;wp@Z">
                                    <statement name="TIMEOUTSTACK">
                                      <block type="trade_again" id="Q_:@W;`v:7L?*)mValkn"></block>
                                    </statement>
                                    <value name="SECONDS">
                                      <shadow type="math_number" id="lNP-t*q;H3e|!u*-UPn:">
                                        <field name="NUM">240</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="{Kd%h_m5+ysfGp,!M;z^">
                                <value name="IF0">
                                  <block type="logic_compare" id="$H%a?e2QlMJ|=atO$Zqw">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="2z;Anh{HUK=H#9u{b/lz">
                                        <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="eeaLo)3oZO[Ydb8NIyB`">
                                        <field name="NUM">6</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="notify" id="$2jg.-R%CZ5?9OMZ++DR">
                                    <field name="NOTIFICATION_TYPE">error</field>
                                    <field name="NOTIFICATION_SOUND">error</field>
                                    <value name="MESSAGE">
                                      <block type="text_join" id=".yz;yjF`zyHK^taqDY1E">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="gA%Ec|-QCq+#?*HZ$7[n">
                                            <field name="TEXT">Số Loss: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="s84~X{.}BGS8(gVy)eZ/">
                                            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="timeout" id="ORqlMy{`uVlh,0qsWh_}">
                                        <statement name="TIMEOUTSTACK">
                                          <block type="trade_again" id="tox7Z69$VJ(;G}LAcJv1"></block>
                                        </statement>
                                        <value name="SECONDS">
                                          <shadow type="math_number" id="gQ-7a?n}3/rIF{WE3G3J">
                                            <field name="NUM">300</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="?rID-spE4^ePJ~PVjq[s">
                                    <value name="IF0">
                                      <block type="logic_compare" id="s/[lDeL||~DuZJRR#@HB">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="wcT=c|Z0(-uw$de2]]^6">
                                            <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id=",iORjlG6a9;M.y$I[w6]">
                                            <field name="NUM">7</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="notify" id="9a6b$cz:./occZ?YFA.-">
                                        <field name="NOTIFICATION_TYPE">error</field>
                                        <field name="NOTIFICATION_SOUND">error</field>
                                        <value name="MESSAGE">
                                          <block type="text_join" id="/n*L#8gd%|+5dYXe8JJQ">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="5pnH7^R;!D3BEeV0Ou;5">
                                                <field name="TEXT">Số Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="`Q0(Gw5-|IHB#)^poU_P">
                                                <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="timeout" id="u$yav{S=Dl4F+6:visI-">
                                            <statement name="TIMEOUTSTACK">
                                              <block type="trade_again" id="9v6F7dxXm_GIpx#I7%YP"></block>
                                            </statement>
                                            <value name="SECONDS">
                                              <shadow type="math_number" id="psSwDzLe;0$]y9iQL!e{">
                                                <field name="NUM">360</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="?7m![=:@aSH7*aS(|1{0">
                                        <value name="IF0">
                                          <block type="logic_compare" id="V!cKUup:`=bF0UFKR/:[">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="hh*DM(i3PrU`C1=W!-Au">
                                                <field name="VAR" id="XXT:4Zx?b,iBk8##=t$h" variabletype="">Lose</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="`q9X,(~!YhsOv01Ilz{:">
                                                <field name="NUM">8</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="notify" id="6PCsZ+](hy:.*UkcrXJ?">
                                            <field name="NOTIFICATION_TYPE">error</field>
                                            <field name="NOTIFICATION_SOUND">error</field>
                                            <value name="MESSAGE">
                                              <block type="text_join" id="#fy+#sNS^z$PJ?C?9Ulv">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="a/t@A85!tL%0R,+JV-B~">
                                                    <field name="TEXT">Quá Số Loss quy định: </field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text" id="?VMRdJ5oAMU^atAMHg[R">
                                                    <field name="TEXT">Bot sẽ stop</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="trade_again" id="2pzh^`5mx4tE0Jh[4Jc1"></block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="qXJ/EpM9tD19ljfVA1W@">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="R2Fz$BRlNf)BprvcV|U0">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="r5UJC}wNvvI2eHr8BA*O"></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="Zea;QQ!KW~-0An2Tby]m">
                            <field name="VAR" id="9^U0i7U=fCJ=JYkNxHlx" variabletype="">Expected Profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="H)P*@EyKrvG|(nsD)e77">
                        <value name="IF0">
                          <block type="logic_operation" id="/30Fiuy*Dh3j|yw/9LH`">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="math_number_property" id="FDUwU^C{_nWf0hV/7e/+">
                                <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=")vyi.5|4=,]6.^$X:Qzr"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="#Jy4tETA!KCP(~H*|ct6">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="math_single" id="],sEn}ph%33,[*g@5Z0W">
                                    <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="}phLx(/aspl$c|Yh;W;%"></block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="voj0(ki`V9!vjg9p;z?E">
                                    <field name="VAR" id="61,kt*Wpm7IJIVv~=)`*" variabletype="">Max Acceptable Loss</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="text_print" id="W:L_t4ifAXBDWZ(?%FB+">
                            <value name="TEXT">
                              <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text" id="QZg_v6SBtATdY#j@5=T-">
                                <field name="TEXT">Max Acceptable Loss </field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="`SG3oUg!*^!PH`Mn{(cl">
                        <value name="TEXT">
                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="rj`83=WX0#ZHZ8xt+p`W">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="Q7e6R{jQMnGYQB[Z0`v3">
                                <field name="TEXT">Done! Total profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="4S3c}@O%:P5]i}X=OtBl"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="0" y="2690">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="notify" id="i[Xbi-JL{vC`(K3~B1kv">
        <field name="NOTIFICATION_TYPE">success</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <block type="text_join" id="$qx:=PLH%n6JEwe4{7Qd">
            <mutation items="2"></mutation>
            <value name="ADD0">
              <block type="text" id="6XsyeqGn%m(U^oD#lL(E">
                <field name="TEXT">MyBot 2MACD Signal  </field>
              </block>
            </value>
            <value name="ADD1">
              <block type="variables_get" id="9l{wm!Mz^8Hzl2UpY2MG">
                <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id="MP6#Mg?o|voRI@wYd#u)">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="S)%k1PI(c*6j+tuT~YWl">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="vN*r3$?CYT{oX/_]0ctH">
                    <field name="TEXT">MyBot 2MACD Histogram </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="Jd_$2{~W+[XxrjNR(x)3">
                    <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="t|@]mySgwqDzKgC2@8(,">
                <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
                <value name="VALUE">
                  <block type="lists_getIndex" id="wAlY:~gj?W_ceNr+7C(A">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="macda" id="IA+QH0;:jgjazH].q_4[">
                        <field name="MACDFIELDS_LIST">2</field>
                        <value name="INPUT">
                          <block type="ticks" id="~Gqb;|FY|E*Y,(`3V``s"></block>
                        </value>
                        <value name="FAST_EMA_PERIOD">
                          <shadow type="math_number" id="AlZ/fxtIA$,$Sisrw#b*">
                            <field name="NUM">12</field>
                          </shadow>
                        </value>
                        <value name="SLOW_EMA_PERIOD">
                          <shadow type="math_number" id="Z]D?[ynfp)rW*d?7eiJM">
                            <field name="NUM">26</field>
                          </shadow>
                        </value>
                        <value name="SMA_PERIOD">
                          <shadow type="math_number" id="{FKOxiK_q:Ka+g-tD#)9">
                            <field name="NUM">9</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="1aW#@!V_ieXR(]]#M(O9">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(aJB,EB%/de3$)F4_psR">
                    <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                    <value name="VALUE">
                      <block type="lists_getIndex" id="0(e-52BPE7(Ie))vUu~,">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="macda" id=".a]N4~udLq5ihxO+aTaH">
                            <field name="MACDFIELDS_LIST">0</field>
                            <value name="INPUT">
                              <block type="ticks" id="h#Z14Uky)PX,]A~ZrSwW"></block>
                            </value>
                            <value name="FAST_EMA_PERIOD">
                              <shadow type="math_number" id="xPV0,,`+S]ZUp_{Z^?/q">
                                <field name="NUM">12</field>
                              </shadow>
                            </value>
                            <value name="SLOW_EMA_PERIOD">
                              <shadow type="math_number" id="^(cs#YTbTxcOk$b#@(nG">
                                <field name="NUM">26</field>
                              </shadow>
                            </value>
                            <value name="SMA_PERIOD">
                              <shadow type="math_number" id="U|gj`V)8zc$R,/vCi{g$">
                                <field name="NUM">18</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="?cvNI.-9lAz-)hd/ooj]">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="XZClfdRkZHB`S-GKL~KI">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="logic_ternary" id=":IcVOGc.{lVjc]%B%R7F">
                            <value name="IF">
                              <block type="logic_operation" id="$R)~=.DG50Jny09itNZ9">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id=":-yb-8npBuX.+dCp*f@h">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="l)(#}W/(I{Hrs`=KWHqr">
                                        <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="~^vTxDZma:~:dh+oUwdv">
                                        <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="X3EB*a642X1X[[3dcK?|">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="math_arithmetic" id="Opz?k|^7)rowQy)ZO:Mf">
                                        <field name="OP">MINUS</field>
                                        <value name="A">
                                          <shadow type="math_number" id=",Ktx%,e{xt/uYzq?[9:l">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="JK{HD6ee-G`sd|Mi`/[p">
                                            <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="lU.2o#SkWGMXq|Lm@D`?">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="gBe%I`SPd]}_?Q[%~1_H">
                                            <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id=".9r69E=0ZFL[c0BbXk0p">
                                        <field name="NUM">1.5</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="THEN">
                              <block type="logic_boolean" id="`FXSW;1O[ockF=W#TvE]">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <value name="ELSE">
                              <block type="logic_boolean" id="JMSzdtGB[Me*[5R*bbby">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="notify" id="dZ5KTk@4^E]Z%+nWcH*k">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="#[^QTYHfCYH.m3WB3hGu">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="I]8n1Qw0(GE(pOGuAH48">
                                    <field name="TEXT">Signal &gt;Histograme :</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id="XG4W.xBBix^K^kx]TQXX">
                                    <field name="TEXT">MACD đang Call</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="kH_)IWMU$hO~oQK7sZ4n">
                                <field name="PURCHASE_LIST">CALL</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_ternary" id="lVP7JJGR[*_N`WIz5dQx">
                            <value name="IF">
                              <block type="logic_operation" id="3?]2@OB!ekW_i)FP@c]@">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="7|kgVafid*6ddVa$jVaT">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="Ci!83DQN_WJ?RAac.K0X">
                                        <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="inrK+OhZ3}H1_gL#XBDU">
                                        <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="jkwu%E=4o4(^Gis-jc1t">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="math_arithmetic" id="+MznuDr|UuF1|TmCYRC:">
                                        <field name="OP">MINUS</field>
                                        <value name="A">
                                          <shadow type="math_number" id=",Ktx%,e{xt/uYzq?[9:l">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id=")LB3Sq-n{g}9ZR(t89(r">
                                            <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="lU.2o#SkWGMXq|Lm@D`?">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="L~r!e3waAz;pY)v~xigV">
                                            <field name="VAR" id="yq#BmDU.$0)r~uSDh9K2" variabletype="">Historgam</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="JkNTJU?qBNhLODLdm#zL">
                                        <field name="NUM">1.5</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="THEN">
                              <block type="logic_boolean" id="oy=C:cNtv1sDbMl8oc47">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <value name="ELSE">
                              <block type="logic_boolean" id="b]W?n=:[d3asgi`sx1y*">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="notify" id="BnuUJRwpi@,cO8nwg0i/">
                            <field name="NOTIFICATION_TYPE">error</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="54mb/ap[x.MO^T|Z`_,E">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="W[o6%9S.0F9k.08BnD@r">
                                    <field name="TEXT">Signal &lt; Histograme: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id="Z!KAMRtBQO3WhduT[x18">
                                    <field name="TEXT">MACD đang Put</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="purchase" id="_c53ku/?I9eK5=(GO7{%">
                                <field name="PURCHASE_LIST">PUT</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="notify" id="9=lj5x~quM.V-|Xy(Y(.">
                            <field name="NOTIFICATION_TYPE">warn</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="_X6tOQzol^Ur-nMntN/f">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="]}]FqB/D!o*6qcXvRo5V">
                                    <field name="TEXT"></field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id="k#Uj)Op,jUv5cUWL,:AO">
                                    <field name="TEXT">Đang chờ tín hiệu vào lệnh</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>