Skip to main content

Pivot s/r for Amibroker (AFL)

akshri250 over 15 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    support, resistance, pivot, amibroker

Got this great afl from traderji.com. Thought to share it here. The credit goes to the original writer/coder… I dont know about him..
Regards

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("5 MA PIVOT SUP RES");
x=Param("Average ",5,1,21);
P = ( H+ L + C )/3;
HP1 = (P + (P - L));
LP1 = (P - (H - p));

HP2 = (P + 2*(P - L));
LP2 = (P - 2*(H - p));

PAV = (HP1 - LP1);
s=MA(PAV,x);
U=EMA(P,x);
Up=(s + U);
Lo=(U - s );
Plot (Up,"PIVOT RESISTANCE",ParamColor( "Color", colorCycle ), ParamStyle("Style"));
Plot (Lo,"PIVOT SUPPORT",ParamColor( "Color", colorCycle ), ParamStyle("Style"));

ChartStyle = ParamStyle("Chart Type", styleBar, maskAll);
Plot(C, "", colorGrey50, ChartStyle);

GraphXSpace=3;
_SECTION_END();

1 comments

over 15 years ago

friend
let me know how u trade on this afl and time frame

ravinikl@yahoo.com

Leave Comment

Please login here to leave a comment.