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

Re: [amibroker] Please help on finding MIN/MAX between range.



PureBytes Links

Trading Reference Links

Does this Help:

Rangestart=3716;//bar number

RangeEnd=3750;//bar number

HHInRangeStart_RangeEnd = ValueWhen( Cum(1)== rangeEnd, HHV( High,
rangeend-ValueWhen(Cum(1)== rangeStart ,rangestart)) );

LLInrangeStart_RangeEnd = ValueWhen( Cum(1)== rangeEnd, LLV( Low,
rangeend-ValueWhen(Cum(1)== rangeStart ,rangestart)) );

Plot(C,"",colorBlack,styleBar|styleOwnScale);

Plot(rangestart==Cum(1),"Start",colorYellow,styleHistogram|styleOwnScale|sty
leThick);//Plots Vertical line at Range Start

Plot(rangeEnd==
Cum(1),"end",colorYellow,styleHistogram|styleOwnScale|styleThick);//Plots
Vertical line at range End

Plot(HHInrangeStart_RangeEnd ,"Highest
High",colorRed,styleHistogram|styleOwnScale);

Plot(LLInrangeStart_RangeEnd ,"Lowest Low
",colorRed,styleHistogram|styleOwnScale);


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/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/