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

MQ5 Solar Wind Indicator - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

Solar Wind Indicator for MQ5 - indicator for MetaTrader 5

This is a rewrite of the old solar wind indicator from MQ5. Recently there has been "excitement" about using it for entry signals together with other indicators, and after a request to develop an indicator using it, I found out that it is a classic repaint - so I contributed this code with a simple switch to allow viewing the indicator in repaint mode vs. non-repaint mode.

I'm sure the mob will see this and say it's not worth trading... Please consider this a relatively simple educational example on redrawing vs. not redrawing, and a code example of techniques for making indicators in MQ5.

The Solar Wind indicator is a smooth curve that shows when the trend is bullish or bearish.

If you trade with such indicators, you may also want to look for the "Ehlers Fisher Transform" in the code base.

You can change this indicator between repaint and non-repaint mode via user input:
Input ENUM_ON_OFF NRP = ENUM_OFF; // No redraw (NPR) on/off

V1.02 adds a choice whether to use custom events and cleans up the drawing definition.

Solar Wind Indicator for MQ5 - indicator for MetaTrader 5


Attachment download

📎 solar_winds.mq5 (28.17 KB)

Source: MQL5 #34815

Verification code Refresh