﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable id="ltetHZ|urWouqLe![2ba" type="">_candles</variable>
    <variable id="l_#DpH]`~3j~!81b{GmT" type="">_length</variable>
    <variable id="cMexqyu0M_/pB{7p`+9(" type="">_channel(K/D/Both)</variable>
    <variable id=";^hW?=itbb~Eg3B+sLU:" type="">_smoothK</variable>
    <variable id="N^=AJ)!oE#$(cv{HGzVT" type="">_smoothD</variable>
    <variable id="tH$C5k=R|~vIcg.3Y.pn" type="">STAKE</variable>
    <variable id="0YH`Ip6f^7lJs{3IH?|`" type="">stoch k</variable>
    <variable id="~;oZOr%Mtge-EzRwBlem" type="">CurrentClose</variable>
    <variable id="=Wrux.ps`;ws_T3-g@qg" type="">S:list</variable>
    <variable id="V}GzE7v#OSaI3_$%4Dfq" type="">stochd</variable>
    <variable id="tA$${Bu)F~P(g5%!EJ=[" type="">LowestLow</variable>
    <variable id="kWLO@a%|(2VAgtURts{S" type="">S:Klist</variable>
    <variable id="}ZA0{U=85b5(_DCmYNs/" type="">S:D</variable>
    <variable id="tzUbcI?|w(H+{N_NFr26" type="">HighestHigh</variable>
    <variable id="O+T:A7%yHExrcxp0Y(X%" type="">i</variable>
    <variable id="=|aW+E{A0k0|DPKuMrkK" type="">S:K</variable>
  </variables>
  <block id="xgH69|xFn9=70w.*3Vo@" type="trade" y="0" x="0">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">180</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block id="hhMMs`U%5VoI3n_lkXU0" type="variables_set">
        <field id="tH$C5k=R|~vIcg.3Y.pn" name="VAR" variabletype="">STAKE</field>
        <value name="VALUE">
          <block id="/D5Y9AEXW3gX~54_7jyA" type="math_number">
            <field name="NUM">0.35</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block id="x=V33~4Lb|(sLv`J[:Eb" type="tradeOptions">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow id="O*@58sDc=!cOO}*b2vf9" type="math_number">
            <field name="NUM">40</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block id="3)~PB%z7d!3SIY}/S[+F" type="variables_get">
            <field id="tH$C5k=R|~vIcg.3Y.pn" name="VAR" variabletype="">STAKE</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block id="i^(y#`N{kRd9@]M-|!;e" type="procedures_defreturn" y="417" x="0" collapsed="true">
    <mutation>
      <arg name="_candles" varid="ltetHZ|urWouqLe![2ba"></arg>
      <arg name="_length" varid="l_#DpH]`~3j~!81b{GmT"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochK</field>
    <comment w="160" h="80" pinned="false">Describe this function...</comment>
    <statement name="STACK">
      <block id="HuItQI)Dh[EYC!HWgt+X" type="variables_set">
        <field id="~;oZOr%Mtge-EzRwBlem" name="VAR" variabletype="">CurrentClose</field>
        <value name="VALUE">
          <block id="m7JAb?=-O;ToYh8:A8/e" type="read_ohlc_obj">
            <field name="OHLCFIELD_LIST">close</field>
            <value name="OHLCOBJ">
              <block id="ZME;^X.xSFyaej2S*$do" type="lists_getIndex">
                <mutation at="false" statement="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block id="Ycv~CTL;l,y-gi]vdx}4" type="variables_get">
                    <field id="ltetHZ|urWouqLe![2ba" name="VAR" variabletype="">_candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block id="_mKZ|YX[=gk/wfa3EvsE" type="variables_set">
            <field id="tA$${Bu)F~P(g5%!EJ=[" name="VAR" variabletype="">LowestLow</field>
            <value name="VALUE">
              <block id="DKg!YC$cV3IMdeLpq,kU" type="math_on_list">
                <mutation op="MIN"></mutation>
                <field name="OP">MIN</field>
                <value name="LIST">
                  <block id="OGRoZbUR1_2n%-9{d9!@" type="lists_getSublist">
                    <mutation at2="false" at1="true"></mutation>
                    <field name="WHERE1">FROM_END</field>
                    <field name="WHERE2">LAST</field>
                    <value name="LIST">
                      <block id="|S]mAcV-%meu($zTHBtC" type="ohlc_values_in_list">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCLIST">
                          <block id="uL@QGRRDZ9%?T)5_!}-b" type="variables_get">
                            <field id="ltetHZ|urWouqLe![2ba" name="VAR" variabletype="">_candles</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="AT1">
                      <block id="uDOzJbP}:UcUh(s%GZ(7" type="variables_get">
                        <field id="l_#DpH]`~3j~!81b{GmT" name="VAR" variabletype="">_length</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block id="rWB0[y7^y?r;{ZG#/#|Y" type="variables_set">
                <field id="tzUbcI?|w(H+{N_NFr26" name="VAR" variabletype="">HighestHigh</field>
                <value name="VALUE">
                  <block id="IR2?=)zLjoX-3y%B02e{" type="math_on_list">
                    <mutation op="MAX"></mutation>
                    <field name="OP">MAX</field>
                    <value name="LIST">
                      <block id="+tjk-4kmv=/)52a9EH$," type="lists_getSublist">
                        <mutation at2="false" at1="true"></mutation>
                        <field name="WHERE1">FROM_END</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block id="sR~Zipi?,/oqrj]?E!/^" type="ohlc_values_in_list">
                            <field name="OHLCFIELD_LIST">high</field>
                            <value name="OHLCLIST">
                              <block id="rm?ww^a0w;Ov8]1-8_|}" type="variables_get">
                                <field id="ltetHZ|urWouqLe![2ba" name="VAR" variabletype="">_candles</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="AT1">
                          <block id="Ggg`dq2^Pl}eO:Xfk+L*" type="variables_get">
                            <field id="l_#DpH]`~3j~!81b{GmT" name="VAR" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block id="tTtsu7heY*C:$aklGy3T" type="math_arithmetic">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow id="m2Bldv1bWq,j02|^I;zC" type="math_number">
            <field name="NUM">100</field>
          </shadow>
        </value>
        <value name="B">
          <shadow id="Kw*!DL,6tC)Z@X[XXEW-" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block id="39?zp,@Xh(biUoTnIc8]" type="math_arithmetic">
            <field name="OP">DIVIDE</field>
            <value name="A">
              <shadow id=";tVx4i7^OYc}Dj0ou0Fu" type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block id=",mQucf{NiFTY{v|[jF5Q" type="math_arithmetic">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow id="eF-sorj8E/$Uv1D0/d$Y" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="Gb,vrCs^U6/kxej:8ndd" type="variables_get">
                    <field id="~;oZOr%Mtge-EzRwBlem" name="VAR" variabletype="">CurrentClose</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="VJ6GD/B.QU$ZWA!9VjZu" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="nqwpVbqYtH9S%6d?hYq#" type="variables_get">
                    <field id="tA$${Bu)F~P(g5%!EJ=[" name="VAR" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <shadow id="Q13ng:W0Mz,q5O(dwRA," type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block id="]FDfiMLH~HlD_Tu(?lB4" type="math_arithmetic">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow id="eN`!}0R`LdLA,wW^9q]P" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="@(CXdH2Pc$rt0gQ^9q{_" type="variables_get">
                    <field id="tzUbcI?|w(H+{N_NFr26" name="VAR" variabletype="">HighestHigh</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="sVcDKs=Tx:=t$P.Cu~Bo" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="Ni1A!;$`#IKWA{h/AD3J" type="variables_get">
                    <field id="tA$${Bu)F~P(g5%!EJ=[" name="VAR" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block id="}dV0zCj2^,^s%*%{[4g(" type="procedures_defreturn" y="470" x="0" collapsed="true">
    <mutation>
      <arg name="_candles" varid="ltetHZ|urWouqLe![2ba"></arg>
      <arg name="_channel(K/D/Both)" varid="cMexqyu0M_/pB{7p`+9("></arg>
      <arg name="_length" varid="l_#DpH]`~3j~!81b{GmT"></arg>
      <arg name="_smoothK" varid=";^hW?=itbb~Eg3B+sLU:"></arg>
      <arg name="_smoothD" varid="N^=AJ)!oE#$(cv{HGzVT"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochKD</field>
    <comment w="160" h="80" pinned="false">Describe this function...</comment>
    <statement name="STACK">
      <block id="Dw*mkmtlRn/kY~=#Hzly" type="variables_set">
        <field id="=Wrux.ps`;ws_T3-g@qg" name="VAR" variabletype="">S:list</field>
        <value name="VALUE">
          <block id=";MBi/5(EU%w]yYz?,4cU" type="lists_create_with">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block id="}x^oC)ybfO8I))NQSp#I" type="variables_set">
            <field id="kWLO@a%|(2VAgtURts{S" name="VAR" variabletype="">S:Klist</field>
            <value name="VALUE">
              <block id="v8:Oo?sg6TvjP[5jXyyX" type="lists_create_with">
                <mutation items="0"></mutation>
              </block>
            </value>
            <next>
              <block id="y8[Ix7r(DINL+[UTU~TO" type="controls_for">
                <field id="O+T:A7%yHExrcxp0Y(X%" name="VAR" variabletype="">i</field>
                <value name="FROM">
                  <block id="{|u-SKS;Z,M]Q!Qo(`~-" type="math_number">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="TO">
                  <block id="R(`mfrTxG(-p[GN=_HO1" type="math_arithmetic">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow id="LQ[5Y{LD4k6;7gi194d(" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block id="CLW.X9H{^RKUx;{hFFD(" type="math_arithmetic">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="|MQ2WpcdH)2yxiI(8pp." type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block id="M3Yp}xk)L*:%Jx%TTcw9" type="variables_get">
                            <field id="N^=AJ)!oE#$(cv{HGzVT" name="VAR" variabletype="">_smoothD</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="}^#-5nlInRRG(UP:No{e" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block id="n24|+%_JV)kZ}T6oDV[d" type="variables_get">
                            <field id=";^hW?=itbb~Eg3B+sLU:" name="VAR" variabletype="">_smoothK</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow id="T?PuYQZn2-k}dze;nQ#6" type="math_number">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="BY">
                  <block id="+0TVOTn~E63sT]QKE2SE" type="math_number">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <statement name="DO">
                  <block id="$FzHvsI,,5n%uC0h:#ff" type="lists_setIndex">
                    <mutation at="false"></mutation>
                    <field name="MODE">INSERT</field>
                    <field name="WHERE">FIRST</field>
                    <value name="LIST">
                      <block id="m{^VJ8]2X#iF|udpx$!H" type="variables_get">
                        <field id="=Wrux.ps`;ws_T3-g@qg" name="VAR" variabletype="">S:list</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block id="n7gLy[uK0A!3:e3eO9mB" type="procedures_callreturn">
                        <mutation name="ExMachina::GetStochK">
                          <arg name="_candles"></arg>
                          <arg name="_length"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block id="n4IxiGu+BS[g(qG04%q#" type="lists_getSublist">
                            <mutation at2="true" at1="false"></mutation>
                            <field name="WHERE1">FIRST</field>
                            <field name="WHERE2">FROM_END</field>
                            <value name="LIST">
                              <block id="A=kn,?YjRs0lTqEr9}gd" type="variables_get">
                                <field id="ltetHZ|urWouqLe![2ba" name="VAR" variabletype="">_candles</field>
                              </block>
                            </value>
                            <value name="AT2">
                              <block id="%-|+(0:3v0(`:)HCg@p|" type="variables_get">
                                <field id="O+T:A7%yHExrcxp0Y(X%" name="VAR" variabletype="">i</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ARG1">
                          <block id="BTcB2|@x$3+eB,io(oo@" type="variables_get">
                            <field id="l_#DpH]`~3j~!81b{GmT" name="VAR" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block id="NvrlzJUdZ*2rd()5K2RF" type="controls_for">
                    <field id="O+T:A7%yHExrcxp0Y(X%" name="VAR" variabletype="">i</field>
                    <value name="FROM">
                      <block id="w@x^s!3JR(dqvf?+N`k^" type="math_number">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block id="Bn8+Q;AAbAZp%G0bum9q" type="math_arithmetic">
                        <field name="OP">DIVIDE</field>
                        <value name="A">
                          <shadow id="OS(!I,+m=+C/o.qP+hsm" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block id="SBE45:L~@M5rM7kulW^L" type="lists_length">
                            <value name="VALUE">
                              <block id="_xmMEPJ9!tXQ@VZB_Mk=" type="variables_get">
                                <field id="=Wrux.ps`;ws_T3-g@qg" name="VAR" variabletype="">S:list</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="Ex$eISk4$wF*}:d+xJs%" type="math_number">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="BY">
                      <block id="d}VzQ)JgrP@ATqv8^1?," type="math_number">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block id="t=?hM?cV:;HzqORN)OS*" type="lists_setIndex">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">FIRST</field>
                        <value name="LIST">
                          <block id="rvG0IdewTt.wRY4=amZ;" type="variables_get">
                            <field id="kWLO@a%|(2VAgtURts{S" name="VAR" variabletype="">S:Klist</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block id="JkDx^~B_mQ/u_UZww=NZ" type="sma">
                            <value name="INPUT">
                              <block id="E-$8aSG;5,[UnbS]nYB5" type="lists_getSublist">
                                <mutation at2="true" at1="true"></mutation>
                                <field name="WHERE1">FROM_END</field>
                                <field name="WHERE2">FROM_END</field>
                                <value name="LIST">
                                  <block id="::fFk~6=vA6;z)Tbx^ul" type="variables_get">
                                    <field id="=Wrux.ps`;ws_T3-g@qg" name="VAR" variabletype="">S:list</field>
                                  </block>
                                </value>
                                <value name="AT1">
                                  <block id="Lke^6bJDG*P8.VVSM(wA" type="math_arithmetic">
                                    <field name="OP">MINUS</field>
                                    <value name="A">
                                      <shadow id=",c2$!d1dC_@QYv,LY%2h" type="math_number">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block id="A9u7kbX~9QD~FFA~i@r|" type="math_arithmetic">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow id="ehy/jyy@iQ+RCbeMC1Ey" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block id="Z|L4Td9896JA8:*BhDa8" type="variables_get">
                                            <field id=";^hW?=itbb~Eg3B+sLU:" name="VAR" variabletype="">_smoothK</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow id="[AH-:B]o1|yYqm#=,w8D" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block id="gQu+!}C.h!._-]l6}hXi" type="variables_get">
                                            <field id="O+T:A7%yHExrcxp0Y(X%" name="VAR" variabletype="">i</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow id="R8O~u1tG`w[d1Rc)v-mz" type="math_number">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="AT2">
                                  <block id="D.n(a2I%b?6)Xm9Ukt07" type="variables_get">
                                    <field id="O+T:A7%yHExrcxp0Y(X%" name="VAR" variabletype="">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow id="tO,9dxnq*LR+/Z_M!l0$" type="math_number">
                                <field name="NUM">10</field>
                              </shadow>
                              <block id="ELX%zx-uIY9-l`KDl5QH" type="variables_get">
                                <field id=";^hW?=itbb~Eg3B+sLU:" name="VAR" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block id="@AlS@CClKD`dENz7%T-7" type="variables_set">
                        <field id="=|aW+E{A0k0|DPKuMrkK" name="VAR" variabletype="">S:K</field>
                        <value name="VALUE">
                          <block id="KyHGh%67j#DHZ}M5i(T|" type="sma">
                            <value name="INPUT">
                              <block id="g(Cja$$19{w}(Z+`elC:" type="variables_get">
                                <field id="=Wrux.ps`;ws_T3-g@qg" name="VAR" variabletype="">S:list</field>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow id="0*u;$9XgjY*!*eBuy0ic" type="math_number">
                                <field name="NUM">3</field>
                              </shadow>
                              <block id="V.TF]8m^_CG/#iqDdh6p" type="variables_get">
                                <field id=";^hW?=itbb~Eg3B+sLU:" name="VAR" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block id="@:W^=Q[]1qq)jJeNpQ*X" type="variables_set">
                            <field id="}ZA0{U=85b5(_DCmYNs/" name="VAR" variabletype="">S:D</field>
                            <value name="VALUE">
                              <block id="Sx,FBI=aMRK$D7M){{qN" type="sma">
                                <value name="INPUT">
                                  <block id="I#jwvNT.L-z)x[L:)4r;" type="variables_get">
                                    <field id="kWLO@a%|(2VAgtURts{S" name="VAR" variabletype="">S:Klist</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow id="0*u;$9XgjY*!*eBuy0ic" type="math_number">
                                    <field name="NUM">3</field>
                                  </shadow>
                                  <block id="gw5@!Jkix:|ETHz8UH|l" type="variables_get">
                                    <field id="N^=AJ)!oE#$(cv{HGzVT" name="VAR" variabletype="">_smoothD</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block id="kia7_u4AUYEH6?bs{e%Z" type="logic_ternary">
        <value name="IF">
          <block id="~3Q`A;+zuqwHzwx{jhq$" type="logic_compare">
            <field name="OP">EQ</field>
            <value name="A">
              <block id="^8lHq(S(3^mfA1=;!#58" type="variables_get">
                <field id="cMexqyu0M_/pB{7p`+9(" name="VAR" variabletype="">_channel(K/D/Both)</field>
              </block>
            </value>
            <value name="B">
              <block id="Vl21#r?G![-c9_Myjv}K" type="text">
                <field name="TEXT">D</field>
              </block>
            </value>
          </block>
        </value>
        <value name="THEN">
          <block id="#KHYf[pDMCx0VoYkV6F$" type="variables_get">
            <field id="}ZA0{U=85b5(_DCmYNs/" name="VAR" variabletype="">S:D</field>
          </block>
        </value>
        <value name="ELSE">
          <block id="W%oVGjWlAkmmWdx/+V%A" type="logic_ternary">
            <value name="IF">
              <block id="EAP6w#z*OHkEK|WvoTQ]" type="logic_compare">
                <field name="OP">EQ</field>
                <value name="A">
                  <block id="$j)ryC%:AS^^C)B8VWe:" type="variables_get">
                    <field id="cMexqyu0M_/pB{7p`+9(" name="VAR" variabletype="">_channel(K/D/Both)</field>
                  </block>
                </value>
                <value name="B">
                  <block id="ZP-l79c8P(NRed61H*Ek" type="text">
                    <field name="TEXT">K</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block id="~xH(Qs@aogj]eF[OEi6/" type="variables_get">
                <field id="=|aW+E{A0k0|DPKuMrkK" name="VAR" variabletype="">S:K</field>
              </block>
            </value>
            <value name="ELSE">
              <block id="Q~xoDZ%J!.Im9.0=Cr^," type="lists_create_with">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block id="P:soDorI#)~O$Xx6J9dY" type="variables_get">
                    <field id="=|aW+E{A0k0|DPKuMrkK" name="VAR" variabletype="">S:K</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block id="_lgVusBS`YiRdo`,Gh)0" type="variables_get">
                    <field id="}ZA0{U=85b5(_DCmYNs/" name="VAR" variabletype="">S:D</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block id="i-CIx.(Onm4?ihxzA}Y]" type="before_purchase" y="523" x="0">
    <statement name="BEFOREPURCHASE_STACK">
      <block id="Z*WN:t++Jqpe}M.04R0q" type="variables_set">
        <field id="0YH`Ip6f^7lJs{3IH?|`" name="VAR" variabletype="">stoch k</field>
        <value name="VALUE">
          <block id="wu8x~A,1J4VLnHYEx*p{" type="procedures_callreturn">
            <mutation name="ExMachina::GetStochKD">
              <arg name="_candles"></arg>
              <arg name="_channel(K/D/Both)"></arg>
              <arg name="_length"></arg>
              <arg name="_smoothK"></arg>
              <arg name="_smoothD"></arg>
            </mutation>
            <value name="ARG0">
              <block id="|v$8eY@Zq4juM{/%fFTU" type="ohlc">
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="ARG1">
              <block id="|#SS@fPt!`Hv?~ba^79u" type="text">
                <field name="TEXT">K</field>
              </block>
            </value>
            <value name="ARG2">
              <block id="Olt@,@UZYB~e+L?+1ENO" type="math_number">
                <field name="NUM">14</field>
              </block>
            </value>
            <value name="ARG3">
              <block id="E))Z:Q$pI:O[[w~/!A,:" type="math_number">
                <field name="NUM">1</field>
              </block>
            </value>
            <value name="ARG4">
              <block id="x0ogSHCu:a%iJOiOR5Kp" type="math_number">
                <field name="NUM">3</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block id="DN]sGqM!KUrcD}lk,|?d" type="variables_set">
            <field id="V}GzE7v#OSaI3_$%4Dfq" name="VAR" variabletype="">stochd</field>
            <value name="VALUE">
              <block id=")GNn*Sd+FI?*`zp3v(vG" type="procedures_callreturn">
                <mutation name="ExMachina::GetStochKD">
                  <arg name="_candles"></arg>
                  <arg name="_channel(K/D/Both)"></arg>
                  <arg name="_length"></arg>
                  <arg name="_smoothK"></arg>
                  <arg name="_smoothD"></arg>
                </mutation>
                <value name="ARG0">
                  <block id="tzYIT4M+1k+tvB7j|umM" type="ohlc">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block id="tDNt2*=k~n:F8OkT/Ds5" type="text">
                    <field name="TEXT">D</field>
                  </block>
                </value>
                <value name="ARG2">
                  <block id="1smFtHFc2!svgAWFrxhp" type="math_number">
                    <field name="NUM">14</field>
                  </block>
                </value>
                <value name="ARG3">
                  <block id="R,[kp|T_N1b3n6rg9Yd0" type="math_number">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="ARG4">
                  <block id="[;kPhH9EnQ+WBAno5E!v" type="math_number">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block id="!Gl8I~BTi/Q!I{NTH!iQ" type="notify">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow id="vLMVa_l6qhrswz[+ABIM" type="text">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block id="jPAf%WobmEzZ4oGUa%PV" type="variables_get">
                    <field id="0YH`Ip6f^7lJs{3IH?|`" name="VAR" variabletype="">stoch k</field>
                  </block>
                </value>
                <next>
                  <block id="0;lgFsa~+a}Pp7T`a%,3" type="notify">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow id="vLMVa_l6qhrswz[+ABIM" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block id="lgbbv]?piu;mM@Ri+i+K" type="variables_get">
                        <field id="V}GzE7v#OSaI3_$%4Dfq" name="VAR" variabletype="">stochd</field>
                      </block>
                    </value>
                    <next>
                      <block id="}OAxv);V4*CSmCF55KTA" type="controls_if">
                        <value name="IF0">
                          <block id="w@7$GhUzq9ezy?L_G9UO" type="logic_operation">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block id="$5r;SLd_zCD!L,$%c76D" type="logic_compare">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block id="c~cS}-6x8nPxT`zJd,6H" type="math_modulo">
                                    <value name="DIVIDEND">
                                      <shadow id="*(88x@#;r[QS}+.}5}cZ" type="math_number">
                                        <field name="NUM">64</field>
                                      </shadow>
                                      <block id="SWtptXG}Da]Yj:Kc91g+" type="epoch"></block>
                                    </value>
                                    <value name="DIVISOR">
                                      <shadow id="rPfGSoV0XLd1%P4b^Phy" type="math_number">
                                        <field name="NUM">180</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block id="X~683^9ART]!Js27f/A8" type="math_number">
                                    <field name="NUM">20</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block id="6}.07+pm]Ov-IESPRw45" type="logic_compare">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block id="CZQ7A]9daja?7m7hIQ!}" type="math_modulo">
                                    <value name="DIVIDEND">
                                      <shadow id="*(88x@#;r[QS}+.}5}cZ" type="math_number">
                                        <field name="NUM">64</field>
                                      </shadow>
                                      <block id="71xNUAa3}bUR%T]fe?[n" type="epoch"></block>
                                    </value>
                                    <value name="DIVISOR">
                                      <shadow id="q(6z~K%uf3;pVg?#wJqr" type="math_number">
                                        <field name="NUM">180</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block id="PX3P0Yt3#KcM((Rmp/J9" type="math_number">
                                    <field name="NUM">25</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block id="8?eYKAW%VczmRXQ-ou3r" type="controls_if">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block id="R]5jg%UF2b=Tr{/D;P7r" type="logic_compare">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block id="bA1Z@c19itRB/FOCncMM" type="is_candle_black">
                                    <value name="OHLCOBJ">
                                      <block id="G@#1MRJr6gB,{zdyP`}G" type="get_ohlc">
                                        <field name="CANDLEINTERVAL_LIST">600</field>
                                        <value name="CANDLEINDEX">
                                          <shadow id=",SR~LjEi_ysk^K|dkOhN" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block id="}uC?9ISLHMi8E]@NE;~," type="logic_boolean">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block id="}lbu,KZET(_cH?`-+DEW" type="controls_if">
                                <value name="IF0">
                                  <block id="sYUHmpmvX(]/l-Z(qT2Q" type="logic_compare">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block id="p=Ejp2245_Tw?pl%E7h_" type="is_candle_black">
                                        <value name="OHLCOBJ">
                                          <block id="!sX|4L?4zj,Po3IPze+T" type="get_ohlc">
                                            <field name="CANDLEINTERVAL_LIST">180</field>
                                            <value name="CANDLEINDEX">
                                              <shadow id="]4VO#MF*fv4LcIOsfY+I" type="math_number">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block id="rf!W(MQ`+U]!l/L!%@vq" type="logic_boolean">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block id="w#?0TjYZd#M6x6;+K*I}" type="controls_if">
                                    <value name="IF0">
                                      <block id="mg;h2(kC!e`K](wspz3L" type="logic_compare">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block id="U7vV/=%3Thl):siVcXuV" type="variables_get">
                                            <field id="0YH`Ip6f^7lJs{3IH?|`" name="VAR" variabletype="">stoch k</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block id="Kimr_Z$h@uI{woTX7Z+*" type="variables_get">
                                            <field id="V}GzE7v#OSaI3_$%4Dfq" name="VAR" variabletype="">stochd</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block id="`xX)H^B6VKq.peNREG~3" type="purchase">
                                        <field name="PURCHASE_LIST">PUT</field>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block id="xV4:-{)eh6*}vq*Wa-B%" type="logic_compare">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block id="X[GMZ95F1OQv:?elnK@r" type="is_candle_black">
                                    <value name="OHLCOBJ">
                                      <block id="sW*bI`KpcD,S,xopKeAa" type="get_ohlc">
                                        <field name="CANDLEINTERVAL_LIST">600</field>
                                        <value name="CANDLEINDEX">
                                          <shadow id="0{xkJT#WYM49{:J)Kwk)" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block id="!V|h.K{tW1^p8D4w*`-|" type="logic_boolean">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block id="[/]!Gf)JjiQZ!u:o;ZQ^" type="controls_if">
                                <value name="IF0">
                                  <block id="oKvo(GxjS`+%)bWlTbs8" type="logic_compare">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block id="^sRq|1rp$+H22fblN/uo" type="is_candle_black">
                                        <value name="OHLCOBJ">
                                          <block id="5xr2[9-VICe`;6f}adLF" type="get_ohlc">
                                            <field name="CANDLEINTERVAL_LIST">180</field>
                                            <value name="CANDLEINDEX">
                                              <shadow id="^YI6tN{.sIiH:H3}0#nz" type="math_number">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block id="_i]}]~2[lOaDs3*W/]CE" type="logic_boolean">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block id="E=EZ#.X0LVFt1Nv`#SQP" type="controls_if">
                                    <value name="IF0">
                                      <block id="oKv4tVjR|u=^!7~8i)Z]" type="logic_compare">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block id="GRdNLm`Uc};G$Iu)jUq(" type="variables_get">
                                            <field id="0YH`Ip6f^7lJs{3IH?|`" name="VAR" variabletype="">stoch k</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block id="t@Ok#~ruIX_/ZAA7+Pmu" type="variables_get">
                                            <field id="V}GzE7v#OSaI3_$%4Dfq" name="VAR" variabletype="">stochd</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block id="W6q#Z-I3q3d[d3-`S[dS" type="purchase">
                                        <field name="PURCHASE_LIST">CALL</field>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block id="D^Jz1^n=2vtZku1vBN@;" type="after_purchase" y="1551" x="0">
    <statement name="AFTERPURCHASE_STACK">
      <block id="ZHe2`uk;@xVkXKLHX@8m" type="controls_if">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block id="=o0%V~L=QmTW@V5HSFiD" type="contract_check_result">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block id="p*-7lf=:Nk.4tM3$;l{N" type="variables_set">
            <field id="tH$C5k=R|~vIcg.3Y.pn" name="VAR" variabletype="">STAKE</field>
            <value name="VALUE">
              <block id="jZ;^o#9HEp7x-vp@0zQD" type="math_arithmetic">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow id="j}?8S@6L?85)EIi1-G^`" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block id="$Wgsglomug-a*LzCLC[;" type="variables_get">
                    <field id="tH$C5k=R|~vIcg.3Y.pn" name="VAR" variabletype="">STAKE</field>
                  </block>
                </value>
                <value name="B">
                  <shadow id="_8hWT}9zP}nLPp}k/.l`" type="math_number">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <value name="IF1">
          <block id="pO$ZJMbTN6K;*#Aw[4Ou" type="contract_check_result">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO1">
          <block id="=r_^XL%,gf!yiklBL1XS" type="variables_set">
            <field id="tH$C5k=R|~vIcg.3Y.pn" name="VAR" variabletype="">STAKE</field>
            <value name="VALUE">
              <block id="%RoV4+bfs_9L3wo#KDWD" type="math_number">
                <field name="NUM">0.35</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block id="c)S|KjoQdXc8l#J@5z3P" type="trade_again"></block>
        </next>
      </block>
    </statement>
  </block>
</xml>