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

RE: [amibroker] How to draw Verticles gridlines on days/week



PureBytes Links

Trading Reference Links

In Preferences - Charting - 4th box down on left, tick this.
It will draw vert grids for year in daily chart, and day in intraday
If you want others you need to include in your indicator code.
I believe this has been posted before as it is in my examples list

//Plot vertical line
period = 60;
VertLine = LastValue(Cum(1)) - period;

Title = "Plot Vertical Line at " + WriteVal(period,1) + " bars ago on date "
+ WriteVal(Ref(Day(),-period),1) + "-" + WriteVal(Ref(Month(),-period),1) +
"-" + WriteVal(Ref(Year(),-period),1);
Plot(Cum(1)==VertLine,"Plot Vertical
Line",colorRed,styleHistogram|styleOwnScale|styleThick);


Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: mayoor_vaghela [mailto:mayoor_vaghela@xxxxxxxxx] 
Sent: Monday, 14 April 2003 12:00 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to draw Verticles gridlines on days/week

In AB each year end represent vertical grid line , but I want to draw 
verticle grid line on each day or each week, so how to do it ? In 
customise section I have ticked yes to grid line but only horizontal 
grid line appeared but not the verticle one.
mayoor



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/ 


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