Specification
I will send you BB2 software before we start the job. BB2 informations: https://www.mql5.com/en/job/74670
There is an error on BB2 which you should fixing: sometimes I get clicks on wrong coordinates, for example when up click appear, I get the click on down click's coordinates.
Its should working like BB2 software but the difference is that it's should use 2 Moving Average indicators and not Bollinger Bands. A blue with fast (lower period) and a slower (red, with higher period).
Upp click appear when blue line cross the red line from below to above and the candle closed.
Down click appear when blue line cross the red line from above to below and the candle closed.
Both MA's should working with all 4 methods (simple, exponential, smoothead, linear weighted) and the following 5 applies: closed, open, median prices, typical prices, wighted close. That is 20 different combinations.
I want to set the followings:
MA blue period start (set 1 as default)
Middle (selector) period start (set 10 as default) (this value must be higher than MA blue start)
Middle (selector) period stop (set 15 as default) (this value must be higher than middle period start)
MA red period stop (set 25 as default) (this value must be higher than middle period stop)
The middle (selector) period meaning that we giving a period range (from 10 to 15 as default) which is the blue MA's stop and red MA's start values.
It's means that software should test the followings with default settings:
MAblue from 1 to 10 and MAred from 11 to 25 which is: (10 (blue periods) X 4 (methods) X 5 (applies) = 200) X (15 (red periods) X 4 (methods) X 5 (applies) = 300) = 60000 different tests
MAblue from 1 to 11 and MAred from 12 to 25 which is: (11 (blue periods) X 4 (methods) X 5 (applies) = 220) X (14 (red periods) X 4 (methods) X 5 (applies) = 280) = 61600 different tests
MAblue from 1 to 12 and MAred from 13 to 25 which is: (12 (blue periods) X 4 (methods) X 5 (applies) = 240) X (13 (red periods) X 4 (methods) X 5 (applies) = 260) = 62400 different tests
MAblue from 1 to 13 and MAred from 14 to 25 which is: (13 (blue periods) X 4 (methods) X 5 (applies) = 260) X (12 (red periods) X 4 (methods) X 5 (applies) = 240) = 62400 different tests
MAblue from 1 to 14 and MAred from 15 to 25 which is: (14 (blue periods) X 4 (methods) X 5 (applies) = 280) X (11 (red periods) X 4 (methods) X 5 (applies) = 220) = 61600 different tests
So the software with the default settings should making 60000 + 61600 + 62400 + 62400 +61600 = 308000 tests and listing it, then use the most clicks (highest positive and negative results amount) in the given accuracy rate.
The software should displaying the actual set up's 2 MA lines on the chart and the past clicks as on BB2.
All other things should works like on BB2.