Alarm Custom Indicator For Horizontal Lines - page 5

 
hagadol:

Is there a customer indicastor which would sound the alarm function when a added horizontal line it touched ?

click right 

trading

alarm

 
Mladen Rakic:

...

In metatrader 4 it can not be done.

The problem is that in metatrader 4 you can not specify "previous indicator data" as a source for custom indicator values-prices, and that way, even if you draw it in a correct sub-window, it will not be aware of the values of the indicator in that sub-window

__________________________________

Anyway, posting this indicator (some time ago we had some problem with alerts that were just for horizontal lines). This one works for a regular trend line (you can set it to be horizontal by simply dragging its points) with all the choices of alerts needed : message, sound, email and if it should check values on a current (opened) bar or previous (already closed) bar. It works on main chart and it is checking close price for crosses of the trend line. To have multiple instances, give a LineName parameter unique value and then you can have as much instances as you wish on a same chart

hie Mladen, you mentioned it cannot be done for Mt4, do you have somthing like this for Mt5?

 
Linuxser #:

Here you have.

Hi mate,


Am looking for indicator which find exsisting Horizontal Line in chart ("Buy Entry" @ Support and  "Sell Entry" @ Resistance ) on chart and alert when price touch once per candle.

 
Melody songs #:

Hi mate,


Am looking for indicator which find exsisting Horizontal Line in chart ("Buy Entry" @ Support and  "Sell Entry" @ Resistance ) on chart and alert when price touch once per candle.

Its already available in codebase here

You can further modify as per your need
Support Resistance Line Alert
Support Resistance Line Alert
  • www.mql5.com
Add Popup or Push Alert notification on manually placed horizontal lines, The lines are deleted and reset itself as soon as price touches these lines