﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="N~rCI1=SXO@l6DX:RVIu">_candles</variable>
    <variable type="" id="@BBCQ*HLp|eq7HR$+ZPd">Next Trade Condition</variable>
    <variable type="" id="[lLe)3a#8I.-CVU9LSXo">upShadown</variable>
    <variable type="" id="R$hwn@aB_OTwS^HK$cHo">Max Acceptable Loss</variable>
    <variable type="" id="3XUSetr%zilJb!xuIDZo">Initial Amount</variable>
    <variable type="" id="(TBOe!,GH%X*OCzr=((f">downShadown</variable>
    <variable type="" id="h}5X2@CpLZu=phwo;RUi">Expected Profit</variable>
    <variable type="" id="aeQ1T)eO9q*oY=y7:w)D">Win Amount</variable>
  </variables>
  <block type="after_purchase" id="finish" collapsed="true" x="0" y="0">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="/2X1SS0}=AWwT8k4!|]|">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="d2MFz4]Mcw|H,M-mNkt6">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="@x)B.!+g;k6o4V=ag?Q[">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id=")aVY80M0*4[?S9DImxnm">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="?GEOS:~?e70s*x(lR5sW">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="h7pu7eArG`Eqa#Sr_Xc(">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?]10!O-#Z4o$f+:vbGs+">
                <field name="VAR" id="3XUSetr%zilJb!xuIDZo" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="y2eNpUy8{gIv!0NwA[qW">
                    <field name="VAR" id="aeQ1T)eO9q*oY=y7:w)D" variabletype="">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id=";Qe8t/|A/t(sFc.;x/[1">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="bhSnR{swEj-Ef0Rxg#zK">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="(-^f}g^J16gi}^lNUq3W">
                            <field name="VAR" id="@BBCQ*HLp|eq7HR$+ZPd" variabletype="">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="T5(X6L(=kICsvcKi(/ED">
                            <field name="TEXT">Rise</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="(hzEg1`N:|yeH2eXm~kG">
                        <field name="VAR" id="@BBCQ*HLp|eq7HR$+ZPd" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="7k.0JH:[=zLJ*;;%tQQh">
                            <field name="TEXT">Fall</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="DT#EOoCik~(1SJ6fE/G|">
                        <field name="VAR" id="@BBCQ*HLp|eq7HR$+ZPd" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="#8ILk9KV1SNE7XwV!mJ;">
                            <field name="TEXT">Rise</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="E#mc15Q/O4~_tdyjJOW;">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="r_YPpL?FhQiZ%RRI0HCY">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="(2~]XN;A*.7e7BJ^]gCW">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="pBE)egK92_c$V%x11V}I">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="~;;0S@;0=|P:}jBpc#UI">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="#C5QwO/Ff6079[VDI!FI">
                <field name="VAR" id="3XUSetr%zilJb!xuIDZo" variabletype="">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="N=Vo^MVz~/^(xt7Ag@8E">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="5g8z@~y_sMePT*:Pz:II">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="m7T[0ZxUWq/c?+2O`7Nq">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="@;zVq)2Ec/cTY]y~:OeH">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="RG_~x;cct2$$!ra0Xh/]">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="M*YuFA@B]FZaod5NB2;d">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="(B#D6bLVz{J7klDT4ZJ3">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="(AamEq0Gc*E7homiF}@q">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id=",yraa;TdYRlJo0s;8/l`"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="rve$fj_y+NK80-9]Iyn#">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="O$sga(zxHx(Drc/EKqf+">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="rut.pif#?jJq!D@Ul^sV"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="9(rrZZsV2y?dt[28iyCn">
                        <field name="VAR" id="h}5X2@CpLZu=phwo;RUi" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="{67qjBk=jI~IO]i^@3#@">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="Ih9TXYR@Tjl4PQ`rw/D8">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="@7xN,Tc~@BosDuhVcLOO">
                            <mutation divisor_input="false"></mutation>
                            <field name="PROPERTY">NEGATIVE</field>
                            <value name="NUMBER_TO_CHECK">
                              <shadow type="math_number" id="otH_VG.6ad,:GnG=3=)5">
                                <field name="NUM">0</field>
                              </shadow>
                              <block type="total_profit" id="mip8d|I[*}7u8(2NqO_O"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="oYj=%swhxuL$YFg3AGkF">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="1_(-T-P=RBk?a(2u1#NA">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="(UBCH+RQSwYPbgf%@ANZ">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="total_profit" id="=mm)*`9OEzygfE%`MTEm"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="i~oU{sqgWq2#mB6v#4,V">
                                <field name="VAR" id="R$hwn@aB_OTwS^HK$cHo" variabletype="">Max Acceptable Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="ai9[GYD%+QU!gW9.Zl]:">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="h#9-IPAcG=Vg%TTtJ)Wt">
                            <field name="TEXT">Max Acceptable Loss Reached</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="$eP7`I+Tfo~V%VopWn/F"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="X$Ob(7Xt`Ycal.eED{p(">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="~IIePbwemO[77#pT[bv8">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id=",FLrw5[E%#Uh#;z@~AcK">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="aQ#F#NPqir,g6G4BL0}#"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="trade_again" id="vLGD6fH.nO47@n_i+NF/"></block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="53">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_25</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="%0{g8L#S}pjI_}~h7bP%">
        <field name="VAR" id="@BBCQ*HLp|eq7HR$+ZPd" variabletype="">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="eZZ8Dh*:*)i2Q{j_Z;?4">
            <field name="TEXT">Stays In</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="2%N!5%S+R#Qd8:=+av5Z">
            <field name="VAR" id="R$hwn@aB_OTwS^HK$cHo" variabletype="">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="8IWmnc8VRNFd5n/grhE|">
                <field name="NUM">200</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="k44RMV)Vh}e?=^:sQqaR">
                <field name="VAR" id="h}5X2@CpLZu=phwo;RUi" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="8H57-Qu?zZ6]?M0W1/;r">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="N4u1_T{%k-|}OxEP;liL">
                    <field name="VAR" id="aeQ1T)eO9q*oY=y7:w)D" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="FNew_ia)].hk8BiI{j]q">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="#ZS96g,zg2!U|K/0-(CT">
                        <field name="VAR" id="3XUSetr%zilJb!xuIDZo" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="RKjXk/:-3@qQ*McvD,F;">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </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">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">1</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="wk.geu!TLAne2OUUZ(at">
            <field name="VAR" id="3XUSetr%zilJb!xuIDZo" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="602">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="fcz^dyOPSBYJmvd;iXOR">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="r86{MW-PK:)g]|H/qHhP" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="procedures_callreturn" id="H05;=|y+!rN;*U~P%}b5">
                <mutation name="isBullPin">
                  <arg name="_candles"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="gvKm3v}zrOFKa)L9=CCV">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="VN*~|$ozjp8/dNj)7sg2" inline="false">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="tick" id=".!Z5=[Y.T#3J8fxTPjVZ"></block>
                </value>
                <value name="B">
                  <block type="bb" id="*Ti5@R*k@6`B95)k~r}L">
                    <field name="BBRESULT_LIST">1</field>
                    <value name="INPUT">
                      <block type="ohlc_values" id="9e!2T!,,iUI+{p@v@^hw" inline="false">
                        <field name="OHLCFIELD_LIST">close</field>
                        <field name="CANDLEINTERVAL_LIST">default</field>
                      </block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="zY/#?F/-2D|S{rT^34$e">
                        <field name="NUM">20</field>
                      </block>
                    </value>
                    <value name="UPMULTIPLIER">
                      <block type="math_number" id="lfn,cl=MjDf}NzHaF/?+">
                        <field name="NUM">1.7</field>
                      </block>
                    </value>
                    <value name="DOWNMULTIPLIER">
                      <block type="math_number" id="Yxo0^d{iJs.IZ;aODj^R">
                        <field name="NUM">1.7</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_operation" id="s[Y9M2GfM6oKvHaz)G;$" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="procedures_callreturn" id="iIIt-9Zh!17~;MM5;~^.">
                <mutation name="isBearPin">
                  <arg name="_candles"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="ohlc" id="HAO*EdjG%s?i.+Acm4b9">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="*?7kIv3I@h5B]Q#q0McN" inline="false">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="tick" id="b[,cZtx~7hW+@$9Xnj9b"></block>
                </value>
                <value name="B">
                  <block type="bb" id="x[YTHw%Ol[yo_+sd]7_d">
                    <field name="BBRESULT_LIST">2</field>
                    <value name="INPUT">
                      <block type="ohlc_values" id="jTTr`pgiN:-B4D:^D!lj" inline="false">
                        <field name="OHLCFIELD_LIST">close</field>
                        <field name="CANDLEINTERVAL_LIST">default</field>
                      </block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="8Fn0OV+f]p_R3M0HF+[q">
                        <field name="NUM">20</field>
                      </block>
                    </value>
                    <value name="UPMULTIPLIER">
                      <block type="math_number" id="AThIQ8Caj4iLhfs1xiY0">
                        <field name="NUM">1.7</field>
                      </block>
                    </value>
                    <value name="DOWNMULTIPLIER">
                      <block type="math_number" id="NVzQ09HM*v|.j:T=@)$l">
                        <field name="NUM">1.7</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="v!4l83UREAaYx|gpmwT9">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="a5|y@^Rh`5[5l}Tuvhdv" collapsed="true" x="0" y="655">
    <mutation>
      <arg name="_candles" varid="N~rCI1=SXO@l6DX:RVIu"></arg>
    </mutation>
    <field name="NAME">isBullPin</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="[lLe)3a#8I.-CVU9LSXo" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="(TBOe!,GH%X*OCzr=((f" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="[lLe)3a#8I.-CVU9LSXo" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="[lLe)3a#8I.-CVU9LSXo" 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="(TBOe!,GH%X*OCzr=((f" 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>
  <block type="procedures_defreturn" id="2c`]6U*=q;tQjBN0L]E#" collapsed="true" x="0" y="708">
    <mutation>
      <arg name="_candles" varid="N~rCI1=SXO@l6DX:RVIu"></arg>
    </mutation>
    <field name="NAME">isBearPin</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="[lLe)3a#8I.-CVU9LSXo" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="(TBOe!,GH%X*OCzr=((f" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="(TBOe!,GH%X*OCzr=((f" 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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="N~rCI1=SXO@l6DX:RVIu" variabletype="">_candles</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="(TBOe!,GH%X*OCzr=((f" 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="[lLe)3a#8I.-CVU9LSXo" 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>
</xml>