PureBytes Links
Trading Reference Links
|
Hello Ken, thank you for your two messages. Your comment on the candlestick
moving average cross is interesting. What I cannot understand, however, is
why the system tester gives you entry signals when you have as an entry
system a candlestick simple moving average (without the cross part). This is
what I cannot understand, since there are not entry conditions. I would
appreciate it if you pick up the following moving average, copy-paste in the
system tester (enter long or enter short) and see with your own eyes that
the tester gives you entry signals when you run it on a particular market.
Mov((Sum((CLOSE -OPEN) >0,opt7)/
(Sum((CLOSE -OPEN) >0,opt7)+
Sum((CLOSE -OPEN) <0,opt7)))*100,opt8,S)
(where opt7 is 1 to 3, and opt8 is 1 to 5)
My question again is why is the system tester giving you entry signals if
there are not entry conditions? I need to know this so that I can code above
system in Visual Basic.MB
----- Original Message -----
From: iamken <iamken@xxxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Tuesday, April 25, 2000 3:46 AM
Subject: Re: Metastock - System tester question
>
> Hi Manuel,
>
> This seems to be an oscillator that has two optimimization variables,
> but I don't see your specific entry or exit condition. The following
> will get you long when the indicator crosses below 30, and it should
> exit on bar 3. I ran this test and checked about 15 or so entries/exits
> and they looked right. After you run this (or your) test, be sure that
> you change the indicator on your chart to match the optimization
> variables that the test churned out, otherwise you could see some
> entries/exits that don't seem right. Assuming that you are doing that,
> the other thing I see is some invalid math errors on the test, so maybe
> this is the problem. Try changing the lowest OPT number to 2 instead of
> 1 and see if that gets rid of the math errors. If this none of this
> helps, try running the test without the OPT variables and see what
> happens. If there is still a problem, send the exact entry and exit
> condition so we can can a look.
>
> Good luck,
> Ken
>
> --Enter Long--
> BmIndicator:=
> Mov((Sum((CLOSE -OPEN) >0,opt7)/
> (Sum((CLOSE -OPEN) >0,opt7)+
> Sum((CLOSE -OPEN) <0,opt7)))*100,opt8,S);
> Cross(30,BmIndicator)
>
> --Close Long--
> 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)
>
>
>
>
|