Blog de la Communauté FX

Filtrés par étiquette:  Jforex Strategy
Avatar

Strategy Email Sending

Would you like you JForex Strategy to Email you when trades are closed (or when any other condition is reached)?
It is easy to implement, you just have to use the following in your onMessage code:
if (String.valueOf(message).contains("ORDER_CLOSE_OK")) {
sendEMail("Order Closed", String.valueOf(message));

where you have declared the following :
public String emailAddress="[email protected]";
public long lastSENDtime=0;
public void sendEMail(String subject, String content) throws JFExcept
Lisez l'histoire complète
Traduire en Anglais Montrez l'original
ruka1963 avatar
ruka1963 23 mai

thanks

oupour laisser des commentaires
Avatar

February 2021 winning strategy

sma7ema5vvj5 is a visuel jforex version of my strategy sma7ema5 , it's based on relative position of Simple moving average (7) et exponential moving average (3) with stop is fixed at 63 pip and 14 PIP as tp .
My strategy works on eurusd ,and on thirty minutes period, the indicators used in this strategy are : - exponential moving average (Time period :3) applied on (MEDIAN_BID_PRICE) and the variable used in script (ema6) and Simple moving average (Time period:7) applied on (MEDIAN_BID_PRICE) a…
Lisez l'histoire complète
Traduire en Anglais Montrez l'original
oupour laisser des commentaires