Req Amibroker formula for Advance Decline plot

#1
Hi experts

I want an afl to plot Advance Decline line.
There is an indirect way to plot same without going for cumbersome composite calculations etc as told by a friend.

please post the simplified ADLine plot formula

thanks
 

mastermind007

Well-Known Member
#2
Hi experts

I want an afl to plot Advance Decline line.
There is an indirect way to plo same without going for cumbersome composite calculations etc as told by a friend.
For Plotting this is enough. However if you do not do those other steps, ADLine will return empty array. While I hear what you've said, my advice would be do it as documented in Amibroker rather than indirect routes, especially if you are gonna trade on it.

Code:
_SECTION_BEGIN("ADLine");
Plot( ADLine(), _DEFAULT_NAME(), ParamColor("Color",  colorCycle ), ParamStyle("Style")  );
_SECTION_END();
 

Similar threads