Download MetaTrader 5

Indicator modification help needed.

To add comments, please log in or register
No time for trading? Subscribe to signals!
Black_Jack822
57
Black_Jack822 2015.07.24 14:02 

Hi. I need a little help in modifying this indicator as I don't know much about it.

Indicator is showing pop-up alert when 2MA crosses and it sends push notification but it does that for every last cross every time when I open the chart or switch between timeframes and the signal is already far back so it's very annoying.

I'm looking for something like this.

- show pop-up with sound (like it is now)

-  send push notification (with info buy or sell/up or down) when 2MA crosses -ONLY when a new cross has been made on the char that is actually open.

- void pop-up notification (when I switch between timeframes) for the last cross which was made and it's older than 4 bars (or something like this)

I hope you know what I mean :) and I would be very grateful for your help :)
Alain Verleyen
Moderator
30755
Alain Verleyen 2015.07.24 15:11  
Blackjack822:

Hi. I need a little help in modifying this indicator as I don't know much about it.

Indicator is showing pop-up alert when 2MA crosses and it sends push notification but it does that for every last cross every time when I open the chart or switch between timeframes and the signal is already far back so it's very annoying.

I'm looking for something like this.

- show pop-up with sound (like it is now)

-  send push notification (with info buy or sell/up or down) when 2MA crosses -ONLY when a new cross has been made on the char that is actually open.

- void pop-up notification (when I switch between timeframes) for the last cross which was made and it's older than 4 bars (or something like this)

I hope you know what I mean :) and I would be very grateful for your help :)
What have you tried ?
Alain Verleyen
Moderator
30755
Alain Verleyen 2015.07.25 12:12  
Comments that do not relate to this topic, have been moved to "How to update an existing file ?".
Black_Jack822
57
Black_Jack822 2015.07.25 13:57  
Alain Verleyen:
What have you tried ?
what do you mean by what have I tried?
JD4
1101
JD4 2015.07.25 19:48  
Blackjack822:
what do you mean by what have I tried?
What have you tried to do in your efforts to modify the indicator as you said you wanted it modified?
Black_Jack822
57
Black_Jack822 2015.07.26 17:51  
JD4:
What have you tried to do in your efforts to modify the indicator as you said you wanted it modified?
basically the indicator was without push notifications so I found some piece of code and I've added it at the end of the original code but like I've mentioned I don't know how to specify the command to send push notifications only when the new MA cross appears and void notifications for crosses older than 4 bars
To add comments, please log in or register