logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
trendsca  
#1 Posted : Sunday, July 15, 2012 2:52:57 PM(UTC)
trendsca

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.
trendsca  
#2 Posted : Sunday, July 22, 2012 9:25:01 PM(UTC)
trendsca

Rank: Member

Groups: Registered, Registered Users
Joined: 4/7/2012(UTC)
Posts: 21
Location: California

Nobody knows how to fix x-axis grid?
henry1224  
#3 Posted : Sunday, July 22, 2012 10:29:34 PM(UTC)
henry1224

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
trendsca  
#4 Posted : Monday, July 23, 2012 12:01:31 AM(UTC)
trendsca

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?
MS Support  
#5 Posted : Tuesday, August 21, 2012 8:29:58 AM(UTC)
MS Support

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
wabbit  
#6 Posted : Tuesday, August 21, 2012 8:30:45 PM(UTC)
wabbit

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]

jjstein  
#7 Posted : Wednesday, August 22, 2012 12:36:37 PM(UTC)
jjstein

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.