Antwort

Code Easylanguage in StrategyQuant

3 Antworten

masmox

Abonnent, bbp_participant, Kunde, Gemeinschaft, sq-ultimate, 4 Antworten.

Profil besuchen

vor 1 Monat #285878

Hello, I’m not very experienced with Tradestation/Multichart but I’d like to code in StrategyQuant the following 2 lines of easylanguage code on @GC future timeframe H1:

 

buy next bar at high stop;
sellshort next bar at low stop;

 

Kann mir jemand helfen?

0

tomas262

Administrator, sq-ultimate, 2 Antworten.

Profil besuchen

vor 1 Monat #285976

Do you mean you would want to have both orders (buy & sell) active at once?

0

masmox

Abonnent, bbp_participant, Kunde, Gemeinschaft, sq-ultimate, 4 Antworten.

Profil besuchen

vor 1 Monat #286004

Hello, no because in Tradestation one order at time is active then a stop/reverse mode is what I think. Then, what I expect when I select Tradestation as platform in Algo Wizard that the behavior is like Tradestation but it is not so and what happen is the backtest open one order and not close it anymore.

0

masmox

Abonnent, bbp_participant, Kunde, Gemeinschaft, sq-ultimate, 4 Antworten.

Profil besuchen

vor 1 Monat #286013

Attached the sqx file I use on future @GC timeframe H1. I know that on future gold these 2 lines of code are profitable. My StrategyQuantX is 138.1837 and the future data are from StrategyQuant.

Attached also the equity line.

Die Anhänge in diesem Forum sind nur für Kunden sichtbar.

0

Ansicht von 3 Antworten - 1 bis 3 (von insgesamt 3)