How to use Stochastic automated strategies in EA MPGO
Stochastic Indicator block parameters in Expert Advisor:
PARAMETRS Stoch
TypeStochFiltre=1 // 0=Off, 1, 2 (read below about all types with pictures)
Stoch_fastTF = 30 // Time frame where EA fast stochastic (robot must be installed at same or faster TF ! )
Stoch_slowTF = 60 // Time frame where EA slow stochastic
StochFast_Kperiod = 5 // standard stoch parameter
StochSlow_Kperiod = 20 // standard stoch parameter
StochFast_Dperiod = 3 // standard stoch parameter
StochSlow_Dperiod = 12 // standard stoch parameter
StochFast_Slowing = 3 // standard stoch parameter
StochSlow_Slowing = 12 // standard stoch parameter
StochFast_MA_Method = MODE_EMA // standard stoch parameter
StochSlow_MA_Method = MODE_EMA // standard stoch parameter
StochFast_price_field = 1 // 0 – Low/High . 1 – Close/Close
StochSlow_price_field = 1 // 0 – Low/High . 1 – Close/Close
StochFast_shift = 0 // standard stoch parameter
StochSlow_shift = 0 // standard stoch parameter
StochBUYlvl = 20 // zones 0-20 where EA start buy by Stoch ind
StochSELLlvl = 80 // zones 80-100 where EA start sell by Stoch ind
KeepStochxOposite = true // if True – EA look at current bars and if no signal in 0-20 for buy or 80-100 for sell signal – it start search at history latest crosses in this ares and keep trading that signal till it change to opposite (similar to TMA8 strategies historical crosses). This parameter can work in TypeStochFiltre=1, 2, 3. In 4 not works.
TypeStochFiltre=1 // EA look only at StochFastTF and only at ONE fast Stochastic and compare MainLine with Signal Line:

TypeStochFiltre=2 // EA look at StochFastTF and StochSlowTF and compare MainLineFast with SignalLineFast & MainLineSlow with SignalLineSlow at current bar. Its same strategy as TypeStochFiltre=1 but EA read two indicators same time from different timeframes and periods of indicators