1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEFPARAM CumulateOrders = false
Defparam Flatbefore = 070000
Defparam Flatafter = 220000
ONCE M = 193.0
MHull = average [ M ,7 ] (close )
Bullish = MHull > MHull[ 1 ] and MHULL[ 1 ] < MHULL[ 2 ]
Bearish = MHull < MHull[ 1 ] and MHULL[ 1 ] > MHULL[ 2 ]
MyAdx= Adx [ 14 ] >= 25
Ind = CALL "PRC_Adaptive-ATR-ADX-Trend-V2" [ 21 , 3.5000000000000004 , 1.7500000000000002 , 14 , 30 , 0 , 1 ] (close )
IF close crosses over Ind and MyAdx and Bullish then
buy 1 contract at market
elsif close crosses under Ind and MyAdx and Bearish then
sellshort 1 contract at market
endif
set stop ploss 40
set target pprofit 10
Buongiorno a tutti, ciao Roberto
dopo averla messa live, tempo 10 secondi,
il sistema risponde con STRATEGIA FALLITA
motivo dell’interruzione: server.strategy.probacktest.error.missing_data.call
Mi aiuti per favore… grazie