MACD Sound Indicator
- [ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5.
- [Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2.
- Manual systems discussion
You are exiting the loop before it is complete . . . why ?
for(i=0; i<limit; i++) { // for loop open brace . . . where is the close brace ? SIGNAL_Buffer[i] = iMAOnArray(MACD_Buffer, 0, SignalEMA, 0, MODE_EMA, i); HISTOGRAM_Buffer[i] = MACD_Buffer[i] - SIGNAL_Buffer[i]; //---- done static int PrevSignal = 0, PrevTime = 0; if(SIGNAL_BAR > 0 && Time[0] <= PrevTime ) return(0); // exits the for loop . . . why ? ? ? PrevTime = Time[0];
You are exiting the loop before it is complete . . . why ?
I Don't know. This where first time that I made sound alert. I Use this article for example: https://www.mql5.com/en/articles/1448
Maybe you can help me make this indicator work properly? I dont know what to change in the code.
Thx you a lot
I Don't know. This where first time that I made sound alert. I Use this article for example: https://www.mql5.com/en/articles/1448
Maybe you can help me make this indicator work properly? I dont know what to change in the code.
Thx you a lot
It's your code, you changed it, how can you not know why?
Since there are no slaves here, there are only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem. =
maybe you can write down what I should looking for. Maybe you can give me some links.
You are exiting the loop before it is complete . . . why ?