// Downloaded From www.WiseStockTr ader.com _SECTION_BEGIN( "ERO ATR BUY SELL"); ero = Param("ATR multiple", 2.8, 0.5, 10, 0.1 )*Param("ATR period", 10, 3, 50 ); ero_col=ParamCo lor( "Color", colorCycle ); r=HHV(H,ero); s=LLV(L,ero); ab=IIf(H>Ref(r, -1),1,IIf(L<Ref (s,-1),-1,0)); ac=ValueWhen(ab !=0,ab,1); sl=IIf(ac==1,s, r); Plot(sl, _DEFAULT_NAME() , ero_col, styleStaircase) ; // or styleaArea Buy=Cross(H,sl) ; Sell=Cross(sl,L ); PlotShapes(IIf( Buy, shapeSquare, shapeNone),colo rGreen, 0, L, Offset=-40); PlotShapes(IIf( Buy, shapeSquare, shapeNone),colo rLime, 0,L, Offset=-50); PlotShapes(IIf( Buy, shapeUpArrow, shapeNone),colo rWhite, 0,L, Offset=-45); PlotShapes(IIf( Sell, shapeSquare, shapeNone),colo rRed, 0, H, Offset=40); PlotShapes(IIf( Sell, shapeSquare, shapeNone),colo rOrange, 0,H, Offset=50); PlotShapes(IIf( Sell, shapeDownArrow, shapeNone),colo rWhite, 0,H, Offset=-45); _SECTION_END(); _SECTION_BEGIN( ...