| 
 PureBytes Links 
Trading Reference Links 
 | 
Preston,
thanks for adviser.
Rgds
Sathya
----- Original Message ----
From: pumrysh <no_reply@xxxxxxxxxxxxxxx>
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Wednesday, January 9, 2008 11:03:08 PM
Subject: [EquisMetaStock Group] Re: Optimization code Not Work in MS 10
Sathya,
Change Line3:=opt2- opt1; to Line3:=Line2- Line1;
The problem is that opt1 and opt2 have not been defined as variables 
in your code...not sure it would allow this anyway.
Preston
--- In equismetastock@ yahoogroups. com, Sathya Pras <prassathya@ ...> 
wrote:
>
> hi,,,
> i write a code in Metastock 8.0 to put in Enhance System Tester 
with Optimization
> 
> Enter Long :
> Line1:=Mov(C, opt1,S);
> Line2:=Mov(C, opt2,S);
> Line3:=opt2- opt1;
> Cross(line1, line2) and line3>0;
> 
> Close Long:
> Line1:=Mov(C, opt1,S);
> Line2:=Mov(C, opt2,S);
> Line3:=opt2- opt1;
> Cross(line2, line1) and line3>0;
> 
> OPT1:
> Minimun : 2
> Maximum :100
> Step : 1
> 
> OPT2:
> Minimun : 2
> Maximum :100
> Step : 1
> 
> the problem is when i write it down in Metastock 10.0 it's NOT work
> command : "this is not recognized name, constant or operator"
> 
> PLEASE KINDLY ADVISE HOW TO SOLVE
> 
> Regards
> Sathya
> 
> 
> 
____________ _________ _________ _________ _________ _________ _
____________ __
> Looking for last minute shopping deals? 
> Find them fast with Yahoo! Search. 
http://tools. search.yahoo. com/newsearch/ category. php?category= shopping
> 
> [Non-text portions of this message have been removed]
>
      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
[Non-text portions of this message have been removed]
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
    Individual Email | Traditional
<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)
<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |