|
SMS Notification |
fostercz
|
Post subject: SMS Notification |
Post rating: 0
|
Posted: Thu 08 May, 2014, 21:01
|
|
User rating: 0
Joined: Sun 04 May, 2014, 18:17 Posts: 12 Location: Czech Republic,
|
Hello
I thought about intraday strategy. It have to send SMS to my cell, when time is between 9:00-17:00 and after specified signal on indicator appeared.
It would save a lot of my time. I will receive SMS, then i will decide if open position manually.
I have checked, that 20 SMS are free. Price for next SMS is not problem, but i think, that this service is not available for demo account and testing purposes.
Please if is same code already written post it here.
If I have written something wrong, please correct me!
|
|
|
|
|
hyperscalper
|
Post subject: Re: SMS Notification |
Post rating: 0
|
Posted: Thu 08 May, 2014, 23:02
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
I didn't realize this was Visual JForex... is it able to use a Java Object with a specific API ? Just wondering... Maybe using Java Reflection?
My answer below was for regular Strategy development. Oops, sorry.
I use the Java Mail API and send from my strategies to some email address at the cellphone carrier, which is then texted to my phone.
This is in the U.S. but this will not work from Dukascopy remote server, and it does require that you code up the request and send the email. I send to my gmail account, but found that gmail would reject messages coming from my Amazon AWS Linux server as a "spam" IP address.
Such a method is great to monitor things to your mobile device, but you have to code it up yourself. I'd be happy to give you code, but you may be asking for the platform to do it, or something else.....
HyperScalper
|
|
|
|
|
fostercz
|
Post subject: Re: SMS Notification |
Post rating: 0
|
Posted: Fri 09 May, 2014, 13:22
|
|
User rating: 0
Joined: Sun 04 May, 2014, 18:17 Posts: 12 Location: Czech Republic,
|
Hello
Please can you show me there same example how to write email from strategy.
Thanks
|
|
|
|
|
hyperscalper
|
Post subject: Re: SMS Notification |
Post rating: 0
|
Posted: Fri 09 May, 2014, 14:44
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
I will post some code over the weekend. You might search this forum for others who have probably done it using the Java Mail api as well.... Look at this article by jlongo where examples of sending mail are given. The mail-to-SMS could also be a possibility depending upon service providers, etc. https://www.dukascopy.com/fxcomm/fx-arti ... ad&id=1239HyperScalper
|
|
|
|
|
fostercz
|
Post subject: Re: SMS Notification |
Post rating: 0
|
Posted: Fri 09 May, 2014, 15:09
|
|
User rating: 0
Joined: Sun 04 May, 2014, 18:17 Posts: 12 Location: Czech Republic,
|
Many thanks for your future post and directing me to that article.
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|