PureBytes Links
Trading Reference Links
|
Without testing, I would say because you have omitted a close bracket
at the ned of your M1 indicator line:
writeif(
M1:= max(Mov(C,50,S), Mov(C,100,E) );
M2:= max(Mov(C,150,E), M1);
cross(C, M2),"Exit Long. ")\
Hope this helps.
wabbit :D
--- In Metastockusers@xxxxxxxxxxxxxxx, "lseldin" <larry@xxxx> wrote:
> Dusant,
>
> I took this code:
>
> *********************** begin
>
> writeif(
> M1:= max(Mov(C,50,S), Mov(C,100,E);
> M2:= max(Mov(C,150,E), M1);
> cross(C, M2),"Exit Long. ")\
>
>
> *********************** end
>
>
> and 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@xxxx
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:
http://docs.yahoo.com/info/terms/
|