﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ltetHZ|urWouqLe![2ba">_candles</variable>
    <variable type="" id="l_#DpH]`~3j~!81b{GmT">_length</variable>
    <variable type="" id="cMexqyu0M_/pB{7p`+9(">_channel(K/D/Both)</variable>
    <variable type="" id=";^hW?=itbb~Eg3B+sLU:">_smoothK</variable>
    <variable type="" id="N^=AJ)!oE#$(cv{HGzVT">_smoothD</variable>
    <variable type="" id="tH$C5k=R|~vIcg.3Y.pn">STAKE</variable>
    <variable type="" id="~;oZOr%Mtge-EzRwBlem">CurrentClose</variable>
    <variable type="" id="=Wrux.ps`;ws_T3-g@qg">S:list</variable>
    <variable type="" id="0YH`Ip6f^7lJs{3IH?|`">stoch k</variable>
    <variable type="" id="LAh`4YuX^qyA7H?tQ_`L">stop_loss_max_gale</variable>
    <variable type="" id="tA$${Bu)F~P(g5%!EJ=[">LowestLow</variable>
    <variable type="" id="kWLO@a%|(2VAgtURts{S">S:Klist</variable>
    <variable type="" id="}ZA0{U=85b5(_DCmYNs/">S:D</variable>
    <variable type="" id="V}GzE7v#OSaI3_$%4Dfq">stochd</variable>
    <variable type="" id="S$SFh(I2weQ$BBa^kicy">loss_virtual</variable>
    <variable type="" id="tzUbcI?|w(H+{N_NFr26">HighestHigh</variable>
    <variable type="" id="O+T:A7%yHExrcxp0Y(X%">i</variable>
    <variable type="" id="=|aW+E{A0k0|DPKuMrkK">S:K</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="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 type="variables_set" id="hhMMs`U%5VoI3n_lkXU0">
        <field name="VAR" id="tH$C5k=R|~vIcg.3Y.pn" variabletype="">STAKE</field>
        <value name="VALUE">
          <block type="math_number" id="/D5Y9AEXW3gX~54_7jyA">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="/z)?:bVA(ro`Vp:W|980">
            <field name="VAR" id="LAh`4YuX^qyA7H?tQ_`L" variabletype="">stop_loss_max_gale</field>
            <value name="VALUE">
              <block type="math_number" id="mvr*}W-D6/`}hn+h2}Z[">
                <field name="NUM">4</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="(YI9@~EMHM:ENeB}MH8n">
                <field name="VAR" id="S$SFh(I2weQ$BBa^kicy" variabletype="">loss_virtual</field>
                <value name="VALUE">
                  <block type="math_number" id=".kZ1O_^q(Rj3B#]HK|pP">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">350</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 type="variables_get" id="3)~PB%z7d!3SIY}/S[+F">
            <field name="VAR" id="tH$C5k=R|~vIcg.3Y.pn" variabletype="">STAKE</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="i^(y#`N{kRd9@]M-|!;e" collapsed="true" x="0" y="417">
    <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 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="~;oZOr%Mtge-EzRwBlem" 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="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="_mKZ|YX[=gk/wfa3EvsE">
            <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" 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="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="variables_get" id="uDOzJbP}:UcUh(s%GZ(7">
                        <field name="VAR" id="l_#DpH]`~3j~!81b{GmT" 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="tzUbcI?|w(H+{N_NFr26" 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="ltetHZ|urWouqLe![2ba" 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="l_#DpH]`~3j~!81b{GmT" 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 id="Kw*!DL,6tC)Z@X[XXEW-" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="math_arithmetic" id="39?zp,@Xh(biUoTnIc8]">
            <field name="OP">DIVIDE</field>
            <value name="A">
              <shadow id=";tVx4i7^OYc}Dj0ou0Fu" type="math_number">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_arithmetic" id=",mQucf{NiFTY{v|[jF5Q">
                <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 type="variables_get" id="Gb,vrCs^U6/kxej:8ndd">
                    <field name="VAR" id="~;oZOr%Mtge-EzRwBlem" 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 type="variables_get" id="nqwpVbqYtH9S%6d?hYq#">
                    <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" 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 type="math_arithmetic" id="]FDfiMLH~HlD_Tu(?lB4">
                <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 type="variables_get" id="@(CXdH2Pc$rt0gQ^9q{_">
                    <field name="VAR" id="tzUbcI?|w(H+{N_NFr26" 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 type="variables_get" id="Ni1A!;$`#IKWA{h/AD3J">
                    <field name="VAR" id="tA$${Bu)F~P(g5%!EJ=[" variabletype="">LowestLow</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="}dV0zCj2^,^s%*%{[4g(" collapsed="true" x="0" y="470">
    <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 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="=Wrux.ps`;ws_T3-g@qg" 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="kWLO@a%|(2VAgtURts{S" 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="O+T:A7%yHExrcxp0Y(X%" 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 id="LQ[5Y{LD4k6;7gi194d(" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="CLW.X9H{^RKUx;{hFFD(">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="|MQ2WpcdH)2yxiI(8pp." type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="M3Yp}xk)L*:%Jx%TTcw9">
                            <field name="VAR" id="N^=AJ)!oE#$(cv{HGzVT" variabletype="">_smoothD</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow id="}^#-5nlInRRG(UP:No{e" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="n24|+%_JV)kZ}T6oDV[d">
                            <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" 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="=Wrux.ps`;ws_T3-g@qg" 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="ltetHZ|urWouqLe![2ba" variabletype="">_candles</field>
                              </block>
                            </value>
                            <value name="AT2">
                              <block type="variables_get" id="%-|+(0:3v0(`:)HCg@p|">
                                <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" 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="l_#DpH]`~3j~!81b{GmT" variabletype="">_length</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_for" id="NvrlzJUdZ*2rd()5K2RF">
                    <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" 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 id="OS(!I,+m=+C/o.qP+hsm" type="math_number">
                            <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="=Wrux.ps`;ws_T3-g@qg" 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="kWLO@a%|(2VAgtURts{S" 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="=Wrux.ps`;ws_T3-g@qg" 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 id=",c2$!d1dC_@QYv,LY%2h" type="math_number">
                                        <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 id="ehy/jyy@iQ+RCbeMC1Ey" type="math_number">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="Z|L4Td9896JA8:*BhDa8">
                                            <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" 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 type="variables_get" id="gQu+!}C.h!._-]l6}hXi">
                                            <field name="VAR" id="O+T:A7%yHExrcxp0Y(X%" 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="O+T:A7%yHExrcxp0Y(X%" 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 type="variables_get" id="ELX%zx-uIY9-l`KDl5QH">
                                <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="variables_set" id="@AlS@CClKD`dENz7%T-7">
                        <field name="VAR" id="=|aW+E{A0k0|DPKuMrkK" 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="=Wrux.ps`;ws_T3-g@qg" 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 type="variables_get" id="V.TF]8m^_CG/#iqDdh6p">
                                <field name="VAR" id=";^hW?=itbb~Eg3B+sLU:" variabletype="">_smoothK</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="@:W^=Q[]1qq)jJeNpQ*X">
                            <field name="VAR" id="}ZA0{U=85b5(_DCmYNs/" 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="kWLO@a%|(2VAgtURts{S" 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 type="variables_get" id="gw5@!Jkix:|ETHz8UH|l">
                                    <field name="VAR" id="N^=AJ)!oE#$(cv{HGzVT" 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="cMexqyu0M_/pB{7p`+9(" 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="}ZA0{U=85b5(_DCmYNs/" 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="cMexqyu0M_/pB{7p`+9(" 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="=|aW+E{A0k0|DPKuMrkK" 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="=|aW+E{A0k0|DPKuMrkK" variabletype="">S:K</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="_lgVusBS`YiRdo`,Gh)0">
                    <field name="VAR" id="}ZA0{U=85b5(_DCmYNs/" variabletype="">S:D</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="523">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="Z*WN:t++Jqpe}M.04R0q">
        <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
        <value name="VALUE">
          <block type="procedures_callreturn" id="wu8x~A,1J4VLnHYEx*p{">
            <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="|v$8eY@Zq4juM{/%fFTU">
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="text" id="|#SS@fPt!`Hv?~ba^79u">
                <field name="TEXT">K</field>
              </block>
            </value>
            <value name="ARG2">
              <block type="math_number" id="Olt@,@UZYB~e+L?+1ENO">
                <field name="NUM">14</field>
              </block>
            </value>
            <value name="ARG3">
              <block type="math_number" id="E))Z:Q$pI:O[[w~/!A,:">
                <field name="NUM">1</field>
              </block>
            </value>
            <value name="ARG4">
              <block type="math_number" id="x0ogSHCu:a%iJOiOR5Kp">
                <field name="NUM">3</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="DN]sGqM!KUrcD}lk,|?d">
            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
            <value name="VALUE">
              <block type="procedures_callreturn" id=")GNn*Sd+FI?*`zp3v(vG">
                <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="tzYIT4M+1k+tvB7j|umM">
                    <field name="CANDLEINTERVAL_LIST">default</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block type="text" id="tDNt2*=k~n:F8OkT/Ds5">
                    <field name="TEXT">D</field>
                  </block>
                </value>
                <value name="ARG2">
                  <block type="math_number" id="1smFtHFc2!svgAWFrxhp">
                    <field name="NUM">14</field>
                  </block>
                </value>
                <value name="ARG3">
                  <block type="math_number" id="R,[kp|T_N1b3n6rg9Yd0">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <value name="ARG4">
                  <block type="math_number" id="[;kPhH9EnQ+WBAno5E!v">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="}OAxv);V4*CSmCF55KTA">
                <value name="IF0">
                  <block type="logic_compare" id="$5r;SLd_zCD!L,$%c76D">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="math_modulo" id="c~cS}-6x8nPxT`zJd,6H">
                        <value name="DIVIDEND">
                          <shadow id="*(88x@#;r[QS}+.}5}cZ" type="math_number">
                            <field name="NUM">64</field>
                          </shadow>
                          <block type="epoch" id="SWtptXG}Da]Yj:Kc91g+"></block>
                        </value>
                        <value name="DIVISOR">
                          <shadow type="math_number" id="rPfGSoV0XLd1%P4b^Phy">
                            <field name="NUM">180</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="X~683^9ART]!Js27f/A8">
                        <field name="NUM">8</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="mg;h2(kC!e`K](wspz3L">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="U7vV/=%3Thl):siVcXuV">
                            <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="Kimr_Z$h@uI{woTX7Z+*">
                            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="`xX)H^B6VKq.peNREG~3">
                        <field name="PURCHASE_LIST">PUT</field>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="oKv4tVjR|u=^!7~8i)Z]">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="GRdNLm`Uc};G$Iu)jUq(">
                            <field name="VAR" id="0YH`Ip6f^7lJs{3IH?|`" variabletype="">stoch k</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="t@Ok#~ruIX_/ZAA7+Pmu">
                            <field name="VAR" id="V}GzE7v#OSaI3_$%4Dfq" variabletype="">stochd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="1187">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="ZHe2`uk;@xVkXKLHX@8m">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="=o0%V~L=QmTW@V5HSFiD">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="yD$7B=%g70+ERN*k*`5$">
            <field name="VAR" id="S$SFh(I2weQ$BBa^kicy" variabletype="">loss_virtual</field>
            <value name="DELTA">
              <shadow type="math_number" id="yK+Kf!7dB9o}$qsN~ydB">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="variables_set" id="p*-7lf=:Nk.4tM3$;l{N">
                <field name="VAR" id="tH$C5k=R|~vIcg.3Y.pn" variabletype="">STAKE</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="jZ;^o#9HEp7x-vp@0zQD">
                    <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 type="variables_get" id="$Wgsglomug-a*LzCLC[;">
                        <field name="VAR" id="tH$C5k=R|~vIcg.3Y.pn" variabletype="">STAKE</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="_8hWT}9zP}nLPp}k/.l`">
                        <field name="NUM">2</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="L94;Gc5Qr.WKZ8_ffiCD">
                    <value name="IF0">
                      <block type="logic_compare" id="0$rl,@KRa/_;YcY3jqFS">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="scN_,ZP,e32A=dp8h0u*">
                            <field name="VAR" id="S$SFh(I2weQ$BBa^kicy" variabletype="">loss_virtual</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="tt._:hl.Z:N[pr?(!ZmY">
                            <field name="VAR" id="LAh`4YuX^qyA7H?tQ_`L" variabletype="">stop_loss_max_gale</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="5RdYxk;ETvT;l*rIRHht"></block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="contract_check_result" id="pO$ZJMbTN6K;*#Aw[4Ou">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO1">
          <block type="variables_set" id="Ypb{(6-*4wsCF!1DOd,#">
            <field name="VAR" id="S$SFh(I2weQ$BBa^kicy" variabletype="">loss_virtual</field>
            <value name="VALUE">
              <block type="math_number" id="~jDtz.C;_:l-l36;C15:">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="=r_^XL%,gf!yiklBL1XS">
                <field name="VAR" id="tH$C5k=R|~vIcg.3Y.pn" variabletype="">STAKE</field>
                <value name="VALUE">
                  <block type="math_number" id="%RoV4+bfs_9L3wo#KDWD">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="=WkZp[_F[De#`QSu8{Dj">
                    <value name="IF0">
                      <block type="logic_compare" id=")_l!5^F!EohkFTt%NY@$">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="CiqQrn-r|jvIQk.D=!rI">
                            <field name="VAR" id="S$SFh(I2weQ$BBa^kicy" variabletype="">loss_virtual</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="w)y^0dj_2Cg=Vw~YxWE3">
                            <field name="VAR" id="LAh`4YuX^qyA7H?tQ_`L" variabletype="">stop_loss_max_gale</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="^9t]X/K!^r#EM=e9|[01"></block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>