You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
2012.10.26 16:25:33 PivotCandles(EURUSD,H1) zero divide in 'PivotCandlesClass.mqh' (245,49)
What can be the problem?
I understand that the problem is with m_volatility, but where exactly it is necessary to look in the code and rework it all, it is easier to find out from the author.
2012.10.26 16:25:33 PivotCandles (EURUSD,H1) zero divide in 'PivotCandlesClass.mqh' (245,49)
What can be the problem?
I understand that the problem is with m_volatility, but it is easier to find out from the author where exactly it is necessary to look in the code and rework the whole code.
Thanks for finding the error
Indeed, one line in the code of PivotCandlesClass.mqh class needs to be fixed:
to
UPD: The article and source have been corrected.
No matter how I compile it, it always gives an error. And I don't know how to fix it. That's why the file is not detected in the indicators. The error is in the picture.
No matter how I compile it, it always gives an error. And I don't know how to fix it. That's why the file is not detected in the indicators. The error is in the picture.
You probably have the file opened by another programme
or writing to the folder is prohibited
astrohelper:
And here's what it looks like in another programme - already 9 errors!!!
No matter how I compile it, it keeps giving an error. And it's not clear how to fix it. That's why the file is not detected in the indicators. The error is in the picture.
probably you have the file opened by another programme
or writing to the folder is prohibited
Thank you, it worked.
I find a slight similarity between 'shooting stars'/'hammer' and the Chakin Indicator
Thanks for this.
I have a problem in the PivotCandles.mq5 indicator's OnCalculate event.. The open,high,low,close array member elements are all returning the same value. That is the same value in [i] for each OHLC index. Also the time first element in the array is reporting 1971 as the date. It appears as if the array passed into OnCalculate is not valid.
Any ideas?