Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 can create custom graphical tools?
dazamate
503
dazamate 2015.08.24 20:43  

This is the code on line 252?

 

static datetime breakoutTrapNoticeFlag, candleNotifyFlag = Time[0];

 Which is one of the first lines inside the onCalculate function.

 

something wrong with calling the Time array like that?? 

dazamate
503
dazamate 2015.08.25 06:21  
dazamate:

This is the code on line 252?

 

 Which is one of the first lines inside the onCalculate function.

 

something wrong with calling the Time array like that?? 

I removed candleNotifyFlag = Time[0]; and the error subsided. I don't understand why though. I wasn't even using the variable anymore.

/ /12
To add comments, please log in or register