non prendetemi in giro per sto squallore di codice . Lo so da solo che non so programmare
// prova sistema
if time=090000 and not onmarket then
buy 1 contract at market
endif
if time= 100000 and onmarket then
sell 1 contract at market
endif
Ntick =1
N2TICK =1
//Long entry
IF close < (OPEN) then
buy 1 shares at HIGH – Ntick stop
endif
//Short entry
if close >(OPEN) then
sellshort 1 shares at LOW + Ntick stop
endif
IF LONGONMARKET and (BarIndex – TradeIndex)=3then
endif
Set Stop Loss 30//as insurance
Set Target profit 150