Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
Janusz Trojca  
TradingFX1989:
oke thank you 

After the consultations with broker I have made some improvements in Risk Reward Ratio Indicator to work properly with darwinex broker. The new version 4.2 will be publish soon. Download and check.

Best Regards,

InvestSoft

Scott Howard  
Janusz Trojca:
Script to send market orders with Stop Loss & Take Profit defined by Risk Reward Ratio Indicator for MetaTrader5.

Hi there,

I'm using the MT5 version, and the send pending order script works perfectly, but the send order script (for market entry) doesn't send the TP and SL information to my MT5. It will enter the trade, but SL and TP is 0.

The log is shown:

ND 0 23:45:46.365 Scripts script RRR_SendOrder (EURGBP,M5) loaded successfully

IN 0 23:45:46.396 Trades 'xxxxxxx': market sell 0.06 EURGBP

OD 0 23:45:46.652 Trades 'xxxxxxx': accepted market sell 0.06 EURGBP

IN 0 23:45:46.653 Trades 'xxxxxxx': market sell 0.06 EURGBP placed for execution

JO 0 23:45:46.701 Trades 'xxxxxxx': order #5997156 sell 0.06 / 0.06 EURGBP at market done in 305.113 ms

IF 0 23:45:46.702 Scripts script RRR_SendOrder (EURGBP,M5) removed

Compare this to the pending order version:

QH 0 23:31:33.114 Scripts script RRR_SendPendingOrder__1 (EURGBP,M5) loaded successfully

KS 0 23:31:33.138 Trades 'xxxxxxx': buy stop 0.16 EURGBP at 0.89539 sl: 0.89506 tp: 0.89586

PJ 0 23:31:33.400 Trades 'xxxxxxx': accepted buy stop 0.16 EURGBP at 0.89539 sl: 0.89506 tp: 0.89586

IG 0 23:31:33.400 Trades 'xxxxxxx': order #5996325 buy stop 0.16 / 0.16 EURGBP at market done in 262.163 ms

IG 0 23:31:33.400 Scripts script RRR_SendPendingOrder__1 (EURGBP,M5) removed

Can you please advise?

Thanks!

Scott

Janusz Trojca  
Scott Howard:

Hi there,

I'm using the MT5 version, and the send pending order script works perfectly, but the send order script (for market entry) doesn't send the TP and SL information to my MT5. It will enter the trade, but SL and TP is 0.

Can you please advise?

Thanks!

Scott

Hi Scott,

I've just checked scripts and it works properly:

ME 0 09:44:15.240 Scripts script RRR_SendOrder (GBPUSD,M5) loaded successfully

MQ 0 09:44:15.332 Trades 'xxxxxxxx': instant buy 0.04 GBPUSD at 1.27191 (deviation: 3)

FH 0 09:44:15.479 Trades 'xxxxxxxx': accepted instant buy 0.04 GBPUSD at 1.27191 (deviation: 3)

HF 0 09:44:15.485 Trades 'xxxxxxxx': deal #271031304 buy 0.04 GBPUSD at 1.27191 done (based on order #290017317)

CH 0 09:44:15.501 Trades 'xxxxxxxx': order #290017317 buy 0.04 / 0.04 GBPUSD at 1.27191 done in 192.568 ms

QQ 0 09:44:15.501 Trades 'xxxxxxxx': modify #290017317 buy 0.04 GBPUSD sl: 0.00000, tp: 0.00000 -> sl: 1.27070, tp: 1.27283

OR 0 09:44:15.805 Trades 'xxxxxxxx': accepted modify #290017317 buy 0.04 GBPUSD sl: 0.00000, tp: 0.00000 -> sl: 1.27070, tp: 1.27283

MQ 0 09:44:15.812 Trades 'xxxxxxxx': modify #290017317 buy 0.04 GBPUSD -> sl: 1.27070, tp: 1.27283 done in 311.633 ms

GM 0 09:44:15.813 Scripts script RRR_SendOrder (GBPUSD,M5) removed


Sometimes problem could occur when stop loss or take profit distance is too close, but in this case there is also appropriate entry in log:

IF 0 09:50:34.523 Scripts script RRR_SendOrder (EURGBP,M5) loaded successfully

FQ 0 09:50:34.570 Trades 'xxxxxxxx': instant sell 0.06 EURGBP at 0.89537 (deviation: 3)

KG 0 09:50:34.701 Trades 'xxxxxxxx': accepted instant sell 0.06 EURGBP at 0.89537 (deviation: 3)

FI 0 09:50:34.724 Trades 'xxxxxxxx': deal #271033199 sell 0.06 EURGBP at 0.89535 done (based on order #290019680)

MG 0 09:50:34.734 Trades 'xxxxxxxx': order #290019680 sell 0.06 / 0.06 EURGBP at 0.89535 done in 163.494 ms

FO 2 09:50:34.734 Trades 'xxxxxxxx': failed modify #290019680 sell 0.06 EURGBP sl: 0.00000, tp: 0.00000 -> sl: 0.89542, tp: 0.89527 [Invalid stops]

MJ 0 09:50:35.746 Scripts script RRR_SendOrder (EURGBP,M5) removed


Send us more info about your problem (screenshots or video, broker name, terminal version etc.)


Best Regards,

InvestSoft

Janusz Trojca  

Finally we found the reason for not setting SL/TP in orders. The problem occurred for orders with a longer execution time. We have improved our script to avoid such situations in the future.

Below is the new version (2.0) of script RRR_SendOrder to download.

File:
Yoann Courbouleix  
Bonjour et merci pour cet indicateur que je trouve super utile. Je l'ai acheté pour l'utiliser sur MT5 et j'aimerais savoir si je venais à changer vers MT4 est ce qu'il est possible de le réinstaller ou je dois l'acheter de nouveau ? merci d'avance
Janusz Trojca  
Yoann Courbouleix:
Bonjour et merci pour cet indicateur que je trouve super utile. Je l'ai acheté pour l'utiliser sur MT5 et j'aimerais savoir si je venais à changer vers MT4 est ce qu'il est possible de le réinstaller ou je dois l'acheter de nouveau ? merci d'avance

Hello. According to the mql5.com market policy, I can publish mt4 and mt5 version only as separated products, so there are no possibility to join licencji mt4 & mt5. If you purchased licence for mt5 you can't use it for mt4 version. You must purchase mt4 licence.

Yoann Courbouleix  
Janusz Trojca:

Hello. According to the mql5.com market policy, I can publish mt4 and mt5 version only as separated products, so there are no possibility to join licencji mt4 & mt5. If you purchased licence for mt5 you can't use it for mt4 version. You must purchase mt4 licence.

Grand merci pour votre reponse ;)

Luke Golledge  
ive bought an downloaded the rr program I tranfered to mt5 by using the community, when I try to draw my rr lines using the indicator its lets me click on it but doesn't le me click or drag my lines. need help?
Janusz Trojca  
Luke Golledge:
ive bought an downloaded the rr program I tranfered to mt5 by using the community, when I try to draw my rr lines using the indicator its lets me click on it but doesn't le me click or drag my lines. need help?

Hi Luke,

Thank you for your purchase Risk Reward Ration Indicator. 

When you have lines drawn on chart, than double click by left mouse button on line to select it (you will see small rectangles at the ends of line) and than you can click and drag the line.


Best Regards,

Janusz

InvestSoft

DANIIL LEBEDEV  


Hello! Can u tell me where is the problem, please, thank you!

Sorry, I got it, had autotrading off.
Janusz Trojca  
Daniil Lebedev:


Hello! Can u tell me where is the problem, please, thank you!

Sorry, I got it, had autotrading off.

Hello Daniil,

Yes, autotrading must be ON.

Best Regards,

Janusz

InvestSoft

Евгений Савинов  

Hi guys,


It seems the indi does not calculate correct pozition size in currency for indicies (SP500, DAX30 etc.)


How can this be fixed?


Thanks!

Janusz Trojca  
Евгений Савинов:

Hi guys,


It seems the indi does not calculate correct pozition size in currency for indicies (SP500, DAX30 etc.)


How can this be fixed?


Thanks!

Hi

As SP500 is quoted in USD and your account is in EUR show EURUSD pair in "Market Watch" in MT5 terminal to simply calculate contract value in your account currency (EURO).

Check also if you have symbols with prefix or suffix.


Best Regards,

Janusz

InvestSoft

Евгений Савинов  
Janusz Trojca:

Hi

As SP500 is quoted in USD and your account is in EUR show EURUSD pair in "Market Watch" in MT5 terminal to simply calculate contract value in your account currency (EURO).

Check also if you have symbols with prefix or suffix.


Best Regards,

Janusz

InvestSoft

Hi!


Thanks for the quick reply!


However I have this added to the market watch,  and it does not have any prefixes, please take a look:



Am I doing something wrong?


Thanks! 

Janusz Trojca  
Евгений Савинов:

Hi!


Thanks for the quick reply!


However I have this added to the market watch,  and it does not have any prefixes, please take a look:



Am I doing something wrong?


Thanks! 

Send me in private message your broker name and account type. I will check it and let you know.

Janusz Trojca  
Евгений Савинов:

Hi!


Thanks for the quick reply!


However I have this added to the market watch,  and it does not have any prefixes, please take a look:



Am I doing something wrong?


Thanks! 

It was needed a small correction to make calculations for this symbols. Now it works properly.

RRR futures calculations

Risk Reward Ratio Indicator ver. 4.7 is available in mql5.com market. Please update Risk Reward Ratio Indicator MT5 to the newest version. 


Best Regards,

Janusz

InvestSoft

Евгений Савинов  

Hi!


Looks like the indi does not work correctly on small time frames...

1. Depending on the spread on the current currency pair, it could open an order (using a script provided) which would immediately be closed in a loss.

2. Also, I noticed that sometimes the TP is not taken when reached and SL could be hit prematurely, also depending on the current spread...

3. Sometimes an order is opened without a TP and SL set which is also confusing.


This usually happens on lower TFs like 1-5-15 minutes.


I realize this might depend on a broker, and my questions might be noobish,  but could you please share what can be done to avoid such cases?


Thanks!

Janusz Trojca  
Евгений Савинов:

Hi!


Looks like the indi does not work correctly on small time frames...

1. Depending on the spread on the current currency pair, it could open an order (using a script provided) which would immediately be closed in a loss.

2. Also, I noticed that sometimes the TP is not taken when reached and SL could be hit prematurely, also depending on the current spread...

3. Sometimes an order is opened without a TP and SL set which is also confusing.


This usually happens on lower TFs like 1-5-15 minutes.


I realize this might depend on a broker, and my questions might be noobish,  but could you please share what can be done to avoid such cases?


Thanks!

Hi,

I think that RRR indicator works properly but to understand this situations we must consider how all this works with spread. 

We have Ask and Bid price. When we place BUY order it is realized by ASK price but it is closed in BID price and vice versa for SELL orders. So if you have spread e.g. 1.2. pips and you set tight stop loss in distance e.g. 1.5 pips than BID price is only 0.3 pips from your SL so there is a high probability that it will be closed quickly with loss (situation number 1 you described).

The same is for TP. RRR indicator is not responsible for TP execution. It is realized by a broker and again if you have BUY order it is executed when BID price hit TP (case no. 2). There could also be another reasons that TP is not realized but all depened on integrity of the broker but this is topic for a separate article.

Case no. 3 is caused by a "stop level". Eeach symbol has param "Stops level" set by a broker and this specify the min. distance of stop loss and take profit to the open price. If this is too close then broker doesn't allow to set sl & tp. As script is seting it in 2 stages so it can open trade but can't set SL or TP.

Stops level for specific symbol can be read here:

1. Click right mouse button on symbol

2. Select "Specification"

3. Find "stops level" value


If you have any questions don't hesitate to ask. We are glad to help you.


Best Regards,

Janusz

InvestSoft

Евгений Савинов  
Janusz Trojca:

Hi,

I think that RRR indicator works properly but to understand this situations we must consider how all this works with spread. 

We have Ask and Bid price. When we place BUY order it is realized by ASK price but it is closed in BID price and vice versa for SELL orders. So if you have spread e.g. 1.2. pips and you set tight stop loss in distance e.g. 1.5 pips than BID price is only 0.3 pips from your SL so there is a high probability that it will be closed quickly with loss (situation number 1 you described).

The same is for TP. RRR indicator is not responsible for TP execution. It is realized by a broker and again if you have BUY order it is executed when BID price hit TP (case no. 2). There could also be another reasons that TP is not realized but all depened on integrity of the broker but this is topic for a separate article.

Case no. 3 is caused by a "stop level". Eeach symbol has param "Stops level" set by a broker and this specify the min. distance of stop loss and take profit to the open price. If this is too close then broker doesn't allow to set sl & tp. As script is seting it in 2 stages so it can open trade but can't set SL or TP.

Stops level for specific symbol can be read here:

1. Click right mouse button on symbol

2. Select "Specification"

3. Find "stops level" value


If you have any questions don't hesitate to ask. We are glad to help you.


Best Regards,

Janusz

InvestSoft

Thanks Janusz!


That makes a lot more sense now :) 


Best regards,

Yevhven.

Parranderos Swing  

Hello, can you help me to show the money for the futures market that does not appear to me



Not shown for sp500, Nasdaq, Dax ...

Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti