PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxxxxxxx, Sathya Pras <prassathya@xxx>
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]
>
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/
|