Converting Moving Average line into bar/candle - HLCO of the Moving Average for the time period.

B

BlueRaven

New member
There's a few applications I would like to apply this too but I'm not sure that it's possible in TOS.

Basically I want TOS to remember the HLCO of a plotted moving average. So the MA is displayed as a bar or candle chart instead of just as a line chart.

I'm thinking it could be done with the addchart function which I use for a few studies, however I don't know how to have it store the HLCO of a number/study.

I haven't tried it yet, but I'm thinking of having it grab the data at certain times for the Open and Close and then maybe have it grab the highest high and the lowest low for a time period for the addchart function.

Do you think that would work, or is there a better way?
 

Similar threads

Top