Hello, how can I access a close intraday at a specific time on a specific day within a week, i.e. from Monday to Friday? As an example, I would have liked to know on Tuesday where the price was on Monday at 9:00 a.m. What would be the code for that?
like this
signal=0
if OpenDayOfWeek =1 and opentime=090000 then
signal=1
Prix=close
endif
return signal,prix
That sounds good. I’ll try that.
And if I want the price to be 1% lower from this price? Prix=close*0.99???