PureBytes Links
Trading Reference Links
|
In a message dated 10/7/2003 9:22:44 AM Pacific Daylight Time, larry@xxxxxxxxxx writes:
I am getting a syntax error on this:
cross(ref(L,-1),ref(bbandtop( close, 10, E, 3 ))
and L >bbandtop( close, 10, E, 3 )
Could you please tell me what part of the syntax to change...
I don't know where your error is, but you also have an unmatched parenthesis. You have 5 left parens, and only 4 right parens.
It's easy to cut and paste an entire formula, but you can often get errors. What I have done when creating a new formula in MetaStock is while in the "Formula" box of the Indicator Editor, click on the formula that you are interested in copying (such as cross or ref) to highlight it, and then click OK. This will insert the correct format of that formula into your Formula box and then all you have to do is to insert the parameters. By doing it this way, it has helped me to get all the correct parenthesis and commas inserted in the right place without getting extra symbols. If after inserting the formula you don't know the proper parameters, use either the Help system or your manual.
Don't know if it helps, but that Formula box has saved me hours of difficulties.
Jay
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|