forked from alanvito1/ORSTAC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBOT - 0016 - 5 BOT BARREIRAS 2 CALL.xml
156 lines (156 loc) · 6.49 KB
/
BOT - 0016 - 5 BOT BARREIRAS 2 CALL.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
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
<variables>
<variable type="" id="Or^h!9Y-2d^PCguLgbtn">Entrada inicial</variable>
<variable type="" id="K%b2]ZDRCL`n,U)-$JXQ">Ultimo numero</variable>
<variable type="" id="(o4=zRYm?M$Q:|7~ro1W">Numero previsto</variable>
</variables>
<block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-31" y="-73">
<field name="MARKET_LIST">synthetic_index</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">higherlower</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="Ec}OJi7f:HqQpw*tL}b(">
<field name="VAR" id="Or^h!9Y-2d^PCguLgbtn" variabletype="">Entrada inicial</field>
<value name="VALUE">
<block type="math_number" id="[email protected],1w[@27K3[+">
<field name="NUM">1</field>
</block>
</value>
<next>
<block type="variables_set" id="f,agS#`NOOfgo-zfwv;6">
<field name="VAR" id="K%b2]ZDRCL`n,U)-$JXQ" variabletype="">Ultimo numero</field>
<next>
<block type="variables_set" id=";Mk;GK!ofi6HPSw-oN1?">
<field name="VAR" id="(o4=zRYm?M$Q:|7~ro1W" variabletype="">Numero previsto</field>
<value name="VALUE">
<block type="math_number" id="hjK?Ok|T?P!@.,loU~g0">
<field name="NUM">1</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="Kt0Z[ceJLgQ)`4/U|:K_">
<field name="NUM">10</field>
</shadow>
</value>
<value name="AMOUNT">
<shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
<field name="NUM">0.35</field>
</shadow>
<block type="variables_get" id="pQBb^`X$L^(/GU3]h6Y`">
<field name="VAR" id="Or^h!9Y-2d^PCguLgbtn" variabletype="">Entrada inicial</field>
</block>
</value>
<value name="BARRIEROFFSET">
<shadow type="math_number" id="rrryu8^~,r*$=lc;b9kn">
<field name="NUM">0.9</field>
</shadow>
</value>
</block>
</statement>
</block>
<block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="683" y="-62">
<statement name="BEFOREPURCHASE_STACK">
<block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
<field name="PURCHASE_LIST">CALL</field>
</block>
</statement>
</block>
<block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="685" y="32">
<statement name="DURING_PURCHASE_STACK">
<block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
<value name="IF0">
<block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
</value>
</block>
</statement>
</block>
<block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="-26" y="451">
<statement name="AFTERPURCHASE_STACK">
<block type="controls_if" id="N-3j{bNvHH4Fa,XBz-.r">
<mutation else="1"></mutation>
<value name="IF0">
<block type="contract_check_result" id="v.LIDxA*g}Giee5BT,`7">
<field name="CHECK_RESULT">win</field>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="5B@k0_Ts?8u:9-ITyNW6">
<field name="VAR" id="Or^h!9Y-2d^PCguLgbtn" variabletype="">Entrada inicial</field>
<value name="VALUE">
<block type="math_number" id="/9/lfhR=gYx$8;y:_V(*">
<field name="NUM">17</field>
</block>
</value>
<next>
<block type="trade_again" id="5D%{sChn[i.iYSO:vhWt"></block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="controls_if" id="I8qD4B3A]3n%oKm,_;lC">
<value name="IF0">
<block type="contract_check_result" id="kEjLE}dN@]P8XY*S2+)v">
<field name="CHECK_RESULT">loss</field>
</block>
</value>
<statement name="DO0">
<block type="math_change" id="}9~9S`y$AAJ2H5#9/[ut">
<field name="VAR" id="Or^h!9Y-2d^PCguLgbtn" variabletype="">Entrada inicial</field>
<value name="DELTA">
<shadow type="math_number" id="gHN13|E1OHhR(SU*9=Qj">
<field name="NUM">1</field>
</shadow>
<block type="math_arithmetic" id="+|)Bg#*dJiRQ]r!SOgf;" inline="false">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow type="math_number" id="22yhTU!Poz%@e[2nyo-T">
<field name="NUM">1</field>
</shadow>
<block type="math_single" id="p,B`-rC#DvUiB}z;GoXT">
<field name="OP">ABS</field>
<value name="NUM">
<shadow type="math_number" id="oNeSY=i-E~D-%9:v;~]=">
<field name="NUM">9</field>
</shadow>
<block type="read_details" id="I6/{:w-EZa3RKiHuUk}L">
<field name="DETAIL_INDEX">4</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="yxN{=g:,E^flFjy|d1aR">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="trade_again" id="[$b-_o-]O=e_Rt?Tg8[x"></block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</xml>