Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MA_AC_Stochastic_Signal - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

MA_AC_Stochastic_Signal - indicator for MetaTrader 5

The indicator gives trend signals consisting of moving averages as color trapezoids (colors are related to the direction of the trend) and overall market entry signals as color bars identified by the Stochastic Oscillator and Bill Williams' Accelerator .

Indicator input parameters include moving average and stochastic oscillator input parameters:

 //+------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------+
Input integer MA_Period = 9 ; // Moving average period
Input ENUM_MA_METHOD MA_METHOD= MODE_SMA ; // Smoothing method
Input ENUM_APPLIED_PRICE MA_Price = PRICE_CLOSE ; // Price calculation method
Input integer STO_period = 5 ; // random period
Input integer STO_slowdown = 3 ; // random slowdown
Input ENUM_MA_METHOD STO_method= mode_SMA ; // Random smoothing method
Input ENUM_STO_PRICE STO_price = STO_LOWHIGH ; // Random price calculation method 

MA_AC_Stochastic_Signal - indicator for MetaTrader 5


Attachment download

📎 ma_ac_stochastic_signal.mq5 (8.79 KB)

Source: MQL5 #720

Verification code Refresh