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

[amibroker] drawing horizontal lines



PureBytes Links

Trading Reference Links

pats=Sum(C>Ref(C,-4),9)==9;
patb=Sum(C<Ref(C,-4),9)==9;
pers=BarsSince(pats==9);
perb=BarsSince(patb==9);
Lv=LLV(Ref(L,-pers),9);
Hv=HHV(Ref(H,-perb),9);
for( i = 1; i <= 3; i++ )
{

LvPlot = ValueWhen(pats,Lv,i);
hvPlot = ValueWhen(patb,Hv,i);
Plot(Lvplot,"TDST High",colorBrightGreen,styleLine);
Plot(HVplot,"TDST low",colorRed,styleLine);
}

Plot(C,"close",colorBlack,styleBar);

I want horizontal lines at the highest high for each of the 3 buy 
patterns and 3 sell patterns...

Can anyone fix?


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