I need to calculate the SMA but for a specific range of time each day
The most common scenario I could use an indicator like this would be to specify a range of time to calculate the SMA in the days loaded in the chart, but separately day by day, and for example graphically and numerically see the SMA calculated from 10am to 2pm every day, in order to see each SMA during that range of time in the last n days, and let’s say the indicator shows numbers like the next in the chart sub-panel:
This past Friday SMA = 25, this past Monday SMA = 21, this past Tuesday SMA = 18, just as random numbers only to give the example that each day would have its separate result
The idea would be to select the starting time and the ending time for example directly from the indicator settings or maybe an faster way
I'm not able to find a solution for this or maybe a similar indicator that does something like what I described here. So, if there is an indicator already created to do this please provide me the reference to test it and see if it can do this what I need.
Thank you!


Comment