Hi guys, I am trying my best but can't figure which way to go. I have a chart indicator that paints an arrow below the criteria met candle or candles. What I am trying to do is add up a value(say close price, if more than one I would want the average of the close prices) for each candle bar and paint a horizontal line on the chart.
What I can do is I can script the indicator. but I can not figure how to go about collecting the data and draw the line.
would I use the fold script here? I'm currently trying to write simple fold scripts to get a handle on it but... well here I am. lol
any help would be greatly appreciated.
thanks
Mike
What I can do is I can script the indicator. but I can not figure how to go about collecting the data and draw the line.
would I use the fold script here? I'm currently trying to write simple fold scripts to get a handle on it but... well here I am. lol
any help would be greatly appreciated.
thanks
Mike