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

Notification

Icon
Error

Options
Go to last post Go to first unread
skeetabomb  
#1 Posted : Wednesday, May 4, 2005 10:01:03 AM(UTC)
skeetabomb

Rank: Advanced Member

Groups ready for retrieval: Registered, Registered Users
Joined: 4/28/2005(UTC)
Posts: 41
Location: London

Once the first value for a plot has been defined, Metastock cannot plot nothing - if the formula evaluates to an invalid result (e.g. division by zero) it will still plot a line - usually at zero. I want to be able to define a null plot - i.e. to force Metastock to STOP drawing the plot until the formula says it should be drawn again. There is a way around it of sorts, and that is to have a second plot of the invisible style on top that covers up what you don't want to see. The problem with that is that this method takes up a lot of formula space because you effectively have to write it twice and tweak the send one! :( What I am looking for is the opposite of the 'IsDefined' and 'IsUndefined' functions - which are just logical operators that return a 1 or 0. I want to force an Undefined state so the plot will dissappear until I define it again. Let me know if this doesn't make sense. SteveD
Jose  
#2 Posted : Wednesday, May 4, 2005 12:29:30 PM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Not a bad idea. I would go further and make the IsDefined()/IsUndefined functions useful by allowing them to remove any null plots. For example: x:=Mov(C,260,S); If(IsUndefined(x),C,x) jose '-) http://www.metastocktools.com
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.