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

[amibroker] horizontal line from weekly data in daily Chart.



PureBytes Links

Trading Reference Links

Hi All,

I do some search for line array and user's guide, and couldn't find 
what I'm looking for. It may be there but I'm not professional for 
coding.

I would like to plot horizontal line in the previous bar high Ref (H,-
1) in weekly bar. The Line will be there until the current bar Close, 

Cond1 = IF Current bar closed lower then previous bar high Ref (H,-1) 
Then the line will be moved to new bar high. ( Which is lower high).

Cond2 = IF Current bar closed higher than previous bar high Ref(H,-1)in 
weekly bar the line position will not change till the bar close bellow 
the low of the previous bar.

Any one can help coding this please?



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/