LittleBB

Newbie
Sep 17, 2021
13
1
4
49
I see. The risk % you see in the left column (captioned Input) is the risk % that you enter - the one you want. The risk % in the right column (captioned Result) and in the SL line's additional label is the resulting risk - the percentage you'll lose if you open the calculated trade.

There is a difference between the Input risk and Result risk because the EA would calculate a higher position size given your risk and SL, but it would be above the maximum position size, which is 100 in your case. Since, it cannot increase the position size, when you move the SL closer to your entry, the Result risk goes down.

Most likely, the position size isn't calculating correctly here (not sure how much is 100 lots of NAS100 is at your broker). This is probably caused by incorrect info returned to the EA by the trading server due to its misconfiguration.

I'm having a similar issue in MT5. I do not adjust the lot size, I only change the % risk. The % entered and the results side is off by .01% If .03 is entered, it is calculating and showing on the SL line as .02 even though the results column shows .03

This happens with larger % as well. 1% displays on the SL line as .99%

Is this by design or a potential bug?

Edit: I tried increasing it by .01% and it shows the lower % on the SL line but the result is closer to the higher % I increased it to.

Feature Request: Please consider adding an option that will display only % or only $ on the line. I always turn off the options to display my account size because it distracts me when I trade but I love seeing the % value there.
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
18,607
1,366
144
Odesa
www.earnforex.com
I'm having a similar issue in MT5. I do not adjust the lot size, I only change the % risk. The % entered and the results side is off by .01% If .03 is entered, it is calculating and showing on the SL line as .02 even though the results column shows .03

This happens with larger % as well. 1% displays on the SL line as .99%

Is this by design or a potential bug?

Edit: I tried increasing it by .01% and it shows the lower % on the SL line but the result is closer to the higher % I increased it to.
If the issue is similar, then it is probably caused by the same thing, but it would really help to see the screenshots of the problem you describe.
 

jhonny

Trader
Jul 18, 2022
2
0
7
32
Hello Enivid,
Thanks for your amazing job.
I would like to ask if it is possible to have a Breakeven method based on How much % our position is in profit... (for example +50% of a 1:2 Risk/Reward) it will move the SL of "+ a tot of pips" from the entry.
Also it could be possible to have a Partial Profit, with the same trade? Instead to open multiple trades at once.
Thanks again.
 

LittleBB

Newbie
Sep 17, 2021
13
1
4
49
If the issue is similar, then it is probably caused by the same thing, but it would really help to see the screenshots of the problem you describe.
I have attached the screenshots here, thank you for checking this.
 

Attachments

  • SL Percent Off_2.jpg
    SL Percent Off_2.jpg
    182.3 KB · Views: 8
  • SL Percent Off.jpg
    SL Percent Off.jpg
    178 KB · Views: 8
  • 2022-08-26_12-26-38.jpg
    2022-08-26_12-26-38.jpg
    167.4 KB · Views: 7

LittleBB

Newbie
Sep 17, 2021
13
1
4
49
@Enivid I think he mentioned this..
But I hope most of the traders don't need to worry about micro size % miss match.

Regards
Thank you Enrich, yes that is what I'm talking about. I didn't notice the issue in the non-EA version. When it comes to risk, I have to know that the tool is accurate. In your screenshot the tool is off by .03 %.

I'm trading with MFF and when I enter the same value as you did (.3% risk), it shows off by the same .01%.

2022-08-26_12-47-03.jpg
 

dbeckley5

Trader
Aug 26, 2022
1
0
6
48
I've installed the position size calculator on my MT5 platform, but it's not working. I copied and pasted it inside the experts folder, but it's not showing up. Please help.
 

kingkingo

Newbie
Aug 28, 2022
1
0
1
24
hello everyone

Thank you so much for developing this wonderful expert

In some strategies, we have to calculate our trading volume based on profit and then enter the SL based on profit.
For example, I enter a trading position for 10 pips profit , and as a result, the SL is set at 5 pips from the entry point.
I did not see this possibility in Expert
If this item is added, it will be very nice
 

LittleBB

Newbie
Sep 17, 2021
13
1
4
49
I received this error when attempting to use PS this afternoon (MT5). AutoTrading option is turned on. I turned it off and back on but the same error message happens. In this message, is 'client' my installation of MT5 or the prop firm (MFF)?

2022.08.30 13:54:12.164 Position Sizer (SP500,M1) Error sending order: auto trading disabled by client.
 

Attachments

  • ExpertsOutput.jpg
    ExpertsOutput.jpg
    346.8 KB · Views: 4

Enivid

Administrator
Staff member
Nov 30, 2008
18,607
1,366
144
Odesa
www.earnforex.com
I received this error when attempting to use PS this afternoon (MT5). AutoTrading option is turned on. I turned it off and back on but the same error message happens. In this message, is 'client' my installation of MT5 or the prop firm (MFF)?

2022.08.30 13:54:12.164 Position Sizer (SP500,M1) Error sending order: auto trading disabled by client.
No idea. That can be either. Is autotrading also enabled for the EA specifically - press F7 and check on the Common tab (Allow live trading).
If it's enabled, then it's MFF that doesn't allow autotrading execution.
 
  • 👍
Reactions: LittleBB

LittleBB

Newbie
Sep 17, 2021
13
1
4
49
No idea. That can be either. Is autotrading also enabled for the EA specifically - press F7 and check on the Common tab (Allow live trading).
If it's enabled, then it's MFF that doesn't allow autotrading execution.
For some reason that box wasn't checked. I checked it and now it works. Thank you Enivid.
 

bolitocenora

Trader
Sep 1, 2022
1
0
7
37
Hi there, thanks for the building this amazing tool.
My question: does the script take the spread into consideration when calculating the lot size? In other words, does it add to the SL distance in the position size calculation formula.

Thank you
 

Enivid

Administrator
Staff member
Nov 30, 2008
18,607
1,366
144
Odesa
www.earnforex.com
Hi there, thanks for the building this amazing tool.
My question: does the script take the spread into consideration when calculating the lot size? In other words, does it add to the SL distance in the position size calculation formula.

Thank you
Why would it? You set explicit SL, it calculates the position size based on your risk and that SL. Spread has nothing to do with this.
 

Saro90

Trader
Sep 1, 2022
2
0
6
33
Hi, I just downloaded the program for MT5 on my Mac, but I can't copy the folder to MT5. It doesn't make me paste this folder in / MQL5 / Experts / also I don't understand how to compile the Position Sizer.mq5 file
 

Enivid

Administrator
Staff member
Nov 30, 2008
18,607
1,366
144
Odesa
www.earnforex.com
Hi, I just downloaded the program for MT5 on my Mac, but I can't copy the folder to MT5. It doesn't make me paste this folder in / MQL5 / Experts / also I don't understand how to compile the Position Sizer.mq5 file
Try what's described in this post for macOS installation. You should only try compiling after you copied the folder.
 
  • 👍
Reactions: Saro90

Rawad

Trader
Sep 1, 2022
2
0
6
22
hello. every time i try to compile the file i get an error plz i need help with this
 

Attachments

  • WhatsApp Image 2022-09-01 at 5.00.40 PM.jpeg
    WhatsApp Image 2022-09-01 at 5.00.40 PM.jpeg
    179.3 KB · Views: 3

Rawad

Trader
Sep 1, 2022
2
0
6
22

Attachments

  • WhatsApp Image 2022-09-01 at 8.50.30 PM.jpeg
    WhatsApp Image 2022-09-01 at 8.50.30 PM.jpeg
    184 KB · Views: 5
  • WhatsApp Image 2022-09-01 at 8.50.54 PM.jpeg
    WhatsApp Image 2022-09-01 at 8.50.54 PM.jpeg
    178.9 KB · Views: 4
  • WhatsApp Image 2022-09-01 at 8.51.16 PM.jpeg
    WhatsApp Image 2022-09-01 at 8.51.16 PM.jpeg
    190 KB · Views: 4