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

Notification

Icon
Error

Options
Go to last post Go to first unread
gorachand  
#1 Posted : Sunday, February 19, 2012 10:05:45 AM(UTC)
gorachand

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 2/19/2012(UTC)
Posts: 106

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Dear Sir,

I used the following formula for an exploration of Double Bottoms by Metastock


PK:=Zig(C,10,%)<Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)>Ref(Zig(C,10,%),-2);

TR:=Zig(C,10,%)>Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)<Ref(Zig(C,10,%),-2);

TR1:=TroughBars(1,C,10);

TR2:=TroughBars(2,C,10);

(ValueWhen(1,TR,Ref(C,-1))/ValueWhen(2,TR,Ref(C,-1))>.96 AND ValueWhen(1,TR,Ref(C,-1)) / ValueWhen(2,TR,Ref(C,-1))<1.04) AND TR2-TR1>=10 AND Cross(C,ValueWhen(1,PK,Ref(C,-1)))

I plugged it into the filter column---set options as --load minimum records---interval of intraday 60 min and ran the exploration.

I got only reject reports saying---Result of Filter Formula not defined on Calculation Scale.---Where am I going wrong?

Regards,

Dr.Sourav Chatterjee
mstt  
#2 Posted : Sunday, February 19, 2012 11:39:21 AM(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)
Hi Sourav


NEVER use "Minimum Records" when your code includes a ValueWhen() function. In fact you would be wise to never use it all. The calculation you're using may require anything from 15 to 500 bars to produce a valid result so you shouldn't be surprised if the minimum load of just a few bars gives a "Result of Filter Formula not defined" message. Set the number of records to the same number that you load for each chart and see what a difference that makes (I'm assuming you load about 500 bars for each chart).

Roy
wabbit  
#3 Posted : Monday, February 20, 2012 5:11:50 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)
http://forum.equis.com/forums/thread/30031.aspxbr>
Quote:

In addition to our Forum Rules (which all posters should be familiar with), we are also introducing a “Forum Etiquette and Best Practices” for posting to the MetaStock Online Community Forum. Adhering to these guidelines helps to build a cohesive community – one of trust and one in which people are willing to share their ideas and help those who need help. Forums are only as strong as their members – help to do your part to ensure that the MetaStock forum continues to be a valuable tool by following these practices as well.

  • There is a person behind the post. Never forget that there is a person behind the original post and replies. Speak as you would to someone who was standing in front of you. “Thank you” goes a long way. Not only does it recognize the time a respondent put into answering your question, but it also alerts others that your question was fully answered. And remember, unless it is an Equis employee, the responders are not paid to help you.
  • Research your problem before posting. Forum respondents dedicate much time and effort to answering the same queries over and over again. Prior to posting, do some leg work yourself – search for similar posts, read the help files and/or documentation that comes with your software. Arming yourself with knowledge alerts the responder that you’ve put some effort into it and makes them happy to put effort into the answer as well.
  • Be specific and show examples. Detailed explanations with examples help in correctly diagnosing a problem. In addition, pictures go further in terms of describing the problem, and help to break down language barriers.
  • Don’t post your “holy grail”, but don’t skirt around it either. Posting incomplete portions of code, abstracts or "likenesses" in the forum is rarely helpful for discovering the underlying causes of problems in MetaStock codes. If you think you have discovered the “holy grail” and don't want to publish your codes in the open forum, contact a trusted forum member by private message and ask for their dedicated assistance. If they agree to support you, only then should you send them the problem code in private.
  • The technical analysis world is a tight knit group. Posting part of your project/problem in multiple forums in the hopes of then piecing it together doesn’t win many friends. It does not take much to identify common elements posted in multiple forums all coming from the same source.
  • Inform the respondent that they didn’t solve your problem. If your problem was not fully resolved, let them know. Nothing destroys the willingness of a member to help you more than when they see the posts they took the time to answer on the Equis forum asked later on another forum.
  • Sometimes professional assistance is required. There are occasions when no matter how much effort you put in yourself, you just cannot solve the problem on your own. Hiring an expert can save you a lot of time, frustration, and money.

Common courtesy and common sense go far in terms of keeping services like the Equis forum alive and a valuable resource. Always remember there is a face behind the post, and that face is typically someone helping you just to help you.



wabbit [:D]


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.