﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ReYneuPPTr0/uRX=n^G?">chot loi</variable>
    <variable type="" id="W;#B8pCP{=Xl,.2Dvn7M">stop</variable>
    <variable type="" id="4jyIfmZB=d8G9Pgwdt)v">chot lo</variable>
    <variable type="" id="h$.Z[)P#*voVj)T9,#Ja">tien vao lenh</variable>
    <variable type="" id=")yIA.YTeca^jA15UG*|k">so lan Mar</variable>
    <variable type="" id="rui~b4br]c=-).}aRc:H">SIGNAL</variable>
    <variable type="" id="Ql!vW.:Wc@dEk:-ct@2c">i</variable>
    <variable type="" id="{,89,#{|=hoB6Ab]Oz~#">lenh khi win</variable>
    <variable type="" id="yq#BmDU.$0)r~uSDh9K2">Historgam</variable>
    <variable type="" id="`^*{oPs^|E4^b).p^=a`">MACD</variable>
    <variable type="" id="6=AMI3mJ:msQCP6k4)}W">so lan thua</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" 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="VF%qR]0Qp.wIxjl~6sm5">
        <field name="VAR" id="ReYneuPPTr0/uRX=n^G?" variabletype="">chot loi</field>
        <value name="VALUE">
          <block type="math_number" id="25oe%:wk_aT*0pxpqD1?">
            <field name="NUM">5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="7:bTb1iKPGEX39/Lv~[v">
            <field name="VAR" id="4jyIfmZB=d8G9Pgwdt)v" variabletype="">chot lo</field>
            <value name="VALUE">
              <block type="math_number" id="E$|wn$|zv_*e:cgqBC8|">
                <field name="NUM">105</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="+[%^7d8@mHK+KmngU=}:">
                <field name="VAR" id="h$.Z[)P#*voVj)T9,#Ja" variabletype="">tien vao lenh</field>
                <value name="VALUE">
                  <block type="math_number" id="K/*q6H{$Xi480)-.-^k6">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="W@dr^Na@v)5IPjk]~6K]">
                    <field name="VAR" id="{,89,#{|=hoB6Ab]Oz~#" variabletype="">lenh khi win</field>
                    <value name="VALUE">
                      <block type="math_number" id="iLVjRK.Y(e3P(d3Q7?~;">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="mrgc:jd[sJ#ePfYxcCm7">
                        <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                        <value name="VALUE">
                          <block type="math_number" id="+HWOovriKm%:$d@|%Lt7">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="l^7Enz;kMz@3N1nazhN8">
                            <field name="VAR" id="6=AMI3mJ:msQCP6k4)}W" variabletype="">so lan thua</field>
                            <value name="VALUE">
                              <block type="math_number" id="*F/[L_C{L#7Dk?a;@(RI">
                                <field name="NUM">8</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="w~};gzoMG9f{;;YV|;y7">
                                <field name="VAR" id="W;#B8pCP{=Xl,.2Dvn7M" variabletype="">stop</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="kX]6h7MAlyWJq9_kU5Y0">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="|LWI{9}F.i5k??6Id1-d">
                                    <value name="IF0">
                                      <block type="logic_compare" id="C=GF9H-;,m^eEDeF87(@">
                                        <field name="OP">EQ</field>
                                        <value name="B">
                                          <block type="text" id="DrA4~,KW.VxyX0~`P:st">
                                            <field name="TEXT">MyBot-3MACD 12-26-9-T10s-Loss Martingale -V2-Test</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</field>
          </shadow>
          <block type="math_number" id="x.Hns9VpHa)Fl+NHU[*p">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="o`369clq4p[%;7U|4+/W">
            <field name="VAR" id="h$.Z[)P#*voVj)T9,#Ja" variabletype="">tien vao lenh</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" collapsed="true" x="0" y="695">
    <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">3MACD 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">3MACD 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">9</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="variables_set" id="5=5u2E).dddTdM^:pq+A">
                        <field name="VAR" id="`^*{oPs^|E4^b).p^=a`" variabletype="">MACD</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="M`6S/Z,5|@YK.XpCc%jM">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="macda" id="Cj7Rwhv;$hl,C6;$Yz_$">
                                <field name="MACDFIELDS_LIST">1</field>
                                <value name="INPUT">
                                  <block type="ticks" id="mL1c02U886LX*c^%x[UC"></block>
                                </value>
                                <value name="FAST_EMA_PERIOD">
                                  <shadow type="math_number" id="|k5MYe)(4-nI6@3~bVA]">
                                    <field name="NUM">12</field>
                                  </shadow>
                                </value>
                                <value name="SLOW_EMA_PERIOD">
                                  <shadow type="math_number" id="K:])ROLVqRv]PN#5WUDe">
                                    <field name="NUM">26</field>
                                  </shadow>
                                </value>
                                <value name="SMA_PERIOD">
                                  <shadow type="math_number" id="ZyB$VD-8Z]akFKz=Y1bl">
                                    <field name="NUM">9</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="93@_?7Nr=^AO09mh,~Gb">
                                <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="`^*{oPs^|E4^b).p^=a`" variabletype="">MACD</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="~^vTxDZma:~:dh+oUwdv">
                                            <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</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">job-done</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="#[^QTYHfCYH.m3WB3hGu">
                                    <mutation items="2"></mutation>
                                    <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="`^*{oPs^|E4^b).p^=a`" variabletype="">MACD</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="inrK+OhZ3}H1_gL#XBDU">
                                            <field name="VAR" id="rui~b4br]c=-).}aRc:H" variabletype="">SIGNAL</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">job-done</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="54mb/ap[x.MO^T|Z`_,E">
                                    <mutation items="2"></mutation>
                                    <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>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="748">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="J)ad{ji3bg^JCg3ZzRce">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="SdN~](v8@+ljfblUszpw">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="sMyQ@Z6g@^4?K[sx{?$C">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">announcement</field>
            <value name="MESSAGE">
              <shadow type="text" id="!n7A@[{]T6)::@_8{lh+">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="j(rnc)VM]~*%K7u@fITX">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="6V`:Rr@4@|Vkv-{I5TXB">
                    <field name="TEXT">Win:  </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="Kol8wZ2RCwKy/5.mL5J4"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="WXw=A6BlgEn17,r8*iEt">
                <field name="VAR" id="h$.Z[)P#*voVj)T9,#Ja" variabletype="">tien vao lenh</field>
                <value name="VALUE">
                  <block type="variables_get" id="]L0{e:ZSBT%%(5`?hW,z">
                    <field name="VAR" id="{,89,#{|=hoB6Ab]Oz~#" variabletype="">lenh khi win</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="W.i/H3R-c:^j.0E)R/G/">
                    <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                    <value name="VALUE">
                      <block type="math_number" id="%%0]/lnreQDs}m4M#pV5">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="timeout" id="4Z7WIgkS@$zY*Qe0c;Cx">
                        <statement name="TIMEOUTSTACK">
                          <block type="trade_again" id="+a^(IoI:BFaF9/yx~Zp."></block>
                        </statement>
                        <value name="SECONDS">
                          <shadow type="math_number" id=";yXmwsE611JSl/QkMq)F">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="x4RvWEQ5g,)!s3+~J;x+">
            <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="s0c1$v_P?nL5{1qCRy/_">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow type="math_number" id="*P#LIP`!.)(,=3D#F}bg">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="TM(Yha[,;(~+DdU8l0iA">
                    <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="zZP0nAgG_y5yPs}7AN/^">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="p)/NNBcgXzDiV=n?%V?4">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="0B-DYKD#)0C;)8^Cvss$">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="x0f5GCm[8fQM{bG.$Nrb">
                        <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="){qi5.UdM_~8KaL:T]lG">
                        <field name="VAR" id="6=AMI3mJ:msQCP6k4)}W" variabletype="">so lan thua</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="syJ1yS?q15%4D_{A[1vn">
                    <field name="VAR" id="h$.Z[)P#*voVj)T9,#Ja" variabletype="">tien vao lenh</field>
                    <value name="VALUE">
                      <block type="variables_get" id="*/t`o|@LW5x9G2(Wi$^4">
                        <field name="VAR" id="{,89,#{|=hoB6Ab]Oz~#" variabletype="">lenh khi win</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="?4?WR-6PYkW*^*$!z_m.">
                        <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                        <value name="VALUE">
                          <block type="math_number" id="]Z~`k8(iCm(X~DGx`W*j">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="math_change" id="H;iYjA(Iu]L?Sj]p?U~5">
                    <field name="VAR" id="h$.Z[)P#*voVj)T9,#Ja" variabletype="">tien vao lenh</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="`lZh.]BO1{Y|laLVkGW-">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="4;,!J!/iBA9;mo`G4|;;">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="Yf4PIl%vZ8Q;nu/_+3/A">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="B#n3uL!Z7#qX;$buHlQy">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="?zh?K$O-fmOub#=C+p1c">
                                <field name="NUM">0</field>
                              </shadow>
                              <block type="read_details" id="d]!i?,EEV?wZEy|-Y-Wc">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="VuZ,9Hse_Ew/.w{Cnd5y">
                            <field name="NUM">1.05</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="timeout" id="DSXQ%tY6/I;x7[5)!L(W">
                    <statement name="TIMEOUTSTACK">
                      <block type="trade_again" id="VuW*UvUTeK-dqd-`!unA"></block>
                    </statement>
                    <value name="SECONDS">
                      <shadow type="math_number" id="^-gck0T$ih6k_ip7I8n}">
                        <field name="NUM">10</field>
                      </shadow>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="IIGe@*7:+X{_7wv0z+t{">
            <value name="IF0">
              <block type="contract_check_result" id="BePTjZ`L]kIcocWlVf_l">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_for" id="5E`RMsH^OG_Nq=qD^aw^">
                <field name="VAR" id="Ql!vW.:Wc@dEk:-ct@2c" variabletype="">i</field>
                <value name="FROM">
                  <block type="math_number" id="j]!8`d!@-5%W+rBq}(`1">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="math_number" id="FQkDOd5IY#BH.=-Fv4GK">
                    <field name="NUM">2</field>
                  </block>
                </value>
                <value name="BY">
                  <block type="math_number" id="3y4.X/HXk[RXH2#@ZB?X">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="notify" id="uCIR|SE~?-C{J?)yNh50">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">error</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="j)X4RcB@k|$[=6wUd.Nx">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="z%$D17;Qz7Y0fb^hr,*v">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="t/,F`tgX6IN^#,S2J^hw">
                            <field name="TEXT">Stoploss: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="AEWBUHq0G_2(yj=1ZDQf">
                            <field name="VAR" id=")yIA.YTeca^jA15UG*|k" variabletype="">so lan Mar</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="vj|[^T,}*Ugzwwy:u:6;">
                <value name="IF0">
                  <block type="logic_negate" id="F_*2El*Dkc|pc+W4/YQk">
                    <value name="BOOL">
                      <block type="procedures_callreturn" id="0),?GH$):BMtp0X#CF`P">
                        <mutation name="isStop"></mutation>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="{$`!;@@1n}4TtgvrNCI}"></block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="J0:|8!{L/N;lU`irB7(|" x="0" y="1635">
    <field name="NAME">isStop</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="b=-uhB%KTr[6!{WfKB%F">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="mtZrGEBdW|L^S`~q1K;n">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="Av-Zx;~v7Od(SyA={VOW">
                <field name="VAR" id="ReYneuPPTr0/uRX=n^G?" variabletype="">chot loi</field>
              </block>
            </value>
            <value name="B">
              <block type="total_profit" id="5Tou|s72`fJrf!g]oa2h"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="l`KF)I[BMhNRHFlVb`%/">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="@8N3k-JL80*h|rRI:,Ko">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="5[URpVhMM-[+82ekIMEf">
                    <field name="VAR" id="4jyIfmZB=d8G9Pgwdt)v" variabletype="">chot lo</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_arithmetic" id="m$a:j8;54l%3q/A!0tPZ">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="$HzSst)9[sVn-/O?1wrY">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="total_profit" id=")s5UxpV[|++.CqJK4%D5"></block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="?h@@Hc]QwM39Zx8nX|}2">
                        <field name="NUM">-1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="7i*Y=I|=JA6UtR,E1/6x">
                <field name="VAR" id="W;#B8pCP{=Xl,.2Dvn7M" variabletype="">stop</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="[OylrqyEkfwgCKvKZn}X">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="notify" id="Enl}WRm=T-YMdE0=9Pgv">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">error</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="j)X4RcB@k|$[=6wUd.Nx">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="(664%eZ)(iiuvg]}f62s">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="OMe]v80.e$=3ddO9$yD.">
                            <field name="TEXT">Stoploss: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="(quHx%EH@Fz(yt):=$j%"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="{pXsDlsd6[?5R^O:j1y1">
                <field name="VAR" id="W;#B8pCP{=Xl,.2Dvn7M" variabletype="">stop</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="Hq5.!Omf)`0,I6mgQht#">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="RddvD,vkqShbqD!0T0aM">
            <field name="VAR" id="W;#B8pCP{=Xl,.2Dvn7M" variabletype="">stop</field>
            <value name="VALUE">
              <block type="logic_boolean" id="~|(IRx78b|2$%ZY3nZs+">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="notify" id="m*iDpX2S4qc(![c`|;=d">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">job-done</field>
                <value name="MESSAGE">
                  <shadow type="text" id="j)X4RcB@k|$[=6wUd.Nx">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="f1O)Rx+:Q.`u!alm*N_]">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="?9?_v=W{qN]8MeZ7cD9A">
                        <field name="TEXT">Reach the target: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id=")?9AF1!^p.{pbpmYAXE("></block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="IH|A*szif^]o7cToMa-.">
        <field name="VAR" id="W;#B8pCP{=Xl,.2Dvn7M" variabletype="">stop</field>
      </block>
    </value>
  </block>
</xml>