Ci devi aggiungere il tuo indicatore.
defParam cumulateOrders = false
startHour = 143000
endHour = 163000
cTime = (time >= startHour and time <= endHour)
if openTime = 000000 then
myHighest = high
myLowest = low
endif
if openTime >= 010000 and openTime <=143000 then
myHighest = max (myHighest,high)
myLowest = min (myLowest,low)
endif
//————————————————————-
if not onMarket and cTime and low < myLowest then
buy 1 contract at market
endif
if not onMarket and cTime and high > myHighest then
sellShort 1 contract at market
endif
set stop %loss 1
set target %profit 1