[114] Strange "Default" parameters for many indicators in the "Building blocks"

I´ve spent the time to walk through all parameters for each indicator in the "Building blocks" for several hours one by one and found many strange default "presets" for some of them, so that they never will be able to create any useful entries during strategy generating because the conditions can never be met with these default parameters.


2 examples:




"(ATR) ATR crosses above Level"
"(ATR) ATR crosses below Level"
"(ATR) is higher than level"
"(ATR) is lower than level"
Default: Level =  0 -> 100 Step 5. On normal Forex pairs, ATR will be between 0.0001 to 2. So that rule will never create an entry in these cases. Surely, for symbols like DAX, they can reach 100 or more. To make it work for all, you should at least bring down the step to 0.01 - but even then, for most normal Forex pairs, this will never create any entry. I have it set to 0 -> 3 and Step 0.001 now.




"(BEP) Bears Power crosses above Level"
"(BEP) Bears Power crosses below Level"
"(BEP) Bears Power is higher than Level"
"(BEP) Bears Power is lower than Level"
Default: Level = -100 -> 100 Step 5. That oscillator oscillates max within -5 to 5 on even the most volatile Forex pairs (GBPJPY). So if having those settings, this preset indicator creates no entries on most Forex pairs, especially with step 5. Surely it can go to 100 on indices like DAX etc., but for "normal" usage, this does not create any good entries. I have it set to -5 -> 5, Step 0.001


There are A  LOT more of these, but I am lacking the time to write them down all here, as it already took heaps of time to correct them all to useful values. So I highly recommend that someone in your team goes through all these default presets once again and checks against MT4 / MT5 which parameter / level ranges these indicators really have under normal circumstances, because especially in terms of "Level" values, many of them are very off. 

Attachments
No attachments
  • Votes +11
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

g
#1

geektrader

19.11.2018 10:17

Task created

h
#2

hankeys

19.11.2018 11:20
Voted for this task.
h
#3

hankeys

19.11.2018 11:20
VERY GOOD JOB, THIS NEED TO BE DONE FOR EVERY BUILDING BLOCK
KL
#4

kainc301

19.11.2018 15:16
Voted for this task.
g
#5

geektrader

19.11.2018 19:46
Voted for this task.
h
#6

Harpotrader

19.11.2018 19:55
Voted for this task.
g
#7

geektrader

20.11.2018 08:36

Attachment BuildingBlocks_Geektrader.xml added

I´ve spent another night verifying ALL the building blocks (including all exits) for the "right" ranges and step sizes by checking the ranges these indicators create with periods from 1 to 700 in MT4 on all available Forex symbols and noting their min / max values (keep in mind that this might be very different on some indicators for indices like DAX, etc.). The result is that SQ is now finding much more strategies than ever before (many of the defaults values were plain wrong / made no sense, to be honest) and they are more profitable too, which is logical, given that it now searches within the correct ranges.


I decided to share my findings with the authors in case they want to implement those as the new default settings for the building blocks (and everyone who reads this bug report), but I am only posting the snippet of my saved config that contains the building blocks, as I do not want to share my generating settings. To insert this into your config, you´ll have to save your settings in SQX via the Builder -> Settings -> Save As menu, which creates a SQX file. You then rename that SQX file to ZIP, extract the XML file within it and look for the entry point where my attached XML file starts, then replace all the building blocks content in your XML. Then re-ZIP it and rename it as SQX once again, and load it. Then you´ll have my Building Blocks config too.

g
#8

geektrader

20.11.2018 08:57
Just a little update about this, SQX has been running for 15 minutes and already has generated 16(!) EURUSD H1 strategies on 32 years of data that passed all my validation tests too (which are strict). Before adjusting the building blocks like that, SQ had sometimes been running a whole night finding just a few strategies. Too bad that this has been overlooked by the authors (and me, as I assumed they would all be at least in some logical ranges and have been tested) - it´s the heart of SQX actually and if those entry blocks are "wrong", SQX will find much less profitable strategies of course.
RL
#9

rickliao

20.11.2018 09:03
Voted for this task.
h
#10

hankeys

20.11.2018 09:04
i was talking here about it some weeks ago, that this need to be done in the first place, verify the settings of each building block...for example low values exit on bars, low values of expiration of pending order, etc. :)
g
#11

geektrader

20.11.2018 09:12
Missed your report then, there are so many these days. In the end, experienced users will configure it on their own anyway, but for the newbies out there it would help a lot to have at least some meaningful values there. Mine are not "Gold" either, they fit what I AM looking for and fit the Forex market in general - but many people might not agree with my small step values (for example), which, however, have always worked great for me in the last 10 years that I am creating automated strategies (much better than these high step values). Anyhow, my preset should be a good starting point, as I have verified each and every indicator on each and every Forex pair the last 2 nights *whoop* ;-)
h
#12

hankeys

20.11.2018 09:22
i know what you are talking about - setting one building block in 10 places is one hell of a task - not much userfriedly. every type of building block could have only 1 default setting, and if you i want to add something i could set my own set param field on each line of this type


good job

g
#13

geektrader

21.11.2018 02:05

Attachment Untitled.jpg added

After 15 hours of random generating with the newly configured building blocks, I am averaging of 34(!) ACCEPTED strategies per hour now on 32 years of EURUSD H1 data (and look at the mini equity charts!). This is a dramatic improvement compared to the acceptance rate with default settings on the building blocks, as I had just like 1 or 0.5 sometimes there. Those building blocks and using the correct parameter ranges for each, make all the difference in the world, as they are the heart of the whole building process and if not configured correctly, SQX simply cannot find good strategies, regardless how much CPU cores / RAM / genetic evolution you throw at it.
mp
#14

Michele

22.11.2018 20:04
Voted for this task.
m
#15

mabi

22.11.2018 23:02
I deleted the old block's in Xml editor and copy and pasted the ones posted here  but got a line error when imported the new settings file. And when checking the settings they are all still default. Anyway great  find.
m
#16

mabi

22.11.2018 23:03
Voted for this task.
IH
#17

clonex / Ivan Hudec

23.11.2018 14:26
Voted for this task.
MF
#18

Mark Fric

23.11.2018 15:08

Status changed from New to Fixed

geektrader thank you very much for your effort. I went through all the blocks, and applied your settings in most of the places.


We'll also add a possibility to load/save only blocks config without teh whole project.

YJ
#19

extreme

23.11.2018 15:35
Voted for this task.
l
#20

ludvick

25.11.2018 15:11
Voted for this task.
o
#21

Enric

01.01.2019 10:33
Voted for this task.

Votes: +11

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please