PureBytes Links
Trading Reference Links
|
Hi Graham,
This has actualy put me on track - I think.
Will post code shortly if all goes ok.....
KR
Michael.
At 10:47 PM 1/05/2004, you wrote:
>Graham,
> This doesn't seem to work. Does it work your end?
>
> KR
> Michael.
>
>
>
>
>At 10:36 PM 1/05/2004, you wrote:
> >This could be a quick way around it
> >
> >VLine = IIf(LastPeekBar==BarIndex(),1,null);
> >Plot ( lastvalue(VLine) ,"DateBar", colorBlue, styleHistogram |
> >styleOwnScale,0,1);
> >
> >
> >Cheers,
> >Graham
> >http://e-wire.net.au/~eb_kavan/
> >
> >-----Original Message-----
> >From: Michael.S.G. [mailto:OzFalcon@xxxxxxxxxx]
> >Sent: Saturday, May 01, 2004 8:20 PM
> >To: amibroker@xxxxxxxxxxxxxxx
> >Subject: [amibroker] HHVBars Problem.
> >
> >Help!
> > Im trying to find the Highest High in the last 50 days then display a
> >vertical line
> >at it's position.
> >The results I am getting don't seem to make sense. ie multiple vertical
> >lines in the wrong places.
> >
> >Also, scrolling or selecting bars changes the results for some reason.....?
> >
> >Please HELP!
> >
> >Here is the code:
> >// Find BarNumber for highest bar in Last 50 Bars.
> >//
> >//
> >Color = IIf(O > C, colorBlack, colorYellow);
> >Plot( Close, "Price", color, styleCandle );
> >
> >BC=BarCount-1;
> >LastPeek = HHVBars(High,50);
> >LastPeekBar = BC-LastPeek;
> >
> >//Plot Vertical line 50 bars back
> >VLine = IIf((BC-50)==BarIndex(),1,0);
> > Plot (VLine ,"DateBar", colorBlue, styleHistogram |
> >styleOwnScale,0,1);
> >
> >//Plot Vertical line @ HighestHighBar within last 50 bars.
> >VLine = IIf(LastPeekBar==BarIndex(),1,0);
> > Plot (VLine ,"DateBar", colorGreen, styleHistogram |
> >styleOwnScale,0,1);
> >
> >_N(Title = "\\c29"+
> >"Highest Bar x50 "+
> >"\\c32"+ Date()+
> >"\\c38 LastPeekBar \\c24"+LastPeekBar+
> >"\\c38 BarSelected \\c24"+BarIndex()+
> >
> >"");
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >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
> >
> >
> >
> >
> >
> >
> >
> >
> >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
> >
> >
> >
> >
>
>
>
>
>
>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
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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
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/
|