Hello, I needed a tip… I want to compare a value (close/high/low) at a certain time from yesterday with today. I can’t seem to get any further.
if time=090000 then
myclose=close
endif
if time=090000 and ???? then
mycloseYesterday=close
endif
sig = myclose > mycloseyesterday
This code needs to be completed. Anyone have any ideas?
There you go:
ONCE PriceToday = 0
ONCE PriceYesterday = 0
if time=090000 then
PriceYesterday = PriceToday
PriceToday = close
endif
sig = PriceToday > PriceYesterday