Buonasera,
avrei bisogno di codificare la seguente condizione:
tf 15 minuti.
IF high delle 17.45 > high delle 17.30 then
da quel momento e per le barre successive si possono attivare le mie condizioni……
in più deve fare una operazione soltanto.
aiuto Grazie mille
max
Provalo :
Once TradeON = 1
Once Cond = 0
If IntraDayBarIndex = 0 then
Once TradeON = 1
Cond = 0
Endif
If OpenTime = 173000 then
If High < high[1] then
Cond = 1
Endif
Endif
If Cond and Not OnMarket and TradeON then
Buy/Sellshort 1 contract at Market
TradeON = 0
Endif