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

[amibroker] Volume & Moving Average



PureBytes Links

Trading Reference Links

How are you using the directional oscillator?

Is it more of a divergence indicator?

I took Anthony's code and added a bar graph on the bottom-just makes
it easier for me to see it....

Best,
Brian

xx = (PDI(45)-MDI(45));
zz = (EMA(PDI(45)-MDI(45),20));
Plot(xx,"",colorgreen,8);
Plot(zz,"",colorred,8);
Title=Date()+" "+EncodeColor(colorBlue)+Name()+" "+FullName()
+"Directional Oscillator"; 


Buynow = xx > zz ;
SellNow = zz > xx;
Equity(1);
Plot(2, /* defines the height of the ribbon in percent of pane width
*/"Chebyshev Approximation v2",IIf( BuyNow, colorGreen, IIf( SellNow,
colorRed, 7 )), /* choose color*/styleOwnScale|styleArea|styleNoLabel,
-0.5, 100);
GraphXSpace =2;


--- In amibroker@xxxxxxxxxxxxxxx, "bruiserbbq" <bruiserbbq@xxxx> wrote:
> Thanks for coming to my aid once again Anthony....your a real 
> treasure :-)
> 
> 
> Cheers Bruiser



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/