PureBytes Links
Trading Reference Links
|
Now how do we get the Highest High value in the Range:
Rangestart=Cum(1)==500;
RangeEnd=Cum(1)==606;
Plot(C,"",colorBlack,styleBar|styleOwnScale);
Plot(rangestart,"Start",colorYellow,styleHistogram|styleOwnScale|styleThick)
Plot(rangeend,"end",colorYellow,styleHistogram|styleOwnScale|styleThick);
barsINrange=IIf(Cum(1)>=500 AND Cum(1)<=606,1,0);
Plot(barsINrange,"Bar # "+WriteVal(IIf(barsinrange > 0,Cum(1),0)),4
2|styleOwnScale);
-------Original Message-------
From: amibroker@xxxxxxxxxxxxxxx
Date: Monday, April 07, 2003 17:39:03
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Plotting an intervalīs condition
Hello,
I thought that
Plot(ValueWhen(Cum(1)>=607 AND Cum(1)<730,High,1),"cum value 1. swing top",7
2)
would plot the high for the interval >=607 and <730, but apparently, it
plots even beyond that (i.e. bar number > 730). Why is that?
How would I have to formulate the AFL command if it were to plot JUST WITHIN
this range, please?
Markus
Yahoo! Groups Sponsor
ADVERTISEMENT
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
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|