I had a couple of questions.
I am using 15min intraday chart. How do I code for following for my 15M chart:
1. Check for todays first candle and very first tick:
This is required so that I can reset and initialize some variables. This should be independent of my sesion since I am concerned about only days first candle here.
2. Check for close of todays second candle or start of third candle:
This is required because I want to process some data on close of second candle
3. Check for todays Nth candle has begun on intraday chart??
How do I code for this? I have CalculateOnBarClose = false; and i need this as I want
to process each tick. Also, I am read about FirstTickOfBar but I could not figure out how it can help me here.
Please help
Thank You
Comment