﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ccn%ZGvio.}jnW$I|]!V">Tiền Lãi Dừng Bot</variable>
    <variable type="" id="vCc{(GZT4^0APl8,}De9">REDCALLR</variable>
    <variable type="" id="quvXw)$Cui!CusUya=v^">PurchaseTime</variable>
    <variable type="" id="5Cf*pln:I5m#H8(Bttlz">stop los</variable>
    <variable type="" id="h*8lQSEg)H4XVR=8]wMc">cho lo</variable>
    <variable type="" id="~wLu1T1C-OWg-y;(K]FZ">Tiền Vào Lệnh</variable>
    <variable type="" id="A=NE~n(N7:wBncs+rIe9">Loss</variable>
    <variable type="" id="l)Z*g]h!?u.2:oDDLP*(">REDR</variable>
    <variable type="" id="/x{:DN1}5N0%ttpioGS#">GREENPUTR</variable>
    <variable type="" id="1S@V]UkLwD~99:W?Dlez">Tiền Vào Lệnh Khi Win</variable>
    <variable type="" id="!c!!}U%b?DFI{TusX{Os">REDCALLO</variable>
    <variable type="" id="O21`+B:ot*4GZ7SM_4Os">CandleTime</variable>
    <variable type="" id="t3Y,EHB#W^!q!fp6%~6Y">CandleClosed</variable>
    <variable type="" id="q:=MjT$VjiLJ;^js]vnI">REDO</variable>
    <variable type="" id="oF8D4GEp83zP1K@v=vgz">GREENPUTO</variable>
    <variable type="" id="lO:_|B6A2*JAh.EWJugm">Số Lần Max Loss</variable>
    <variable type="" id="fds,XE=PTvtC-5^1).,L">CALL</variable>
    <variable type="" id="j9oSf:toSp9y^@iZt:d0">PUT</variable>
  </variables>
  <block type="trade" id=")inu*9KBx=?O=ZEkmjl_" x="-327" y="-50">
    <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">higherlower</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="iE}+7|=M2Z^mSvyF$C3=">
        <field name="VAR" id="ccn%ZGvio.}jnW$I|]!V" variabletype="">Tiền Lãi Dừng Bot</field>
        <value name="VALUE">
          <block type="math_number" id="_Y9iP9#GijEm$d!FHM0U">
            <field name="NUM">10000</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="TzYV-?dFKXK1a/)BBp@^">
            <field name="VAR" id="h*8lQSEg)H4XVR=8]wMc" variabletype="">cho lo</field>
            <value name="VALUE">
              <block type="math_number" id=":O`SL8q$U*hl;R8|KTt=">
                <field name="NUM">4000</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="Ab{/ZoTn4?m@CgEqzx3d">
                <field name="VAR" id="~wLu1T1C-OWg-y;(K]FZ" variabletype="">Tiền Vào Lệnh</field>
                <value name="VALUE">
                  <block type="math_number" id=")goETVd34guA:ne(g:?4">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="CGq|YFnTt`_2GjG$zBMB">
                    <field name="VAR" id="1S@V]UkLwD~99:W?Dlez" variabletype="">Tiền Vào Lệnh Khi Win</field>
                    <value name="VALUE">
                      <block type="math_number" id="MHD~hMPmXcjg*1|vI{*R">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="u2#9+g*k`Ye#7kyV]aHq">
                        <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
                        <value name="VALUE">
                          <block type="math_number" id="Pfa`i:Hc;PYk(:c~$%%U">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="NtDVBSBB6$#IchG1e1G.">
                            <field name="VAR" id="lO:_|B6A2*JAh.EWJugm" variabletype="">Số Lần Max Loss</field>
                            <value name="VALUE">
                              <block type="math_number" id="fI)1)[vGAfT10o//xa9.">
                                <field name="NUM">20</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="M::{WI1mZaMAUx)jxz^,">
                                <field name="VAR" id="5Cf*pln:I5m#H8(Bttlz" variabletype="">stop los</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="hTp.@diK*2zpdr)jb+^y">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="/I1|?tZ1664kEKLzO:nP">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <value name="DURATION">
          <block type="math_number" id="0p-bjjEuB1k(LNWLaiS]">
            <field name="NUM">15</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="ggwP6Za$xbD]M.g^dvBv">
            <field name="VAR" id="~wLu1T1C-OWg-y;(K]FZ" variabletype="">Tiền Vào Lệnh</field>
          </block>
        </value>
        <value name="BARRIEROFFSET">
          <block type="math_number" id="*=^UWPOe=`FF$Wyr,v;z">
            <field name="NUM">1</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="}st?AXwA5DO!vQIp/@b{" collapsed="true" x="-322" y="-7">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="1MH^k!wq7W7G=8+HX6Vn">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="5V#{?1!~.k_,_4uqZK1!">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="g1Bv/.KObeu5o5Tk_f@b">
            <field name="VAR" id="~wLu1T1C-OWg-y;(K]FZ" variabletype="">Tiền Vào Lệnh</field>
            <value name="VALUE">
              <block type="variables_get" id="=a^IY6F#_1(#q%WeNM(D">
                <field name="VAR" id="1S@V]UkLwD~99:W?Dlez" variabletype="">Tiền Vào Lệnh Khi Win</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="rA5W5g3OTT0b~[[O7:A?">
                <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
                <value name="VALUE">
                  <block type="math_number" id="n9*Mdjt.}@CSf(kpMS{c">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="notify" id="/2Gd07p0)fAIe^_e5ae^">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow id="%#M=P+7o~X#Mul$u3Ref" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="_C%?xJo7)|lcsC@^zbJm">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="hp}fKO;QPQKNX.Hm}6jh">
                            <field name="TEXT">Tổng Lãi:  </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id=":|lJ]DytGN]e6sKJNsLH"></block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="timeout" id="3/))@YZlD=$Om[le**r[">
                        <value name="SECONDS">
                          <shadow type="math_number" id="$6-));#y7wvWr*bH^CtC">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="?.-{:4T+*22n{p=94dEs">
            <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="?*d=0~cu%oaKhpNHGmZZ">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow id="?_DKTGs{Py#qSjCYvco4" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="m1s,6sN;e:9-9lVCWH={">
                    <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="a(upq9abcZ)f@EiZ`yV+">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="b6MYGSx~h0*G9LR%kgZ~">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="TJ^6e0qm-5Yqz-1%~5?E">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="PPQCisb512s6!).o;5L`">
                        <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="qV$a3bcoN@-JoR@;vxDH">
                        <field name="VAR" id="lO:_|B6A2*JAh.EWJugm" variabletype="">Số Lần Max Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="Khv9=U1GAij4B%xBLhSD">
                    <field name="VAR" id="~wLu1T1C-OWg-y;(K]FZ" variabletype="">Tiền Vào Lệnh</field>
                    <value name="VALUE">
                      <block type="variables_get" id="s@`|xeGLE#DgdA7eNF1@">
                        <field name="VAR" id="1S@V]UkLwD~99:W?Dlez" variabletype="">Tiền Vào Lệnh Khi Win</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="ZSxSqgRI/|?_2,x|YJnT">
                        <field name="VAR" id="A=NE~n(N7:wBncs+rIe9" variabletype="">Loss</field>
                        <value name="VALUE">
                          <block type="math_number" id="dcBSDdwnm_2.sjXugC[/">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="Xu~.C.z/Y@Qt+qaVF5#p">
                            <field name="NOTIFICATION_TYPE">warn</field>
                            <field name="NOTIFICATION_SOUND">job-done</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="]u/!XGKD/V3eW@oU4IP:">
                                <field name="TEXT">Cắt Gấp Lệnh</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="math_change" id=",:BdF}*WN+Yd{PGpfW@~">
                    <field name="VAR" id="~wLu1T1C-OWg-y;(K]FZ" variabletype="">Tiền Vào Lệnh</field>
                    <value name="DELTA">
                      <shadow id="eQLX!homgWc0%tW_M]C[" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="LPnl^-0BciOssCm7i}6H">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="PuU{?eAPuKUg*FWY~7uy" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="dF]3/zs89@fKom9_ugC#">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow id="Jy}UP+^sjjdx]O-M@2NJ" type="math_number">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="T/%A_oT07mVpus+gd~9*">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="]Sv|L@342Wh}s]^~l-bi">
                            <field name="NUM">0.56</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="x}(OAbik=JoliYVbkN,E">
            <value name="IF0">
              <block type="logic_negate" id="=Xs6jhZ^FRNkeQIJ_QT4">
                <value name="BOOL">
                  <block type="procedures_callreturn" id="RhY`2oD2o=@?3]=gvHEW">
                    <mutation name="is stop"></mutation>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="OHW_dT_FNh#cr_eya!,j"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="nG`7zg_ax[1li#uaJG9b" collapsed="true" x="0" y="617">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="Rq9?tWHWU*L3h[$[*rF?">
        <field name="VAR" id="vCc{(GZT4^0APl8,}De9" variabletype="">REDCALLR</field>
        <value name="VALUE">
          <block type="variables_get" id="F?=~*@_a.q4f@Q@@,a5G">
            <field name="VAR" id="l)Z*g]h!?u.2:oDDLP*(" variabletype="">REDR</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="kA:38u{=K%XKVhi0$RXt">
            <field name="VAR" id="/x{:DN1}5N0%ttpioGS#" variabletype="">GREENPUTR</field>
            <value name="VALUE">
              <block type="logic_negate" id="sY%AQSPd?:0Ao8o1/PI^">
                <value name="BOOL">
                  <block type="variables_get" id="5^ZqKULkkUzK?Di#pC7*">
                    <field name="VAR" id="l)Z*g]h!?u.2:oDDLP*(" variabletype="">REDR</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="TKeZh:{G{[NM{,UYg0BP">
                <field name="VAR" id="!c!!}U%b?DFI{TusX{Os" variabletype="">REDCALLO</field>
                <value name="VALUE">
                  <block type="variables_get" id="vxi3!X:;pt/!f.dATC1=">
                    <field name="VAR" id="q:=MjT$VjiLJ;^js]vnI" variabletype="">REDO</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="7n,uk@^RVzCr(e5f3m-Q">
                    <field name="VAR" id="oF8D4GEp83zP1K@v=vgz" variabletype="">GREENPUTO</field>
                    <value name="VALUE">
                      <block type="logic_negate" id="K|8,(gnvxa_zz;G2sW-o">
                        <value name="BOOL">
                          <block type="variables_get" id="8e.,P|^!~^Yh2oK:IZ6M">
                            <field name="VAR" id="q:=MjT$VjiLJ;^js]vnI" variabletype="">REDO</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="NE:8L?.2NOUP}~Gk;Yd/">
                        <field name="VAR" id="fds,XE=PTvtC-5^1).,L" variabletype="">CALL</field>
                        <value name="VALUE">
                          <block type="variables_get" id="JL!vxQE4f~:k(tF8x6CQ">
                            <field name="VAR" id="/x{:DN1}5N0%ttpioGS#" variabletype="">GREENPUTR</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="3?7E~fJuv2qcSS*Wqx+O">
                            <field name="VAR" id="j9oSf:toSp9y^@iZt:d0" variabletype="">PUT</field>
                            <value name="VALUE">
                              <block type="variables_get" id="b%5z)Xt!h3Xi,N]i2i+8">
                                <field name="VAR" id="vCc{(GZT4^0APl8,}De9" variabletype="">REDCALLR</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="=?[2VyK)#0}3egnz]kI6">
                                <value name="IF0">
                                  <block type="variables_get" id="?Q-Bw6{w.o+s8-e{7/!?">
                                    <field name="VAR" id="oF8D4GEp83zP1K@v=vgz" variabletype="">GREENPUTO</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="notify" id="yFqLKJH.J]/A]{+SD@mL">
                                    <field name="NOTIFICATION_TYPE">success</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <shadow id="6$^WhcliEJ)DmAf~]Hql" type="text">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="$!n_4sw]=Nz}xG{]?mq|">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="1x9|{9I}+BZYuxFu.fxy">
                                            <field name="TEXT">PUT: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="~3?8EH^BFKVl-`lJN~iM">
                                            <field name="VAR" id="j9oSf:toSp9y^@iZt:d0" variabletype="">PUT</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="purchase" id="PM?tt@lVmu4a{?a-%ADg">
                                        <field name="PURCHASE_LIST">CALL</field>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="notify" id="`Y83Hn]+P^$y4E|k}*+R">
                                    <field name="NOTIFICATION_TYPE">warn</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <shadow id="6$^WhcliEJ)DmAf~]Hql" type="text">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="u^.7I3+1OX!O~:Z;#I.7">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="doS8$n;)tn/@8{fJe$wC">
                                            <field name="TEXT">Wait.....</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="balance" id="TKKP}MV:B}#?V.duotfX">
                                            <field name="BALANCE_TYPE">STR</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="5ak#!lo]1Ak3AJR4`teZ" collapsed="true" x="0" y="670">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="OJk^R_`-Kf-b:@5P_a6=">
        <field name="VAR" id="quvXw)$Cui!CusUya=v^" variabletype="">PurchaseTime</field>
        <value name="VALUE">
          <block type="logic_boolean" id="]Z,L/c]m*[[D9nN~}?dk">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id=")kJp#;nn#,_~]aLrxWIX">
            <mutation elseif="1" else="1"></mutation>
            <value name="IF0">
              <block type="logic_negate" id="#4p{(?|7on~+V|5T6Eje">
                <value name="BOOL">
                  <block type="variables_get" id="GI4zw+4oUeU(3S6Q|mEY">
                    <field name="VAR" id="O21`+B:ot*4GZ7SM_4Os" variabletype="">CandleTime</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="nF!e+a4?F7+cyRNnxt3M">
                <field name="VAR" id="O21`+B:ot*4GZ7SM_4Os" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id=";kl1,;s*p~-/M7GwP]:C">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="G4}Bt-,=:UTpO@$u[#,_">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="S?wk0-nxEH+dS,Dm-%~H">
                <field name="OP">NEQ</field>
                <value name="A">
                  <block type="variables_get" id="r)Qie0TLK3EV%6Ci!Txk">
                    <field name="VAR" id="O21`+B:ot*4GZ7SM_4Os" variabletype="">CandleTime</field>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc" id="Ucs-a5gao:jUzA=sH,jl">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="#mO%Kv%/g8jgk]Qp{{V9">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="variables_set" id="!?=8#},~eI$-X=m_z8Q]">
                <field name="VAR" id="O21`+B:ot*4GZ7SM_4Os" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id="K~Ls_F+o?0ZNM@8~2Sk)">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="i!W`n@uq#ih%R`mY4tK_">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="m@g`M|G[vW_zZcA!g0P!">
                    <field name="VAR" id="t3Y,EHB#W^!q!fp6%~6Y" variabletype="">CandleClosed</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="2`fzM#NRB3^9N!K5q)+}">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id=";tcw}t]]A:EWy+z;id=(">
                        <field name="VAR" id="quvXw)$Cui!CusUya=v^" variabletype="">PurchaseTime</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="hZN|2gCFtdxiRGKyAE=%">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="NsJ4Fu6.H$6{F7V%?~$1">
                <field name="VAR" id="t3Y,EHB#W^!q!fp6%~6Y" variabletype="">CandleClosed</field>
                <value name="VALUE">
                  <block type="logic_boolean" id=")R636[p$KA;Rzi[}p|+t">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="nfE;DZ,vkf+7X(jD:Y8b">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="is_candle_black" id="e?=TIJXo-@b#27ZrAdO#">
                    <value name="OHLCOBJ">
                      <block type="get_ohlc" id="DU?j@ZD,(W#N%k?.[ukS">
                        <field name="CANDLEINTERVAL_LIST">default</field>
                        <value name="CANDLEINDEX">
                          <shadow type="math_number" id="i*3SBF*Jl9a$GijZW@rE">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="yFESm2:pO5E9D[BvxqPe">
                    <field name="VAR" id="q:=MjT$VjiLJ;^js]vnI" variabletype="">REDO</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="8d/k]Ersf@-kET!EK$JD">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="|rjEzG!g1cP`4YVopv?f">
                    <field name="VAR" id="q:=MjT$VjiLJ;^js]vnI" variabletype="">REDO</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id=":`[Um(e.q^YEiL0fG)f/">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="**H]=@IloZ@k~K!3bBVf">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="is_candle_black" id="^e=6FNJgD;wkr};?L1PN">
                        <value name="OHLCOBJ">
                          <block type="get_ohlc" id="SK6;uLmq]b:S0TZudH2Y">
                            <field name="CANDLEINTERVAL_LIST">default</field>
                            <value name="CANDLEINDEX">
                              <shadow type="math_number" id="I[Q4O[?w]#7Sdv3|o-9K">
                                <field name="NUM">1</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="eVYh2SJsBH2W)Wqk-l#[">
                        <field name="VAR" id="l)Z*g]h!?u.2:oDDLP*(" variabletype="">REDR</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="qVpOhqeOz+MV;d!:go4k">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="+fi2B]8bpWmB)5-P$wwC">
                        <field name="VAR" id="l)Z*g]h!?u.2:oDDLP*(" variabletype="">REDR</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="U,@/7y,[YL{W~`kJ}bBa">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="%C{0jxjsK8cVaA+Rbk5!" collapsed="true" x="0" y="776">
    <field name="NAME">is stop</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="c]f68fy]Dz?^5).c-7#,">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="%0{WR*PZUkL+zv@m)Lok">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="eOD|^uibH$Db(nOt^UF1">
                <field name="VAR" id="ccn%ZGvio.}jnW$I|]!V" variabletype="">Tiền Lãi Dừng Bot</field>
              </block>
            </value>
            <value name="B">
              <block type="total_profit" id="-41P#hv5WtRs^E_z;Csm"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="UlN8cGXvy^-w(]Ysww^K">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="FI)deME{;))`JkJ1TEHQ">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="v)g3D_Du2#E]x?:pfXJq">
                    <field name="VAR" id="h*8lQSEg)H4XVR=8]wMc" variabletype="">cho lo</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_arithmetic" id=",X5]/oYBLm%R~A07(pZ%">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow id="^Ryd#xGE*2,/)i6{W|+[" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="total_profit" id="2I*N8-A!|{kA:]+;xoff"></block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="IcnbAG2(}*,rDaG]#=97">
                        <field name="NUM">-1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="+K-Q2|S}j.6TD`x@J)[%">
                <field name="VAR" id="5Cf*pln:I5m#H8(Bttlz" variabletype="">stop los</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="gh]w)x^qoN|TT(h=VkW!">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="notify" id="X6M?d=eG!9rQ_8KlBy^e">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">error</field>
                    <value name="MESSAGE">
                      <shadow id="w+|k7Z2BA4;zD=E/9TA(" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="|J|s*y4A`{$DwCZw+r/W">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="@9g#kUv}7~dP|)s,Hh)r">
                            <field name="TEXT">Stop loss</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="y,Wdp-Nx0FsQG{0X~nrB"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="EsK4dSHwR5QUEc!WifH+">
                <field name="VAR" id="5Cf*pln:I5m#H8(Bttlz" variabletype="">stop los</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="s~R|I]!]Trj1yqesa}X3">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="5wnc+^9)VlhL]vRx:TLz">
            <field name="VAR" id="5Cf*pln:I5m#H8(Bttlz" variabletype="">stop los</field>
            <value name="VALUE">
              <block type="logic_boolean" id="62F%![P@`S5|AQPGASmf">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="notify" id="OM~nN%dN,j(XUKA5IhL-">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">earned-money</field>
                <value name="MESSAGE">
                  <shadow id="w+|k7Z2BA4;zD=E/9TA(" type="text">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="~6jQv~uN-P;gZQwtwuih">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="QuJC|;bJP/uVw7(:_$QX">
                        <field name="TEXT">tổng lai</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="mk2r|AP1n5Hp@Rby^L]B"></block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="Vh3%K/=ur!bHQZw[wplJ">
        <field name="VAR" id="5Cf*pln:I5m#H8(Bttlz" variabletype="">stop los</field>
      </block>
    </value>
  </block>
</xml>