<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="+Cuc^x58E~t*6!aN+}Bq">candleList</variable>
    <variable type="" id="c}6%uR,X/Jh1!72|y#5B">lastOpenTime</variable>
    <variable type="" id="4i`34sF|6Mi?IQ[e)L[9">closePriceArr</variable>
    <variable type="" id="+gIp!qCUz#58eh1(IZ^*">fastMAValues</variable>
    <variable type="" id="PLrL^Hf!Z?H#mkAgi,X#">slowMAValues</variable>
    <variable type="" id="XAj^D8u#,-nHYU|n[L[9">isCurFastUp</variable>
    <variable type="" id="@9xKj$@a!r$_4ICY;^Om">isCurSlowUp</variable>
    <variable type="" id="Kk1V7@E,!yY(8IAd:{1Z">isPrevFastUp</variable>
    <variable type="" id="9V*t)5OibiIhG*5[,cf,">isPrevSlowUp</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-319" y="-396">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="Bl/j_:v1OfHK^/w``gNr">
        <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
        <value name="VALUE">
          <block type="ohlc" id="JNWx1a.[Z|}?E!?OO1v!">
            <field name="CANDLEINTERVAL_LIST">default</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="**8m6V#WngXOW*X,A167">
            <field name="VAR" id="c}6%uR,X/Jh1!72|y#5B" variabletype="">lastOpenTime</field>
            <value name="VALUE">
              <block type="read_ohlc_obj" id="*IlH*0aD@8ZKhmq-}t}~">
                <field name="OHLCFIELD_LIST">epoch</field>
                <value name="OHLCOBJ">
                  <block type="lists_getIndex" id="wl%]:R/x^0Y3%-Osp;bk">
                    <mutation statement="false" at="false"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">LAST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="UB.j2~]zb;$%zeDpSFp3">
                        <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="358" y="-249">
    <statement name="AFTERPURCHASE_STACK">
      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="-336" y="94">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="%y78A)U^4Ke!4{~Ot=ql">
        <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
        <value name="VALUE">
          <block type="ohlc" id="Z({q;TyVJ7Lgad^{$Oh=">
            <field name="CANDLEINTERVAL_LIST">default</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="jl0%.1iD-R-@{pNaZW~5">
            <field name="VAR" id="4i`34sF|6Mi?IQ[e)L[9" variabletype="">closePriceArr</field>
            <value name="VALUE">
              <block type="ohlc_values_in_list" id="usv^p6cxHIQD8|@ccvNP">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCLIST">
                  <block type="variables_get" id="=yx@!_:@cQBt1d-+{qdl">
                    <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="6*oJ!HHyN(mBY8==.Js%">
                <value name="IF0">
                  <block type="logic_compare" id="B@:kIj/Lp0`*_+9#*AKR">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="Jqhl3hoUK8hfZn`HV{@F">
                        <field name="VAR" id="c}6%uR,X/Jh1!72|y#5B" variabletype="">lastOpenTime</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="read_ohlc_obj" id="$)a+koMQTj#^PuJUbj?{">
                        <field name="OHLCFIELD_LIST">epoch</field>
                        <value name="OHLCOBJ">
                          <block type="lists_getIndex" id="cFn5cRhh)2%H|q6FUoVv">
                            <mutation statement="false" at="false"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">LAST</field>
                            <value name="VALUE">
                              <block type="variables_get" id="VC;:4JM(RK8}E8YBy$/A">
                                <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="jgxVIasmnRp9_$=Gxb2f" disabled="true">
                    <value name="TEXT">
                      <shadow type="text" id="^O?Y8?yI;hndQ2_pv.2|">
                        <field name="TEXT">New Candle</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="variables_set" id="O!mu6D:8=qakD3/o2r^,">
                        <field name="VAR" id="c}6%uR,X/Jh1!72|y#5B" variabletype="">lastOpenTime</field>
                        <value name="VALUE">
                          <block type="read_ohlc_obj" id="+a`Vzh6wo7u,=^vtf!;G">
                            <field name="OHLCFIELD_LIST">epoch</field>
                            <value name="OHLCOBJ">
                              <block type="lists_getIndex" id="_Pg:AYpTk_Yy(IRm6R|Y">
                                <mutation statement="false" at="false"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">LAST</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="cO!uW,Ox^ml+ly9/JYs+">
                                    <field name="VAR" id="+Cuc^x58E~t*6!aN+}Bq" variabletype="">candleList</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="{[o!Vl^=%SZloYW,p(EZ">
                            <field name="VAR" id="+gIp!qCUz#58eh1(IZ^*" variabletype="">fastMAValues</field>
                            <value name="VALUE">
                              <block type="smaa" id="bHsH#A^[buocw`,;r_FH">
                                <value name="INPUT">
                                  <block type="variables_get" id="aC~/l{^E+;liOK;O@b6-">
                                    <field name="VAR" id="4i`34sF|6Mi?IQ[e)L[9" variabletype="">closePriceArr</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="%^_rG77IwuSEG_Im|YNF">
                                    <field name="NUM">5</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="L3m}QQJ-3~=GU|1!e{b~">
                                <field name="VAR" id="PLrL^Hf!Z?H#mkAgi,X#" variabletype="">slowMAValues</field>
                                <value name="VALUE">
                                  <block type="smaa" id="AQR0eX,-ep4I)h3)z7-e">
                                    <value name="INPUT">
                                      <block type="variables_get" id="={3vk^FVd,RQ_6rxH#7X">
                                        <field name="VAR" id="4i`34sF|6Mi?IQ[e)L[9" variabletype="">closePriceArr</field>
                                      </block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="gpet9dsL8#7Ey8f^j^qk">
                                        <field name="NUM">10</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="-4?^cwnpW4KI{*k59prB">
                                    <field name="VAR" id="XAj^D8u#,-nHYU|n[L[9" variabletype="">isCurFastUp</field>
                                    <value name="VALUE">
                                      <block type="logic_compare" id="6i85x@*I,`JV~k%lUd1.">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="lists_getIndex" id="E8(|rDuoa_KGGEkM6yy[">
                                            <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;n{IJ6}0i)K5C%j%(:n">
                                                <field name="VAR" id="+gIp!qCUz#58eh1(IZ^*" variabletype="">fastMAValues</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="g/+EXUGJ#-AGU/98qCdF">
                                                <field name="NUM">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="lists_getIndex" id="r6s!nb_Jw|NL=*pTvy;y">
                                            <mutation statement="false" at="true"></mutation>
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_END</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="p#?UoXlDRFnC+fqa1`tm">
                                                <field name="VAR" id="PLrL^Hf!Z?H#mkAgi,X#" variabletype="">slowMAValues</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="usYr*5CkYs,.HTHwStv`">
                                                <field name="NUM">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="i:A?lwY2wi]cEX8YPa6%">
                                        <field name="VAR" id="@9xKj$@a!r$_4ICY;^Om" variabletype="">isCurSlowUp</field>
                                        <value name="VALUE">
                                          <block type="logic_compare" id="{E^ch_v,wp#-9bQdqLp4">
                                            <field name="OP">LT</field>
                                            <value name="A">
                                              <block type="lists_getIndex" id="BPh{4n*L2Wi=]q!~m=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="usA30L^$l|B$jM.dowQa">
                                                    <field name="VAR" id="+gIp!qCUz#58eh1(IZ^*" variabletype="">fastMAValues</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="-Yh-WF8X;7[?hInClwqX">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="lists_getIndex" id="Tb2raFIUc?g/5vlc+`+$">
                                                <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="+oYW6qQJ=(s2u]BYx-@G">
                                                    <field name="VAR" id="PLrL^Hf!Z?H#mkAgi,X#" variabletype="">slowMAValues</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="~/TzJn)t:`S^Hg|Cf[X~">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="RE*5Ev]?_;/4wUp!L2iF">
                                            <field name="VAR" id="Kk1V7@E,!yY(8IAd:{1Z" variabletype="">isPrevFastUp</field>
                                            <value name="VALUE">
                                              <block type="logic_compare" id="*w({3}GVD1X36p%)hH-j">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="lists_getIndex" id=",DpQ.K0#~XdQC$-.p?[?">
                                                    <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="P9D.d[SOdg?!pMc4fKNA">
                                                        <field name="VAR" id="+gIp!qCUz#58eh1(IZ^*" variabletype="">fastMAValues</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="W=jf,y,i95N=3DrC20/|">
                                                        <field name="NUM">3</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="lists_getIndex" id="`Gd#K8*+N(kRx9t1!v_n">
                                                    <mutation statement="false" at="true"></mutation>
                                                    <field name="MODE">GET</field>
                                                    <field name="WHERE">FROM_END</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="yhskH^0c4y]BkpWoU*wv">
                                                        <field name="VAR" id="PLrL^Hf!Z?H#mkAgi,X#" variabletype="">slowMAValues</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="s|.76mey}uATCrOCgnA3">
                                                        <field name="NUM">3</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="Dk4EN*J0:oQbOcW2F[OP">
                                                <field name="VAR" id="9V*t)5OibiIhG*5[,cf," variabletype="">isPrevSlowUp</field>
                                                <value name="VALUE">
                                                  <block type="logic_compare" id="rb0N!9r]VSoQ%Y!eCJya">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="lists_getIndex" id="9|hMw{]UZmuW2oT)TYbR">
                                                        <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="eI9UU+hys;mhm*Qd;G})">
                                                            <field name="VAR" id="+gIp!qCUz#58eh1(IZ^*" variabletype="">fastMAValues</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="M$+hfts/ycBE0K*#Ru$r">
                                                            <field name="NUM">3</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="lists_getIndex" id="s?;^WN[=3dk[yEh|Fuq@">
                                                        <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="crr+FLq.rZwOk}g[SrIb">
                                                            <field name="VAR" id="PLrL^Hf!Z?H#mkAgi,X#" variabletype="">slowMAValues</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="math_number" id="`$|!o#pIQN]U2jw4-JC{">
                                                            <field name="NUM">3</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="controls_if" id="fL%@=hrqzZKYnpeHAYno">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_operation" id="0TP1~p9FGj0$@@z[$Rs;">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="Vact_QRm9Gs,5es~Q9)*">
                                                            <field name="VAR" id="XAj^D8u#,-nHYU|n[L[9" variabletype="">isCurFastUp</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="VTcj]PbUwZHr{te|fB,M">
                                                            <field name="VAR" id="9V*t)5OibiIhG*5[,cf," variabletype="">isPrevSlowUp</field>
                                                          </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="iJK~nEl7W]{TYT6VR(5(">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="ZvBv?IF=1,7)F9](ptsj">
                                                            <field name="VAR" id="@9xKj$@a!r$_4ICY;^Om" variabletype="">isCurSlowUp</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="h!y}xZGJ,,*y-^MR?4gL">
                                                            <field name="VAR" id="Kk1V7@E,!yY(8IAd:{1Z" variabletype="">isPrevFastUp</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="purchase" id="Ia_@xPlRZC,Y+Ok9E8w$">
                                                        <field name="PURCHASE_LIST">PUT</field>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>