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

Re: [amibroker] Bar Pattern Coding



PureBytes Links

Trading Reference Links

tjsarlo1

this should get you started:


HighBar = H > Ref(H,-1) AND H > Ref(H,1) AND H > Ref(H,-2) AND H > Ref(H,2);

Plot(C,"", colorBlack, 64);
PlotShapes(shapeDownArrow * HighBar,colorGreen, 0,H, -10);


Happy Hunting.
Regards

ChrisB





tjsarlo1 wrote:

I'm not very good at programming, and I'd like to check out some basic
bar patterns in Amibroker. Could someone tell me how this would be done?

I'd like to plot a shape on a bar when the previous two bars have
lower highs and the following bars have lower highs. So for a total
of 5 bars, 2 have lower highs, then the high bar, then two lower high
bars.

How could I do this?

Thanks TJ



__._,_.___


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

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

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

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___