READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

backtest

10 replies

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280298

I dont know why the backtest is totally opposite in sq and mql4/5?  Why would this be, I am using UTC tick data and when i build them and transfer them into the mql4 the backtests are opposite.  Only thing I thought of is sq is using heiken ashi for everything even though I am not using it in the building blocks.  why it the backrest opposite?

Attachments:
You must be logged in to view attached files.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #280417

Hi,

it can be cause by using different data in MT4. Do you export the data from SQ to MT4? Check the procedure steps here https://strategyquant.com/doc/quantdatamanager/test-strategy-metatrader-4-tick-precision/

0

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280440

thanks

0

Barrington Miller

Subscriber, bbp_participant, customer, community, 1 replies.

Visit profile

3 years ago #280568

How can i backtest an EA that was created in MT4? Is there a way to backtest and optimize in SQ?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #280578

Hi,

basically you can test your strategy using our software StrategyQuant X. Please be aware you cannot directly import your indicators code into StrategyQuant but you can re-build your strategy with its rules using our AlgoWizard module. Once you re-build your strategy using AlgoWizard module included in StrategyQuant X you will be able to backtest, improve and optimize your strategy. If you strategy uses additional custom indicators those can be added as well but require some additional coding or at least indicator data directly imported. For this we have some tutorials and guidance as well.

Check these links
https://strategyquant.com/doc/programming-for-sq/adding-indicators-and-signals/
https://strategyquant.com/doc/strategyquant/external-indicators/
https://strategyquant.com/codebase

0

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280580

Hi, basically you can test your strategy using our software StrategyQuant X. Please be aware you cannot directly import your indicators code into StrategyQuant but you can re-build your strategy with its rules using our AlgoWizard module. Once you re-build your strategy using AlgoWizard module included in StrategyQuant X you will be able to backtest, improve and optimize your strategy. If you strategy uses additional custom indicators those can be added as well but require some additional coding or at least indicator data directly imported. For this we have some tutorials and guidance as well. Check these links https://strategyquant.com/doc/programming-for-sq/adding-indicators-and-signals/ https://strategyquant.com/doc/strategyquant/external-indicators/ https://strategyquant.com/codebase

I have loaded them into algowizard and backtested them and it was still the same.  I dont know why some work and some dont

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #280599

You can share what did not work. We can check. You can email us at [email protected] if do not want to share

0

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280601

You can share what did not work. We can check. You can email us at [email protected] if do not want to share[/quote

I back tested in mql4  and it worked and then came back 2 days later and it was the opposite in the back test.  some work, some dont

Attachments:
You must be logged in to view attached files.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #280701

Thomas,

selected timeframe precision is only good when testing higher timeframe strategies that has longer period between entries and exits. It is hard to evaluate a strategy that trades intra-bar for example using the precision mentoned. You need to use 1-minute or tick data in most cases

0

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280702

Thomas, selected timeframe precision is only good when testing higher timeframe strategies that has longer period between entries and exits. It is hard to evaluate a strategy that trades intra-bar for example using the precision mentoned. You need to use 1-minute or tick data in most cases

 

OK

0

traderthomas

Customer, bbp_participant, community, sq-ultimate, 45 replies.

Visit profile

3 years ago #280703

Thomas, selected timeframe precision is only good when testing higher timeframe strategies that has longer period between entries and exits. It is hard to evaluate a strategy that trades intra-bar for example using the precision mentoned. You need to use 1-minute or tick data in most cases

Thomas, selected timeframe precision is only good when testing higher timeframe strategies that has longer period between entries and exits. It is hard to evaluate a strategy that trades intra-bar for example using the precision mentoned. You need to use 1-minute or tick data in most cases

Thomas, selected timeframe precision is only good when testing higher timeframe strategies that has longer period between entries and exits. It is hard to evaluate a strategy that trades intra-bar for example using the precision mentoned. You need to use 1-minute or tick data in most cases

The problem is the ATM.

0

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