Need AFL: Advance Decline Ratio: Chart in Amibroker

#1
Hi All,

I am searching for an Amibroker AFL to plot Advance Decline Ratio Chart. The chart should plot as candlesticks.

Members please help.
 

mastermind007

Well-Known Member
#3
Hi All,

I am searching for an Amibroker AFL to plot Advance Decline Ratio Chart. The chart should plot as candlesticks.

Members please help.
To plot anything as Candlestick, you need at least two values (high & low).
So Advance Decline would be something like this. Notice that I am repeating a and d twice when passing to PlotOHLC.

Code:
a = AdvIssues() ;
d = DecIssues() ;

PlotOHLC(a,a,d,d, "A D Candle", colorDefault, styleCandle | styleOwnScale);
 

Similar threads