_SECTION_BEGIN("0");
pd = Param("Period",6,1,200);
PMA = MA(Avg, pd);
PEMA = EMA(Avg, pd);
//Plot(PMA, "Pivot MA", ParamColor("PMA color", colorRed));
Plot(PEMA, "P 6", ParamColor("PEMA color", colorRed));
_SECTION_END();
_SECTION_BEGIN("1");
pd = Param("Period",11,1,200);
PMA = MA(Avg, pd);
PEMA = EMA(Avg, pd);
//Plot(PMA, "Pivot MA", ParamColor("PMA color", colorBlue));
Plot(PEMA, "P 11", ParamColor("PEMA color", colorBlue));
_SECTION_END();
_SECTION_BEGIN("2");
pd = Param("Period",21,1,200);
PMA = MA(Avg, pd);
PEMA = EMA(Avg, pd);
//Plot(PMA, "Pivot MA", ParamColor("PMA color", colorBrightGreen));
Plot(PEMA, "P 21", ParamColor("PEMA color", colorBrightGreen));
_SECTION_END();
_SECTION_BEGIN("3");
pd = Param("Period",51,1,200);
PMA = MA(Avg, pd);
PEMA = EMA(Avg, pd);
//Plot(PMA, "Pivot MA", ParamColor("PMA color", colorYellow));
Plot(PEMA, "P 51", ParamColor("PEMA color", colorYellow));
_SECTION_END();
change values as per your requirement
Hi there Flowtrader,
I am trying to understand & use Fisher's Pivot Point moving averages.
Amibroker does not have a way to plot this kind of MA's.
Can you please help me in coding the following. I do not have any kind of programming skills, hence the request.
What I basically need is, a moving average to be plotted on a daily chart based on the daily Pivot Points. On a given chart, I need to place, multiple such moving averages, for ex. 14 day, 30 day & 50 day.
Thanks in advance.
Amar.