Buongiorno
Vorrei sapere se é possibile avere Stop Loss e Target differenti tra posizioni Long E posizioni Short
Grazie
Si, è possibile, è sufficiente per definire variabili con valori diversi a seconda delle condizioni di voci che sono state testate. Ad esempio:
//Posizioni Long
if longcondition then
stoploss = 10
takeprofit = 20
elsif shortcondition then
stoploss = 15
takeprofit = 22
endif
set target pprofit takeprofit
set stop ploss stoploss
Diteci se voi e il lavoro si adatta nella vostra strategia di trading. Grazie.