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

[amibroker] OBV moving average crossover



PureBytes Links

Trading Reference Links

I'm finding I am relying on this indicator more and more for 
identifying trends, as time goes on. Thing is, my code is very 
limiting... 

/* OBV MA Crossover */
prevclose = Ref( Close, -1 );
signum = IIf( Close == prevclose,  0,  IIf( Close < prevclose, -1, 
1 )  );
VarOBV = 0.0005 * Cum( signum * Volume );
Graph0 = Wilders(Wilders(VarOBV,1),1);
Graph0Color = colorWhite;
Graph1 = WMA(VarOBV,7);

Title = "OBV MA Crossover";

Graph2 = WMA(WMA(VarOBV,7),20);
Graph2Style = 1;

Can anyone here share similar code for the OBV that is written so I 
can look at multiple TimeFrames of this indicator (as a single 
indicator instance)? I'm all about trend detection... I just want to 
take it to the next level.

Thanks in advance... feel free to shoot me an email at 
brianrichard99@xxxxxxxxxxx if you want to swap trend detection ideas 
(for use within AmiBroker).




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/