Created
October 23, 2018 09:34
-
-
Save wilburforce83/a579a9d9667c93573ea8577d9ba4f9b9 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="vaO|)ZC:(NQ%Z2T%nw9l">_period</variable> | |
<variable type="" id=";^|U}-:bIK{qw#0aERKp">_candles</variable> | |
<variable type="" id="P~_99u`gU#330/-H|GiU">ATRarray</variable> | |
<variable type="" id="]^5Z?3[wtu=neB}3BRRs">i</variable> | |
</variables> | |
<block type="procedures_defreturn" id="3br_,cIHhC__LSO.z!UP" x="0" y="403"> | |
<mutation> | |
<arg name="_period" varid="vaO|)ZC:(NQ%Z2T%nw9l"></arg> | |
<arg name="_candles" varid=";^|U}-:bIK{qw#0aERKp"></arg> | |
</mutation> | |
<field name="NAME">getCHOP</field> | |
<comment pinned="false" h="80" w="160">Describe this function...</comment> | |
<statement name="STACK"> | |
<block type="variables_set" id="eui3Ffcz9+6Om2i]!AcN"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
<value name="VALUE"> | |
<block type="lists_create_with" id="j7wT=-n:Nq.Rn/:B,LL."> | |
<mutation items="0"></mutation> | |
</block> | |
</value> | |
<next> | |
<block type="controls_for" id="-H=E3LX),ZL^a~K1*Giz"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
<value name="FROM"> | |
<block type="math_number" id="RghAC.GFl#AU`BxCRs9z"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="variables_get" id="oSwUn7~;I:N21NY*%m!^"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="BY"> | |
<block type="math_number" id=",K;pztvIYl?:@3HdVY0}"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<statement name="DO"> | |
<block type="lists_setIndex" id="xQVo:cI.w-!729YFlL_5"> | |
<mutation at="false"></mutation> | |
<field name="MODE">INSERT</field> | |
<field name="WHERE">FIRST</field> | |
<value name="LIST"> | |
<block type="variables_get" id="vSoFCwCFliuTu][J!]E-"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_on_list" id="ud=;e3iG[rv+:qcu8#P_"> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_create_with" id="f~4S504vX-6qKIC=?ah5"> | |
<mutation items="3"></mutation> | |
<value name="ADD0"> | |
<block type="math_arithmetic" id="-u40H;0B;ro)||+h_n[l" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="q3v^6cW+}+o@)G)n*Td*"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="ZQAMtXM@w+*zjvCMPE_u"> | |
<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="_rW=DZH[b./)4+.A+[#/"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="Fb24GA=)8~wZq7/B3Y[|"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="lhRN[VlTeK2Cj?7vakaz"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="uh.;R|.F2OKZ.),lEX1c"> | |
<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="nb-!6HT$7#]1Ox?{S^h;"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="x0gp{$X`6YD:m0k0]UB6"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="math_single" id="p#;g?vFr)HmwdtIkICCo"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="zyZiN2vY2ETS|}4|6EV~" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="Q,`B5A:wucM*=B4ItdX-"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="/);EzsDe=!Vo:wO4PNeK"> | |
<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="YNfWZRbR?~92,=G)1tq}"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="g4Mc#;WrS[lz+R9on/sI"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="HQn1n}0SFrx7c^`6vp-y"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="nB/h+d1}Jr9@yy-,THBL"> | |
<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="Is2tJ,rd:/oxGPpXW_gE"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="gbN`Fwm;,8=pAOWc]EJr"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="rWnNNkt$hhKRVpk?D;2y"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="oF@;R{E##?6VgMM:kMXG"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="math_single" id="c}~xRjkC+0{XOr^*80i2"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="xrCb~$v1.7O1Ncn8:!xL" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="GN}umsG`Ul6m%Lhc8Qy7"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="P;J`bej_X{kiY]RWn3ES"> | |
<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="*bbDP(so%g/c44+9:FqK"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="5e1h8/he]+J?}kbK3{mh"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="kTrAw1)XmTGB3TRC+Nw3"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="}D1f;QkPbJur7g[frC/b"> | |
<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=")O5Uu#Q`kY)x!Qx1h:Lk"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="H_cqQ9hSS^I.?,UvwUYn"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="K^u(Vqbc/dy,#*);eP^8"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="2MVp8!BOWBIzljsQjDbw"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="RETURN"> | |
<block type="math_arithmetic" id="?n@X+4mj45~Qi,M,ryO["> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="JhFi;=yE=gBM6WF=+/#1"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="L]YD@:Z$=S:3}fkcO3yP"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id=")G#fLRu}A)M=YhFiHVm^" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Z0O?*p0=N?A,(F39Y@,:"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id=";6X/Z(cVwqR2.`2|^Upx"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="^!m@R~G#DN;W]l-+U5q-"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="N0uom6jl)1LyJMw.+x.d" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Ur-Y7YK?~Vq=%zb#tAe["> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="NR}l$3~9LLvgV6GY#_f9"> | |
<mutation op="SUM"></mutation> | |
<field name="OP">SUM</field> | |
<value name="LIST"> | |
<block type="variables_get" id="5R`(O)uz0bXR7GsC05P("> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="_~8sJgd$Muz0RceZZih;"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="WWOZ45pXG|C,!]{6b])i" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="tkv_3EA)v[4zssM!gq.g"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="4P[}G*%F^WMbVH$qD$P+"> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="Do-$[tHPCXBYCr^3Ux__" inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id="0NJ:j:|e1e-O~kkcnQY2"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="!Sh865{|-G#OpgS|Z5f%"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="variables_get" id="~?Hw)rQB-[rlO4|/vwiZ"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id="Kcci~=U%p*yK{TGxRMp_"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="fIgN;tjED([[(n)!q-D/"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="mai@jiI2q_kxmA_cUAX6"> | |
<mutation op="MIN"></mutation> | |
<field name="OP">MIN</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="EcfO;N163UyWfb`iv=|," inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id="RZU=9,y0rJ,4qDo3U|!-"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="(@xV=WB%:jJ;.^Ms}}g{"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="variables_get" id="?8`+A4W$Mu|ORFz$0]Fu"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id="yCv*Skl)si:J/uK[V//Z"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="?1RXmV;?^%VRou*Yiw.Q"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id="^[email protected]"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="W}PMn!?xlv1@Lb!KvY7L"> | |
<field name="NUM">14</field> | |
</shadow> | |
<block type="variables_get" id="k8%o_2.bBC+iwO3NB*cW"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
<block type="procedures_defreturn" id="ME,834ZB].`l^lSHPprF" x="0" y="1185"> | |
<mutation> | |
<arg name="_period" varid="vaO|)ZC:(NQ%Z2T%nw9l"></arg> | |
<arg name="_candles" varid=";^|U}-:bIK{qw#0aERKp"></arg> | |
</mutation> | |
<field name="NAME">getCHOP-3Hours-Ago</field> | |
<comment pinned="false" h="80" w="160">Describe this function...</comment> | |
<statement name="STACK"> | |
<block type="variables_set" id="u0*R+n$cMS1q`L-%F07r"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
<value name="VALUE"> | |
<block type="lists_create_with" id="dM7}ED^b94xs*H-g08^U"> | |
<mutation items="0"></mutation> | |
</block> | |
</value> | |
<next> | |
<block type="controls_for" id="g-H1FhAu9AQ~a{x?qdtl"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
<value name="FROM"> | |
<block type="math_number" id="Rs/dd@s_U#:1(E2C$xXh"> | |
<field name="NUM">4</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_arithmetic" id="Lpk$?yV-z/Ylqngalg?m"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="/62CU{kr`kKD!^s}T8c-"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id=":ksNwGloHLRVE_m`$Ilz"> | |
<field name="NUM">3</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="BY"> | |
<block type="math_number" id="HyliM4CZaNE@(r6B]Q.4"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<statement name="DO"> | |
<block type="lists_setIndex" id="Pu[RNH#nl{Hc`x8Hf4?`"> | |
<mutation at="false"></mutation> | |
<field name="MODE">INSERT</field> | |
<field name="WHERE">FIRST</field> | |
<value name="LIST"> | |
<block type="variables_get" id="+%n3n.J{NyC89,n%rL4i"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_on_list" id="w4XpJ)8j)mJ;l}|!x!WL"> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_create_with" id="__FKKw%w%?_4~N@b1NY0"> | |
<mutation items="3"></mutation> | |
<value name="ADD0"> | |
<block type="math_arithmetic" id=":0iv?}9(7^NG[tO-R2#}" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="*3X.`W)UN%B/q52@e1[Z"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="mj?p$@w~RWN~hOlQQ6LM"> | |
<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="$LTu7VfzJn4.EkVgpC1M"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="%sNm?6QmP(}YYlSO}u1i"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="hhBfmHgZ7)2,bUH3y-A+"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="19;#4)e%p:T9|#()rG0f"> | |
<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="W`$jzU._DNJb?=!cpe.$"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="t)EZz+WzyBNuQvY^s6se"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="math_single" id="(!iR(V~Cd6wg**py+y#."> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="F5,uCr?YR5eZI`sF9(vV" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="|7Q2e[cR!QW8H+{:o7OE"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="6o$5~n/obAX@-%Y+;GoA"> | |
<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="Lj~ML^D$SI{Aw=b))ALU"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="d0@}50K!I]qh[yswV@Mg"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="_V[1Nkr_dh*v^~N#QG7="> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="[(AjF;-hKzAaz,C+X(`e"> | |
<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="8HLzOwGex)X`ka8Z!*]g"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="8qMf|Cj}R^@F@0@qho!S"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="pOw#uuQ0F^FlmlMrFXE)"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="ggGh~podRR-yN9sUuXvn"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="math_single" id="k}nW+1v`0-sy@l56lLwP"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="HJV!4#{oq/dUk%`Zx;5?" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="70qBu]!V(H;lAnp8H;Q("> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="GkT7C(Mr7k[rd0tImF=n"> | |
<mutation statement="false" at="true"></mutation> | |
<field name="MODE">GET</field> | |
<field name="WHERE">FROM_END</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="}0BpN6aAsDeIrF!kF_3k"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="zJ8w*,fqvG(n.WNBaLG,"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="Gp1[T)fLkO3hW9-i{]{e"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="d6vVOOB8t9C-HA+^7%Yg"> | |
<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="GB=@j6YF}@MSvt#qU[Eh"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="$+CNb)udR,1hWauF.|62"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="+,c|5:_^x#A_i4)K08$n"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="83aUL+h1oWFfnX$9wx:E"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="RETURN"> | |
<block type="math_arithmetic" id="q3Q1rS5R:}tJC69=~Egt"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="A*^vtH9CK*aaUsLk#TBD"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="L]YD@:Z$=S:3}fkcO3yP"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="O!llCG44%SE|LP@Ok8+g" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Z0O?*p0=N?A,(F39Y@,:"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id="{$j#jF6PHr4%9Rbyse3;"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="^!m@R~G#DN;W]l-+U5q-"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="KGHs7_Bi[,bfPPrp;iz5" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Ur-Y7YK?~Vq=%zb#tAe["> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="r_+0(MI9+;4DD2K!k^z/"> | |
<mutation op="SUM"></mutation> | |
<field name="OP">SUM</field> | |
<value name="LIST"> | |
<block type="variables_get" id="xqkd!.bO6ff?)R!9etg)"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="_~8sJgd$Muz0RceZZih;"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="9nC2KJ.WaDi=2=EN/drh" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="tkv_3EA)v[4zssM!gq.g"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="A$ym/q5^],{8IhPdX`]K"> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="CJ:Fl4(#CO~yBP.(.tb8" inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id="^aE((q6|/zD/B!|mMBi5"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="clolad;AR(w@jg`@~|8V"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="math_arithmetic" id="Buw%aa_}w?o/erZ8rs]q"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id=":-0X-;9l3P@gN:EuzaL4"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="I:bdjB=003OZXzKGbo:Z"> | |
<field name="NUM">3</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id="YaaAxt4^5)UVg;T@d@c."> | |
<field name="NUM">4</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="fIgN;tjED([[(n)!q-D/"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="q`ZF`^m|R^DI+9A{r?To"> | |
<mutation op="MIN"></mutation> | |
<field name="OP">MIN</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="YKdv]X-QE0t(vGzcFK2M" inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id="R{y`e@VG@xTOkWgs)R3~"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="x/dkME?a[Hc)9KZf3a7l"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="math_arithmetic" id="dal@6mVt,6h}Z~h#|`bg"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="]UFe,-i6YdA(.asUr3b."> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="iF4Fd#L++k8nSez7.cy|"> | |
<field name="NUM">3</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id=")6XmSgi2diBMRuMW:-%r"> | |
<field name="NUM">4</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="?1RXmV;?^%VRou*Yiw.Q"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id="vKOKAyWH%|5L8$2%/qj!"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="W}PMn!?xlv1@Lb!KvY7L"> | |
<field name="NUM">14</field> | |
</shadow> | |
<block type="variables_get" id="~~J;oe@i_O(t*AyoqWL~"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
<block type="procedures_defreturn" id="x5%:w;Vswd.vw:Elmut+" x="0" y="2003"> | |
<mutation> | |
<arg name="_period" varid="vaO|)ZC:(NQ%Z2T%nw9l"></arg> | |
<arg name="_candles" varid=";^|U}-:bIK{qw#0aERKp"></arg> | |
</mutation> | |
<field name="NAME">getCHOP-6-Hours-Ago</field> | |
<comment pinned="false" h="80" w="160">Describe this function...</comment> | |
<statement name="STACK"> | |
<block type="variables_set" id="]0d7Kzc9nu=gO@XgZCT1"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
<value name="VALUE"> | |
<block type="lists_create_with" id="ZnpM=%.R=J4UTwfG5L#I"> | |
<mutation items="0"></mutation> | |
</block> | |
</value> | |
<next> | |
<block type="controls_for" id="nb!6/l.ZQg|K2.2pY8}3"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
<value name="FROM"> | |
<block type="math_number" id="HFcVAzY!UZz0-LCWu~kC"> | |
<field name="NUM">7</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_arithmetic" id="z*Qd-NNq~Lul4N;!++;@"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="3q6sg66EQW{(b~$3wTS%"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="6nH|iNC%;Ka_wx5`@^F$"> | |
<field name="NUM">6</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="BY"> | |
<block type="math_number" id="1WZ1ek7D4,xOW?xD*8@M"> | |
<field name="NUM">1</field> | |
</block> | |
</value> | |
<statement name="DO"> | |
<block type="lists_setIndex" id="^L#$_5W4+htAjBCVJ}AU"> | |
<mutation at="false"></mutation> | |
<field name="MODE">INSERT</field> | |
<field name="WHERE">FIRST</field> | |
<value name="LIST"> | |
<block type="variables_get" id="4`RznT-vs%8]*TAN3%nC"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
<value name="TO"> | |
<block type="math_on_list" id="C86t/cnlzwI*Rd!Ru2tY"> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_create_with" id="^w5%{7kz)UY9]Ot=cqO3"> | |
<mutation items="3"></mutation> | |
<value name="ADD0"> | |
<block type="math_arithmetic" id="Z6GK8[W1}7B+RqmzJE5T" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="S@_q#s-jUV{!?661b[Zt"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="AjGcQ7(Wb-Q1ZD3B,Kbm"> | |
<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="pxg=3{*]H7hH}TOKm[Dd"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="!^Jf:bK.nt?ysHk!AKco"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="zB)XqA`u8xO{Etffc`AU"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="arJ9Sy[W:9#4R7oHrDy!"> | |
<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="t25)m[s.Er~zY%qhd/CK"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="vagv1H{ibP@}l$^W/f;s"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD1"> | |
<block type="math_single" id="v4r@D7F,:}.?RbD6AFW-"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="8D9USzc]cqV^}+aVVK:_" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="C)Bp[[^t94Q]MVoC*NRW"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="L!lkQG-lRQ{+s+Q,!+,P"> | |
<mutation statement="false" at="true"></mutation> | |
<field name="MODE">GET</field> | |
<field name="WHERE">FROM_END</field> | |
<value name="VALUE"> | |
<block type="variables_get" id="cy)(v}`4D19;ZNL5(AuX"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="((^q5*4cu|,Z2_/mL;5k"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="KsFgfU=Wdf)z?~USk{[s"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="B;_%k[P:,1b2fs+zQTk^"> | |
<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="UliT7.}_/ggr}y9R~5d)"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="^fU#W](!t},c]8#FeHYA"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="HjJnj8a}CS.9@T@!U8mb"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="VaFj?80RdJsNjdt8i{e{"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="ADD2"> | |
<block type="math_single" id="D/g{Bs#}w!:*tEQ_USSQ"> | |
<field name="OP">ABS</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="n[NGG3z4EF(_9L-Q/qLh"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id=",(X]88=BR=SM2j7cg=6L" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="lh|sLq6o0QmJr#``xiC)"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="hHZ$_*m6$+t=(+4U`U(["> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="*W]^]HB#[eLtuZjx||+g"> | |
<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="]Q[)j4`gW;x]7Fb[fX`!"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="variables_get" id="bI!iYHt*w3,)7,3#`Tpv"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="Z9HZ=0l%4Dkz%^4bL3Lf"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="read_ohlc_obj" id="d4zCN{kkpGmq(2Yvh/5q"> | |
<field name="OHLCFIELD_LIST">close</field> | |
<value name="OHLCOBJ"> | |
<block type="lists_getIndex" id="qG7NYK+7[Tk_$Y(%=BkO"> | |
<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="RTBzg:?7*PP8vYnX8gww"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
<value name="AT"> | |
<block type="math_arithmetic" id="~w}md19[gNbctrjM7~wm"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="fD_`6UdhZ}*TKgVDkVA-"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="r5v8^};c=*4gbs8hE+nr"> | |
<field name="VAR" id="]^5Z?3[wtu=neB}3BRRs" variabletype="">i</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="VpKzCf=Uj47}#%;:}y|@"> | |
<field name="NUM">1</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</statement> | |
</block> | |
</next> | |
</block> | |
</statement> | |
<value name="RETURN"> | |
<block type="math_arithmetic" id="$dP:=y|P.lna?:1PRdN3"> | |
<field name="OP">MULTIPLY</field> | |
<value name="A"> | |
<shadow type="math_number" id="*:n{zM@GUYR1k__R,tdN"> | |
<field name="NUM">100</field> | |
</shadow> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="L]YD@:Z$=S:3}fkcO3yP"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="8.uJ`p{N%~|M(!aZgP+r" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Z0O?*p0=N?A,(F39Y@,:"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id=";yt5vu1Z}+bn~P^snTB!"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="^!m@R~G#DN;W]l-+U5q-"> | |
<field name="NUM">9</field> | |
</shadow> | |
<block type="math_arithmetic" id="i}lt}U:/URZ5rzWTueQT" inline="false"> | |
<field name="OP">DIVIDE</field> | |
<value name="A"> | |
<shadow type="math_number" id="Ur-Y7YK?~Vq=%zb#tAe["> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="9[kXs#up]h_.r/sxu[ZL"> | |
<mutation op="SUM"></mutation> | |
<field name="OP">SUM</field> | |
<value name="LIST"> | |
<block type="variables_get" id="!/uj#NQOF@0Q#4QU#$kt"> | |
<field name="VAR" id="P~_99u`gU#330/-H|GiU" variabletype="">ATRarray</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="_~8sJgd$Muz0RceZZih;"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_arithmetic" id="*Uw:Ox6]]NL-8CF{L$1$" inline="false"> | |
<field name="OP">MINUS</field> | |
<value name="A"> | |
<shadow type="math_number" id="tkv_3EA)v[4zssM!gq.g"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="1h$ZTf)]v3Ls32JPxeI="> | |
<mutation op="MAX"></mutation> | |
<field name="OP">MAX</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="F#B7GwS(`H~u@h*Lexb]" inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id="M9:)|FgS{RAMq$^xA1uU"> | |
<field name="OHLCFIELD_LIST">high</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="T?:74h|%8]!jAV+Jk=GW"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="math_arithmetic" id="bQK4gxz!N+6%0phSlIy4"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="0m2|OWU-fjtV{V);Tf$0"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="_WZ;V3C@~[HzSc1Ou6$b"> | |
<field name="NUM">6</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id="[.6!){guE3_Bx,2(rEOx"> | |
<field name="NUM">7</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="fIgN;tjED([[(n)!q-D/"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_on_list" id="TI4PE7jrC|yE]g`qsxPn"> | |
<mutation op="MIN"></mutation> | |
<field name="OP">MIN</field> | |
<value name="LIST"> | |
<block type="lists_getSublist" id="e|7!7PlnMGc,rqQgTpn:" inline="false"> | |
<mutation at1="true" at2="true"></mutation> | |
<field name="WHERE1">FROM_END</field> | |
<field name="WHERE2">FROM_END</field> | |
<value name="LIST"> | |
<block type="ohlc_values_in_list" id=".5Vg[4AEI^{;eT=-B^Jj"> | |
<field name="OHLCFIELD_LIST">low</field> | |
<value name="OHLCLIST"> | |
<block type="variables_get" id="Zh+i]eiiv5Z([MxLa_(q"> | |
<field name="VAR" id=";^|U}-:bIK{qw#0aERKp" variabletype="">_candles</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="AT1"> | |
<block type="math_arithmetic" id="8SKu+d)J6QY@I?tIyG2u"> | |
<field name="OP">ADD</field> | |
<value name="A"> | |
<shadow type="math_number" id="NbY*P*wDoEfMpv-Hpvkw"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="variables_get" id="f[^EfLERCZ8n7{vf2fz1"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" variabletype="">_period</field> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="6~|b{?DbH=_Rj7z~#3tk"> | |
<field name="NUM">6</field> | |
</shadow> | |
</value> | |
</block> | |
</value> | |
<value name="AT2"> | |
<block type="math_number" id="!N5E,x/QRU+D5)/Z~*-J"> | |
<field name="NUM">7</field> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
</block> | |
</value> | |
<value name="B"> | |
<shadow type="math_number" id="?1RXmV;?^%VRou*Yiw.Q"> | |
<field name="NUM">1</field> | |
</shadow> | |
<block type="math_single" id="*F@C72kAX`JiHJ=Jorz-"> | |
<field name="OP">LOG10</field> | |
<value name="NUM"> | |
<shadow type="math_number" id="W}PMn!?xlv1@Lb!KvY7L"> | |
<field name="NUM">14</field> | |
</shadow> | |
<block type="variables_get" id="[hNFge#n_gN1PMIn[M8d"> | |
<field name="VAR" id="vaO|)ZC:(NQ%Z2T%nw9l" 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