Tradestation code bugs

Tradestation & Pseudo Code
    1. end of day exit (which has it's own time variable) is not transferred to Tradestation code
    2. if using 2 timeframes or 2 instruments, the code refers to the second timeframe or instrument as "Data1". It should be "Data2" as Data1 will always be the main timeframe, so when running the code in Tradestation it will never refer to the second chart.
    3. if you use 3 timeframes or 3 instruments, the code refers to the second and third timeframe or instrument as D2 in Tradestation and Pseudo code, which should be Data2 and Data3.
    4. if you use 2 instruments, the Tradestation code & Pseudo code will only refer as Data2 without mentioning the symbol for the second chart.
Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

ac
#1

statoasis

17.04.2019 19:25

Task created

MF
#2

Mark Fric

18.04.2019 13:49

Status changed from New to Waiting for information

1. aren't you testing it on version 119? In version 120 the variable for End of day time was already added


2. it will be fixed


3. 4. I see it properly. Can you please attach a screenshot and some strategy example?

ac
#3

statoasis

23.04.2019 06:16

Attachment Strategy 21591 ES and YM two time frames.sqx added

Attachment Strategy 31516 ES15min YM60min RTY daily.sqx added

Attachment Strategy 21591 ES and YM two time frames Psu Code.txt added

Attachment Strategy 21591 ES and YM two time frames TradeStation.txt added

Attachment Strategy 31516 ES15min YM60min RTY daily Psu Code.txt added

Attachment Strategy 31516 ES15min YM60min RTY daily TradeStation.txt added

Hi Mark

attached is one strategy in SQX code, TradeStation code, and Pseudo code.

the generation is on ES 15 minutes and the second chart is YM 60 minutes.

As you can see, Tradestation code referred to the second chart as Data1. This should be Data2.


Pseudo code have the following:

Main chart = Current Symbol / Current TF
Subchart1 = YM_1min_830_1515 / H1


Main chart should list the symbol and timeframe just like Subchart 1

Also the same should be in the first comment section of Tradestation code


also attached are three instruments code, with the same comments as above.

TradeStation code referred to the second chart as Data1 and third chart as Data2. This should be Data2 and Data3

MF
#4

Mark Fric

29.04.2019 09:56

Status changed from Waiting for information to Fixed


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please