I have programmed an Indicator which delivers a plot value for every bar on the chart. The problem ist that the last bar of the day is not calculated in the indicator. Though it is the same problem with intradaybars, I also want to use the indicator on daily bars. At the end of the day I need a calculation of the current daily bar for sending me an email with the report.
I have attached a picture to show the problem with the last intradaybar. For solving the problem I need the calculation of the last bar of the day in the indicator.
How can I solve this problem?
Comment