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

[amibroker] Creating a HHV Indicator



PureBytes Links

Trading Reference Links

Hi, 
I am trying to create a indicator that that plots the HHV value 
(Selectable periods) and projects it forward from the HHV past the 
current period by a certain value say "5 periods"

The code i have so far is:

Lookback = Param("Look Back Period", 50, 5, 1000, 1 );

Plot(HHV(H,Lookback), " HHV ", colorGreen, 
StyleLine|styleNoRescale,Null ,Null ,Null );


What i am still looking for
1. How do i increase the line past the current Period
2. Can i remove all lines/plots prior to the last Higest High(HH), so 
that the chart only shows the line from the last HH for the period 
selected.

Hope this makes sense, i am quite new to Amibroker and sill grasping 
the AFL.

Any help would be great.

Crash.



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

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