İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
I have an Expert Advisor based on Candles Price Action, RSI, Waddah_Attar_ADXxBollinger and Moving Average; need to be modified to add double stochastic filter and fixing the single pair martingale strategy. The martingale in this EA is not worked therefore it is needed to be fixed
· Add Filter Double Stochastic
Buy trades when the slow oscillator lines cross upwards. Buy when the fast oscillator crosses upwards.
Sell trades when the slow oscillator lines cross downwards. Sell when the fast oscillator crosses downwards.
Use Slow Stochastic: True/False
Stoch.Kperiod = 21; //Stochastic %K line period
Stoch.Dperiod = 9; //Stochastic %D line period
Stoch.slowing = 9; //Stochastic slowing value
Stoch.method = MODE_SMA; //MA method: MODE_SMA, MODE_EMA, MODE_SMMA or MODE_LWMA
Stoch.price_field = 0; //price field parameter: 0 - Low/High or 1 - Close/Close
Stoch.SignalBar = 1; //0 - get Stochastic signal from open bar; 1 - get Stochastic signal from closed bar
Use Slow Stochastic Over Condition: True/False
(Buy when Slow Stochastic Oscillator (main line) falls below Oversold level (e.g., 20) and then rises above that level.
Sell when the Slow Stochastic Oscillator rises above Overbought level (e.g., 80) and then falls below that level.)
Stoch.OverboughtLevel = 80.0; //Stochastic Overbought level
Stoch.OversoldLevel = 20.0; //Stochastic Oversold level
Use Fast Stochastic: True/False
Stoch.Kperiod = 9; //Stochastic %K line period
Stoch.Dperiod = 3; //Stochastic %D line period
Stoch.slowing = 3; //Stochastic slowing value
Stoch.method = MODE_SMA; //MA method: MODE_SMA, MODE_EMA, MODE_SMMA or MODE_LWMA
Stoch.price_field = 0; //price field parameter: 0 - Low/High or 1 - Close/Close