Thank you..its working.. thank you very much!
--- In [email protected], "darshan_age" <darshan_...@...> wrote:
>
> Hello,
> please try /check this fromula
>
> Plot(C,"",31,64);
> pds=Param("S-PERIOD",4,2,10,0.25);
> HLd = IIf (C>Ref(MA(H,pds),-1),1,
> IIf (C<Ref(MA(L,pds),-1),-1,0));
> HLv = ValueWhen(HLd!=0,HLd);
> HiLo = IIf (HLv==-1,MA(H,pds),MA(L,pds));
> color=IIf(C>HiLo,colorGreen,colorRed);
> Plot(HiLo,"("+pds+") swing",color,512);
> Buy=C>HiLo;
> Sell=C<HiLo;
> Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
>
> PlotShapes(shapeHollowSmallUpTriangle*Buy , colorYellow, 0, L, -20 );
> PlotShapes(shapeHollowSmallDownTriangle*Sell , colorYellow, 0, H, -20 );
>
> Thank you.
>
> --- In [email protected], "unidentified_identity56"
> <unidentified_identity56@> wrote:
> >
> > so it is like a staircase, and determine the arrow if it is below the
> > staircase it indicates sell, and if it is below the staircase it still
> > indicate buy .anybody know? thank you...
> > [IMG]http://i645.photobucket.com/albums/uu172/vistojakarta/indi1.jpg[/IMG]
> >
> > [IMG]http://i645.photobucket.com/albums/uu172/vistojakarta/indi3.png[/IMG]
> >
> > [IMG]http://i645.photobucket.com/albums/uu172/vistojakarta/indi2.png[/IMG]
> >
>