Add push message to trendline alert indicator

Jun 07, 2016 at 06:39
Vues 603
5 Replies
JHenrique
forex_trader_318221
Membre depuis Apr 07, 2016   posts 32
Jun 07, 2016 at 06:39 (édité Jun 06, 2016 at 19:45)
Helo guys!

I found an indicator that play sound always that price touch any trendline in the chart. But I’d like that be sent a push message too, saying simply the pair of currency and the time frime.

Example…
EURUSD, M5
GBPUSD, H1
USDJPY, M15

So simple that! But I don’t know language of programation. Someone can modify this indicator for me?



Thanks,

Henry
Membre depuis Nov 14, 2015   posts 325
Jun 09, 2016 at 10:38 (édité Jun 09, 2016 at 10:40)
Enjoy.

Fichiers joints:

JHenrique
forex_trader_318221
Membre depuis Apr 07, 2016   posts 32
Jun 14, 2016 at 10:24
Hi Stian!

You add the line: SendNotification(StringConcatenate('Trendline Indicator hit ', SYMBOL(), ' ', Period(), 'M!'));

Right?

But, the indicator doesn't working anymore... 😕

I don't know why...
Membre depuis Jun 18, 2013   posts 52
Jun 15, 2016 at 17:06
it s Symbol() in lower case
buy low sell high
JHenrique
forex_trader_318221
Membre depuis Apr 07, 2016   posts 32
Jun 17, 2016 at 07:32
THank you man!
The problem was fixed, BUT, this line don't work! Isn't showed none push message together with the audio signal... 😕
forex_trader_25447
Membre depuis Dec 21, 2010   posts 131
Jun 17, 2016 at 08:21
When I send TEST Push message, it arrive to my phone with more than 10 minutes delay.
And some other messages come only after I restart mobile terminal.
Se connecter / S’inscrire to comment
You must be connected to Myfxbook in order to leave a comment
*Lutilisation commerciale et le spam ne seront pas tolérés et peuvent entraîner la fermeture du compte.
Conseil : Poster une image/une url YouTube sera automatiquement intégrée dans votre message!
Conseil : Tapez le signe @ pour compléter automatiquement un nom dutilisateur participant à cette discussion.