This EA searches for Horizontal and Trend lines of specified color in MonitoringColor on current chart and notifies you when price crosses them.
When it happens, after the notification, it also changes line color to what specified in CrossedColor parameter and stops monitoring for price crosses on it, until the used change its color again.
You can choose what type of notification you want setting appropriate input parameters:
I'm sharing this code primarily because I need it for my personal trading and I haven't found something similar working well, but also because I'm switching from MQL4 to MQL5 and would like to know from the community if I'm doing it the right way.
Hope you enjoy it,
DSL Balance of market power JMAGann high/low activator JMA
Gann high/low activator JMA