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

Notification

Icon
Error

Options
Go to last post Go to first unread
RockyJones  
#1 Posted : Friday, November 24, 2006 7:57:34 PM(UTC)
RockyJones

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/14/2006(UTC)
Posts: 2
Location: Georgia

Does anyone know how to get the value of the Exit Swing Signal in an exploration? If I create and exploration with the following function, all I get is 75 for any and all stocks explored.

column A
Fml("Exit Swing Signal")

No filter. All results show "75" as a return which is obviously the upper fixed line of the indicator rather than the value of the indicator. Maybe there is something I don't understand to getting the indicator value back rather than one of the horizontal lines.

I asked tech support in an email but the lady that responded didn't seem to even know the indicator was part of Metastock 10 :-(

Joe
mstt  
#2 Posted : Friday, November 24, 2006 10:51:14 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

Joe

This is a password protected formula so it’s difficult to provide a solution. If you could edit it, placing 25 and 75 (the outputs producing the horizontal lines) before the signal formula rather than after it (as is probably the case at present) you would almost certainly have what you want.

When a formula is called with Fml() it’s always the LAST output that’s returned to the calling function or formula, an output of 75 in this case.

Maybe someone from Equis could help with this, but as the formula is proprietary that probably won’t happen.

Roy

MetaStock Tips & Tools

RockyJones  
#3 Posted : Saturday, November 25, 2006 11:54:43 AM(UTC)
RockyJones

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/14/2006(UTC)
Posts: 2
Location: Georgia

Thanks for the response Roy. I agree that is how the formula must be written but didn't know if there was a way to use the FmlVar function to extract the information. Of course I would need to know the name of the variable (assuming one was used) to do this. Perhaps Equis support knows the name and will respond. I would really like to be able to use this indicator in my explorations.

Joe
Justin  
#4 Posted : Sunday, November 26, 2006 10:35:21 AM(UTC)
Justin

Rank: Advanced Member

Groups ready for retrieval: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

I responded to an email about this not too long ago. As Roy mentioned, I believe the last line of code for this indicator is to plot a horizontal line at 75. Since the FML function reads the last line of code to get its value, it is simply taking the horizontal line of 75 as the FML value.
jjstein  
#5 Posted : Monday, November 27, 2006 3:42:01 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)

Joe,

You may be able to use "FmlVar". In the Exploration Editor, once the cursor is active, click on the FUNCTIONS... button. Select "Custom Indicators" in the left box, then scroll down on the right until you find the multiple entries for "Exit Swing Signal." The "FmlVar" function will be inserted when you click OK.

mstt  
#6 Posted : Monday, November 27, 2006 4:22:09 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

Johnathan

You've just taught me something new about MetaStock. I often use the Functions button in the Indicator Builder but have never realized or noticed (or remembered) that named variables could also be accessed.

Sadly this method won't work for Joe as it appears that, not only has the active variable has been placed before the line outputs of 25 and 75, but also that it hasn't been given a name. Such carelessness would be OK if the author had intended it just for personal use, but it's hardly OK for inclusion with every copy of MetaStock being sold, IMO.

Roy

MetaStock Tips & Tools

jjstein  
#7 Posted : Monday, November 27, 2006 8:28:26 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)

That's too bad -- though it DOES demonstrate why one should stay away from "black boxes".

Users browsing this topic
Guest (Hidden)
Similar Topics
RMO exit swing signal (Tips & Tricks)
by mjdesmond3001 9/10/2009 2:35:13 PM(UTC)
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.