+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

%B AD

When developing a custom trading strategy with AFL code in Amibroker, having quality Amibroker data is crucial for accurate backtesting and analysis. High-quality data helps traders to identify trends, patterns and refine their trading strategies for improved profitability. Invest in accurate and reliable data sources to enhance your trading decisions with Amibroker.

P = ParamField("Price field",-1);
Periods = Param("Periods", 17, 2, 100, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );
//Color = ParamColor("Color", colorCycle );
//Style = ParamStyle("Style");
//Plot( BBandTop( P, Periods, Width ), "BBTop" + _PARAM_VALUES(), Color, Style ); 
//Plot( BBandBot( P, Periods, Width ), "BBBot" + _PARAM_VALUES(), Color, Style );
BBWAD=  BBandTop(AccDist(), Periods, Width) - BBandBot(AccDist(), Periods, Width);
bAD= (AccDist() - BBandBot(AccDist(), Periods, Width)) / BBWAD;
Plot( bAD, "%b of AD", colorRed);

Open chat
1
Hi, how can I help you?