Tradestation Easy language code output error
1件の返信
With version 141.2225 any code exported for Tradestation has an “order name already used” for “ExitEndOfDayL” in the following code section:
// Exit At End Of Range
if LimitSignalsTimeRange = True and ExitAtEndOfRange = true then begin
if SignalTimeRangeFrom < SignalTimeRangeTo and Time >= SignalTimeRangeTo then begin
if (MarketPosition > 0) then Sell(“ExitEndOfDayL”) This Bar On Close;
if (MarketPosition < 0) then BuyToCover(“ExitEndOfDayS”) This Bar On Close;
終了;;
if SignalTimeRangeFrom >= SignalTimeRangeTo and Time >= SignalTimeRangeTo and Time < SignalTimeRangeFrom then begin
if (MarketPosition > 0) then Sell(“ExitEndOfDayL”) This Bar On Close;
if (MarketPosition < 0) then BuyToCover(“ExitEndOfDayS”) This Bar On Close;
終了;;
終了;;
I have to delete this section each time I want to test code.
0
こんにちは、,
we are preparing a patch for this issue introduce with the build 141. It should be available in couple days
0
1件の返信を表示中 - 1 - 1件目 (全1件中)