﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="lyJCV8}`2cjaS)OT%2IK">Put: Candles List</variable>
    <variable type="" id="h/}_:uC?s=@rEX;xI*Sd">Put ( in candle list ) :</variable>
    <variable type="" id="QT;-EORwU~TXGKU#B!Ie">Put: ( in candle list read ) :</variable>
    <variable type="" id="{FQ2.vjdpXTf`K(qP]c-">waitafterloss</variable>
    <variable type="" id="jrN+2mGtV~XkC3B/L-m9">_candles</variable>
    <variable type="" id="Qu*Gw`IMt/+S6%z/dYWA">Win Amount</variable>
    <variable type="" id="NADCGv7Q[;C[R@gz98$`">Candles</variable>
    <variable type="" id="AoJ^2}Cibti8m^^gg#Tc">PurchaseTime</variable>
    <variable type="" id="_*]pi93WLvwJn_{Ln,n5">Gap Up</variable>
    <variable type="" id="]K.=]#={UJ!ZMJOai{LS">Nến Doij</variable>
    <variable type="" id=")7|+~U=^?eg%v+sX~Isu">New Candle</variable>
    <variable type="" id="@oDxg|2?b+3z!y6NiLf?">Gap Down</variable>
    <variable type="" id="P$Su|WoyRWX2(Ob?.uRJ">Nến Không Râu</variable>
    <variable type="" id="zkXwra]Wi7)v7#h^08c9">Nến Xanh Không Có Râu Dưới</variable>
    <variable type="" id="s)wyk?k3+;)ru:OOAkcm">Nến Đỏ Không Có Râu Trên</variable>
    <variable type="" id="1KCg$Dz;r5`F-5EzZ,LY">Nến Đỏ Không Có Râu Dưới</variable>
    <variable type="" id=".XEJy@iJTXi:NfE26vc7">upShadown</variable>
    <variable type="" id="I@Y0!]qR0ys/b]*(RiY;">Initial Amount</variable>
    <variable type="" id="k}1XaJh!VBhFYhp+7:c#">Candle Size</variable>
    <variable type="" id="du0jpW#$`Wqm:sb-!j55">RECOVER</variable>
    <variable type="" id="F9BH1|bBr)d~xwlOG-W!">downShadown</variable>
    <variable type="" id="*P,757@0^k-eZ%#EqFoh">Expected Profit</variable>
    <variable type="" id="/$/[PROTECTED EMAIL]`jF8">waittime(s)</variable>
    <variable type="" id="tfdwtI;p|][b5!7G.${q">CandleTime</variable>
    <variable type="" id="pzF4jZ0nz1EUApgrf]/U">loss</variable>
    <variable type="" id="?4xyw]`*g!zns!qIIq[C">WIN</variable>
    <variable type="" id="ggL,gV=3.UJssXZ6ghU[">Râu Trên</variable>
    <variable type="" id="Dr^wC{7I!p:tL2;v3NP[">loss level</variable>
    <variable type="" id="y_MYII+V?BRS7Hb@,Wd_">Râu Dưới</variable>
    <variable type="" id="qnd6)4H(C@6*kn}{k0I6">Tỷ Lệ ( %) Râu Trên</variable>
    <variable type="" id="}6XToQkJoW`?m:D0{F%C">R</variable>
    <variable type="" id="z*`w@%%C$[nX4;Ibz:;W">Tỷ Lệ ( %) Râu Dưới</variable>
    <variable type="" id=",~8AlN?]8UvANGey76_2">MARTINE 1</variable>
    <variable type="" id="Qs}h*5Hcar)?1y:0Ei4j">Nến Xanh Không Có Râu Trên</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-870" y="1005">
    <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">CALL</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="=3B1;jGRy[6c`{ruD9{n">
        <field name="VAR" id="Qu*Gw`IMt/+S6%z/dYWA" variabletype="">Win Amount</field>
        <value name="VALUE">
          <block type="math_number" id="U#b,k}VeGFj^25WkDo)?">
            <field name="NUM">2</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="J4wqR[Nt%@1KHpsuT2Ef">
            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
            <value name="VALUE">
              <block type="math_number" id="|C{jJ|aMTb0nu8ZbqGi_">
                <field name="NUM">2</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="W@u0exph$t9V1TM0sBRM">
                <field name="VAR" id="*P,757@0^k-eZ%#EqFoh" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="A/vF$zt~+4M2F)Vgy@bd">
                    <field name="NUM">100</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="JxwgU%YgR7~sJEC8~-Tx">
                    <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                    <value name="VALUE">
                      <block type="math_number" id="nwMWEcHjH*[yjQB|B_(R">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="Pp,`V!jXL[ve*Z5ju|-S">
                        <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                        <value name="VALUE">
                          <block type="math_number" id="JBV~@X*#SrjJ@0o)q%[P">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="Y}RK?km$:nfz$I7d}J{^">
                            <field name="VAR" id="Dr^wC{7I!p:tL2;v3NP[" variabletype="">loss level</field>
                            <value name="VALUE">
                              <block type="math_number" id="A)vu.@y,.qo1AZh_MZAY">
                                <field name="NUM">8</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="kBp,l1i8Y72JN{9KQ#|=">
                                <field name="VAR" id="}6XToQkJoW`?m:D0{F%C" variabletype="">R</field>
                                <value name="VALUE">
                                  <block type="math_number" id="5V`2R{0$hN,3^`i+a$w6">
                                    <field name="NUM">3</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="l1(;11aF3ej?fQ_37jN(">
                                    <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="|xkqX$,Dr3xPo1zN:(*~">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="$O[Zl3FK0[}irPW|;r!K">
                                        <field name="VAR" id=",~8AlN?]8UvANGey76_2" variabletype="">MARTINE 1</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="-Js^0+!z-(6;`(y{.nZq">
                                            <field name="NUM">3.5</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="AI`j0e^~=eu;@s:*@gA*">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="xj,):2jk0o:IAxsqj*ef">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="n{vJCN,Q0*fT+L7S9mb;">
                                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="8#.GnnhIwCaZX^/^]vO`">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="v}D+j#:2N1=`69BK(wM[">
                                                    <field name="VAR" id="/$/[PROTECTED EMAIL]`jF8" variabletype="">waittime(s)</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="bXc!E}tY!+RiO8Rmk@c#">
                                                        <field name="NUM">10</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </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>
        <field name="BARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</field>
          </shadow>
        </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="[^CDRU70v]qG`vv_`7bA">
            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
          </block>
        </value>
        <value name="BARRIEROFFSET">
          <block type="math_number" id="V8,+RCdQ$/8%pW|]kIfv">
            <field name="NUM">4</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="[X53P$!`4f:b@Rn~:.|C" x="297" y="1074">
    <statement name="TICKANALYSIS_STACK">
      <block type="procedures_callnoreturn" id="%/O6;Rtz.S.:CR5z-3-C">
        <mutation name="New Candle &amp; Color Candle">
          <arg name="Put: ( in candle list read ) :"></arg>
        </mutation>
        <value name="ARG0">
          <block type="read_ohlc" id="G?I?gn)FV6j8GN*{v4}Q">
            <field name="OHLCFIELD_LIST">close</field>
            <field name="CANDLEINTERVAL_LIST">default</field>
            <value name="CANDLEINDEX">
              <shadow type="math_number" id="~ub4=`ED2JdH(N[v!O*k">
                <field name="NUM">1</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="procedures_callnoreturn" id=":s?pjK3NbhNz{[lq(T7%">
            <mutation name="Body-Râu Nến:">
              <arg name="Put ( in candle list ) :"></arg>
            </mutation>
            <value name="ARG0">
              <block type="get_ohlc" id="]T_x[tcDu:W8A=5ZkR#)">
                <field name="CANDLEINTERVAL_LIST">60</field>
                <value name="CANDLEINDEX">
                  <shadow type="math_number" id="Te,e}KEWkN=fVWp-/zSi">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="procedures_callnoreturn" id="!(nI]jdv?t_%LzZxXC7:">
                <mutation name="Is Gap:::">
                  <arg name="Put: Candles List"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="J=!lpFkREs.A5K^fdUD0">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="[u3]1!zoX~~56+yz+3@j" collapsed="true" x="0" y="1139">
    <mutation>
      <arg name="Put: Candles List" varid="lyJCV8}`2cjaS)OT%2IK"></arg>
    </mutation>
    <field name="NAME">Is Gap:::</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="grwdT46@%Dk7@`=YnRsP">
        <mutation elseif="1" else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="-AO,QXe_9TdnM}?yTF#6" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="read_ohlc_obj" id="b^?3C}.d*M;U3H$gQ1Nl">
                <field name="OHLCFIELD_LIST">open</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="e:+FUDSwVw,qcU6#M:T}">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="lC[k.#JqZjV^GZD$Xr59">
                        <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="*vV?k_XmZ)lQ0Ry)tj[l">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="read_ohlc_obj" id="uoMyr!%/j4{saC/`S*R9">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="XTz$kfHpiGEh7[Yhq:5$">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="g]go8D~Po1kVnzIUQxhO">
                        <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="@/TXiT?pl+,o2p{3_!|r">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="aX4`uh)L8}w@Aq;R!dUG">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="7rW|Tf+Z{Y#)OO5q~kH_" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="~z:i$=bm/wY[:FeAK3PM">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="]iY8t4[36XUGu_vXN+-k">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="P?]C:iTHn(zPj_6jzfP[">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="+P%Jm-[n,Op:,V|HGU6Y">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="]]P95Lx7dk_P.QflC=V6">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="!k@@[l%^jV_]=J9:SAJ0">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="9sX~6.X@8@1=MB`H*Ta~">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="a-Ozx.rutU_52$5{e{dq">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="IWACa4-WM{#0XYdE(W2T">
                <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="h,X4Or-cQ-G?{n?Uy[dd">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="=;62bG+_nW1pU:G#hX`9">
                <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="dSqX?fwb)={u_f:H9GR{">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_compare" id="l7@;l]d|CrqwVvX~]9_X" inline="false">
            <field name="OP">LT</field>
            <value name="A">
              <block type="read_ohlc_obj" id="nXT,ffM}#GHk$IIH.i@W">
                <field name="OHLCFIELD_LIST">open</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="jT+q017ZaCyxY7!VAlv=">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="!5r2;]}q$O/#4lA3llSj">
                        <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="R6u++E:PNZZ{F~[T!Mc_">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="read_ohlc_obj" id="~{PQn9(gxD``z*y/X!et">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="}6-@8,kWljyO4zF~~]nP">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="EPVy|sbY{]@H8X${M+zs">
                        <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="ZLOhPd0lfC?os*W-TDEk">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="controls_if" id="86Hduv-(?t~6bFa;Y:ht">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="OMsE0pE(Z)k;~3GBK!@;" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="m,6!v,hsdF0*mJyT}pRM">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="X_U:g6^`*aSkB/Jf{kgI">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="]#3gqpxQS`)3D[;ur6}1">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="p6n/?l6NMK*_!BmNar,1">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="d1V9G7{-*~9{_]W[);0L">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="aUcg5XAlZ+{{E[nR$9iO">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="+MD_3yV0,cg7)A2z_lf0">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="b:,_OOuZ_rPa77s55r*^">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="b{(;rAgGHBJ@8(mW-@i|">
                <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="~0wTJndF/PJ+*W8c}z(b">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="U3il,kzjK}qW+*HB]E@z">
                <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="qK+AUsv,A798QhShju*7">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="1P`V2Pv~Z6M(=5bmCPjT">
            <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
            <value name="VALUE">
              <block type="logic_boolean" id="mPN@V36gnmT4QQb#Er:!">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="y}iOatd]hqY3ey$0Vx5a">
            <mutation elseif="1" else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="hilzSJUzKr00EzotlGDD" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="kE:|[zKPDyw21XXbDlxG">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="+4p[6SR/4}.0ncu!{h`b">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="{pvs+S_3m,O7#WC8Mz8{">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="KaQ_DEuxYy1Ec,y_j_Vc">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="[y!$T24G8|I$4_LDCTM!">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="M{d2{e27z}|K1nBIdb~%">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="n`!Kw,.4+_{~MsJA$lhW">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id=".Ed/IRL|ajx=q!8L?}3K">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="AbA:J*|!~dg`9|)|JeY{">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="L+AEnBd9]{ZL-1,+49w6" inline="false">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="read_ohlc_obj" id="g=%z)H[9M8c?0wNRF6*i">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="%OY,Otm{ln#yWyfXMcA+">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="Ux_(rT/RbRq^0Z;f`TC,">
                                <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id=")H(vi^=hv?=jkvQwnz8R">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="read_ohlc_obj" id="i3hY|22dVO)*#+G5G%Uv">
                        <field name="OHLCFIELD_LIST">close</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="6$`O8*ndQ2o*cOX#O!$N">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="y`::,_[Pm=CyJdap!C7$">
                                <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="g.:p7)cuPel-GI@*_F{W">
                                <field name="NUM">3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id=":bGhoEc-{49C6Axy46!u">
                    <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="wu=6_}GW=Ol;]SUYHRIQ">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="Fwjb@,,:4mo[GFQ/$wB%">
                    <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="#~rHWd50E=DQCT-aWf+t">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="HOj*Rc}u30**%?m8epSP" inline="false">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="*jPbG#2EQt^;)NA;GF-9">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="V;qW6r7%^:W%6)FboZ2S">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="I!}X?WN]]oAc#d1#4T_5">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="_UhVmEQ|PJe#!I4}`Gy3">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="!_GxuV?y3QUfxB%#=G$w">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id=".yf#^rt,a]h}}`SH.1kd">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="n.*T(nI_2W;I`~=PhF26">
                            <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="8v7;8HhmeG)|!AiO]4HB">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="controls_if" id="s`zLFWvwYvRQ[F|HEJk5">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="(rD,acni%;:,1k8g*uD8" inline="false">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="read_ohlc_obj" id="jV`{Q)%{9GzCX%axknb#">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="0K{Up.[/IJd4R7Xeu[OR">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="}f$|o#O!EY4k+*I#BjVW">
                                <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="#:iKcbg][kte;#O7wi_k">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="read_ohlc_obj" id="C0|m)^*=Kt8V1EN-PFPS">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="mFCEQ+.2Xp~,(:zNOJSM">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="~@SGjB%46[aa]BWvn2Iv">
                                <field name="VAR" id="lyJCV8}`2cjaS)OT%2IK" variabletype="">Put: Candles List</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id=")~n$91k%5u=^taRx{RGM">
                                <field name="NUM">3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="qUR2%S3R4rRGPxJL1:[x">
                    <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id=";_:f4{hG]!p=P`_%nf^*">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="7erbowiR~`cDkF0lF73)">
                    <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="oQtm:h-llh;X:r1_n(nH">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id=":4DcXfZfLbla]%];+bmh">
                <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="BE?8XqzwXp*HR#8ev|!-">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="@i}Ube/AC:gGtJHYb(;h" collapsed="true" x="-5" y="1196">
    <mutation>
      <arg name="Put ( in candle list ) :" varid="h/}_:uC?s=@rEX;xI*Sd"></arg>
    </mutation>
    <field name="NAME">Body-Râu Nến:</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="__7^JQq}b;pMtyb*T?p~">
        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
        <value name="VALUE">
          <block type="variables_get" id="!RJ+J!-E/{I90Z0-(+L1">
            <field name="VAR" id="h/}_:uC?s=@rEX;xI*Sd" variabletype="">Put ( in candle list ) :</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8bO8P7[`IxjiXtRHXQyb">
            <field name="VAR" id="k}1XaJh!VBhFYhp+7:c#" variabletype="">Candle Size</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="Wh.Aq8DNq!%X#0Nlsm,a">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id=":u[nCRZO%QwT=o6:^0-Z">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="A:-%Jua{$:L=+Mcd0ebV">
                    <field name="OHLCFIELD_LIST">high</field>
                    <value name="OHLCOBJ">
                      <block type="variables_get" id="=,/g$Vs3t/O9kEcISw@S">
                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id=";-xKj!}te5*7yK(E,LOb">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="@m(lg!i!]#6o+cc[k/#v">
                    <field name="OHLCFIELD_LIST">low</field>
                    <value name="OHLCOBJ">
                      <block type="variables_get" id="E^6xAdE*Ac07$o5upa4[">
                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="zs?DFl$P3^z{0fdaBuaw">
                <field name="VAR" id="/$/[PROTECTED EMAIL]`jF8" variabletype="">waittime(s)</field>
                <value name="VALUE">
                  <block type="math_single" id="@4{pJ2+t`kxVyWFh]-:L">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="yWkv+4}h.,ykOFxu*pr+">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="y~6`Z?rs]7jF-+,mTvS[">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id=":u[nCRZO%QwT=o6:^0-Z">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="t.G.JkQzpzN$]3lYcip5">
                            <field name="OHLCFIELD_LIST">open</field>
                            <value name="OHLCOBJ">
                              <block type="variables_get" id="/e4$aKJ;i|Kzf(nS`7,B">
                                <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id=";-xKj!}te5*7yK(E,LOb">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="^eE~6n|:c8Nir;Z/^%d2">
                            <field name="OHLCFIELD_LIST">close</field>
                            <value name="OHLCOBJ">
                              <block type="variables_get" id="kx4hV4/2N;*{`RbJ2m-g">
                                <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="P/rv1f_%vGantc0Pw/~l">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="is_candle_black" id=":X14PQ_@i#Uti0}C@K8|">
                        <value name="OHLCOBJ">
                          <block type="variables_get" id="?qX[n),1xVUJhNh-}Dgd">
                            <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="[1!/eXuD`-7f~p=8)81I">
                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id=";+gIqq_2N]o6!,A}Cm%I">
                            <field name="OP">MINUS</field>
                            <value name="A">
                              <shadow type="math_number" id="xDrGiaLCe3IhnfM1WvV!">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_ohlc_obj" id="*)vV6r4bb-o8w(~6yZ*X">
                                <field name="OHLCFIELD_LIST">high</field>
                                <value name="OHLCOBJ">
                                  <block type="variables_get" id=";RT,OYF[X[j*dH2{%^lQ">
                                    <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="]9alF38XG=Nk1.z|a:[9">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_ohlc_obj" id="Mu0-@4pd*d,olxSxgi[H">
                                <field name="OHLCFIELD_LIST">open</field>
                                <value name="OHLCOBJ">
                                  <block type="variables_get" id="=A!rwBxTjPJ+`]TfU)UZ">
                                    <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="CJ1!ss|?*zQvPG2PS:bD">
                            <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="yM.X1v[v1=K}x}6yB#S3">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="xDrGiaLCe3IhnfM1WvV!">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="(NLbiIxDsg;tYUrGnfU6">
                                    <field name="OHLCFIELD_LIST">close</field>
                                    <value name="OHLCOBJ">
                                      <block type="variables_get" id=")d48*kloyv7^0YMP=pSU">
                                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="]9alF38XG=Nk1.z|a:[9">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="_5_*{@T`!)veTZ:[lELb">
                                    <field name="OHLCFIELD_LIST">low</field>
                                    <value name="OHLCOBJ">
                                      <block type="variables_get" id="QZwB_c_Z;O8[bFe`MP+x">
                                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="|D1)K(de#8b*qZXbKX[=">
                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="jvD,HLHP}!Laj4u|+qG0">
                            <field name="OP">MINUS</field>
                            <value name="A">
                              <shadow type="math_number" id="xDrGiaLCe3IhnfM1WvV!">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_ohlc_obj" id="TB(/;c.*Y4Fa@OSdO/u{">
                                <field name="OHLCFIELD_LIST">high</field>
                                <value name="OHLCOBJ">
                                  <block type="variables_get" id="oZ6gEULsBWL611!gn?TF">
                                    <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="]9alF38XG=Nk1.z|a:[9">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_ohlc_obj" id="#WU9U(:4@Q2J%l264}M}">
                                <field name="OHLCFIELD_LIST">close</field>
                                <value name="OHLCOBJ">
                                  <block type="variables_get" id="~.yWn8@Tl@C@72y_5(1n">
                                    <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="w!@c|s*DU;R|sj]BSs!b">
                            <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="P[-i%%o~;v4T!pfZM|d3">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="xDrGiaLCe3IhnfM1WvV!">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="yEBEqC~BhXw=K*C*ob8F">
                                    <field name="OHLCFIELD_LIST">open</field>
                                    <value name="OHLCOBJ">
                                      <block type="variables_get" id="nY~_GfjV7%]%ubC*tMS=">
                                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="]9alF38XG=Nk1.z|a:[9">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="TaP?40q!7=hqZ{}]1;3^">
                                    <field name="OHLCFIELD_LIST">low</field>
                                    <value name="OHLCOBJ">
                                      <block type="variables_get" id="*(t64f2c9w4.8a[*b`r%">
                                        <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="]j@QY@cpgCxG]s:4+0dw">
                        <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id=".^e%Ro}b*W#tsC.))Oti">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="xq#,P05/?}h`${Y=i@+M">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_arithmetic" id="M!PDX`jzJ4dO7KqDD:C)">
                                <field name="OP">DIVIDE</field>
                                <value name="A">
                                  <shadow type="math_number" id="su:?B+P_-]vqZ|VG{.B.">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="p?7EpZu`4tF1})G~h{4Z">
                                    <field name="VAR" id="/$/[PROTECTED EMAIL]`jF8" variabletype="">waittime(s)</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="(x~Z]jlc(hMTMR?CShHK">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="g_))m)|wS_L?5#ye643]">
                                    <field name="VAR" id="k}1XaJh!VBhFYhp+7:c#" variabletype="">Candle Size</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="Y_Mg~Q?[RtGATBcJuGK$">
                                <field name="NUM">100</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="v_AuLA0MWRDDKS^tJ@Yz">
                            <field name="VAR" id="qnd6)4H(C@6*kn}{k0I6" variabletype="">Tỷ Lệ ( %) Râu Trên</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="d,nZ-z;Nt5}cNU4;BkV9">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <shadow type="math_number" id="lWE@:*]QaK)`$7Yd(A~S">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_arithmetic" id="4}2MqPzq]0zbIc$x,v=)">
                                    <field name="OP">DIVIDE</field>
                                    <value name="A">
                                      <shadow type="math_number" id="su:?B+P_-]vqZ|VG{.B.">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="h+*)HzXM-a+{)vM2{8Q6">
                                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="(x~Z]jlc(hMTMR?CShHK">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="yM@L8HU0tD3PJ%|z2Vr/">
                                        <field name="VAR" id="k}1XaJh!VBhFYhp+7:c#" variabletype="">Candle Size</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id=".+]L%QUNuhJ[EB@l2_M?">
                                    <field name="NUM">100</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="$A,#8IEjCd2_hu1Qe.{_">
                                <field name="VAR" id="z*`w@%%C$[nX4;Ibz:;W" variabletype="">Tỷ Lệ ( %) Râu Dưới</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="~TT90Pf?QmQ1_/Lp@sEV">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <shadow type="math_number" id="%f/Fq+:$cS9~y,nE{*A}">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="{1p8Xt?iwLY4.^|p*q;h">
                                        <field name="OP">DIVIDE</field>
                                        <value name="A">
                                          <shadow type="math_number" id="su:?B+P_-]vqZ|VG{.B.">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="[oUlU5A-CcuTf=0ehl4~">
                                            <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="(x~Z]jlc(hMTMR?CShHK">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="tyw.x0vqQNZxD8Xo%!e]">
                                            <field name="VAR" id="k}1XaJh!VBhFYhp+7:c#" variabletype="">Candle Size</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="r1;+BEkn*9xm%G1jHx:j">
                                        <field name="NUM">100</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="G/$7;0YZ-BUOuu:MlcV5">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="k+~iWmcO%v)Rz_:K#iiI">
                                        <field name="OP">LTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="yeOMLGG`OT(f`I?WM)55">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_arithmetic" id="ex)zLjOYp-o:*H*ckez^">
                                            <field name="OP">MINUS</field>
                                            <value name="A">
                                              <shadow type="math_number" id="Y!Y+8C]|,(nW1i8GN-L,">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="(;hPeey@Q8aWSP}AnZm#">
                                                <field name="VAR" id="qnd6)4H(C@6*kn}{k0I6" variabletype="">Tỷ Lệ ( %) Râu Trên</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="%95(+%!N4n5sQODajlhE">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="*5nXts{ND=xg}QtUdxC3">
                                                <field name="VAR" id="z*`w@%%C$[nX4;Ibz:;W" variabletype="">Tỷ Lệ ( %) Râu Dưới</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="Fh5/V_$rG;vP2n?|nTo*">
                                        <field name="VAR" id="]K.=]#={UJ!ZMJOai{LS" variabletype="">Nến Doij</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="6=dQy1S%!bD6Edj_.oy:">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="variables_set" id="8{?K%0f^]*1t#7Ca|.3E">
                                        <field name="VAR" id="]K.=]#={UJ!ZMJOai{LS" variabletype="">Nến Doij</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="(*P4|6m:+j-_Nf5;@4{.">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="cey,e27%eanH{HZnE@]|" collapsed="true">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block type="is_candle_black" id="9H6}P:vppo$+-?,`tO*V">
                                            <value name="OHLCOBJ">
                                              <block type="variables_get" id="$G3h}(tbRzrMS_I+;%G2">
                                                <field name="VAR" id="NADCGv7Q[;C[R@gz98$`" variabletype="">Candles</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id=",.^)orpNOW8D?W%%u85)">
                                            <mutation elseif="2" else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="y$8U~~x3BOU82nRNSreE">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="$]=}*[|CJd46Tu~RiKQ0">
                                                    <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="#SDd^_.heNhw3{,5{,AV">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="%-*Xu4upgdd99Erjlw+l">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="9bSxE0V+7:M_r[.z4u!O">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="*co-$EZfeS{@qdc*P8=9">
                                                        <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="GYKwlZ]myS}P67mvC5%/">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="2w6%1K]]$*_ALKf`wfFa">
                                                    <field name="VAR" id="s)wyk?k3+;)ru:OOAkcm" variabletype="">Nến Đỏ Không Có Râu Trên</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="UKu[4]h9{LMM1jeT~%uz">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_compare" id="[Tb}PKf.HF5}EO5x7?nN">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="FzuX9m-3=`Vd|boH8gx$">
                                                    <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="$iH)WW(BDoRX`X~1[lC$">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="controls_if" id="gv_(6-8+;d}lQG8V1dFP">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="s$AVwh_k`qqMD%E9HkyV">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="]Zc?Vgek{DgTJZz!HsTH">
                                                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="i0p6disOHn3Xq1y0$4-V">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="I[vxjQ=]FA1ay!}lab[.">
                                                    <field name="VAR" id="1KCg$Dz;r5`F-5EzZ,LY" variabletype="">Nến Đỏ Không Có Râu Dưới</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="hBExA2Fd[6i74iub5Bog">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF2">
                                              <block type="logic_operation" id="pO}cLl%UV7v6_nf6:K9{" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="wUV=A_$b0=[[eaNI7;y@">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="1u@f|#a?7/_):}R%ixkt">
                                                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="IMX[wo/9;xT-We/HKN4z">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="rP^aH.lXaZ/s-ZrqD/p0">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="{qJ[uH^d_Dzsb#3_wU,A">
                                                        <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="^)xRIF*Fj0pD.S~X{)Wb">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO2">
                                              <block type="variables_set" id="`69~Ckb7y)9;ZU;hl9?r">
                                                <field name="VAR" id="P$Su|WoyRWX2(Ob?.uRJ" variabletype="">Nến Không Râu</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="cwmECyrM8Pi0JmtU#*){">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="variables_set" id="0wQrj3MF?|~lM_)HBmIy">
                                                <field name="VAR" id="s)wyk?k3+;)ru:OOAkcm" variabletype="">Nến Đỏ Không Có Râu Trên</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="7pFq_g7%Z}S.JV34f.JQ">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="DZD)j{Db2wxJCfO#H;:K">
                                                    <field name="VAR" id="1KCg$Dz;r5`F-5EzZ,LY" variabletype="">Nến Đỏ Không Có Râu Dưới</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="0fK[R4rHAt+Ar87wKGSF">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="%j=w)8!s#S]xuVqW;?h]">
                                                        <field name="VAR" id="P$Su|WoyRWX2(Ob?.uRJ" variabletype="">Nến Không Râu</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="$=Nybm:F,Mxvg),d;g5(">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block type="controls_if" id="M@Ay~:S:H^1V*^9gJn4c">
                                            <mutation elseif="2" else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="LUw%VP*X/,{Wrt]9zixb">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="nYxm*4xGPnx1.{SH3Zj;">
                                                    <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id=";1]*2x%3_ZJpk)uhU96q">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="`ngKh3W2HF5U[b79}?vf">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="Tx^[s[+Q-%,K=o%0@/}6">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="E[OSn8?xC*@Vaq@}*05W">
                                                        <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="/ZNMvV^d/,-,z?94G$WG">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id=")dtFjwSw{=iQ]:rE6IRc">
                                                    <field name="VAR" id="Qs}h*5Hcar)?1y:0Ei4j" variabletype="">Nến Xanh Không Có Râu Trên</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="WC{6n0X3am6)U^e-a)Kq">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_compare" id="*jiynIsWQRR11rqdmQ3!">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="Mjj2{Wg]m0j}(S(rdkWH">
                                                    <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="l^{):CXtyV?/+fTD0qwS">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="controls_if" id="O:n[`}_8IZSFd.H/nRW#">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="fzdx!L){=^PPov|$#rcR">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="Mxy8Ca,|t^~62SxR[`v4">
                                                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="}8:_hZw4bMKD/.)qvw6f">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="oWGV)f/aWED2#Obbju8#">
                                                    <field name="VAR" id="zkXwra]Wi7)v7#h^08c9" variabletype="">Nến Xanh Không Có Râu Dưới</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="-rsXG$7YAD9G*1duS_Ct">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                            <value name="IF2">
                                              <block type="logic_operation" id="o+rMk/qTsj*Yw{nWC}yq" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="RQ]f+xowj7V;MzFXUt$;">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="[|nQ~dAlll(ONT2l?Fu0">
                                                        <field name="VAR" id="ggL,gV=3.UJssXZ6ghU[" variabletype="">Râu Trên</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="58Ik_.$foZOj$}U,i7vl">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="M$}doC#r)o/ACu^r~NKA">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="5mJOXWUd{$vDuhuzJ=L[">
                                                        <field name="VAR" id="y_MYII+V?BRS7Hb@,Wd_" variabletype="">Râu Dưới</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="cC#lTon0_,IDEo`1kP1+">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO2">
                                              <block type="variables_set" id="SsCZ}*tby`MK%Hl1?Z!^">
                                                <field name="VAR" id="P$Su|WoyRWX2(Ob?.uRJ" variabletype="">Nến Không Râu</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="0-.[$cQvy)RzBQNiS)z(">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="variables_set" id=";Cn#,+x|FbY2LRATW$F|">
                                                <field name="VAR" id="Qs}h*5Hcar)?1y:0Ei4j" variabletype="">Nến Xanh Không Có Râu Trên</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="[=.fbAMBV6~sKX7nfz=G">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="`5chQA7cI{[uGq9O)~Mo">
                                                    <field name="VAR" id="zkXwra]Wi7)v7#h^08c9" variabletype="">Nến Xanh Không Có Râu Dưới</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="bq^Ic)PhApLRuMoF{%c3">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="xOd9DbP$sKl3pSYN9OKj">
                                                        <field name="VAR" id="P$Su|WoyRWX2(Ob?.uRJ" variabletype="">Nến Không Râu</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="frS.qO(j:Qpf?d-.P#Jg">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="X~@?NS-^r?7y~J)tyCwD" collapsed="true" x="0" y="1245">
    <mutation>
      <arg name="Put: ( in candle list read ) :" varid="QT;-EORwU~TXGKU#B!Ie"></arg>
    </mutation>
    <field name="NAME">New Candle &amp; Color Candle</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="OJk^R_`-Kf-b:@5P_a6=">
        <field name="VAR" id="AoJ^2}Cibti8m^^gg#Tc" 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="tfdwtI;p|][b5!7G.${q" variabletype="">CandleTime</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="nF!e+a4?F7+cyRNnxt3M">
                <field name="VAR" id="tfdwtI;p|][b5!7G.${q" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="variables_get" id="Tg];@2TO!BTawlPFz[fN">
                    <field name="VAR" id="QT;-EORwU~TXGKU#B!Ie" variabletype="">Put: ( in candle list read ) :</field>
                  </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="tfdwtI;p|][b5!7G.${q" variabletype="">CandleTime</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="=6e$3I|sG|UDc~V+)bBL">
                    <field name="VAR" id="QT;-EORwU~TXGKU#B!Ie" variabletype="">Put: ( in candle list read ) :</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="variables_set" id="!?=8#},~eI$-X=m_z8Q]">
                <field name="VAR" id="tfdwtI;p|][b5!7G.${q" variabletype="">CandleTime</field>
                <value name="VALUE">
                  <block type="variables_get" id="}R,}9k]aH=@c$7c,=c)O">
                    <field name="VAR" id="QT;-EORwU~TXGKU#B!Ie" variabletype="">Put: ( in candle list read ) :</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="m@g`M|G[vW_zZcA!g0P!">
                    <field name="VAR" id=")7|+~U=^?eg%v+sX~Isu" variabletype="">New Candle</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="AoJ^2}Cibti8m^^gg#Tc" 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=")7|+~U=^?eg%v+sX~Isu" variabletype="">New Candle</field>
                <value name="VALUE">
                  <block type="logic_boolean" id=")R636[p$KA;Rzi[}p|+t">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="l1`b~hBP[h1Z/NLz@j)1" collapsed="true" x="0" y="1298">
    <field name="NAME">Gap Up</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="w)/4U*u8`;9QL$o{`[n1">
        <field name="VAR" id="_*]pi93WLvwJn_{Ln,n5" variabletype="">Gap Up</field>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="298" y="1330">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="mVZ]^9Zb%UvXSyH6=Tpp">
        <value name="IF0">
          <block type="logic_negate" id="ifqH|Z*:u5Ia]L5u]l4_">
            <value name="BOOL">
              <block type="procedures_callreturn" id="3rP$f)AO[|R2KZ*8;lWJ">
                <mutation name="Nến Doij"></mutation>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="fcz^dyOPSBYJmvd;iXOR">
            <mutation elseif="2"></mutation>
            <value name="IF0">
              <block type="procedures_callreturn" id="H05;=|y+!rN;*U~P%}b5">
                <mutation name="Is Bull::">
                  <arg name="_candles"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="gvKm3v}zrOFKa)L9=CCV">
                    <field name="CANDLEINTERVAL_LIST">120</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="notify" id="}!}J#=j_3rU|;/A?Akln" collapsed="true">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="4zD3njuU5J~7z+vNouRL">
                    <field name="TEXT">Is Bull</field>
                  </shadow>
                </value>
                <next>
                  <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                    <field name="PURCHASE_LIST">CALL</field>
                  </block>
                </next>
              </block>
            </statement>
            <value name="IF1">
              <block type="procedures_callreturn" id="iIIt-9Zh!17~;MM5;~^.">
                <mutation name="Is Bear">
                  <arg name="_candles"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="HAO*EdjG%s?i.+Acm4b9">
                    <field name="CANDLEINTERVAL_LIST">120</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="notify" id="/dT!yIh}T!mdL/tu~GR," collapsed="true">
                <field name="NOTIFICATION_TYPE">info</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="E}DaXdU}E}UxZ+n#=px.">
                    <field name="TEXT">Is Bear</field>
                  </shadow>
                </value>
                <next>
                  <block type="purchase" id="v!4l83UREAaYx|gpmwT9">
                    <field name="PURCHASE_LIST">CALL</field>
                  </block>
                </next>
              </block>
            </statement>
            <value name="IF2">
              <block type="procedures_callreturn" id="T5g.TozRpf~%,BT%I$Xu">
                <mutation name="New Candle"></mutation>
              </block>
            </value>
            <statement name="DO2">
              <block type="controls_if" id="S[9BYh~K6u2jk9^(6BQ$">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="procedures_callreturn" id="^C.Um.0SQ#hc|Kl;[axV">
                    <mutation name="Gap Down"></mutation>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="SUqi:a)F/oS}-n$7O+m}" collapsed="true">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="?{FEjw!Mc/4?p$+7NR(O">
                        <field name="TEXT">Is Gap Down</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="purchase" id="mo0abxJXy$oK/f6{idw7">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="procedures_callreturn" id="GJj4p4R20Lg;Xxs2MVTD">
                    <mutation name="Gap Up"></mutation>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="notify" id="UP%lhzX)]!b305*t;|5C" collapsed="true">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="f9?9[zSiy[[xD/6IB1Q8">
                        <field name="TEXT">Is Gap Up</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="purchase" id="/Y{cCoV}OeK~68c9U+C,">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="jnrV|7^VUw9gxWHZQ(4A" collapsed="true" x="0" y="1351">
    <field name="NAME">Nến Doij</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="*uy]+}ai$rhDTb|}.ESn">
        <field name="VAR" id="]K.=]#={UJ!ZMJOai{LS" variabletype="">Nến Doij</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="5S~A!^;f!!}EaU48%U8v" collapsed="true" x="0" y="1404">
    <field name="NAME">New Candle</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="mh;,*}1tZb!S2?)W7j~(">
        <field name="VAR" id=")7|+~U=^?eg%v+sX~Isu" variabletype="">New Candle</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="#xj+~M0dRXoEo3wm|^(f" x="438" y="1398">
    <mutation>
      <arg name="_candles" varid="jrN+2mGtV~XkC3B/L-m9"></arg>
    </mutation>
    <field name="NAME">Is Bull::2</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
  </block>
  <block type="procedures_defreturn" id="mi8A?^S%0viS+zN{yq_D" collapsed="true" x="0" y="1457">
    <field name="NAME">Gap Down</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="Leq,t3S.Z=Z7H4O=a=VA">
        <field name="VAR" id="@oDxg|2?b+3z!y6NiLf?" variabletype="">Gap Down</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="(ZX|;aetoU:b/xfanIR8" collapsed="true" x="0" y="1510">
    <field name="NAME">Nến Không Râu</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="HBD?ro5dtPd(qgzi#ko[">
        <field name="VAR" id="P$Su|WoyRWX2(Ob?.uRJ" variabletype="">Nến Không Râu</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="8TMv1$n*JA#VSMd`K(8n" x="438" y="1519">
    <mutation>
      <arg name="_candles" varid="jrN+2mGtV~XkC3B/L-m9"></arg>
    </mutation>
    <field name="NAME">Is Bear2</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
  </block>
  <block type="procedures_defreturn" id="(..,%Gp[VvC`p~A};0Ak" collapsed="true" x="0" y="1563">
    <field name="NAME">Nến Xanh Ko Có Râu Dưới</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="9mv@!I?;E]q4/}geAxZH">
        <field name="VAR" id="zkXwra]Wi7)v7#h^08c9" variabletype="">Nến Xanh Không Có Râu Dưới</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="M*9QEzIxB)J7tG*5rv72" collapsed="true" x="0" y="1616">
    <field name="NAME">Nến Xanh Ko Có Râu Trên</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="nE/mkQ6J!nS,Vu|^cO%i">
        <field name="VAR" id="s)wyk?k3+;)ru:OOAkcm" variabletype="">Nến Đỏ Không Có Râu Trên</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id=";RamIWjOPwun96rw![/b" collapsed="true" x="0" y="1669">
    <field name="NAME">Nến Đỏ Ko Có Râu Dưới</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="n]^k{_8Bjb7C3MU!~WN$">
        <field name="VAR" id="1KCg$Dz;r5`F-5EzZ,LY" variabletype="">Nến Đỏ Không Có Râu Dưới</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="zj`=d{xzPndFYSXMsJl|" collapsed="true" x="0" y="1722">
    <field name="NAME">Nến Đỏ Ko Có Râu Trên</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="S^]OQTz%K3T/L0V6;=sK">
        <field name="VAR" id="s)wyk?k3+;)ru:OOAkcm" variabletype="">Nến Đỏ Không Có Râu Trên</field>
      </block>
    </value>
  </block>
  <block type="after_purchase" id="~vJV2Tk#t2EAD`u$CcN1" x="-853" y="1819">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="+]]K28{ejHTmCdVbcm]8" collapsed="true">
        <value name="IF0">
          <block type="logic_compare" id="=LQ}Cnpce|fCI,o|^v%~">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="JJB^UsrI1c_EX7k,(mR2">
                <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="rj)}@*M+#Ex+L`SV|.4_">
                <field name="NUM">0</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="HB+s|P,(7CX=i7tX+f`K">
            <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
            <value name="VALUE">
              <block type="math_number" id="p$vs(8:2OqoTCl^HQd!k">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="3j$L6S:6kb{hyr1!jVuZ" collapsed="true">
            <value name="IF0">
              <block type="logic_compare" id="G{:-1^3to7MsS?GrZQch">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="C99|LfeHH%a/v-8(Pnwi">
                    <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="`IY`BltBnop-~r1WkbQ9">
                    <field name="NUM">1</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="LAa_Ois,S7f~4_UNZbdi">
                <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                <value name="VALUE">
                  <block type="math_number" id="{ECT`m:}rUx)]S2icx1V">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="(Je$q/V;?w6+3n=A-Uh;" collapsed="true">
                <value name="IF0">
                  <block type="logic_compare" id="~0b0s}IT6,E7bt@,l_q?">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="7:XwDjqc],J(GjUf;=ZV">
                        <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="Nrzpm`ng32-o%)X.PSlU">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="Xkwf%eR7I##BvL9L~*6j">
                    <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                    <value name="VALUE">
                      <block type="math_number" id="IL;`h-`mTU;4a^j+q!JJ">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="ng$3o*||nE^V88;wWlQL" collapsed="true">
                    <value name="IF0">
                      <block type="logic_compare" id="(Uv:#VQl=m96!u.97;w:">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id=",zfw=Xf33/=Sms$+p4q8">
                            <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="Yq7-H(q3nl2Wxt1V4Y/y">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="#D]E;LgvYMP@Ue7;bkcb">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="contract_check_result" id="Cq0+[{Dcju;b_cOk.zCn">
                            <field name="CHECK_RESULT">win</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="8L~jI:-J~+0][nn4$S0(">
                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                            <value name="VALUE">
                              <block type="variables_get" id="2r%{ZCM80Jpz6!S|7;4/">
                                <field name="VAR" id="Qu*Gw`IMt/+S6%z/dYWA" variabletype="">Win Amount</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="i%B5,0`0EDGM~B*8f:qs">
                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="yD-RDl5gM}3i{7C4uJ*i">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <shadow type="math_number" id="yW09yv+dc3^xehvxXeZG">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="Srf+to9j{d.Zi;OnRVIu">
                                    <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="`0NtGA}IQ@ucs5s0e:=I">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="pqSf.c+appCeY0B3S73h">
                                    <field name="VAR" id=",~8AlN?]8UvANGey76_2" variabletype="">MARTINE 1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="0/z.%n?.tUfFD.PY4.]8">
                                <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="OyPgU|w%Yy1;`Bb1y?-K">
                                    <field name="OP">ADD</field>
                                    <value name="A">
                                      <shadow type="math_number" id="yT;.nF6ecV`)eR,Lh72j">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="R0E;ymraW2t0P`i5J^#;">
                                        <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="dkTs-{9VXk?}bJ;1iiiQ">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="lu!K)SsY422I2mh{:^w~" collapsed="true">
                        <value name="IF0">
                          <block type="logic_compare" id="hvm)q?_hzVY+li(h{wlA">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="j3kidKJ=ZDclGD=]k/bw">
                                <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="o0TFM5Iwa:(5U[_g!1?)">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_if" id="^B[o1Z),tBUPqH6_.h/k">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="contract_check_result" id="]T2ILHd]=gob36A5;lVa">
                                <field name="CHECK_RESULT">win</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="vg/ZpU@5uWQRQEFML7^/">
                                <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="%ZK+,Fpm=wEF8(E6RKV/">
                                    <field name="OP">ADD</field>
                                    <value name="A">
                                      <shadow type="math_number" id="yT;.nF6ecV`)eR,Lh72j">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="MmFMwBz*]j~%~@8acL11">
                                        <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="`~4Lq5C3yXNe3{z`Eo[m">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="nRNX$b7jq-c$NU-I|thw">
                                    <value name="IF0">
                                      <block type="logic_compare" id="A|R3LB)#Ccp6~2i{KmRK">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="(NnDAb~6ll:YJZH[AQ(8">
                                            <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="7Pn;p!nAR%2`~l]~ISJ6">
                                            <field name="VAR" id="}6XToQkJoW`?m:D0{F%C" variabletype="">R</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="o]z[`b(27}e9#S02!C|x">
                                        <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="tpLtG?ztBMV`2F.jjSCs">
                                            <field name="VAR" id="Qu*Gw`IMt/+S6%z/dYWA" variabletype="">Win Amount</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="1*ynv.,q6vZA{SG]L[C.">
                                            <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="Gqgtpv[MQ|P)jTTm.*-p">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="(?_^J;UNri$Pf,Tjry-}">
                                                <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="^vaHb5ncgdaDq7NDX`;G">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="variables_set" id="9v;/a3cKi8Cyo{=dzd(T">
                                        <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="ZKSz?/9}W3-Fjf/(z!H0">
                                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="8aE5wo7oj`YC};j`3q`d">
                                <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="_OW4s`o(xS3yI+04kJTE">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <shadow type="math_number" id="yW09yv+dc3^xehvxXeZG">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="|L|35TqT[i;@xu^Cnlmb">
                                        <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="`0NtGA}IQ@ucs5s0e:=I">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="c]$v4Qos^/7Eu8BpI-:R">
                                        <field name="VAR" id=",~8AlN?]8UvANGey76_2" variabletype="">MARTINE 1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="nd=rgJ*KlC=:CU/SmwG,">
                                    <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="Lml0*!)DFCV0,D*lPG6%">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="BxTukjApf(4`,e(ROMp8" collapsed="true">
                            <value name="IF0">
                              <block type="logic_compare" id="-scx!;-~25GG4Tb,F-$~">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="dZ}Lo)rD;^_dJ6JoVLQ!">
                                    <field name="VAR" id="du0jpW#$`Wqm:sb-!j55" variabletype="">RECOVER</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="P(ra==G%_@7nh?3{g3RO">
                                    <field name="NUM">3</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="controls_if" id="jK!BE-T4u)VjD$a}g+2/">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="contract_check_result" id="u/q8a%D*Es*S-QTLzkUJ">
                                    <field name="CHECK_RESULT">win</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="|bW5KyVsHkGyX91QbBC[">
                                    <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="-dE9yIasX1N$K0X5=DVn">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow type="math_number" id="yT;.nF6ecV`)eR,Lh72j">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="hmXz-H_+IKdF$~(gdY~2">
                                            <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="(D$Z$_mZluqA81YxsWvg">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="FOE0s93$.^x*W0%`Z/z3">
                                        <value name="IF0">
                                          <block type="logic_compare" id="g`3rlNw88JSzpx/z9YsV">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="%)Mh1FBsi;zZD!^.y7;_">
                                                <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="A5T2r@:H`+XRT},_xm_E">
                                                <field name="VAR" id="}6XToQkJoW`?m:D0{F%C" variabletype="">R</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="variables_set" id="OL)Cp}lHcJu.jf!rnX0S">
                                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id=")44O3oh_neYo!d+nTwCE">
                                                <field name="VAR" id="Qu*Gw`IMt/+S6%z/dYWA" variabletype="">Win Amount</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="p!3P%$S3uC{t%r8h`;@L">
                                                <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="[cF_}H,G2D8c;~`Nh._;">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="M:mYYt_}f9iA+p-C0tXa">
                                                    <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="`V6TIs(Q$9w#H!e-IcCC">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="variables_set" id="(BuZ4[5/OY#XdQk2h0V`">
                                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="5A;9F*uVj3rB`V!0~=BV">
                                                <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="variables_set" id="_rp)ZQ(,)@AMS_[q=u1P">
                                    <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="AD-eh[S[)m6s#Rtw6pT%">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="yW09yv+dc3^xehvxXeZG">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id=")/?nc1hS92CE{kVLn*U,">
                                            <field name="VAR" id="I@Y0!]qR0ys/b]*(RiY;" variabletype="">Initial Amount</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="`0NtGA}IQ@ucs5s0e:=I">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="U[^_U_KM8Hk1Z1U}Mkg@">
                                            <field name="VAR" id=",~8AlN?]8UvANGey76_2" variabletype="">MARTINE 1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="+)$RWdY3B(:n]{1m-aq5">
                                        <field name="VAR" id="?4xyw]`*g!zns!qIIq[C" variabletype="">WIN</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="NzMb^S3elj7~~^q$PI:3">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="-5-}/$hXY|X-LK,bJ9e=" collapsed="true">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="#}!DZ{w{zVCNUYd`E.hy">
                                    <field name="OP">OR</field>
                                    <value name="A">
                                      <block type="logic_compare" id="obHDKQ(,qMW9e%m?w`*|">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="total_profit" id="E(xvG9N4ytPxG}5wg?s*"></block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="5?zu-R_{__Mjkmp+2.)C">
                                            <field name="VAR" id="*P,757@0^k-eZ%#EqFoh" variabletype="">Expected Profit</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="cQiAHzqVQ`Nkpd9j8[7g">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="_3!I8,?,.|*:Mz~av@z~">
                                            <field name="VAR" id="pzF4jZ0nz1EUApgrf]/U" variabletype="">loss</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="u}C`1ORH8`+[N@tD|@F~">
                                            <field name="VAR" id="Dr^wC{7I!p:tL2;v3NP[" variabletype="">loss level</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="text_print" id="r|gFxtq{yw}@uI^sUDg{">
                                    <value name="TEXT">
                                      <shadow type="text" id="{mM:)M_dMD.cIB;HXha2">
                                        <field name="TEXT">please stop bot</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="trade_again" id="d-elzYA`wYNgO-R`6D7g"></block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="2c`]6U*=q;tQjBN0L]E#" collapsed="true" x="0" y="1775">
    <mutation>
      <arg name="waitafterloss" varid="{FQ2.vjdpXTf`K(qP]c-"></arg>
    </mutation>
    <field name="NAME">Is Bear</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="KB%Kr$9(fk:)*;l.vWU}" collapsed="true">
        <field name="VAR" id=".XEJy@iJTXi:NfE26vc7" variabletype="">upShadown</field>
        <value name="VALUE">
          <block type="logic_ternary" id="K/Ln~2X#:paa,qtKKW2d">
            <value name="IF">
              <block type="logic_compare" id="3$Z0Z{q%b~^d]Ln2Zxr0" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="RuJGCCFRl!Vu{aa]qYbM">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="J4ss@$;wc]yGn%V|X9[r">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="|{ncg!U`fi-vRIm|G#G9">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="n,`97.(afYjTdl;dkfgt">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="ZJe`nls/FtS![%G!vR6u">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="^XoML7t_N!#}2RqMT??g">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="l4h?_LY4`ejs{VMr[=pC">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="phR9t`U,Nziz|6Bt|G?a">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="math_arithmetic" id="Xcaxt]h/Tq%)a#)Jf#E=" inline="false">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="%|@FyEMklIWNmm5nQ[`0">
                    <field name="OHLCFIELD_LIST">high</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="@6zC)aPWwj6jjPcXeim-">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="~IP~`KP8{El=eI?bN%G$">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="DE1#|Y|oPeQ]=yHA+YQv">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="hCv?D?|;#_^s;7ql;X^m">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="3/5nz_#Rt]NExfjZubGk">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="g3rGfWFs?SZp!F0EmffG">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="xjX`_YTJX~1fR%nh$$ut">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_arithmetic" id="ONodRh{WdO.lrhw_+5kM" inline="false">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="E3z2wMXbyactZ1Nus/~K">
                    <field name="OHLCFIELD_LIST">high</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="AXE4WYDX|gO?P4_*o$Sz">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="w1q?S9N4rXFTcJdv9QZ=">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="Cq{7G?A`79^M!jJ]:tf!">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="@lI%HmYzb`mfuq5x}}wB">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="Th{Of^h.j=HJ5fipBp}x">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="e*$y9`qEZtSie3hvEOUw">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="}5(oB@7q-;$ht-RClH*/">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="uQDD7)bSQ2ME9f{lbSv/" collapsed="true">
            <field name="VAR" id="F9BH1|bBr)d~xwlOG-W!" variabletype="">downShadown</field>
            <value name="VALUE">
              <block type="logic_ternary" id=".q06=/Fx(ks/W({23}I}">
                <value name="IF">
                  <block type="logic_compare" id=".T0|oAAUarEK./rvXfp." inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="read_ohlc_obj" id="X4kndiss}e`C,OKcF,p{">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="c}3D05#w0-yd}J^V_atY">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="Zzt,OsS;781[*4!CVlI?">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="AHyG8x9c|nbFDitl5[3?">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="read_ohlc_obj" id="!^swC6XNdK./(=3uvbH4">
                        <field name="OHLCFIELD_LIST">close</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="O$3#F}?|#uxvb%HE]uBu">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="7GxEj6,~k2/=lMcN`jz]">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="[@v^J9PBga2p82r_6vUN">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="math_arithmetic" id="x@_O8L9$*PMS@!=jwMP`" inline="false">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="abqdDS/Zx%nLB`O=MY6}">
                        <field name="OHLCFIELD_LIST">close</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="(1p!MMdo07cx]{nDq)ye">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="CmHu)+{,!}+MV7yFj1g(">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="{.W:z@$j8?@Y^A:.z`u#">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="V]CW@nK8TM)avn#)^xPn">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="m;}_TMRTj)VoQKj86(+_">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="N`+XwkNXy(6%E;wRXV%d">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="baXy)/Sb$V+;p+.8:QIX">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="math_arithmetic" id="OPoYV[%-iqm:t^o3V8U}" inline="false">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id=")(_HL`Apx-PG:Td@vdwN">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="hGZ#dcdR]`%+D0^S(%`|">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="a*b5j:7ND*c1W?/wpJ];">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="P;J6nBTCLdduR021i%S0">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="!!;Saun^St;,..KN?MZm">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="#MNbDEY(bN8M[9N5Mhpu">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="oYrG4kQ}ro*-#p^cy[=y">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="3wAPX^EY]x_ZDOB.=Hw;">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_ternary" id="4fNRCfn=:OMg$h.7At$n">
        <value name="IF">
          <block type="logic_compare" id="Zk}7]+8=|[B3Hm+|7Pq4" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="read_ohlc_obj" id="|+ijC1069.H1yth7+$Jb">
                <field name="OHLCFIELD_LIST">open</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="{u9S,xNdEqnR{5UT$_od">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="p66PIbmN?:@{ve`E;D4{">
                        <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="XqCz=dK?!:R0bAEzu/B0">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="read_ohlc_obj" id="jTLT[5OjnCqf+8alERbO">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="WBd[3@$sP/d{Gj!.l=x}">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="FqWeu+Db+,#naBM)Ay_S">
                        <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="PH5mf6[hK5eGK$t]m5K2">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="THEN">
          <block type="logic_ternary" id="_wS.c!h3b6w#DFN,tQb!">
            <value name="IF">
              <block type="logic_compare" id="YCvx9=|]HFR6z/uK,?S)" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="math_single" id="dsc76NtJTA4aqeDiJbrO">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="_6L9|P+FAP:bBN#jfjJy" inline="false">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="O@0J5x#S$=N!!qh:%x|i">
                            <field name="OHLCFIELD_LIST">close</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="e!]TSgWfM%si,8ORbkon">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="{4X6U046}v}~i{.K1;XH">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="H:6*9)WQ@EPT}:Y.~6Ad">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="360oYpGw1eDUv^SQP0XG">
                            <field name="OHLCFIELD_LIST">open</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="$USVwx:WJb)B^z7@xoGG">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="W604ATSgcS_Z%Z~I47Fa">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="*w?^%Wh]yoOU}hgm_X-4">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="math_single" id="Tz+oiym%w)Z;nfd9u%!3">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="uV#2)QR}Moy8YgWX9D1E" inline="false">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="5mz=Um{HuST=b^n~|HI_">
                            <field name="OHLCFIELD_LIST">close</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="b4U6}.oC5V;)IzTF4PXz">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="7g^5X?k-Ak)uCuWZiyXL">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="$]r3?UHz@)T-#G|VJ%Xi">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="gOdfSwQWET3xY*gFcSuU">
                            <field name="OHLCFIELD_LIST">open</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="5b-X6/7msJ(vMVQ[{0Y5">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id=".cLL{/P]JAw.oysN%G`W">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="MW/_b?n3oGF93L`,gk8+">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="logic_ternary" id="_qf02jMU16;^YzPp#H6j">
                <value name="IF">
                  <block type="logic_compare" id=":@{f|6z#lea!zq8|73x-">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="tF.f9[5u[kh.oVb|Esa2">
                        <field name="VAR" id="F9BH1|bBr)d~xwlOG-W!" variabletype="">downShadown</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_arithmetic" id="^%,s6KYE%0)){dWig17?" inline="false">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="ub!c~:FcyJFMQd!bz-cG">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="W6=HE71X4t@v`c/?=H$q">
                            <field name="NUM">0.5</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="U]XseW3Qf8QrHr1oqe-(">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="%h[%1.P{Awk*^Gh7kEWd">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="math_arithmetic" id="EqOCr6zeU(CgJztK+ls$" inline="false">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="FI]4-:{O(y%@`={$)af3">
                                    <field name="OHLCFIELD_LIST">close</field>
                                    <value name="OHLCOBJ">
                                      <block type="lists_getIndex" id="1kYwV`6U;V?2S2J5O1?P" inline="false">
                                        <mutation statement="false" at="true"></mutation>
                                        <field name="MODE">GET</field>
                                        <field name="WHERE">FROM_END</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="eN(QTQ?-@lt2Vv]SKm0K">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id="OJ=r@@CHWAJ%:TYNb0[(">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="nanc|.BP7O7;4=?[;.uS">
                                    <field name="OHLCFIELD_LIST">open</field>
                                    <value name="OHLCOBJ">
                                      <block type="lists_getIndex" id="P~0fA+f{odg6YPszI%J%" inline="false">
                                        <mutation statement="false" at="true"></mutation>
                                        <field name="MODE">GET</field>
                                        <field name="WHERE">FROM_END</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="nva74d:r6*vSqXOrNniO">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id="1;f#XSosCy-ETKv;XksG">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="logic_ternary" id="E(!-z7UvD{{s0ov3.tu!">
                    <value name="IF">
                      <block type="logic_compare" id="X+;nW}3)fGTk(/sWvWt(">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="2A5JoA{9~ZUnC+Tbn5K%">
                            <field name="VAR" id="F9BH1|bBr)d~xwlOG-W!" variabletype="">downShadown</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_arithmetic" id="4B}}!-(,Zc%VI8dTYsEh">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="ub!c~:FcyJFMQd!bz-cG">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_number" id="p?yf8CTnsp:hYVo.=l]8">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="U]XseW3Qf8QrHr1oqe-(">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="40Rh[NT$K(YdT19x:0|H">
                                <field name="VAR" id=".XEJy@iJTXi:NfE26vc7" variabletype="">upShadown</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="logic_boolean" id="6A~c1Hi3a+h=)=wN[2o,">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="logic_boolean" id="^7dD^rycVY,]==heuxrM">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="logic_boolean" id="W7mB$d|~qc5SiM).?HhT">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="ELSE">
              <block type="logic_boolean" id="/%]8{@|/t9VGA,$[1G98">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
          </block>
        </value>
        <value name="ELSE">
          <block type="logic_boolean" id="vcika-T1C)KrV2u{?v/-">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="a5|y@^Rh`5[5l}Tuvhdv" collapsed="true" x="0" y="1828">
    <mutation>
      <arg name="waitafterloss" varid="{FQ2.vjdpXTf`K(qP]c-"></arg>
    </mutation>
    <field name="NAME">Is Bull::</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="rlRvDq?VL]`QE)HP:zJk" collapsed="true">
        <field name="VAR" id=".XEJy@iJTXi:NfE26vc7" variabletype="">upShadown</field>
        <value name="VALUE">
          <block type="logic_ternary" id="lp*kyab/DsZNgnWq85-i">
            <value name="IF">
              <block type="logic_compare" id="i}piFemM`(7Z-7?(.c-j" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="read_ohlc_obj" id="8Nuffgn%UB_|/%a^vnFr">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="[D$b82#mLz?5ij?9DKR$">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="y0jbaG(`m2*8~wMxuV[M">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="T4+T*+hG1ul}-E{+[ZOy">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc_obj" id="(E+)]X8`tLma`Cbk,U[Q">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="cF1f%!PZmwDF%.]_Y|[T">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="_O5C(jTOb0uWn%?o{7vm">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="I8[;E-N.RuR+AoOZi`e=">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="math_arithmetic" id="]QOD`J]iE(=5/]MNC?@R" inline="false">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="0,bsal-.(n%5(U%?Q)eW">
                    <field name="OHLCFIELD_LIST">high</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="3$a+*{ebrzw_-*7MZ$Qd">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="=Q|KoWK}bIj|)~iSgOLY">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="6.@G^s^KR!dLwALqq@zz">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="{]!:fH[`4GR1UVGylQU@">
                    <field name="OHLCFIELD_LIST">open</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="9xjI^Y}j?e@Lk?3,uvx~">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="x)OUZSjBBf4vo1H2*u3c">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="~Kw@OXlc8#yF}nqGuOD,">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_arithmetic" id="uW:E4fY-tV`L8@Z~.u36" inline="false">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="-7Wn!#JClWM+c#c^3@at">
                    <field name="OHLCFIELD_LIST">high</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="m2Lh7bH~gvqRb|q$fr-O">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="WH4;u`lq$ZSlh6h!`d_U">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="AYDn0|}U]Bv:fuh})sPo">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="read_ohlc_obj" id="n7py7t~4uRaXDhs*5+H{">
                    <field name="OHLCFIELD_LIST">close</field>
                    <value name="OHLCOBJ">
                      <block type="lists_getIndex" id="PVQub%/vr/})x0/28;_.">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_END</field>
                        <value name="VALUE">
                          <block type="variables_get" id="L0z)l^:.!R46{aSYB138">
                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="_h}7S[LHL2TDId!l`0[E">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="gVAaGyMeyKRJf^JXYAh3" collapsed="true">
            <field name="VAR" id="F9BH1|bBr)d~xwlOG-W!" variabletype="">downShadown</field>
            <value name="VALUE">
              <block type="logic_ternary" id="/Z6mB5^kGU`[(N_uXo!I">
                <value name="IF">
                  <block type="logic_compare" id="usK/Y@!bU:xaSgpMgGUY" inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="read_ohlc_obj" id="!o]w_ibGWr7011{?)^E;">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id=";#e}7!,.XB|F)bRNbyRS">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="#CX0p,G+j81~:3Zj}Ob`">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="9g?dAhfn{EwxJ6EDMk,g">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="read_ohlc_obj" id="r@p)uvs6Ry29O6|i1F*7">
                        <field name="OHLCFIELD_LIST">close</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="xXaV~yRRX0){|7}l!g]4">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="_R94;IaU,}N)iuIpo_t3">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="a2#):8Ac~m45r1o91]`l">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="math_arithmetic" id="7D4XG=g0yJzUYPPrBxXI" inline="false">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="DFnqO5rP(=V@m#acj:lw">
                        <field name="OHLCFIELD_LIST">close</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="@wV16n3|SB0HwQ?K82!E">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="csQ3b`}?XU,7Ran4|jn%">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="4XoX!B}V@A_rGjO(SX:5">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="Q4rQ1bd8(7#Z[JYbH-;/">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="531_:Q-s%ohC0z^Yg7Dw">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="kX~|Rsz*3.dhC:BWmcT#">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="V^wbUcNb*$;N)AB--!Vk">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="math_arithmetic" id="Dd*CsvPX?UpF7yN99!-N" inline="false">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="+4BDa_m}6={leWI=E8vK">
                        <field name="OHLCFIELD_LIST">open</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="6cMHZ^P,1p4_-EL*~v|u">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="Bao,V71LZDzhDqKQ{_79">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="2l-cwku7).?8.C.6BX8,">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="read_ohlc_obj" id="f4TshGEtTur|5VH9aese">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="2}]Cc#ARb94emag8XcI#">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="#6Jz9DR(3*g/mvQR*q5e">
                                <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="`Ckf($6I;mN4)YX]s(cM">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_ternary" id="RGrRdh~AChf]VbQ|NDUY">
        <value name="IF">
          <block type="logic_compare" id="j7]pb7AM2r$DI(]#gbSm" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="read_ohlc_obj" id=";R`KQ3aP#nVYe82A!bm+">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id=";{2+Pl/$2x,NA`T#K3_h">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="yV!h}s.,s?1H;L~(t68.">
                        <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="2F3m!E;?Ms,8gizAhUR+">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="read_ohlc_obj" id="*M{?XGKMkG9Q}./u$-b,">
                <field name="OHLCFIELD_LIST">open</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="jo*$k[;14h;gs$%*.df0">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">FROM_END</field>
                    <value name="VALUE">
                      <block type="variables_get" id="k3~0Lt[;qd[RI%H[jgm-">
                        <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="zvxQq(q1{x6i#JYVe3Hl">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="THEN">
          <block type="logic_ternary" id="R;-v^.KfY.d7f{kxf?M.">
            <value name="IF">
              <block type="logic_compare" id="eD%5Yb1C-p-q,MR1$Mu?" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="math_single" id="MbtgfAQ9[,sg$J)@Pj%0">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="?l:XYLw+WgRj[zwP_y(o" inline="false">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="%-08gb6GuM(oRpsel.zK">
                            <field name="OHLCFIELD_LIST">close</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="zh^}7_0ydQ:xP;}Pe8Tg">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="{SPp4!tX?W){Kr*AbK!H">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="UtwCfm]Z$;Py8jLpla9g">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="0S~tSbUmuySbu!cc$-$V">
                            <field name="OHLCFIELD_LIST">open</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="2VKn@Qb(_FwYX3seOCI6">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="%V~XzvO)CYKe7;h1gd_K">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="S{5RHJWa#1eSr;3_N`2#">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="math_single" id="RIK;kY]9K78`:w:,k^BV">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="$m=_Y|aF2wdKg.0@l@cU" inline="false">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id="g@`Ze(XaOK{3E!/oF-R+">
                            <field name="OHLCFIELD_LIST">close</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="H)l9Vl0GI`n2^x)Pdm=l">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="+((XO=4l[}s[-#z90m+x">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="($}W.Ew_+wI]T`uHI6NS">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="read_ohlc_obj" id=",RIlaU?)iG=g]fl]8#ke">
                            <field name="OHLCFIELD_LIST">open</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="J-|WvsrT|3-ra#rIL^^B">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="JVR~mEu7Evz?fR}|Ls*h">
                                    <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id=")_lt8o;H-1BSyK|uC``2">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="logic_ternary" id="c`=HSY~u,Y_LUSl[LXw@">
                <value name="IF">
                  <block type="logic_compare" id="u$fKp]a)T?3h|B=OTXV`">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="8M/eE()6nqv=;e/$0@8J">
                        <field name="VAR" id=".XEJy@iJTXi:NfE26vc7" variabletype="">upShadown</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_arithmetic" id="+}C.P_4.Q!h,B:Y1zZBr" inline="false">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="ub!c~:FcyJFMQd!bz-cG">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="_p6Lj6zA3TFx.K|q(zMF">
                            <field name="NUM">0.5</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="U]XseW3Qf8QrHr1oqe-(">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="fAKRx/h--Q-Eu`^=:QJ$">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="|.s]S4QeFz_{I(1nma$;">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="math_arithmetic" id="Xg8RSq|@%ol6:1`.JEl~" inline="false">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="l$d|K9mx3m/Ov9-%yB8c">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="JmOS2bSSA/O(`4=r9^b-">
                                    <field name="OHLCFIELD_LIST">close</field>
                                    <value name="OHLCOBJ">
                                      <block type="lists_getIndex" id="Z=W9o67s3|l]uDJb=Ar0" inline="false">
                                        <mutation statement="false" at="true"></mutation>
                                        <field name="MODE">GET</field>
                                        <field name="WHERE">FROM_END</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="C:bi7Mx,9=B4$}x5KjsS">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id="ekZ=H8r;Ow*2G@U(Nd@D">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="[Y7s3E/,=0-4~:$?GHQV">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="read_ohlc_obj" id="q:_c`ytD4TGcAGUoZJ+B">
                                    <field name="OHLCFIELD_LIST">open</field>
                                    <value name="OHLCOBJ">
                                      <block type="lists_getIndex" id="A+#={WC=Vhasgz?@2rez" inline="false">
                                        <mutation statement="false" at="true"></mutation>
                                        <field name="MODE">GET</field>
                                        <field name="WHERE">FROM_END</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="k[VFP5R$Xf4Q1r6J6((9">
                                            <field name="VAR" id="{FQ2.vjdpXTf`K(qP]c-" variabletype="">waitafterloss</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id="?q`!j:x:de[0j.!:0UgR">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="logic_ternary" id="+S`0ioLoz[];%w$-e3A5">
                    <value name="IF">
                      <block type="logic_compare" id="!Oj)u=AUrQ2PT0Q_T1{V">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="tDW;PFg/OkoUzpNd/mgY">
                            <field name="VAR" id=".XEJy@iJTXi:NfE26vc7" variabletype="">upShadown</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_arithmetic" id="Dz0e/Bnu[GjsnLsAYG+u">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="ub!c~:FcyJFMQd!bz-cG">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_number" id="cWG_Q(%R!2=w;vYT*[f.">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="U]XseW3Qf8QrHr1oqe-(">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="jdMY`l|mR[|[c@c0K%k3">
                                <field name="VAR" id="F9BH1|bBr)d~xwlOG-W!" variabletype="">downShadown</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="logic_boolean" id="@nfGhC|E13eQICUzV!Hn">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="logic_boolean" id="yG^==%A|?TaOCx6k;lxh">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="logic_boolean" id="_g}rag!C+SpKTa3PC!zq">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="ELSE">
              <block type="logic_boolean" id="_7{ckRZ~}=R81azN$ZeL">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
          </block>
        </value>
        <value name="ELSE">
          <block type="logic_boolean" id="_0`wRl.]dGRqz:M?orZ,">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
      </block>
    </value>
  </block>
</xml>
