Last active
January 2, 2019 09:36
-
-
Save wilburforce83/aab34933869c2f4013db6b7c9b963dcc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml xmlns="http://www.w3.org/1999/xhtml" collection="true"> | |
<variables> | |
<variable type="" id=";3fx2ROHML-E`PZw{@r/">::candles</variable> | |
<variable type="" id="~G3U9$=)G;h_^LS0Q?p(">::period</variable> | |
<variable type="" id=".Ju1FKtAMhSk%T79MgAz">TP:List</variable> | |
<variable type="" id="WA~r[01]=bLKG9N$d/a^">j</variable> | |
<variable type="" id="TSb[v.0ODLDk(JV{Qq1r">tp</variable> | |
<variable type="" id="#LS1%xZN;r$VA$Dx[Rh3">sum</variable> | |
<variable type="" id="sopP9]I+2oa)nZOy~(,u">i</variable> | |
</variables> | |
<block type="procedures_defreturn" id="1}K(;3qX~IrmdaSHXuhS" collapsed="true" x="0" y="0"> | |
<mutation> | |
<arg name="::candles" varid=";3fx2ROHML-E`PZw{@r/"></arg> | |
<arg name="::period" varid="~G3U9$=)G;h_^LS0Q?p("></arg> | |
</mutation> | |
<field name="NAME">ExMachina::getCCI</field> | |
<comment pinned="false" h="80" w="160">Describe this function...</comment> | |
<statement name="STACK"> | |
<block type="variables_set" id="wU1~H=Lck0U)hMLgS;T0"> | |
<field name="VAR" id=".Ju1FKtAMhSk%T79MgAz" variabletype="">TP:List</field> | |
<value name="VALUE"> | |
<block type="lists_create_with" id="F#@c`7g/?51MLo3e}]#n"> | |
<mutation items="0"></mutation> | |
</block> | |
</value> | |
<next> | |
<block type="controls_for" id="]2+xYNMQ5(ZM^/1)=|RZ" collapsed="true"> | |
<field name="VAR" id="WA~r[01]=bLKG9N$d/a^" variabletype="">j</field> | |
<value name="FROM"> | |
<block type="math_number" id="A1eFTa{|Yu.=ov@8:Cc$"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="variables_get" id="R-yKuN/?#2XiQ-dW9Nfi"> | |
<field name="VAR" id="~G3U9$=)G;h_^LS0Q?p(" variabletype="">::period</field> | |
</block> | |
</value> | |
<value name="BY"> | |
<block type="math_number" id="=oW8;.pd9Ve#QHcQpYq:"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<statement name="DO"> | |
<block type="lists_setIndex" id="7|ycmItYZ3dr:zGg*xBd"> | |
<mutation at="false"></mutation> | |
<field name="MODE">INSERT</field> | |
<field name="WHERE">FIRST</field> | |
<value name="LIST"> | |
<block type="variables_get" id="iwp``6:9${V{@FWLjKr."> | |
<field name="VAR" id=".Ju1FKtAMhSk%T79MgAz" variabletype="">TP:List</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_arithmetic" id="v~l0}QCb!W+/2SEd;Hl:" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="6RtLksZyR:${,d/%s.zH"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="b*@+{Sb7f:?W%fq:kcrM" inline="false"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="rF^)k9x3EzH47+N2(s3/"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="MOY*e5|5gcPJ%?q{Z4%y" inline="false"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="~#w05-I)+zw|2`UzU(c3"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="sGw7]pvCYR,uczye:rV8"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="^4eK)mP4;(_pR=G^yrP3"> | |
<mutation statement="false" at="true"></mutation> | |
<field name="MODE">GET</field> | |
<field name="WHERE">FROM_END</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="*c?[*gK0@~Q`?@gokrPQ"> | |
<field name="VAR" id=";3fx2ROHML-E`PZw{@r/" variabletype="">::candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="ljC`;3R6`JYywF}*`)@*"> | |
<field name="VAR" id="WA~r[01]=bLKG9N$d/a^" variabletype="">j</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="|9yROBovT46,iGy~56B|"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="Zh0=:B4U[,s.x(0d;vIn"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="8W`$}CGk3;?zt#9EMV6("> | |
<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="}#%;[naO2=TKwiI#V]-c"> | |
<field name="VAR" id=";3fx2ROHML-E`PZw{@r/" variabletype="">::candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="7kdqq#sS,~qcD1LQIO}x"> | |
<field name="VAR" id="WA~r[01]=bLKG9N$d/a^" variabletype="">j</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="El?X6|BOklyTAS09(v%B"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="^M:{]WAvNNF7z`n1QF++"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="{]unnM$TEb3;+FxLCg|8"> | |
<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="`,wTWtkI17cw!y_?,+KH"> | |
<field name="VAR" id=";3fx2ROHML-E`PZw{@r/" variabletype="">::candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="(26ujMAsnqERKpu*vH,Y"> | |
<field name="VAR" id="WA~r[01]=bLKG9N$d/a^" variabletype="">j</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="T-hL(=90$h:wOMeK3W8N"> | |
<field name="NUM">3</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
<next> | |
<block type="variables_set" id="WMeM0n?/Ev-@!(9B2}j%"> | |
<field name="VAR" id="TSb[v.0ODLDk(JV{Qq1r" variabletype="">tp</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="gEI9J)3SK($RdKe.p]O!"> | |
<field name="VAR" id=".Ju1FKtAMhSk%T79MgAz" variabletype="">TP:List</field> | |
</block> | |
</value> | |
<next> | |
<block type="variables_set" id="ESwO#nLT.Urh6mc.1q@,"> | |
<field name="VAR" id="#LS1%xZN;r$VA$Dx[Rh3" variabletype="">sum</field> | |
<value name="VALUE"> | |
<block type="math_number" id="@Xj.ZN.Z1*NE23J2yJ,i"> | |
<field name="NUM">0</field> | |
</block> | |
</value> | |
<next> | |
<block type="controls_for" id="yuDAs@y^wPq|5MQ(Htoa" collapsed="true"> | |
<field name="VAR" id="sopP9]I+2oa)nZOy~(,u" variabletype="">i</field> | |
<value name="FROM"> | |
<block type="math_number" id="Vot{i*oO3!]S;IDw[S)8"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="variables_get" id="}45ce8V/v7}Yh3]tvh1*"> | |
<field name="VAR" id="~G3U9$=)G;h_^LS0Q?p(" variabletype="">::period</field> | |
</block> | |
</value> | |
<value name="BY"> | |
<block type="math_number" id="k**CLP-P29aY{laZ1,HA"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<statement name="DO"> | |
<block type="variables_set" id="YYGeQ,cg%)$|NwU8F#_C"> | |
<field name="VAR" id="#LS1%xZN;r$VA$Dx[Rh3" variabletype="">sum</field> | |
<value name="VALUE"> | |
<block type="math_arithmetic" id=";[I]e)[n]g#G9gfvMw)Y"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="]Q!u9uo`3*{qex{GYNN/"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="A}%3Ku@^4JncrZvaTV,8"> | |
<field name="VAR" id="#LS1%xZN;r$VA$Dx[Rh3" variabletype="">sum</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Gb8vq%P3E38BIa18]{Re"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id="d$8=uon[_aur!b(p,|Lo"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="(ek5`FHj#?/Bo_p[X5~$"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="[mX{~.Flc~Lh)6A?H-Wa" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="ICreQPI0p-@]`IVJfa1f"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="lists_getIndex" id="IpIX9U;n8Yp[aK|5fs]k"> | |
<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="D#!~U0^HGCg2Q?G(rQ,r"> | |
<field name="VAR" id="TSb[v.0ODLDk(JV{Qq1r" variabletype="">tp</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="x2pxp3ip#g1ti9Y8:p#}"> | |
<field name="VAR" id="sopP9]I+2oa)nZOy~(,u" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="+]PDxLa^/D4Dm~ie=?M?"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="sma" id="KYMR[LySmnb]=^i!|MgG"> | |
<value name="INPUT"> | |
<block type="ohlc_values_in_list" id="#mSH{}QIbaS)JSYUuGbT"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="vynEp.nC_u#H6lqKZk,v"> | |
<field name="VAR" id=";3fx2ROHML-E`PZw{@r/" variabletype="">::candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="PERIOD"> | |
<shadow type="math_number" id=":km%iqM$+CB,vr%2-uat"> | |
<field name="NUM">10</field> | |
</shadow> | |
<block type="variables_get" id="+(.5*RTLQ9EDu}V|Qx0J"> | |
<field name="VAR" id="~G3U9$=)G;h_^LS0Q?p(" variabletype="">::period</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="RETURN"> | |
<block type="math_arithmetic" id="O-srK0`js|[n%JfT6!F{" inline="false" collapsed="true"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="@:kVapH$QWb?WT+QI1#J"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="(]0{*/Lp#@+Y2R_7CVB5"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="gU8(qqdef~9^]BZOZ~,_"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="lists_getIndex" id="}PPTTUy#ja46,d9tR-$y"> | |
<mutation statement="false" at="false"></mutation> | |
<field name="MODE">GET</field> | |
<field name="WHERE">LAST</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="g~AwaPUJb;[w).8KqyXr"> | |
<field name="VAR" id="TSb[v.0ODLDk(JV{Qq1r" variabletype="">tp</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="x-k`:Oo]X?A[Y7s2XL~g"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="sma" id="PL$2uqR6?ga-1+IAU/2B"> | |
<value name="INPUT"> | |
<block type="variables_get" id="8xygL0XG?0P5*F/gwJpD"> | |
<field name="VAR" id="TSb[v.0ODLDk(JV{Qq1r" variabletype="">tp</field> | |
</block> | |
</value> | |
<value name="PERIOD"> | |
<shadow type="math_number" id="mk-o`{!S:Vy8*~mOP3Fp"> | |
<field name="NUM">10</field> | |
</shadow> | |
<block type="variables_get" id="WIjWY%Q]uP(~z7X7I7kU"> | |
<field name="VAR" id="~G3U9$=)G;h_^LS0Q?p(" variabletype="">::period</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="WTai)fK`?tuf5o^2[y7t"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="L[n?qDbVGU|LgJ;!rD;L"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="{yS#MXGAxO`1qDe,f3_D"> | |
<field name="NUM">0.015</field> | |
</shadow> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="bue#E.U4Rgj|uSlRxFZU"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="aP}J`qy1{~mJ3Xl`r%zD"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="fTkV8{jE[en_4Yq02x[h"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="g9omhv-nL`-[0DYWA|gb"> | |
<field name="VAR" id="#LS1%xZN;r$VA$Dx[Rh3" variabletype="">sum</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="rf:j@yaR?p.7T9(q5Fzn"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="M+#4x]4fGk*tGl3rg8(l"> | |
<field name="VAR" id="~G3U9$=)G;h_^LS0Q?p(" variabletype="">::period</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</xml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment