Bug related to the Risk% MM the results from SQ differ from MT4 much.

Bug related to the Risk% MM the results from SQ differ from MT4 much.



built on eurusd m30 ducascopy utc+2.


help.

Attachments
Screenshot_1.png
(17.28 KiB)
Strategy 73434.mq4
(196.57 KiB)
Strategy 73434.sqx
(476.65 KiB)
Screenshot_3.png
(138.03 KiB)
TesterGraph.gif
(12.95 KiB)
Screenshot_2.png
(36.72 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

k
#1

Karish

30.10.2018 13:40

Task created

k
#2

Karish

30.10.2018 13:56
just wanted to note that i got few strategies like that, sq shows big returns however mt4 wont come close to the same sq's results.. something in the calculations between the 2 is wrong..
TB
#3

Tomas Brynda

31.10.2018 07:39

Status changed from New to Fixed

After testing the strategy, it seems that the problem is rather related to Exit on Friday bug - https://roadmap.strategyquant.com/tasks/sq4_3246
TB
#4

Tomas Brynda

31.10.2018 08:01

Status changed from Fixed to Waiting for information

I uploaded a patch here: https://roadmap.strategyquant.com/tasks/sq4_3246 . Can you try if it works with the new MQL scripts?
k
#5

Karish

31.10.2018 08:27
ill check
k
#6

Karish

31.10.2018 08:49

Attachment TesterGraph.gif added

Tomas, I replaced the files you sent me in to "C:\StrategyQuant\extend\Code\MetaTrader4\TradingOptions",

generated a new MQL code and tried backtesting on MT4 again,

same results are shown up.


Screenshot attached.

TB
#7

Tomas Brynda

31.10.2018 11:21
Mark has attached a new patch. There is a protection in SQ against unintended changes in standard files that needs to be disabled.

Please try it once more with the new patch.


Thank you for your cooperation

Tomas

k
#8

Karish

31.10.2018 11:44
Tried what Mark uploaded, its giving me the same results, the MM is set to 5, SQ shows big returns and Lots are increased,


In MT4 no Lots increments at all, please fix this..., thanks

TB
#9

Tomas Brynda

31.10.2018 14:49

Status changed from Waiting for information to Fixed

I found a problem in MoneyManagement computation. In SQ the Min/Max SL/PT pips were not taken into account when computing lot size in money management methods.

It fixed it and it should be working in the next release.


k
#10

Karish

31.10.2018 16:18
I LOVE YOU GUYS! ROCK ONNNNN! 
k
#11

Karish

19.08.2020 00:59
Voted for this task.

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please