Metastock: Long und Short im Systemtester zur gleichen Zeit ?

Hallo

Ich habe folgendes Problem mit dem Metastock Systemtester:

Enter long:Überkreuzen zweier Moving Averages
Enter short:Überkreuzen zweier Moving Averages
close long:c<fml(stop loss)
close short:c>fml(stop buy)

Obwohl ich long und nicht ausgestopt bin, geht Metastock short, weil sich ein shortsignal ergeben hat. Wie kann ich das verhindern ?

Zum Beispiel 'Gehe nur short oder long wenn ich keine Position habe'.

Danke

Submitted by Fishbird on
metatrader
Member for
12 years 8 months

Hallo,

das kannst Du wie folgt lösen, Beispiel mit Cross EMA 20:

In Trade
N:=Cross(C,Mov(C,20,E)); {Buy}
X:=BarsSince(Cross(Mov(C,20,E),C))=0; {unabhängiges exit signal}
I:=Cum(N>-1 AND X>-1)=1; {gültiges Entry und Exit}
Tr:=BarsSince(I OR N)

Rückrufservice
Please describe your request so that we can prepare for the callback.
Yes, I have read the Privacy Policy note and I consent that the data provided by me, including the contact data, for the processing of the inquiry and in case of questions are electronically collected and stored. My data will only be used strictly for my request and will not be passed without my consent. This consent can be revoked any time with effect for the future.'
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Register now

Register now and test ZMP Live+ for 14 days free of charge!
  • Permanently free of charge
  • No payment information required
Help?

Do you have questions about ZMP Live? Our team will be happy to help you. Please feel free to send us a message:

Our privacy policy applies

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.