Pedro Severin: I'm trying to incorporate the damiani volatmeter indicator into this EA, but I don't know if I'm doing it right.
General rules and best pratices of the Forum. - General - MQL5 programming forum
whroeder1:
Why did you start a new post when you already had one about this indicator already open? Don't double post!
General rules and best pratices of the Forum. - General - MQL5 programming forum
Hi whroeder, Why did you start a new post when you already had one about this indicator already open? Don't double post!
General rules and best pratices of the Forum. - General - MQL5 programming forum
I did it because this is in mt5 section and I'm also asking other things. I'm trying to do the EA in both platforms and I thought that if I wanted to ask mt5 related things I should ask them in the mt5 part of the forum.
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
Hi!
I'm trying to fill an array in the oninit function, but sometimes when I do the backtesting it gives me critical error because it tells me that I'm dividing by zero.
The part that fills the array is as follows:
Now, I changed the initial value of i from 0 to 1 and sometimes it still gives me the error (specially when I switch timeframes). Any idea of why this happens? What I'm doing wrong?
Why I'm doing this? I'm trying to incorporate the damiani volatmeter indicator into this EA, but I don't know if I'm doing it right.
This is the full oninit function:
This is the part of the Damiani volatmeter:
At last, whats the difference between the iVolume function and the iVolumes indicator? And the difference between the VOLUME_REAL and VOLUME_TICK of the applied iVolumes parameter?
In advance, thank you very much!
PS