Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Only for experienced programmers who have time now.
If your status is busy or loaded don't apply for the job.
1. Replace the Small Body Candles as points with AbC Ratio
In Expert properties there is small body candles as points.
The candle is small when it is input percent of length from average of lengths of the long candles:
AbC
A - the length of the long candle at the left
b - the length of the short candle in the middle
C - the length of the long candle at the right
(A+C)/2= the average length of the long candles
b must be equal or less than input % from (A+C)/2
2. Adding a condition for the reversal pattern to be valid
The reversal pattern is valid when:
The input in % for: The length of the Long shadow candles, Two candles of similar length and Two candles of similar in the 3 bar pattern
must be equal or more than average length of input Range Detector Candles Count.
This Range Detector Candles Count is different from the one for Bollinger Bands during the sideways trend.
3. Making the EA detect all crossings of Stochastic Oscillator's lines
Please look at crossing.png attached.
The Stochastic Oscillator lines crossed each other about 12:10 but the EA didn't detect this crossing.
Next they crossed again at 12:35. The EA detected this crossing and closed the position.
Looking at chart the Stochastic crossed about 12:10.
The EA should detect the crossings which are visible on the chart.
2022.04.01 12:35:00 Fast_Profits_One_Ver_1.05 USDCHF.g,M5: close #17 buy 0.01 USDCHF.g at 0.92467 sl: 0.92330 at price 0.92464
2022.04.01 12:35:00 Fast_Profits_One_Ver_1.05 USDCHF.g,M5: Buy Closed Due to Stochastic Crossed Above OB