[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Metastock - System tester question



PureBytes Links

Trading Reference Links

Ken, thank you for your two messages. Let me have a couple of days to test
your reply (I have been busy with some accounting problems). As always I
thank you for your cooperation
Manuel


----- Original Message -----
From: iamken <iamken@xxxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Tuesday, April 25, 2000 4:21 AM
Subject: Re: Metastock - System tester question


> Manuel,
>
> Let's try that again and see if I can get it slightly better
> organized<g>:
> The following will get you long when the indicator crosses above 30, and
> it should
> exit on bar 5, (count begins on enry bar).
>
>   --EnterLong--
> BmIndicator:=
> Mov((Sum((CLOSE -OPEN) >0,opt7)/
> (Sum((CLOSE -OPEN) >0,opt7)+
> Sum((CLOSE -OPEN) <0,opt7)))*100,opt8,S);
> EnterLong:=Cross(BmIndicator,30);
> EnterLong;
>
>   --CloseLong--
> BmIndicator:=
> Mov((Sum((CLOSE -OPEN) >0,opt7)/
> (Sum((CLOSE -OPEN) >0,opt7)+
> Sum((CLOSE -OPEN) <0,opt7)))*100,opt8,S);
> EnterLong:=Cross(BmIndicator,30);
> ExitLong:=BarsSince(EnterLong)=5;
> ExitLong
>
>