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

[EquisMetaStock Group] PREV-based MAE Stop: What am I missing?



PureBytes Links

Trading Reference Links

Hi,
 
I hope you can help me...
 
I have been playing around with a Prev-based MAE Stop but cannot seem to get it right!
 
I am using one of Metastock 9 EOD's built in Entries to enter and then want to exit if the Low retraces 5% or more from my entry point or if I get a signal in the opposite direction (Short Sell).
All trades are executed the following morning at Open, after the signal hes been received.
 
 
The code:
LBuy:=ForecastOsc(C,14)<0 AND Cross(ForecastOsc(C,14),Mov(ForecastOsc(C,14),3,S));
SSell:=ForecastOsc(C,14)>0 AND Cross(Mov(ForecastOsc(C,14),3,S),ForecastOsc(C,14));
 
LongStop:=
If(PREV=0,
 If(Ref(Lbuy,-1),(0.95*O),0),
  If(L<=0.95*PREV OR Ref(SSell,-1),0,PREV));
{Exit When}
LongStop;
 
 
Please refer to attached screenshot to understand my questions:
 
1. Blue Circle 1: Why does the Stop execute on the 17th (I would expect it to execute on the 18th)?
2. Blue Circle 2 and 3: Why is the Stop Level penetrated on the 7th, 8th and 14th through 16th without triggering the Stop?
3. Blue Circle 3: Repeat of problem 1.
 
I have been staring at this for an hour and cannot seem to find the flaw!
 
Please help.
 
Regards,
 
Adan Willemse
 
PS: I have checked that the scaling is correct.

Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Attachment: 1.JPG
Description: JPEG image