Moving Average Crossover with Alert

Dec 14, 2018
13
0
22
I downloaded this wonderful Moving Average Crossover with alert mt5, it was working fine but I discovered something annoying that I wished could be fixed sir.
Whenever I use negative value in the "MA Shift option" like [-1].
1. The alert won`t come up when it is supposed to do so.
2. It won`t show the Arrow Up/Down as the case maybe
3. Arrow Up/Down can be shown when I refresh the chart only.
 

Attachments

  • MQLTA MT5 Moving Average Crossover Alert.ex5
    225.6 KB · Views: 4
  • MQLTA MT5 Moving Average Crossover Alert.mq5
    10.9 KB · Views: 4
Dec 14, 2018
13
0
22
Thanks so much so much sir for your quick response. I will download it and add it to chart soonest. Thanks once again.
Yeah, there was an array out of range error. Thanks for reporting! You can now re-download the indicator and try again. Make sure it says version 1.03.
 
Dec 14, 2018
13
0
22
Yeah, there was an array out of range error. Thanks for reporting! You can now re-download the indicator and try again. Make sure it says version 1.03.
It is still showing version 1.02, but I have attached it to observe the main point discussed earlier on.
 

Attachments

  • New Picture.jpg
    New Picture.jpg
    29.3 KB · Views: 3
Dec 14, 2018
13
0
22
If it says 1.02, there is no point. Download again and make sure you are opening and installing the newly downloaded files.
I have downloaded it again and installed appropriately. However, the problem of no pop up alert/arrow signal still persist when using negative value in the "MA Shift" option for either "fast moving average shift" or "slow moving average shift". It only shows when I refresh the chart.
 

Enivid

Administrator
Staff member
Nov 30, 2008
15,743
746
144
Odessa
www.earnforex.com
I have downloaded it again and installed appropriately. However, the problem of no pop up alert/arrow signal still persist when using negative value in the "MA Shift" option for either "fast moving average shift" or "slow moving average shift". It only shows when I refresh the chart.
That's strange, the arrows keep showing up normally even when I set negative shifts. Could you please save the input parameters into a .set file and attach it here, so I could try reproducing this error?

As for the popup alerts, they won't appear with negatively shifted MA's because the alert check can only be set either to the current candle or to the previous candle. If your negative shift is 2 or more, the cross will never be detected by the alert checking code.
 
Dec 14, 2018
13
0
22
That's strange, the arrows keep showing up normally even when I set negative shifts. Could you please save the input parameters into a .set file and attach it here, so I could try reproducing this error?

As for the popup alerts, they won't appear with negatively shifted MA's because the alert check can only be set either to the current candle or to the previous candle. If your negative shift is 2 or more, the cross will never be detected by the alert checking code.
Thank you sir, here attached the Moving Average crossover with alert and its SET file too
 

Attachments

  • mqlta maca.set
    982 bytes · Views: 3
  • MQLTA MT5 Moving Average Crossover Alert.ex5
    225.6 KB · Views: 3
  • MQLTA MT5 Moving Average Crossover Alert.mq5
    10.9 KB · Views: 4