Need hep in simple amibroker scanner

hi i m new in this forum
i m looking for scanner for amibroker
when any stock cross ( above/below) any weekly pivot line ( mid point //r1/r2/r3 or s1/s2/s3 ) it should indicate me
i will scan it only on hourly chart
so pls expert pls help me

you can check below given afl of pivot points

_SECTION_BEGIN(“Price”);
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(“{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}”, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, “Close”, ParamColor(“Color”, colorDefault ), styleNoTitle | ParamStyle(“Style”) | GetPriceStyle() );
MaxGraph =8;p = (H+L+C)/3;r1 = (2p)-L;s1 = (2p)-H;r2 = p +(r1 - s1);s2 = p -(r2 - s1);Graph0=p;Graph1=r1;Graph2 = s1;Graph3= r2;Graph4 = s2;Graph0Style = Graph1Style = Graph2Style = Graph3Style = Graph4Style = 16 + 8;Graph0Color = 2;Graph1Color = Graph2Color = 8;Graph3Color = Graph4Color = 6; Graph5 = Close;Graph5Color = 3;Graph5Style = 128;“”;" PIVOT POINTS AND SUPPORT AND RESISTANCE POINTS “;”“;“MARKET BEING EVALUATED : " + Title = Name() + " DATE : " + Date();””;“TODAY’S CLOSE WAS : “+”( " +WriteVal(Close,format=1.2)+” )“;” ******* THESE POINTS ARE VALID FOR NEXT TRADING DAY ******“;“RESISTENCE POINT 2 : ----------------” +WriteVal(Graph3,format=1.2);”“;“RESISTENCE POINT 1 : ----------------” +WriteVal(Graph1,format=1.2);”“;+ “(”+WriteVal(Graph0,format=1.2)+”)" +" PIVOT POINT--------“;”“;“SUPPORT POINT 1 : ----------------------” +WriteVal(Graph2,format=1.2);”";“SUPPORT POINT 2 : ----------------------” +WriteVal(Graph4,format=1.2);
_SECTION_END();

1 Like

tks sir i will check it