Download MetaTrader 5
To add comments, please log in or register
Interested in earning money via MQL5 Cloud Network? Enter your profile!
c0ntr0x
81
c0ntr0x 2014.07.17 11:58 

Hello, im trieing to use code of indicator in an EA. 

I get the Error :

OnCalculate function not found in custom indicator              1       1 'error in the first line ?

 

How can i fix these ?  Ty for coming help :)

These are my #propertys

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Lime
#property indicator_width1 3
#property indicator_color2 OrangeRed
#property indicator_width2 3
Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2014.07.17 12:21  
c0ntr0x:

Hello, im trieing to use code of indicator in an EA. 

Don't,  use iCustom() instead . . . or do lots and lots of reading:  https://www.mql5.com/en/articles/1456
/
To add comments, please log in or register