NTICK =0.0050
N2TICK = 0.0050
//Long entry
if Close > Open and (High-Low) THEN
buy 1 shares at Close + Ntick stop
endif
//Short entry
if Close < Open and (High-Low) THEN
sellshort 1 shares at Close – Ntick stop
endif
Set Stop Loss 0.0050//as insurance
Set Target profit 0.0030//target
// Stop e target: Inserisci qui i tuoi stop di protezione e profit target
Aggiungi queste righe all’inizio:
If OnMarket then
Sell at market
Exitshort at market
Endif
Grazie Roberto dopo lo provo . Una cortesia c’è una sezione del forum dove se uno vuole realizzare una sua idea qualcuno gliela codifica a pagamento?