## Risk Reward Positions Overview

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

### Risk Reward Positions Overview

Based on the request.
viewtopic.php?f=27&t=66017
Risk Reward Positions Overview.lua

MT4/MQ4 version
viewtopic.php?f=38&t=69050

Apprentice
FXCodeBase: Confirmed User

Posts: 25428
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Risk Reward Positions Overview

Thanks for the indicator, but the indicator has some errors

1- The indicator say i have 4 entry orders but i dont have any entry order in that pair.
2- The Risk/Reward calculation is wrong

For example:
For the second trade the number 36670094 the RR say 1/0.23984375 and that is not correct the correct result is 1:3.7 or rounded 1:4 because the calculus is:

Take Profit (pips) / Stop Loss (pips) = 125.4/-33.3 = 3.76 or rounded 4

So the Risk/Reward in that trade is 1:3.76 or rounded 1:4

Put the risk/reward rounded 1:4 is much better and take less space because too much decimals is not important 1:4 is ok only 2 numbers. And put the format like this 1:4 not 1/4

In the entry orders when i putt one the indicator show it but the calculus is wrong too.
Attachments
Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Apprentice wrote:
EURUSD m1 (05-04-2018 1110).png

Based on the request.
viewtopic.php?f=27&t=66017
Risk Reward Positions Overview.lua

Check the error below
Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Risk Reward Positions Overview.lua

Can you test this version?
I'm on vacation.

Apprentice
FXCodeBase: Confirmed User

Posts: 25428
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Risk Reward Positions Overview

Apprentice wrote:
The attachment Risk Reward Positions Overview.lua is no longer available

Can you test this version?
I'm on vacation.

It does't work the Risk Reward calculus is wrong and the remaining pips to trigger the order was wrong too, remember the formula for the RR is: Take Profit (pips) / Stop Loss (pips) = RR, check my last post about that explaining the error.
Attachments
Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Please can you fix the error I mention?

Thank
Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Try this version.
Risk Reward Positions Overview_1.lua

Apprentice
FXCodeBase: Confirmed User

Posts: 25428
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Risk Reward Positions Overview

It need to fix.

The pips left to hit the entry order never change is has a fixed quatity of pips and that is wrong.

THe indicator show wrong pips, check the image it show the positive trades in negative and negative trades in positive.

If a trade don't have stop or limit please make the indicator to put -:- like when a trade dont have both, because if i have a trade only with limit or stop the rule of risk reward is not complete.

Can you add a new column to show the gross P/L of each trade.

Can you add a net total showing the sum of all trades pips and gross P/L
Attachments
Reymondpolanco
FXCodeBase: Initiate

Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

### Re: Risk Reward Positions Overview

Risk_Reward_Positions_Overview.lua

Try this version.

Apprentice
FXCodeBase: Confirmed User

Posts: 25428
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next