PureBytes Links
Trading Reference Links
|
This may be a start:
b = SelectedValue(BarIndex()); // Click on chart
Plot(C,"Close",1,1);
HS=HighestSince(b>BarIndex(),C);
Plot(HS,"HighestC",4,1);
search the list archive for a formula to connect the high points, i think DT
posted one some time ago...
herman
-----Original Message-----
From: hertyil [mailto:herty@xxxxxxxxxxxxxxxx]
Sent: Wednesday, April 07, 2004 5:50 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] High to High line
Hi Guys (Too many Hi-s follow!),
The hard part:
1)How should I code drawing lines on a bar chart,in the IB,
connecting one high to the next high, and extended to the following
bar, bar(0)say, for every High(-1)>High(-2)? In short a series of
lines pointing upwards from all highs whose next consecutive highs
are higher, extended to where the next bar is. (Not required to
touch bar(0)of course).
The easier one:
2) Draw an indicator connecting all the above extension points?
Herbert
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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 the Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/
|