forked from toptraderke/freetradingbots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
odd even.xml
242 lines (242 loc) · 9.89 KB
/
odd even.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
<variables>
<variable type="" id="d*Xs0XxB.g9IS(s/7Uo(">buymode</variable>
<variable type="" id="/_wANg-@3LwCams(mM:8">stake</variable>
<variable type="" id="]O.omd!Iq4H@$}.-]mv5">initial stake</variable>
<variable type="" id="r2e=8=P7)DFSOZwP_xPT">counter</variable>
</variables>
<block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="86" y="-66">
<field name="MARKET_LIST">synthetic_index</field>
<field name="SUBMARKET_LIST">random_daily</field>
<field name="SYMBOL_LIST">RDBEAR</field>
<field name="TRADETYPECAT_LIST">digits</field>
<field name="TRADETYPE_LIST">evenodd</field>
<field name="TYPE_LIST">both</field>
<field name="CANDLEINTERVAL_LIST">60</field>
<field name="TIME_MACHINE_ENABLED">FALSE</field>
<field name="RESTARTONERROR">TRUE</field>
<statement name="INITIALIZATION">
<block type="variables_set" id="y(CvmLl|CiDbF4z+5T7]">
<field name="VAR" id="d*Xs0XxB.g9IS(s/7Uo(" variabletype="">buymode</field>
<value name="VALUE">
<block type="logic_boolean" id="{[;V9^ubbT`xg,-W_XIz">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="2|X@GJp%DEQ?hvmzQs3$">
<field name="VAR" id="]O.omd!Iq4H@$}.-]mv5" variabletype="">initial stake</field>
<value name="VALUE">
<block type="math_number" id="`UmQUc/CD}jaw|4Z_P@R">
<field name="NUM">1</field>
</block>
</value>
<next>
<block type="variables_set" id="6eWI/7(-V36,kyw,-Zz2">
<field name="VAR" id="/_wANg-@3LwCams(mM:8" variabletype="">stake</field>
<value name="VALUE">
<block type="variables_get" id="]=nh;6n{$f:ab5bF4V`_">
<field name="VAR" id="]O.omd!Iq4H@$}.-]mv5" variabletype="">initial stake</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">t</field>
<field name="CURRENCY_LIST">USD</field>
<field name="BARRIEROFFSETTYPE_LIST">+</field>
<field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
<value name="DURATION">
<shadow type="math_number" id="aVobso]zc-3(T/LYm8xz">
<field name="NUM">1</field>
</shadow>
</value>
<value name="AMOUNT">
<shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="G-@Fp^yOWkx_(yX#zZdg">
<field name="VAR" id="/_wANg-@3LwCams(mM:8" variabletype="">stake</field>
</block>
</value>
</block>
</statement>
</block>
<block type="tick_analysis" id="flrgUy2Z`oQcv}Qsw*|z" x="493" y="432">
<statement name="TICKANALYSIS_STACK">
<block type="controls_if" id="%xRu-|8)ZkR`c9r[~=zv">
<mutation else="1"></mutation>
<value name="IF0">
<block type="math_number_property" id="6J:{y7(nLK9eQW/T]li(">
<mutation divisor_input="false"></mutation>
<field name="PROPERTY">ODD</field>
<value name="NUMBER_TO_CHECK">
<shadow type="math_number" id="6)R-Zcj)z9?3.^iKP;wL">
<field name="NUM">0</field>
</shadow>
<block type="tick" id="r)7;s0a~Q.wBojXjXs}?"></block>
</value>
</block>
</value>
<statement name="DO0">
<block type="math_change" id="Z3%RpcB~z4G%1wh1ey-Q">
<field name="VAR" id="r2e=8=P7)DFSOZwP_xPT" variabletype="">counter</field>
<value name="DELTA">
<shadow type="math_number" id="9jCNP{uuAd}#WDk^jb0E">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="PUMscGks1HFplvK.9f]~">
<field name="VAR" id="r2e=8=P7)DFSOZwP_xPT" variabletype="">counter</field>
<value name="VALUE">
<block type="math_number" id="v]1/R7B6tcN=@BR|*$0u">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="notify" id="GBsVAn[Bjm[mYkHc8A]Q">
<field name="NOTIFICATION_TYPE">success</field>
<field name="NOTIFICATION_SOUND">silent</field>
<value name="MESSAGE">
<shadow type="text" id="?z31WH:5uZ*AAB.(`@Sz">
<field name="TEXT">nope</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="r=baF@z:ms=i^V^#~oM+">
<value name="IF0">
<block type="logic_compare" id="pccw3,hVl;:tCVKOe{YS">
<field name="OP">GTE</field>
<value name="A">
<block type="variables_get" id="F::Y`2(9uyur]{,^0v{+">
<field name="VAR" id="r2e=8=P7)DFSOZwP_xPT" variabletype="">counter</field>
</block>
</value>
<value name="B">
<block type="math_number" id="L2Mit}5q338O/#vf3V*:">
<field name="NUM">5</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id=";P9*$O;;y21gZlo49TJN">
<field name="VAR" id="r2e=8=P7)DFSOZwP_xPT" variabletype="">counter</field>
<value name="VALUE">
<block type="math_number" id="f])y_dMX97Y/=szy6/=J">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="oq7agx%vI05V{!uZgbgG">
<field name="VAR" id="d*Xs0XxB.g9IS(s/7Uo(" variabletype="">buymode</field>
<value name="VALUE">
<block type="logic_boolean" id=":zrx7jD4!v`%O)*3.%/J">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
<block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="13" y="479">
<statement name="BEFOREPURCHASE_STACK">
<block type="controls_if" id="#mgZ.`9-9d1:(2,k_7Ug">
<value name="IF0">
<block type="logic_compare" id="BxymB3p?A^C-M[9Fa-%!">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="gUUaC5bK)3}S4z[iT?.;">
<field name="VAR" id="d*Xs0XxB.g9IS(s/7Uo(" variabletype="">buymode</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="5PK[{ZIP]j_%n0n!553W">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="cve^9q(oMFZxCwB=*2mF">
<field name="VAR" id="d*Xs0XxB.g9IS(s/7Uo(" variabletype="">buymode</field>
<value name="VALUE">
<block type="logic_boolean" id="4_yE;Ql0)71$]Cqu])%A">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
<field name="PURCHASE_LIST">DIGITEVEN</field>
</block>
</next>
</block>
</statement>
</block>
<block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="20" y="721">
<statement name="AFTERPURCHASE_STACK">
<block type="controls_if" id="HkL+S*XLA.`PPw0B_CnS">
<mutation else="1"></mutation>
<value name="IF0">
<block type="contract_check_result" id="w(j|vQMSD]qPMePTu-ak">
<field name="CHECK_RESULT">win</field>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="hd/Dv$1vGiSj2uD9g]sz">
<field name="VAR" id="/_wANg-@3LwCams(mM:8" variabletype="">stake</field>
<value name="VALUE">
<block type="variables_get" id="nUFt;u/NLPG[{rnv@y/s">
<field name="VAR" id="]O.omd!Iq4H@$}.-]mv5" variabletype="">initial stake</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="procedures_callnoreturn" id="J]|?Gt2,404Vw}3J+id:">
<mutation name="wtf is zigzagmode"></mutation>
</block>
</statement>
<next>
<block type="trade_again" id="Ki@wyEmTBvV47WnbruTT"></block>
</next>
</block>
</statement>
</block>
<block type="procedures_defnoreturn" id="^OK+t+]CS#b#MjI!`W5F" x="473" y="802">
<field name="NAME">wtf is zigzagmode</field>
<comment pinned="false" h="80" w="160">Describe this function...</comment>
<statement name="STACK">
<block type="math_change" id="}K}Sg-DXIzl!!nOv3J+j">
<field name="VAR" id="/_wANg-@3LwCams(mM:8" variabletype="">stake</field>
<value name="DELTA">
<shadow type="math_number" id="84^K;+T@BC}r1AOu}EnX">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="yZd?Zml#K1AB+!k5]~U=">
<field name="VAR" id="/_wANg-@3LwCams(mM:8" variabletype="">stake</field>
</block>
</value>
</block>
</statement>
</block>
</xml>