[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: HELP!anybody know this AFL formula?i've attach the picture of the chart,help pls



PureBytes Links

Trading Reference Links

Thank you..its working.. thank you very much!
--- In amibroker@xxxxxxxxxxxxxxx, "darshan_age" <darshan_age@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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]
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/