Have a question about a error I am getting while using the OnCalculate. Its only a warning, but seems to hold up the function when loading the script onto the chart. Any hints to help fix this warning?
'Working Project HighLow Timeframe2.mq4' Working Project HighLow Timeframe2.mq4 1 1
two OnCalculate are defined. OHLC version will be used 0 0
0 error(s), 1 warning(s), compile time: 260 msec 1 2
Thanks for any help...
Brian
two OnCalculate are defined.
SO you look for the two OnCalcualte() functions and either merge then to one or discard the empty one.
two OnCalculate are defined.
SO you look for the two OnCalcualte() functions and either merge then to one or discard the empty one.
Thank you for the reply. but need more, still loss.
Also, when reading MQL4 Reference... found Note: if OnCalculate returns zero, then the indicator values are not shown in the DataWindow of the client terminal.
Not sure if this return of zero is holding me up...
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Have a question about a error I am getting while using the OnCalculate. Its only a warning, but seems to hold up the function when loading the script onto the chart. Any hints to help fix this warning?
'Working Project HighLow Timeframe2.mq4' Working Project HighLow Timeframe2.mq4 1 1
two OnCalculate are defined. OHLC version will be used 0 0
0 error(s), 1 warning(s), compile time: 260 msec 1 2
Thanks for any help...
Brian