Hello and Happy New Year to FXCodeBase team :)
Sorry for the vague title as I am not sure how to call it.
The idea is to have candles/bars representing the whole session and updating every minutes (or every 5 minutes, or every 15 minutes, etc...or every tick )
First we would be able to choose a StartTime and a EndTime, which will specify the time window of the "session" for every day on chart history.
Let's take an example with StartTime being 10:00 and EndTime being 16:00.
Then let's say we look at a 1 minute chart :
if it is between 10:00 and 16:00, the indicator will create a new candle/bar every minute, starting from 10:00, with the CLOSE of the candle being the same as CLOSE price on the 1 minute chart above, but with OPEN of the candle being always the same, that is to say the OPEN price of the candle/bar at 10:00. And as a consequence the High/Low of the candle would be calculated based on the Highest and Lowest Price observed between 10:00 and now.
If it is outside the time window (in our example after 16:00 and before 10:00) nothing happens.
If we look at a 5 minute chart, the logic would be the same except the new candles would be created every 5 minutes, etc...
That would be great to have a TICK version also to apply to TICK charts.
- It would be nice to be able to see the OPEN, HIGH, LOW, CLOSE price in the data window when we click on the chart, and so being able to have the datas of the created candles if we export the chart to Excel. And as a consequence being able to apply indicators on it too.
- Also it would be nice to see the candles for every session in the history and not only the last one.
Thank you always for your great work, and I hope the description is clear enough. Thank you very much. :)
030985