hewi
Member for
12 years 10 months

Tradestation 2000: Entry-Problem

Habe das folgende Signal geschreiben:
---------------------------------------
if marketposition = 0 and open > close[1] then buy at open;

if marketposition = 1 then exitlong at close;
--------------------------------------------------
und wundere mich, daß das System erst 1 Bar später den
Kauf ausführt?

Hat jemand eine Lösung?

(...then buy next bar at open;) möchte ich nicht verwenden - Folgeprobleme.

Gruß

hewi

Submitted by hewi on
Profile picture for user ke45
ke45
Member for
12 years 10 months

Hallo hewi,

solange Du nicht irgendwo "open next bar" verwendest führt die TS alle Handelssystemberechnungen zum Close des Bars (und nur dann) durch. Daher der Kauf erst einen Bar später als Du möchtest. Die Lösung:
---
if MarketPosition = 0 and Open next Bar > Close then Buy Next Bar at Market;
---
und wegen der "Folgeprobleme" (man kann "Open next Bar" und "this Bar at Close" nicht zusammen in einem Signal verwenden) in einem 2. Signal:
---
Exitlong this Bar at Close;
---
sollte zusammen in einer Strategie das gewünschte Ergebnis liefern.

Gruss
-Klaus

hewi
Member for
12 years 10 months

Hallo Klaus,

vielen Dank für die Info.

Gruß

hewi

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.