1 (edited by geektrader 2022-08-11 22:45:42)

Topic: "Fixed generated Level of “Standard Deviation” to be between 0.01..."

Hi Mr. Popov,

I´ve seen that you´ve mentioned:

"Fixed generated Level of “Standard Deviation” to be between 0.01 and 0.09"

... in one of your latest EA Studio updates. If I understood right, this means that the Generator, upon the first generation of strategies, now only assigns values between 0.01 and 0.09 for the Standard Deviation indicator. However, the Standard Deviation on non-JPY pairs (where the 0.01 to 0.09 range indeed makes sense) is often much lower and for example, oscillates between (almost) 0 and 0.009 on EURUSD H1 with a 50 period recently:

https://forexsb.com/forum/misc.php?action=pun_attachment&item=4737&download=0

Hence the generator is currently unable to find any strategies that are (meaningful) using the Standard Deviation indicator on EURUSD H1 because the minimum level of 0.01 is barely ever hit. That´s why I´d suggest letting it generate in the range of 0.001 to 0.009, or actually taking the pair into account (e.g. JPY/3-digit pairs would go from 0.01 to 0.09).

A much more elegant solution though would be an automatic indicator calibration based on the actual symbol once the generator is first started on this symbol. That´s a feature that I´ve suggested for another platform a while ago and which is now using it for years and which results in much more meaningful strategies to be found because the indicator level ranges are calibrated to the underlying asset all the time.

For that, once the Generator/Reactor is started, EA Studio would simply automatically apply all indicators that use levels that are expressed in pips and are 3-digit/5-digit dependent (like Standard Deviation) once to the selected asset with a range of different periods like 50, 100, 200, etc. and at different parts of the data to get a good sample of what the indicator min/max level ranges are and then use these discovered min/max values when generating strategies.

Maybe you can add this to EA Studio, it would greatly benefit the quality of the generated strategies compared to the current fixed min/max values. This would also benefit non-Forex pairs like indices (US500 in this example) which has Standard Deviation values between 0 and 120 and for which EA Studio hence can never find a strategy that uses the Standard Deviation indicator if it just uses values between 0.01 and 0.09 when generating.

https://forexsb.com/forum/misc.php?action=pun_attachment&item=4739&download=0

Post's attachments

Untitled.png 92.43 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: "Fixed generated Level of “Standard Deviation” to be between 0.01..."

US500 with a Standard Deviation between 0 and 120.

Post's attachments

us500stddev.png 94.28 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: "Fixed generated Level of “Standard Deviation” to be between 0.01..."

It is done 5 years ago.

The indicators with "free" Level adjust the min, max, and step values automatically after the first calculation as follows:

levelMax   = List.max(stDev)
levelMin   = List.min(stDev)
levelPoint = levelMax < 1 ? 4 : levelMax < 10 ? 2 : levelMax < 100 ? 1 : 0

Re: "Fixed generated Level of “Standard Deviation” to be between 0.01..."

Ah wow, perfect! Didn´t even know... You are a wizard :-)