<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="Akkd)~N[^bPgDm#Z(bvq">_candles</variable>
    <variable type="" id="N4T*#tu!trbxv@0eLg!5">_length</variable>
    <variable type="" id="?})MloF-:!|g9@0BHAIe">_channel(K/D/Both)</variable>
    <variable type="" id="41rCqDvLTtzr=016WFQE">_smoothK</variable>
    <variable type="" id="EaN/+{)(|!DVf8)BK0GV">_smoothD</variable>
    <variable type="" id="3_rPEiW!?l*vdkG8+Q/0">CurrentClose</variable>
    <variable type="" id="o?R@4Zb.{rLz$.i)t1b1">S:list</variable>
    <variable type="" id="!ow*xB#!^R0XR[U5f}GJ">stochastic</variable>
    <variable type="" id="9bJ0*00cGn-rKT}HT!e_">LowestLow</variable>
    <variable type="" id="$I(R$dtbMw/N,88@HWwq">S:Klist</variable>
    <variable type="" id="3)M^MClDG__,C?|x55.v">S:D</variable>
    <variable type="" id="D8[PcS3iyD{[me1]#lk?">stochasticPast</variable>
    <variable type="" id="GgH;K:/imWQ7p4-{{{`F">HighestHigh</variable>
    <variable type="" id="u/MKyXNxo_pP1%*,n:t4">i</variable>
    <variable type="" id="WbfywJ1rt=ZR6hC5vB9w">S:K</variable>
    <variable type="" id="it%JE0$T@5]u*$)_4Qeu">emaA</variable>
    <variable type="" id="!i(_43jWYd|[!W}!)a@.">emaB</variable>
  </variables>
  <block type="loader" id="aF@HQqe:2;BKYO/Nh.UM" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/binary-ex-machina/95e5c09d62932e31a3150a1461c50b6c/raw/cbf479aa840a679887b39f0f9465a45ccaef9d1a/exmachina-indicator-stochastic.xml</field>
  </block>
  <block type="procedures_defreturn" id="}dV0zCj2^,^s%*%{[4g(" collapsed="true" x="0" y="55">
    <mutation>
      <arg name="_candles" varid="Akkd)~N[^bPgDm#Z(bvq"></arg>
      <arg name="_channel(K/D/Both)" varid="?})MloF-:!|g9@0BHAIe"></arg>
      <arg name="_length" varid="N4T*#tu!trbxv@0eLg!5"></arg>
      <arg name="_smoothK" varid="41rCqDvLTtzr=016WFQE"></arg>
      <arg name="_smoothD" varid="EaN/+{)(|!DVf8)BK0GV"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochKD</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="Dw*mkmtlRn/kY~=#Hzly">
        <field name="VAR" id="o?R@4Zb.{rLz$.i)t1b1" variabletype="">S:list</field>
        <value name="VALUE">
          <block type="lists_create_with" id=";MBi/5(EU%w]yYz?,4cU">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block type="variables_set" id="}x^oC)ybfO8I))NQSp#I">
            <field name="VAR" id="$I(R$dtbMw/N,88@HWwq" variabletype="">S:Klist</field>
            <value name="VALUE">
              <block type="lists_create_with" id="v8:Oo?sg6TvjP[5jXyyX">
                <mutation items="0"></mutation>
              </block>
            </value>
            <next>
              <block type="controls_for" id="y8[Ix7r(DINL+[UTU~TO">
                <field name="VAR" id="u/MKyXNxo_pP1%*,n:t4" variabletype="">i</field>
                <value name="FROM">
                  <block type="math_number" id="{|u-SKS;Z,M]Q!Qo(`~-">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="math_arithmetic" id="R(`mfrTxG(-p[GN=_HO1">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="LQ[5Y{LD4k6;7gi194d(">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="CLW.X9H{^RKUx;{hFFD(">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="|MQ2WpcdH)2yxiI(8pp.">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="M3Yp}xk)L*:%Jx%TTcw9">
                            <field name="VAR" id="EaN/+{)(|!DVf8)BK0GV" variabletype="">_smoothD</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="}^#-5nlInRRG(UP:No{e">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="n24|+%_JV)kZ}T6oDV[d">
                            <field name="VAR" id="41rCqDvLTtzr=016WFQE" variabletype="">_smoothK</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="T?PuYQZn2-k}dze;nQ#6">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="BY">
                  <block type="math_number" id="+0TVOTn~E63sT]QKE2SE">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="lists_setIndex" id="$FzHvsI,,5n%uC0h:#ff">
                    <mutation at="false"></mutation>
                    <field name="MODE">INSERT</field>
                    <field name="WHERE">FIRST</field>
                    <value name="LIST">
                      <block type="variables_get" id="m{^VJ8]2X#iF|udpx$!H">
                        <field name="VAR" id="o?R@4Zb.{rLz$.i)t1b1" variabletype="">S:list</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="procedures_callreturn" id="n7gLy[uK0A!3:e3eO9mB">
                        <mutation name="ExMachina::GetStochK">
                          <arg name="_candles"></arg>
                          <arg name="_length"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="lists_getSublist" id="n4IxiGu+BS[g(qG04%q#">
                            <mutation at1="false" at2="true"></mutation>
                            <field name="WHERE1">FIRST</field>
                            <field name="WHERE2">FROM_END</field>
                            <value name="LIST">
                              <block type="variables_get" id="A=kn,?YjRs0lTqEr9}gd">
                                <field name="VAR" id="Akkd)~N[^bPgDm#Z(bvq" variabletype="">_candles</field>
                              </block>
                            </value>
                            <value name="AT2">
                              <block type="variables_get" id="%-|+(0:3v0(`:)HCg@p|">
                                <field name="VAR" id="u/MKyXNxo_pP1%*,n:t4" variabletype="">i</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ARG1">
                          <block type="variables_get" id="BTcB2|@x$3+eB,io(oo@">
                            <field name="VAR" id="N4T*#tu!trbxv@0eLg!5" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_for" id="NvrlzJUdZ*2rd()5K2RF">
                    <field name="VAR" id="u/MKyXNxo_pP1%*,n:t4" variabletype="">i</field>
                    <value name="FROM">
                      <block type="math_number" id="w@x^s!3JR(dqvf?+N`k^">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="math_arithmetic" id="Bn8+Q;AAbAZp%G0bum9q">
                        <field name="OP">DIVIDE</field>
                        <value name="A">
                          <shadow type="math_number" id="OS(!I,+m=+C/o.qP+hsm">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="lists_length" id="SBE45:L~@M5rM7kulW^L">
                            <value name="VALUE">
                              <block type="variables_get" id="_xmMEPJ9!tXQ@VZB_Mk=">
                                <field name="VAR" id="o?R@4Zb.{rLz$.i)t1b1" variabletype="">S:list</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="Ex$eISk4$wF*}:d+xJs%">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="BY">
                      <block type="math_number" id="d}VzQ)JgrP@ATqv8^1?,">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="lists_setIndex" id="t=?hM?cV:;HzqORN)OS*">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">FIRST</field>
                        <value name="LIST">
                          <block type="variables_get" id="rvG0IdewTt.wRY4=amZ;">
                            <field name="VAR" id="$I(R$dtbMw/N,88@HWwq" variabletype="">S:Klist</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="sma" id="JkDx^~B_mQ/u_UZww=NZ">
                            <value name="INPUT">
                              <block type="lists_getSublist" id="E-$8aSG;5,[UnbS]nYB5">
                                <mutation at1="true" at2="true"></mutation>
                                <field name="WHERE1">FROM_END</field>
                                <field name="WHERE2">FROM_END</field>
                                <value name="LIST">
                                  <block type="variables_get" id="::fFk~6=vA6;z)Tbx^ul">
                                    <field name="VAR" id="o?R@4Zb.{rLz$.i)t1b1" variabletype="">S:list</field>
                                  </block>
                                </value>
                                <value name="AT1">
                                  <block type="math_arithmetic" id="Lke^6bJDG*P8.VVSM(wA">
                                    <field name="OP">MINUS</field>
                                    <value name="A">
                                      <shadow type="math_number" id=",c2$!d1dC_@QYv,LY%2h">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="A9u7kbX~9QD~FFA~i@r|">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow type="math_number" id="ehy/jyy@iQ+RCbeMC1Ey">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="Z|L4Td9896JA8:*BhDa8">
                                            <field name="VAR" id="41rCqDvLTtzr=016WFQE" variabletype="">_smoothK</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="[AH-:B]o1|yYqm#=,w8D">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="gQu+!}C.h!._-]l6}hXi">
                                            <field name="VAR" id="u/MKyXNxo_pP1%*,n:t4" variabletype="">i</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="R8O~u1tG`w[d1Rc)v-mz">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="AT2">
                                  <block type="variables_get" id="D.n(a2I%b?6)Xm9Ukt07">
                                    <field name="VAR" id="u/MKyXNxo_pP1%*,n:t4" variabletype="">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="tO,9dxnq*LR+/Z_M!l0$">
                                <field name="NUM">10</field>
                              </shadow>
                              <block type="variables_get" id="ELX%zx-uIY9-l`KDl5QH">
                                <field name="VAR" id="41rCqDvLTtzr=016WFQE" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="@AlS@CClKD`dENz7%T-7">
                        <field name="VAR" id="WbfywJ1rt=ZR6hC5vB9w" variabletype="">S:K</field>
                        <value name="VALUE">
                          <block type="sma" id="KyHGh%67j#DHZ}M5i(T|">
                            <value name="INPUT">
                              <block type="variables_get" id="g(Cja$$19{w}(Z+`elC:">
                                <field name="VAR" id="o?R@4Zb.{rLz$.i)t1b1" variabletype="">S:list</field>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="0*u;$9XgjY*!*eBuy0ic">
                                <field name="NUM">3</field>
                              </shadow>
                              <block type="variables_get" id="V.TF]8m^_CG/#iqDdh6p">
                                <field name="VAR" id="41rCqDvLTtzr=016WFQE" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="@:W^=Q[]1qq)jJeNpQ*X">
                            <field name="VAR" id="3)M^MClDG__,C?|x55.v" variabletype="">S:D</field>
                            <value name="VALUE">
                              <block type="sma" id="Sx,FBI=aMRK$D7M){{qN">
                                <value name="INPUT">
                                  <block type="variables_get" id="I#jwvNT.L-z)x[L:)4r;">
                                    <field name="VAR" id="$I(R$dtbMw/N,88@HWwq" variabletype="">S:Klist</field>
                                  </block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="0*u;$9XgjY*!*eBuy0ic">
                                    <field name="NUM">3</field>
                                  </shadow>
                                  <block type="variables_get" id="gw5@!Jkix:|ETHz8UH|l">
                                    <field name="VAR" id="EaN/+{)(|!DVf8)BK0GV" variabletype="">_smoothD</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_ternary" id="kia7_u4AUYEH6?bs{e%Z">
        <value name="IF">
          <block type="logic_compare" id="~3Q`A;+zuqwHzwx{jhq$">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="^8lHq(S(3^mfA1=;!#58">
                <field name="VAR" id="?})MloF-:!|g9@0BHAIe" variabletype="">_channel(K/D/Both)</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="Vl21#r?G![-c9_Myjv}K">
                <field name="TEXT">D</field>
              </block>
            </value>
          </block>
        </value>
        <value name="THEN">
          <block type="variables_get" id="#KHYf[pDMCx0VoYkV6F$">
            <field name="VAR" id="3)M^MClDG__,C?|x55.v" variabletype="">S:D</field>
          </block>
        </value>
        <value name="ELSE">
          <block type="logic_ternary" id="W%oVGjWlAkmmWdx/+V%A">
            <value name="IF">
              <block type="logic_compare" id="EAP6w#z*OHkEK|WvoTQ]">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="$j)ryC%:AS^^C)B8VWe:">
                    <field name="VAR" id="?})MloF-:!|g9@0BHAIe" variabletype="">_channel(K/D/Both)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="ZP-l79c8P(NRed61H*Ek">
                    <field name="TEXT">K</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="variables_get" id="~xH(Qs@aogj]eF[OEi6/">
                <field name="VAR" id="WbfywJ1rt=ZR6hC5vB9w" variabletype="">S:K</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="lists_create_with" id="Q~xoDZ%J!.Im9.0=Cr^,">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="variables_get" id="P:soDorI#)~O$Xx6J9dY">
                    <field name="VAR" id="WbfywJ1rt=ZR6hC5vB9w" variabletype="">S:K</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="_lgVusBS`YiRdo`,Gh)0">
                    <field name="VAR" id="3)M^MClDG__,C?|x55.v" variabletype="">S:D</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="i^(y#`N{kRd9@]M-|!;e" collapsed="true" x="0" y="108">
    <mutation>
      <arg name="_candles" varid="Akkd)~N[^bPgDm#Z(bvq"></arg>
      <arg name="_length" varid="N4T*#tu!trbxv@0eLg!5"></arg>
    </mutation>
    <field name="NAME">ExMachina::GetStochK</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="HuItQI)Dh[EYC!HWgt+X">
        <field name="VAR" id="3_rPEiW!?l*vdkG8+Q/0" variabletype="">CurrentClose</field>
        <value name="VALUE">
          <block type="read_ohlc_obj" id="m7JAb?=-O;ToYh8:A8/e">
            <field name="OHLCFIELD_LIST">close</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="ZME;^X.xSFyaej2S*$do">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="Ycv~CTL;l,y-gi]vdx}4">
                    <field name="VAR" id="Akkd)~N[^bPgDm#Z(bvq" variabletype="">_candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="_mKZ|YX[=gk/wfa3EvsE">
            <field name="VAR" id="9bJ0*00cGn-rKT}HT!e_" variabletype="">LowestLow</field>
            <value name="VALUE">
              <block type="math_on_list" id="DKg!YC$cV3IMdeLpq,kU">
                <mutation op="MIN"></mutation>
                <field name="OP">MIN</field>
                <value name="LIST">
                  <block type="lists_getSublist" id="OGRoZbUR1_2n%-9{d9!@">
                    <mutation at1="true" at2="false"></mutation>
                    <field name="WHERE1">FROM_END</field>
                    <field name="WHERE2">LAST</field>
                    <value name="LIST">
                      <block type="ohlc_values_in_list" id="|S]mAcV-%meu($zTHBtC">
                        <field name="OHLCFIELD_LIST">low</field>
                        <value name="OHLCLIST">
                          <block type="variables_get" id="uL@QGRRDZ9%?T)5_!}-b">
                            <field name="VAR" id="Akkd)~N[^bPgDm#Z(bvq" variabletype="">_candles</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="variables_get" id="uDOzJbP}:UcUh(s%GZ(7">
                        <field name="VAR" id="N4T*#tu!trbxv@0eLg!5" variabletype="">_length</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="rWB0[y7^y?r;{ZG#/#|Y">
                <field name="VAR" id="GgH;K:/imWQ7p4-{{{`F" variabletype="">HighestHigh</field>
                <value name="VALUE">
                  <block type="math_on_list" id="IR2?=)zLjoX-3y%B02e{">
                    <mutation op="MAX"></mutation>
                    <field name="OP">MAX</field>
                    <value name="LIST">
                      <block type="lists_getSublist" id="+tjk-4kmv=/)52a9EH$,">
                        <mutation at1="true" at2="false"></mutation>
                        <field name="WHERE1">FROM_END</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block type="ohlc_values_in_list" id="sR~Zipi?,/oqrj]?E!/^">
                            <field name="OHLCFIELD_LIST">high</field>
                            <value name="OHLCLIST">
                              <block type="variables_get" id="rm?ww^a0w;Ov8]1-8_|}">
                                <field name="VAR" id="Akkd)~N[^bPgDm#Z(bvq" variabletype="">_candles</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="variables_get" id="Ggg`dq2^Pl}eO:Xfk+L*">
                            <field name="VAR" id="N4T*#tu!trbxv@0eLg!5" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="math_arithmetic" id="tTtsu7heY*C:$aklGy3T">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow type="math_number" id="m2Bldv1bWq,j02|^I;zC">
            <field name="NUM">100</field>
          </shadow>
        </value>
        <value name="B">
          <shadow type="math_number" id="Kw*!DL,6tC)Z@X[XXEW-">
            <field name="NUM">1</field>
          </shadow>
          <block type="math_arithmetic" id="39?zp,@Xh(biUoTnIc8]">
            <field name="OP">DIVIDE</field>
            <value name="A">
              <shadow type="math_number" id=";tVx4i7^OYc}Dj0ou0Fu">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id=",mQucf{NiFTY{v|[jF5Q">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="eF-sorj8E/$Uv1D0/d$Y">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Gb,vrCs^U6/kxej:8ndd">
                    <field name="VAR" id="3_rPEiW!?l*vdkG8+Q/0" variabletype="">CurrentClose</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="VJ6GD/B.QU$ZWA!9VjZu">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="nqwpVbqYtH9S%6d?hYq#">
                    <field name="VAR" id="9bJ0*00cGn-rKT}HT!e_" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <shadow type="math_number" id="Q13ng:W0Mz,q5O(dwRA,">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id="]FDfiMLH~HlD_Tu(?lB4">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id="eN`!}0R`LdLA,wW^9q]P">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="@(CXdH2Pc$rt0gQ^9q{_">
                    <field name="VAR" id="GgH;K:/imWQ7p4-{{{`F" variabletype="">HighestHigh</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="sVcDKs=Tx:=t$P.Cu~Bo">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Ni1A!;$`#IKWA{h/AD3J">
                    <field name="VAR" id="9bJ0*00cGn-rKT}HT!e_" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-2" y="135">
    <field name="MARKET_LIST">synthetic_index</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">higherlower</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="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="}hG{@8Wr.ptRE;lmS$]m">
            <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>
        <value name="BARRIEROFFSET">
          <shadow type="math_number" id="yeF#y7$)_)pT%jOWCsC3">
            <field name="NUM">0.5</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="740" y="416">
    <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="0" y="564">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="jAZ*+JB]Zd%9y-}^vlW?">
        <value name="IF0">
          <block type="logic_compare" id="N%KtQ7{1bG(G}iLNTHe=">
            <field name="OP">GT</field>
            <value name="A">
              <block type="math_modulo" id="v+gSAYwx)sPV).e|]Ql6">
                <value name="DIVIDEND">
                  <shadow type="math_number" id="L*7I9bEh821ui~-|J+eY">
                    <field name="NUM">64</field>
                  </shadow>
                  <block type="epoch" id="E~UM)Er^25r5SBU9n(Fd"></block>
                </value>
                <value name="DIVISOR">
                  <shadow type="math_number" id="]???,ein]?3JEdvYwBN^">
                    <field name="NUM">60</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="8|g_L-tlqRpOq2m391?=">
                <field name="NUM">57</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="D?U49Z_b6T;P3=Z,IWz.">
            <field name="VAR" id="!ow*xB#!^R0XR[U5f}GJ" variabletype="">stochastic</field>
            <value name="VALUE">
              <block type="procedures_callreturn" id="*@2J;+jia]1r)Y`XPPPG">
                <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 type="ohlc" id="=FBTZGWx_{TpNp7%3ER)">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block type="text" id="G,Jw9acu-T!j,^(OC3g*">
                    <field name="TEXT">Both</field>
                  </block>
                </value>
                <value name="ARG2">
                  <block type="math_number" id="T(gmis@]jB_+?i#t1w$h">
                    <field name="NUM">5</field>
                  </block>
                </value>
                <value name="ARG3">
                  <block type="math_number" id="Py$^oc5v|N$^6Jj9mY20">
                    <field name="NUM">3</field>
                  </block>
                </value>
                <value name="ARG4">
                  <block type="math_number" id="i2H_945G|:*Th$.$a!Fm">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="r=OGKqZf7L}*5gr1jXB*">
                <field name="VAR" id="D8[PcS3iyD{[me1]#lk?" variabletype="">stochasticPast</field>
                <value name="VALUE">
                  <block type="procedures_callreturn" id="lcy-?CFJxwLU^WM0#^4J">
                    <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 type="lists_getSublist" id="72W@6Z}NW+fdcxQF]vP-">
                        <mutation at1="false" at2="true"></mutation>
                        <field name="WHERE1">FIRST</field>
                        <field name="WHERE2">FROM_END</field>
                        <value name="LIST">
                          <block type="ohlc" id="XAh})C_xUzoWM_in2J|S">
                            <field name="CANDLEINTERVAL_LIST">default</field>
                          </block>
                        </value>
                        <value name="AT2">
                          <block type="math_number" id="gMtt=P!.`b/TL37Pqv})">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ARG1">
                      <block type="text" id="b3vZM^?MYgb4/bA$X.zA">
                        <field name="TEXT">Both</field>
                      </block>
                    </value>
                    <value name="ARG2">
                      <block type="math_number" id="-QfSh7n,lNaXqK}?Kj:W">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                    <value name="ARG3">
                      <block type="math_number" id="2/f4,v?J[C6@x@@|)X|C">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                    <value name="ARG4">
                      <block type="math_number" id="B]r!T5WT:q%^p1FF_,D?">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="i_5G0]iT?YUtSm=A5U1,">
                    <field name="VAR" id="it%JE0$T@5]u*$)_4Qeu" variabletype="">emaA</field>
                    <value name="VALUE">
                      <block type="emaa" id="Ax80^-4Mq*9BYM:%_dD`">
                        <value name="INPUT">
                          <block type="ohlc_values" id="Y*0%Ev+;jmeZw`1UDcw$">
                            <field name="OHLCFIELD_LIST">close</field>
                            <field name="CANDLEINTERVAL_LIST">default</field>
                          </block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="=ymWi#XAfDhJ4`m!?Izh">
                            <field name="NUM">55</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="!f)qJ${mUo0b`w``xtnH">
                        <field name="VAR" id="!i(_43jWYd|[!W}!)a@." variabletype="">emaB</field>
                        <value name="VALUE">
                          <block type="emaa" id="Qi0m@_[wskhdH.2VjDN.">
                            <value name="INPUT">
                              <block type="ohlc_values" id="n!7H9cY+5-ycRD+1bx=S">
                                <field name="OHLCFIELD_LIST">close</field>
                                <field name="CANDLEINTERVAL_LIST">default</field>
                              </block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="UOP:Qga?/DGs.y*fmw]K">
                                <field name="NUM">100</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id=")(-o,0x~ptkiy$aB0IM{">
                            <value name="IF0">
                              <block type="logic_operation" id="v}F#-E/Xh3!J{WZ+Wb%_" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="Uo2T^1OEK4xW~6CKUYyk">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="$7+wl58f9^wJmOMa7+f.">
                                        <field name="VAR" id="it%JE0$T@5]u*$)_4Qeu" variabletype="">emaA</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="[LesxWg$Li@C/PEF)U9B">
                                        <field name="VAR" id="!i(_43jWYd|[!W}!)a@." variabletype="">emaB</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="I|Dk607Q+f+5n_3c4TWm" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="_J@Km!1S*5fXT^$qUXfD" inline="false">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="lists_getIndex" id=",3(5E2E-s;UC-zs_s}}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="uZzEHLx!mH+t!qLZz_`|">
                                                <field name="VAR" id="it%JE0$T@5]u*$)_4Qeu" variabletype="">emaA</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="3o!%dl7uupFyI_ic`s0n">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="lists_getIndex" id="(y2AbJY7]X0~y:208krn">
                                            <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="dfjMXZe@U3X0IHg=]0!M">
                                                <field name="VAR" id="it%JE0$T@5]u*$)_4Qeu" variabletype="">emaA</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="W2m%l42V16efFYXRqG7c">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="PWUBVeF5H4}9_/H1g8yU" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="86/#Ebl1m)ic}q?uK~::" inline="false">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="lists_getIndex" id="8KSb/f,z`DVCNcT5_MTW">
                                                <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|ZX,lgU4JeJ|hQlMQe">
                                                    <field name="VAR" id="!i(_43jWYd|[!W}!)a@." variabletype="">emaB</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="+lip]EV{AX(wnJo(}+AL">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="lists_getIndex" id="m(_S=4xhhzNM]JgzS:T2">
                                                <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="cCOZ5a,3s1Lp;U@cLlNe">
                                                    <field name="VAR" id="!i(_43jWYd|[!W}!)a@." variabletype="">emaB</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="v^?/$@ksHQ?`46Wi{8q`">
                                                    <field name="NUM">10</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="}+ax/94$B7S-Udh:GhG_" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="mR=z3i#RVa+2S6@S@qvI">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="lists_getIndex" id="F31+qI=cS#99Ov#10t.[">
                                                    <mutation statement="false" at="true"></mutation>
                                                    <field name="MODE">GET</field>
                                                    <field name="WHERE">FROM_START</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="cs-rxpQU~r9/bZicK[2a">
                                                        <field name="VAR" id="D8[PcS3iyD{[me1]#lk?" variabletype="">stochasticPast</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="CqE{`ECLkXl6_y46uC:V">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="kdfIQ`CQJ8s)q#rwAe07">
                                                    <field name="NUM">20</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="kqK@^H-ws9zBmGV=~U-C">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="lists_getIndex" id="Oz$Nza#bcdHnnyPF^RgB">
                                                    <mutation statement="false" at="true"></mutation>
                                                    <field name="MODE">GET</field>
                                                    <field name="WHERE">FROM_START</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="EZlY:m`5PB06BCdC}5g,">
                                                        <field name="VAR" id="!ow*xB#!^R0XR[U5f}GJ" variabletype="">stochastic</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT">
                                                      <block type="math_number" id="IAFHpX;A0A847BUoN=ZD">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="Eq02f?r3_!QdN?dNtyU;">
                                                    <field name="NUM">20</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </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>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>