Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
Is there anyway to fix the x-axis (time) grid in MetaStock Chart Window? I want to fix it at each grid = 1 month.
Currently when I zoom in and out of a chart, MS adjusts the x-axis grid automatically, sometimes each grid = 1 year when I have lots of data, sometiems each grid = 1 month when I have moderate amount of data in on screen, and some times each grid = 1 week when I don't have too much data.
Thanks
TC.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
Nobody knows how to fix x-axis grid?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Right Click on the x axis, go to properties, on the scale tab, select the dates you want displayed and put a check in the box that says retain scale. click apply
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
Thanks for your reply. I tried, it doesn't work, when I zoom in and zoom out, the grid still changes - I want the display to show constantly that each grid = 1 month, but even with the "retain scale" checkbox selected, the program still automatically adjust the unit of each grid from yearly to monthly, to weekly.
Any idea why?
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
unfortunately, the grid of the X-axis is adjusted automatically by metastock based on the amount of data displayed. There is currently no way to change or prevent that adjustment
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Turn off the grid and write an indicator to detect the timeframe you want to display, then format as histogram and overlay this indicator on the chart without a scale (so it draws vertical lines)
wabbit [:D]
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
trendsca wrote:...when I zoom in and zoom out, the grid still changes - I want the display to show constantly that each grid = 1 month, but even with the "retain scale" checkbox selected, the program still automatically adjust the unit of each grid from yearly to monthly, to weekly.
Any idea why? Create the following indicator, drag it to your chart and choose "Overlay without scale". Then, double-click the indicator and set the style to Vertical Line. It will plot the first of the month for Daily or Weekly periodicity. Code:
Month()<>ref(month(),-1);
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.