Add push message to trendline alert indicator

Jun 07, 2016 at 06:39
602 Views
5 Replies
JHenrique
forex_trader_318221
Member Since Apr 07, 2016   32 posts
Jun 07, 2016 at 06:39 (edited 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
Member Since Nov 14, 2015   325 posts
Jun 09, 2016 at 10:38 (edited Jun 09, 2016 at 10:40)
JHenrique
forex_trader_318221
Member Since Apr 07, 2016   32 posts
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...
Member Since Jun 18, 2013   52 posts
Jun 15, 2016 at 17:06
it s Symbol() in lower case
buy low sell high
JHenrique
forex_trader_318221
Member Since Apr 07, 2016   32 posts
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
Member Since Dec 21, 2010   131 posts
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.
Sign In / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.