Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

SendNotification () on Jforex
 Post subject: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 11:50 

User rating: 0
Joined: Tue 16 Jul, 2013, 11:35
Posts: 6
in the MT4, there is the possibility to use on MGL strategies function
"SendNotification" which allow to recive iMessages from terminal to
MT4mobile terminal.

Isit possible to use the same option on Jforex? If so, please give me
example of java code for this, and let me know where i can swith on this
function in Jforex and insert ID of mobile terminal.

If Jforex dosent give me this option, please advise how can i resive
notifications regarding execution actions when i use automated strategy on
Jforex platform.


 
 Post subject: Re: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 11:55 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
A JForex strategy can do whatever Java SE can do. Thus, start with writing a java program which sends the messages the way you require and then integrate the logic inside a strategy.
For strategies start here:
https://www.dukascopy.com/wiki/#Strategy_API
For strategy development outside the platform see:
https://www.dukascopy.com/wiki/#JForex_SDK


 
 Post subject: Re: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 12:21 

User rating: 0
Joined: Tue 16 Jul, 2013, 11:35
Posts: 6
please give me
example of java code for this,


As this example on MQL
double lastclose=Close[0];
if(lastclose>my_signal)
SendNotification("Price changed"+DoubleToStr(lastclose,Digits));


and let me know where i can swith on this
function in Jforex and insert ID of mobile terminal. On MT4 I can insert mobile terminal ID in terminal options and Push notification will go by strategy from my Mac to mobile terminal



 
 Post subject: Re: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 12:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
In this forum we only provide support for JForex-API functionality. If you have a JForex-API related inquiry, please provide your example strategy, describe the problem that you can't resolve on your own and we will advise you how to do it. For strategy requests please resort to the programmers' register:
https://www.dukascopy.com/swiss/english/forex/jforex/external/


 
 Post subject: Re: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 12:39 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
I don't know if that helps, but you can send an email from a strategy. See: https://www.dukascopy.com/wiki/#Send_e-mail


 
 Post subject: Re: SendNotification () on Jforex Post rating: 0   New post Posted: Tue 16 Jul, 2013, 14:09 

User rating: 0
Joined: Tue 16 Jul, 2013, 11:35
Posts: 6
Tcsabina, thank you!
It will really help if I will not find an opportunity to use push-notification option.


 

Jump to:  

  © 1998-2026 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com