Hi,
I am new to coding, so sorry if this is a silly question…
I’m looking to set variables for the following, but I can’t figure it out:
Looking at the first candle of the day (UK, so 8am open) on a 1 hour timeframe chart:
- Candle open
- Candle close
- Candle high
- Candle low
Thank you in advance!
Check the time and store the OHLC data into variables:
if time=080000 then
iopen=open
ihigh=high
ilow=low
iclose=close
endif