Répondre

Code Easylanguage in StrategyQuant

3 réponses

masmox

Abonné, bbp_participant, client, communauté, sq-ultimate, 4 réponses.

Visiter le profil

Il y a 1 mois #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;

 

Quelqu'un peut-il m'aider ?

0

tomas262

Administrateur, sq-ultimate, 2 réponses.

Visiter le profil

Il y a 1 mois #285976

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

0

masmox

Abonné, bbp_participant, client, communauté, sq-ultimate, 4 réponses.

Visiter le profil

Il y a 1 mois #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

Abonné, bbp_participant, client, communauté, sq-ultimate, 4 réponses.

Visiter le profil

Il y a 1 mois #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.

Les pièces jointes dans ce forum ne sont visibles que par les clients.

0

Affichage de 3 réponses de 1 à 3 (sur un total de 3)