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.

SMA() crossover email alert automated-strategy/robot?
 Post subject: SMA() crossover email alert automated-strategy/robot? Post rating: 0   New post Posted: Wed 19 Jul, 2017, 19:14 
User avatar

User rating: 0
Joined: Sun 16 Apr, 2017, 06:56
Posts: 11
Location: Cayman Islands, Grand Cayman
Hiya,

Anyone knows how can I create automated-strategy that email me when SMA() crossover with specific angle happens in particular fx-pair?

Thnx :?:


 
 Post subject: Re: SMA() crossover email alert automated-strategy/robot? Post rating: 0   New post Posted: Thu 20 Jul, 2017, 11:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is possible to send emails from a strategy using method
JFUtils.sendMail


 
 Post subject: Re: SMA() crossover email alert automated-strategy/robot? Post rating: 0   New post Posted: Mon 28 Aug, 2017, 12:56 
User avatar

User rating: 0
Joined: Sun 16 Apr, 2017, 06:56
Posts: 11
Location: Cayman Islands, Grand Cayman
Dear API Support,

Thanks for your advise. May please give me example of how to use this (with parameters).

Best regards


 
 Post subject: Re: SMA() crossover email alert automated-strategy/robot? Post rating: 0   New post Posted: Fri 01 Sep, 2017, 08:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is example of usage in the javadocs at that link.


 
 Post subject: Re: SMA() crossover email alert automated-strategy/robot? Post rating: 0   New post Posted: Sun 03 Sep, 2017, 04:21 
User avatar

User rating: 0
Joined: Sun 16 Apr, 2017, 06:56
Posts: 11
Location: Cayman Islands, Grand Cayman
Dear APIsupport,

Is there possibility to create a strategy to receive email with specific subject, that can trigger an event in strategy, like start running or stop running it?
e.g. Email with subject 'Start' cause strategy to start or do specific thing. And Email with subject of 'Stop', to partially/fully stop strategy? Is there any other similar way to implement this?

Thnx


 

Jump to:  

cron
  © 1998-2025 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