Reply

Code Easylanguage in StrategyQuant

3 replies

masmox

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

1 month ago #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;

 

Can someone help me?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 month ago #285976

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

0

masmox

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

1 month ago #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

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

1 month ago #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.

Attachments in this forum are visible only to Customers.

0

Viewing 3 replies - 1 through 3 (of 3 total)