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

Trendline and Horizontal Line Crossing Notification EA - MetaTrader 5 Expert | MT5 EA Download

author EAcpu | 5 reads | 0 comments |

Trendlines and Horizontal lines crossing notification EA - expert for MetaTrader 5

Trendlines and Horizontal lines crossing notification EA - expert for MetaTrader 5

Trendlines and Horizontal lines crossing notification EA - expert for MetaTrader 5

The EA searches for horizontal lines and trendline monitoring colors of the specified color on the current chart and notifies you when the price crosses them.

When this happens, after the notification, it will also change the line color to the color specified in the Cross Color parameter and stop monitoring the price cross on it until the user changes its color again.

You can choose the type of notification you want by setting the appropriate input parameters:

I share this code mainly because I need it for personal trading and I haven't found a similar code that works well, but also because I'm switching from MQL4 to MQL5 and want to know from the community if I'm doing it the right way.

Trendlines and Horizontal lines crossing notification EA - expert for MetaTrader 5

hope you like it,
Stex.


Attachment download

📎trendlinecrossalert.mq5 (7.79 KB)

Source: MQL5 #21936

Verification code Refresh