12479852880
5
0
0
96259418295592794
6
0
7
initialising variables
0
0.0
1
1
32
0
0
2
stop_loss
max_loss*IF(test_mode=1, test_funds, total_funds)/100
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0
32
0
0
2
stop_profit
target_profit*IF(test_mode=1, test_funds, total_funds)/100
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0
32
-1
0
2
current_loss
0
0
0
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
32
0
0
2
bet_cntr
0
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0
12479852880
2
0
0
94436027307498027
4
0
2
Stop loss time before off
0
0.00
1
1
13
0
0
2
-1
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
11
0
0
2
-1
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
2
0
0
94436027307498028
4
0
2
green up
0
0.00
1
1
11
0
0
2
greenup_perc
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
2
0
0
94436027307498029
4
0
2
stop loss
0
0.00
1
1
13
0
0
2
sl_perc
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
1
0
0
96259418295592905
6
0
6
at the end of the event
0
0.0
1
1
32
0
0
2
bet_cntr
0
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0
12479852880
1
0
0
94436027307498030
6
0
6
Modifying current_loss
0
0.00
1
1
32
-1
0
2
current_loss
IF(current_loss - market_settled_pl > 0.05, current_loss - market_settled_pl, 0)
0
0
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
3
0
0
94436027307498033
1
0
7
calculating the fraction of RSI
0
15.00
1
1
32
-1
0
2
RS_divisor1
IF(pdif_1<0,-1*pdif_1,0)+IF(pdif_2-pdif_1<0,pdif_1-pdif_2,0)+ IF(pdif_3-pdif_2<0,pdif_2-pdif_3,0)+ IF(pdif_4-pdif_3<0,pdif_3-pdif_4,0)+ IF(pdif_5-pdif_4<0,pdif_4-pdif_5,0)+ IF(pdif_6-pdif_5<0,pdif_5-pdif_6,0)+ IF(pdif_7-pdif_6<0,pdif_6-pdif_7,0)
0
1
1
0
0
1
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
3
0
0
94436027307498034
1
0
7
calculating second RSI divisor
0
15.00
1
1
32
-1
0
2
RS_divisor2
1+(IF(pdif_1>0,pdif_1,0)+IF(pdif_2-pdif_1>0,pdif_2-pdif_1,0)+ IF(pdif_3-pdif_2>0,pdif_3-pdif_2,0)+ IF(pdif_4-pdif_3>0,pdif_4-pdif_3,0)+ IF(pdif_5-pdif_4>0,pdif_5-pdif_4,0)+ IF(pdif_6-pdif_5>0,pdif_6-pdif_5,0)+ IF(pdif_7-pdif_6>0,pdif_7-pdif_6,0))/RS_divisor1
0
1
1
0
0
1
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
3
0
0
94436027307498035
1
0
2
Calculating RSI
0
15.00
1
1
32
-1
0
2
RSI
100-100*1/RS_divisor2
0
1
1
0
0
1
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
12479852880
1
0
0
94436027307498031
1
0
2
Back high RSI
0
0.00
1
1
0
0
0
2
r_ticks(back_price,-offset_tcks)
bet_size*IF(test_mode=1, test_funds, total_funds)/100 + current_loss/((1-commission)*(back_price-1))
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
32
0
0
2
bet_cntr
1
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0
12479852880
1
0
0
94436027307498032
1
0
2
Lay low RSI
0
0.00
1
1
1
0
0
2
r_ticks(lay_price,offset_tcks)
bet_size*IF(test_mode=1, test_funds, total_funds)/100+current_loss/(1-commission)
0
1
1
0
0
0
0
0
1
0
0
0
0.01
10000000
1.01
1000
0
32
0
0
2
bet_cntr
1
0
0
1
1
0
0
0
0
0
0
0
0
0.01
10000000
1.01
1000
0