Golden Cross Moving Averages
- Индикаторы
-
Robby Suhendrawan
Разработчик торговых роботов (EA) и индикаторов для MT4 и MT5 | Более 12 лет опыта в трейдинге - Версия: 1.0
If you trade with moving averages, this indicator will be your best assistant. Here is what it can do: it identifies the highly effective crossover setups when a fast moving average intersects with a slow moving average. It notifies you in all ways: it triggers a popup alert in the terminal, sends a push notification to your phone, and delivers an email straight to your inbox — now you definitely will not miss a trading opportunity. It can be flexibly adjusted: you can choose the periods, calculation methods, and colors for your moving averages, and even activate a third trend-filter moving average for maximum strategy precision.
A tool for those who like moving averages. No need to sit at the screen — it will tell you when it is time to act. And if you want to experiment, the settings will help you adapt it for scalping on lower timeframes or for long-term swing trading. The indicator has a highly optimized, quick code and can be easily integrated into your trading robot.
To ensure maximum accuracy, the signals and alerts are generated strictly on candle close. The indicator does not duplicate signals within the same price bar — you only receive one notification per confirmed breakout. To keep your charts clean, the signal arrows are intelligently placed slightly beyond the high or low wicks of the breakout candle, meaning your price action is never obstructed. Such a system helps to avoid redundancy, eliminates false repainting, and allows you to focus purely on confirmed data.
Your feedback is very important to me. Do you have any questions or would you like to share your opinion? Write comments or send messages — I am always in touch!
Indicator Parameters
MA 1 Period - the calculation period of the fast moving average. MA 1 Method - the method of calculating the fast moving average (SMA, EMA, SMMA, LWMA). MA 1 Style & Width - visual customization options for the fast moving average line. MA 2 Period - the calculation period of the slow moving average. MA 2 Method - the method of calculating the slow moving average. MA 2 Style & Width - visual customization options for the slow moving average line. Enable MA 3 - a switch to display an optional third moving average to act as a long-term trend filter. MA 3 Period - the calculation period of the filter moving average. MA 3 Method - the method of calculating the filter moving average. Arrow Up Color - the color of the buy signal arrow placed below the candle wick. Arrow Down Color - the color of the sell signal arrow placed above the candle wick. Alert Popup - enables terminal audio and visual alerts on crossover. Alert Push - enables notifications to the mobile terminal. Alert Email - enables sending signals by email.
Is the moving average being redrawn (changing its values)? The moving average lines and the signal arrows do not redraw or change their values in history. The algorithm strictly waits for the signal candle to completely close before printing the arrow and triggering the alert. This means that once a crossover is confirmed and an arrow appears on the chart, it is permanently locked in place. You will never encounter disappearing signals, making this a perfectly reliable tool for both historical visual backtesting and real-time trading.
How to interpret signals from intersecting moving averages? There are a lot of ways. The very fact of crossing is a strong signal of a change in market momentum. The classic approach is to buy when the fast line crosses the slow line upwards (Golden Cross) and sell when the fast line crosses downwards (Death Cross). You can also use the optional third moving average as a baseline trend filter. For instance, you might only accept buy signals if the crossover happens above the third moving average, ensuring you are always trading in harmony with the larger macroeconomic trend.
I have developed a system based on this indicator, how can I automate it? This indicator can be used in your trading robots without restrictions. It exposes standard buffers that can be easily called via the iCustom function in your Expert Advisor. If you are a programmer, you can integrate this logic seamlessly. If your idea is new and interesting, you can write to us and we will help with its automation, or you can find a qualified specialist in the freelance section to build it for you.
How does this indicator differ from similar ones, and what is its advantage? The main difference is its all-in-one approach combined with intelligent charting logic. Most crossover indicators clutter your screen by printing arrows directly on top of the candle bodies, obscuring crucial price action. This indicator calculates the exact tip of the breakout candle's wick and applies a smart distance offset so the chart remains perfectly readable. Furthermore, the inclusion of a fully customizable third moving average means you have an entire trend-following system and filter built into a single, lightweight tool, eliminating the need to stack multiple separate indicators.
Does it work with any tools? Yes! The indicator is fully compatible with forex currency pairs, stocks, indices, cryptocurrencies, and commodity futures. The settings can be easily adapted to different markets: for highly volatile assets, you can increase the moving average periods, and for trending markets, you can adjust the smoothing methods to filter out price noise.
How do I create a system with your indicator? A practical example Here is how you can use it in your strategy: enable all three moving averages. Set the Fast MA to EMA 12, the Slow MA to EMA 21, and the Filter MA to EMA 200. Wait for the overall price to be trading above the 200 EMA. When the 12 EMA crosses above the 21 EMA, a buy arrow will appear at the bottom wick of the closed candle. Enter a buy position, set your stop loss slightly below the most recent local minimum, and target a take profit that is at least twice the size of your risk. But remember: the indicator is an analytical tool, not a magic pill. Always practice proper risk management and test your strategies on historical data first!
Data Security No third-party libraries or external DLL files are required. The indicator does not collect personal data — all calculations are performed locally on your device. Your settings, signals, and transaction history remain completely confidential. This is essential for traders who value privacy and the security of their proprietary trading systems.
--- MT5 Version is here ---
https://www.mql5.com/en/market/product/195483
SUPPORT & REVIEWS
Your success is my priority. If you love this product, I would greatly appreciate a 5-star review! If you need any assistance with setup or have feature requests, please send me a direct message before leaving feedback. I am always here to help.
Subscribe to TradingLabs ID Channel: https://www.mql5.com/en/channels/tradinglabsid
Check out all my premium trading tools: https://www.mql5.com/en/users/suhendrawan/seller
Contact me for fast support: https://www.mql5.com/en/users/suhendrawan
