How to solve this error on mt5 when uploading a custom indicator to the market?

[Deleted]  

The Erros i get when I try to validate the indicator "© IG" before the upload i get "Validation state: Validation completed with errors" are the following:


test on EURUSD,H1 (hedging)
CR 0 22:20:06.527 Core 1 2020.05.04 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09705 )
IN 0 22:20:06.527 Core 1 2020.05.07 21:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08307 )
RS 0 22:20:06.527 Core 1 2020.05.08 11:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08245 )
HM 0 22:20:06.527 Core 1 2020.05.11 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08499 )
KQ 0 22:20:06.527 Core 1 2020.05.11 12:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08177 )
QL 0 22:20:06.527 Core 1 2020.05.12 10:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08204 )
QF 0 22:20:06.527 Core 1 2020.05.12 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08501 )
KK 0 22:20:06.527 Core 1 2020.05.13 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08767 )
CG 0 22:20:06.527 Core 1 2020.05.13 19:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08361 )
LJ 0 22:20:06.527 Core 1 2020.05.15 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08064 )
HD 0 22:20:06.527 Core 1 2020.05.20 00:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09208 )
HI 0 22:20:06.527 Core 1 2020.05.20 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09438 )
FE 0 22:20:06.527 Core 1 2020.05.21 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09611 )
NG 0 22:20:06.527 Core 1 2020.05.21 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09935 )
KJ 0 22:20:06.527 Core 1 2020.05.21 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09496 )
CF 0 22:20:06.527 Core 1 2020.05.25 02:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09040 )
PK 0 22:20:06.527 Core 1 2020.05.25 06:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08875 )
EE 0 22:20:06.527 Core 1 2020.05.25 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09134 )
JH 0 22:20:06.527 Core 1 2020.05.27 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09673 )
KD 0 22:20:06.527 Core 1 2020.05.27 21:00:00 Alert: Tester - © / EURUSD « H1 » ( BUY = 1.09913 )


Any thoughts on how to solve this knowing that the MT4 got validated without any issues or errors! I tried Netting alone hedging alone and Any all return the same errors. This is a custom indicator and not an EA no buying or selling actions whatsoever!
Step on New Rails: Custom Indicators in MQL5
Step on New Rails: Custom Indicators in MQL5
  • www.mql5.com
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.
 
Quality Punctuality:

The Erros i get when I try to validate the indicator "© IG" before the upload i get "Validation state: Validation completed with errors" are the following:


test on EURUSD,H1 (hedging)
CR 0 22:20:06.527 Core 1 2020.05.04 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09705 )
IN 0 22:20:06.527 Core 1 2020.05.07 21:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08307 )
RS 0 22:20:06.527 Core 1 2020.05.08 11:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08245 )
HM 0 22:20:06.527 Core 1 2020.05.11 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08499 )
KQ 0 22:20:06.527 Core 1 2020.05.11 12:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08177 )
QL 0 22:20:06.527 Core 1 2020.05.12 10:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08204 )
QF 0 22:20:06.527 Core 1 2020.05.12 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08501 )
KK 0 22:20:06.527 Core 1 2020.05.13 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08767 )
CG 0 22:20:06.527 Core 1 2020.05.13 19:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08361 )
LJ 0 22:20:06.527 Core 1 2020.05.15 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08064 )
HD 0 22:20:06.527 Core 1 2020.05.20 00:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09208 )
HI 0 22:20:06.527 Core 1 2020.05.20 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09438 )
FE 0 22:20:06.527 Core 1 2020.05.21 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09611 )
NG 0 22:20:06.527 Core 1 2020.05.21 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09935 )
KJ 0 22:20:06.527 Core 1 2020.05.21 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09496 )
CF 0 22:20:06.527 Core 1 2020.05.25 02:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09040 )
PK 0 22:20:06.527 Core 1 2020.05.25 06:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08875 )
EE 0 22:20:06.527 Core 1 2020.05.25 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09134 )
JH 0 22:20:06.527 Core 1 2020.05.27 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09673 )
KD 0 22:20:06.527 Core 1 2020.05.27 21:00:00 Alert: Tester - © / EURUSD « H1 » ( BUY = 1.09913 )


Any thoughts on how to solve this knowing that the MT4 got validated without any issues or errors! I tried Netting alone hedging alone and Any all return the same errors. This is a custom indicator and not an EA no buying or selling actions whatsoever!

It looks like there might be a problem with the indicator alerts? an error line number is usually given with the error 
[Deleted]  
phade #:

It looks like there might be a problem with the indicator alerts? an error line number is usually given with the error 

They did not mention the line number! I copy past exactly the errors as got!

 
Try to eliminate some functions like  alerts, drawing.
[Deleted]  
Wissam Hussein #:
Try to eliminate some functions like  alerts, drawing.
Quality Punctuality:

The Erros i get when I try to validate the indicator "© IG" before the upload i get "Validation state: Validation completed with errors" are the following:


test on EURUSD,H1 (hedging)
CR 0 22:20:06.527 Core 1 2020.05.04 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09705 )
IN 0 22:20:06.527 Core 1 2020.05.07 21:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08307 )
RS 0 22:20:06.527 Core 1 2020.05.08 11:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08245 )
HM 0 22:20:06.527 Core 1 2020.05.11 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08499 )
KQ 0 22:20:06.527 Core 1 2020.05.11 12:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08177 )
QL 0 22:20:06.527 Core 1 2020.05.12 10:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08204 )
QF 0 22:20:06.527 Core 1 2020.05.12 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08501 )
KK 0 22:20:06.527 Core 1 2020.05.13 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08767 )
CG 0 22:20:06.527 Core 1 2020.05.13 19:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08361 )
LJ 0 22:20:06.527 Core 1 2020.05.15 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.08064 )
HD 0 22:20:06.527 Core 1 2020.05.20 00:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09208 )
HI 0 22:20:06.527 Core 1 2020.05.20 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09438 )
FE 0 22:20:06.527 Core 1 2020.05.21 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09611 )
NG 0 22:20:06.527 Core 1 2020.05.21 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09935 )
KJ 0 22:20:06.527 Core 1 2020.05.21 23:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09496 )
CF 0 22:20:06.527 Core 1 2020.05.25 02:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09040 )
PK 0 22:20:06.527 Core 1 2020.05.25 06:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.08875 )
EE 0 22:20:06.527 Core 1 2020.05.25 15:00:00 Alert: Tester - © IG / EURUSD « H1 » ( BUY = 1.09134 )
JH 0 22:20:06.527 Core 1 2020.05.27 05:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09673 )
KD 0 22:20:06.527 Core 1 2020.05.27 21:00:00 Alert: Tester - © / EURUSD « H1 » ( BUY = 1.09913 )


Any thoughts on how to solve this knowing that the MT4 got validated without any issues or errors! I tried Netting alone hedging alone and Any all return the same errors. This is a custom indicator and not an EA no buying or selling actions whatsoever!

I will Update this! Its solved By Eliminating, the Access of the strategy tester to the alert function! the indicator still can give Alerts but not in the strategy tester!

This website uses cookies. Learn more about our Cookies Policy.