Forum

Alert indicator I converted MQL4 to MQL5 doesn't work at all.

Hello. This MQL4 alert indicator gives alerts everytime the price touches the horizontal lines or trendlines you drew. I converted it to MQL5, and it doesn't work at all. Can anyone help me with this problem, please? Thank you in advance. //MQL4 #define PriceMAX 999999 #property

??? = MQL5 (MQL4(ObjectType());

I need help to convert " if (ObjectType(name) != OBJ_HLINE ); " into MQL5 format. I couldn't find any informations about it. Thank you in advance