Please see the following indicator. I've tried following on this indicator what you did with the earlier indicator for alertsnotify for iphone notifications, which I believe to be adding 2 lines, but it does not notify me with a zeroline crossing. I've removed my line modifications after my 'failed' attempts with it.
I would like to have the indicator to notify me when it crosses the zeroline, or perhaps it is not coded into the indi for zeroline crosses?
Can you kindly help me edit the code so that it notifies me on my iPhone with a zeroline cross, thank you.
Here is a version with notifications added. To get alerts on zero cross keep the alertsOnSlope set to false (tested it now and it alerts on zero line crosses in that case)
Thanks Mladen for your modifications, will test it out.
I've a question, did you add just those 2 lines for alertsnotify or did you have to modify the code so that it alerts on zeroline crossing, because alertsonslope was set to false too when I tested the older version and that didn't work.
Just added those two lines and changed the default value for alertsMessage to true, all the rest is the same. Tested it in back test and it worked OK (it was properly alerting when the alertsOn was turned on)
Thanks for the clarification. Cheers.
Hi Mladen or Mr. Tools,
The attached Ocean NMR indicator was taken somewhere within the TSD forum, however it does not have any period settings that can be changed. I believe it is currently set at 20. Can anyone help code it so that periods or any other important parameters can be changed?
Also, it would be good to have alerts coded for zero crosses and nma upper and lower lower crosses.
Thank you so much.
That was an early attempt to make nmr and it was made without a knowledge of exact formula at the time it was made
Use the one from this post instead (that is the correct nmr and when the upper would be corrected it has to be the same as the one at that post - + the one there has a changeable period already) : https://www.mql5.com/en/forum/179737/page3
Thanks Mladen for pointing out the corrected NMR indi. Strange as it may sound, are you able to help code in changeable "NMA" and "NMA" parameter, and with alerts for zero and upper/lower "NMA" crosses for the NMR20 indicator I had posted even if it was done without a knowledge of the exact formula when it was made? Somehow I find the crosses of the zeroline and the upper and lower bands, plus the reverse of the "NMR" into the "NMA" bands rather accurate.
I am not sure that I understand. Do you want a regular NMA calculated on that nmr20 value?
PS: upper and lower bands in nmr20 are not nma values. I can not put a name on those bands since they were a guessing game and were made as a result of guess-and-try
Mladen, I've emailed you instead, thanks for looking into it!