Indicator for Automatic HOD / LOD / HOW / LOW etc. gets error message

 

Hello everybody,

unfortunately I receive these errors:

'DrawLevels' - function was not declared as export FX WATER LEVELS_V0_9.mq4 50 6
'DrawLine' - function was not declared as export FX WATER LEVELS_V0_9.mq4 94 6
'CheckAlerts' - function was not declared as export FX WATER LEVELS_V0_9.mq4 121 6
'IsNearRoundLevel' - function was not declared as export FX WATER LEVELS_V0_9.mq4 145 6

Can anyone help me to fix it?

File see attached!

Thank you so so much!!!

Files:
 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
nniao86: unfortunately I receive these errors:

Why are you using forward declarations for the functions?

There is no need for that! Remove this section ...

//+------------------------------------------------------------------+
//| Function Declarations                                           |
//+------------------------------------------------------------------+
void DrawLevels();
void DrawLine(string Name, double Price, color LineColor, string Label, int Style, bool AlertOn);
void CheckAlerts(string Name, double Price, bool AlertOn);
bool IsNearRoundLevel(double Price);
 
EXCELLENT. Many thanks!