-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathMULTYSITUATIONALE-UTILITIES-binary-bot.xml
More file actions
236 lines (236 loc) · 8.76 KB
/
Copy pathMULTYSITUATIONALE-UTILITIES-binary-bot.xml
File metadata and controls
236 lines (236 loc) · 8.76 KB
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
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
<block type="loader" id="9_~DnA9eqUuLp!aBETY8" x="0" y="6">
<field name="URL">https://gist.githubusercontent.com/donsajo/899b839b2709b971484dbc2386e6fd83/raw/1e226464a3610b19baf1754ba8e189fe363eb8dd/utilitymultisituations.xml</field>
</block>
<block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="52">
<field name="MARKET_LIST">volidx</field>
<field name="SUBMARKET_LIST">random_index</field>
<field name="SYMBOL_LIST">R_100</field>
<field name="TRADETYPECAT_LIST">callput</field>
<field name="TRADETYPE_LIST">risefall</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="procedures_callnoreturn" id="+/cyseoLy/Py{=,kdS72">
<mutation name="(1) Advanced Setup">
<arg name="_initStake"></arg>
<arg name="_martingale"></arg>
<arg name="_profitPerCycle"></arg>
<arg name="_maxProfit"></arg>
<arg name="_maxCycles"></arg>
<arg name="_maxLossInRow"></arg>
<arg name="_alternateOnWin"></arg>
<arg name="_alternateOnMaxLoss"></arg>
<arg name="_stopLoss"></arg>
<arg name="_sessionSize"></arg>
<arg name="_martingaleOnWin"></arg>
<arg name="_trendAnalyses"></arg>
<arg name="_sellMinProfit"></arg>
<arg name="_zigzag"></arg>
<arg name="_randonTime"></arg>
<arg name="_initialDuration"></arg>
<arg name="_sellAtMarket"></arg>
</mutation>
<value name="ARG0">
<block type="math_number" id="yB;FOPxs[@)@o??#3xUh">
<field name="NUM">0.35</field>
</block>
</value>
<value name="ARG1">
<block type="math_number" id="q,M%*8||Qn[ayH%7RN#b">
<field name="NUM">1</field>
</block>
</value>
<value name="ARG2">
<block type="math_number" id="i:#u5-O=p$LBvKZz0bt2">
<field name="NUM">0.31</field>
</block>
</value>
<value name="ARG3">
<block type="math_number" id="@f.LFdfKXav9t[+{_-MZ">
<field name="NUM">5</field>
</block>
</value>
<value name="ARG4">
<block type="math_number" id="gx8/nFVH-B*kKL1uVIh?">
<field name="NUM">10</field>
</block>
</value>
<value name="ARG5">
<block type="math_number" id="h99R0t7qg%`u@T=@H~$|">
<field name="NUM">3</field>
</block>
</value>
<value name="ARG6">
<block type="logic_boolean" id="=Xc#;|0nxGa4QZrQ^6_=">
<field name="BOOL">FALSE</field>
</block>
</value>
<value name="ARG7">
<block type="logic_boolean" id="dD:T2zIG-TL]8C9RQaL,">
<field name="BOOL">FALSE</field>
</block>
</value>
<value name="ARG8">
<block type="math_number" id="sFPhJlPd^V#NB-Vg!A@#">
<field name="NUM">-15</field>
</block>
</value>
<value name="ARG9">
<block type="math_number" id="fv5xl7#LCbj?yEc0yO2H">
<field name="NUM">3</field>
</block>
</value>
<value name="ARG10">
<block type="logic_boolean" id="`FJq2ln[:j98Z0BSJXST">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="ARG11">
<block type="logic_boolean" id="l_Y^^Ya#xB;NzMUy.9^$">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="ARG12">
<block type="math_number" id="!PJNYXN/x2s.fhNuO#FW">
<field name="NUM">0.15</field>
</block>
</value>
<value name="ARG13">
<block type="logic_boolean" id="$*W}ycZqyHDXmwpra3KJ">
<field name="BOOL">FALSE</field>
</block>
</value>
<value name="ARG14">
<block type="logic_boolean" id="!qEH:(rJ$!TcvaZ)azpk">
<field name="BOOL">FALSE</field>
</block>
</value>
<value name="ARG15">
<block type="math_number" id="iK)_BF6L=[$(OFBEQO;w">
<field name="NUM">15</field>
</block>
</value>
<value name="ARG16">
<block type="logic_boolean" id="%yW-`,faAZ_eG/`fUNl-">
<field name="BOOL">TRUE</field>
</block>
</value>
</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">5</field>
</shadow>
<block type="procedures_callreturn" id="cu3QEn=rNxbncM)KbFqJ">
<mutation name="Duration"></mutation>
</block>
</value>
<value name="AMOUNT">
<shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
<field name="NUM">1</field>
</shadow>
<block type="procedures_callreturn" id="DtHGc[MBUep$Z7qhK^$N">
<mutation name="Stake"></mutation>
</block>
</value>
</block>
</statement>
</block>
<block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="798">
<statement name="BEFOREPURCHASE_STACK">
<block type="controls_if" id="~@x`|@$h*Ci4F|0CS,-Q">
<mutation else="1"></mutation>
<value name="IF0">
<block type="procedures_callreturn" id="(Q_u!vsUo]YX$|.v]#R.">
<mutation name="(2) isUptrend"></mutation>
</block>
</value>
<statement name="DO0">
<block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
<field name="PURCHASE_LIST">CALL</field>
</block>
</statement>
<statement name="ELSE">
<block type="purchase" id="9^%g;U=slTdvnw*eo][+">
<field name="PURCHASE_LIST">PUT</field>
</block>
</statement>
</block>
</statement>
</block>
<block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="0" y="850">
<statement name="DURING_PURCHASE_STACK">
<block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
<value name="IF0">
<block type="procedures_callreturn" id="T3QzyM*~OV,}mCK~BS^{">
<mutation name="(3) sellAtMarket">
<arg name="_sellIsAvailable"></arg>
<arg name="_sellProfitLoss"></arg>
</mutation>
<value name="ARG0">
<block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
</value>
<value name="ARG1">
<block type="sell_price" id="+df|$(e0gV:C$s(D09ng"></block>
</value>
</block>
</value>
<statement name="DO0">
<block type="sell_at_market" id="vcPdjj;EO6@gx[lJ7rP="></block>
</statement>
</block>
</statement>
</block>
<block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="902">
<statement name="AFTERPURCHASE_STACK">
<block type="controls_if" id=",@2XA;BSMl[,lN7T2JZL">
<value name="IF0">
<block type="procedures_callreturn" id="mHAiw5J2xWIC.}G2js)(">
<mutation name="(4) Continue">
<arg name="_resultsWin"></arg>
<arg name="_contractProfit"></arg>
</mutation>
<value name="ARG0">
<block type="contract_check_result" id="SVM09hd~BpR*a(}qluhd">
<field name="CHECK_RESULT">win</field>
</block>
</value>
<value name="ARG1">
<block type="read_details" id="TPK+1|9n%h:eO$(,F@WB">
<field name="DETAIL_INDEX">4</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
</statement>
</block>
</statement>
</block>
<block type="tick_analysis" id="xU~TFbm,gUahnR,w3f=;" x="0" y="954">
<statement name="TICKANALYSIS_STACK">
<block type="procedures_callnoreturn" id="i`4jLArG/cK8_Ku|[zqr">
<mutation name="(5) Get Trend">
<arg name="_Input List"></arg>
<arg name="_Period"></arg>
</mutation>
<value name="ARG0">
<block type="ticks" id="a~L8kTL-zsw=-8TSN`o6"></block>
</value>
<value name="ARG1">
<block type="math_number" id="B[QB;+;4.!$W7~@|1)O3">
<field name="NUM">28</field>
</block>
</value>
</block>
</statement>
</block>
</xml>