B113 CRITICAL - MQL code producing very different results

od buildu 108 máme nasazeni již několik desítek strategií na demu a backtesty seděly. Když teď uděláme BT v TDSku přes novým MQL kod z B113 dostáváme naprosto odlišné obchody - viz. přiložená strategie. Je nutno říct, že některé strategie sedí i teď, těžko vysledovat co sedí a co ne, ale někde v MQL kodu došlo k zásadní chybě, která ovlivňuje chod strategii a novém MQL kodu tak nejde věřit.



Posílám příklad jedné strategie, kde to absolutně nesedí, strategie sice generuje obchody, ale MQL kod buildu 108 má 966 obchodů, ale z buildu 113 leze pouze 119 obchodů

Attachments
DE_15_801567099_S_BB_0821_SQ3_B113.htm
(81.29 KiB)
DE_15_801567099_S_BB_0821_SQ3.mq4
(182.26 KiB)
DE_15_801567099_S_BB_0821_SQ3_EQ___BTvsREAL.png
(31.71 KiB)
DE_15_801567099_S_BB_0821_SQ3_B113.mq4
(191.78 KiB)
DE_15_801567099_S_BB_0821_SQ3.sqx
(79.11 KiB)
DE_15_801567099_S_BB_0821_SQ3.htm
(629.53 KiB)
  • Votes +6
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority High

History

h
#1

hankeys

28.10.2018 09:38

Task created

h
#2

hankeys

28.10.2018 09:39
na PNG obrázku je vidět černou linkou backtest z B113 přes SQX a červená linka je demo účet - takže obchody sedí.


Na obrázku by měla být vidět i zelená linka, která by byla BT z TDSka, ale ta vidět není, protože to obchody prostě nedělá

h
#3

hankeys

28.10.2018 09:40

Attachment DE_15_801507152_S_HH_0821_SQ3_EQ___BTvsREAL.png added

třeba u této strategie to obchoduje dobře a srovnání BT sedí tak, jak má sedět
h
#4

hankeys

28.10.2018 09:43
Voted for this task.
PK
#5

investor666

28.10.2018 09:49
Voted for this task.
h
#6

hankeys

28.10.2018 10:01
tady sem pak nahrál všechna srovnání, aby bylo vidět jak moc se to liší


https://mega.nz/#!JoQXEaTI!eNlbmk2xqsQkXeO4PdRz9neQKsNiznKZ9Pt1bHeXBa8


víme jedno, MQL kod z buildu 108 byl v pořádku


MF
#7

Mark Fric

29.10.2018 12:48

Priority changed from Normal to High

tohle je treba proverit, musi to fungovat dobre.
IH
#8

clonex / Ivan Hudec

29.10.2018 19:54
Voted for this task.
TB
#9

Tomas Brynda

30.10.2018 07:38

Status changed from New to Fixed

There was a bug in trading options MQL4 code - pending orders were not closed after the preset time. It is fixed now and it will be working properly in next release
IH
#10

clonex / Ivan Hudec

30.10.2018 22:00
ohmg pls fix and update this asap final ver of sqx in unusable thanks to this
m
#11

mabi

31.10.2018 01:28
I agree with Clonex !!
G
#12

Globegains

31.10.2018 06:19
Voted for this task.
TB
#13

Tomas Brynda

31.10.2018 07:59

Status changed from Fixed to Waiting for information

Attachment TradingOptionsPatch.zip added

I uploaded a patch for MQL4 trading options. Can you replace the old files with the new ones and leave me message, if it solved the problems?

It will be necessary to restart SQ (or at least switch between diferrent Source Code formats) and regenerate strategies MQL code.


Thanks,

Tomas

k
#14

Karish

31.10.2018 10:17
Voted for this task.
h
#15

hankeys

31.10.2018 10:29
když ty soubory přepíšu, restartnu SQ a znovu zgeneruju MQL kod, tak dostávám naprosto stejné MQL soubory jako předtím


když se pak podívám do toho adresáře, kde se měly ty 3 soubory přepsat, tak tam nejsou ty, které jsem tam nahrál, ale vrátí se tam zpátky ty originální


něco to tam znovu přepíše ty TPL soubory na originál

MF
#16

Mark Fric

31.10.2018 10:38

Attachment TradingOptionsPatch.zip added

mate pravdu, mame tam ochranu pred neumyslnym udelanim zmen ve standardnich souborech. Jeste jednou prikladam patch, uz by se to nemelo stavat.
h
#17

hankeys

31.10.2018 10:56
OK, tohle už generuje jiný MQL soubor, k testům se dostanu až večer, dám vědět potom
h
#18

hankeys

01.11.2018 07:51
můžeme to prohlásit za opravené - BT sedí
TB
#19

Tomas Brynda

01.11.2018 08:10

Status changed from Waiting for information to Fixed

Super, děkuji za spolupráci
m
#20

Martin

04.11.2018 01:12
Voted for this task.
m
#21

Martin

05.11.2018 07:07
I tried this new patch from mark, the last you have uploaded, it didn't work for me. Strategies now fail at setting Stop loss and Take profit, there are some which are able to set only of them and some which set none of them (yes all the strategies have SL and TP).
m
#22

Martin

05.11.2018 07:07
I tried this new patch from mark, the last you have uploaded, it didn't work for me. Strategies now fail at setting Stop loss and Take profit, there are some which are able to set only of them and some which set none of them (yes all the strategies have SL and TP).
TB
#23

Tomas Brynda

05.11.2018 07:27

Status changed from Fixed to Waiting for information

Martin, have you replaced just the TradingOptions files, not the whole folder? There were changes in three Trading options files only. It should not influence SL and PT at all
m
#24

Martin

09.11.2018 07:19
Yea that was the mistake I did, sorry for early comment without properly checking it. It works well if done correctly.
TB
#25

Tomas Brynda

09.11.2018 09:52

Status changed from Waiting for information to Fixed


Votes: +6

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please