PDA

View Full Version : Delayed Entry


arpad_37
30th June 2003, 01:13 PM
Guys,

I am having difficulty with redefining my entry in Metastock and your assistance would be appreciated. What I would like to code is to only enter the trade if the close price has increased x% from the trigger price.
eg:
EntryTrigger:=Ref(Cross(Tema(C,20),Tema(C,100)),-1);
EntryPrice:=CLOSE;

NewEntryTrigger:=Cross(Ref(CLOSE,-1),Ref(Entrytrigger*1.1,-1));
NewEntryPrice:=OPEN;

Can someone tell me what I am doing wrong? The results is a great reduction in trades - which in itself is expected but I have cross checked the New and old trades db and the results do not add up.

Any assistance would be much appreciated

Arpad