PureBytes Links
Trading Reference Links
|
Larry,
The trick is to keep writing the brackets
immediately, so you do not miss any closing bracket.
writeval(
max(Mov(C,50,S),
Mov(C,100,E)));writeif(
M1:= max(mov(c,150,e),mov(c,100,e));
M2:= max(mov(c,50,e),M1);
close < M2 and ref(c, -1) > ref(M2, -1),
"Close Long"
)
DusantChief Architect<A
href=""><FONT face=Verdana
size=1>www.candlestrength.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
lseldin
To: <A
title=Metastockusers@xxxxxxxxxxxxxxx
href="">Metastockusers@xxxxxxxxxxxxxxx
Sent: Friday, February 13, 2004 03:17
AM
Subject: [Metastockusers] Re: Help with
WriteIF and Expert
Dusant,I took this
code:*********************** beginwriteif(M1:=
max(Mov(C,50,S), Mov(C,100,E);M2:= max(Mov(C,150,E), M1);cross(C,
M2),"Exit Long. ")\*********************** endand
placed in MetaStock.I get a syntax error of:The end of the
Commentary was reached while parsing a statement.Can you please tell
me what is wrong?Thanks
much,larryTAKEOUT@xxxxxxxxxx
Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|