Hi Enivid,

I''ve attached a screenshot of the Experts Tab log. Any suggestions?
Looks normal if that's you who remove the EA 7 seconds after loading it.
What build of MT5 do you have installed? You can check it via the menu Help->About.
Also, did you try re-compiling the Position Sizer.mq5 file?
 
I'm using version 3.11 on MT5 and it keeps filling the log with this message:
2025.11.05 21:08:23.185 Position Sizer (XAUUSD,H4) Stop-loss should be different from Entry.

Is this a bug or is there any way to disable this message?
Thank you.
That message means that the SL line is at the same level as the Entry line. Most likely, it's just the price fluctuating and passing through the SL line. It usually happens when you have an unused chart with the Position Sizer. There is no way to disable that message right now. You can move the SL line very far from the current price or set it to a fixed distance from the current price if you want to avoid those messages.

Perhaps, I will remove that message in the next version as it doesn't help much.
 
That message means that the SL line is at the same level as the Entry line. Most likely, it's just the price fluctuating and passing through the SL line. It usually happens when you have an unused chart with the Position Sizer. There is no way to disable that message right now. You can move the SL line very far from the current price or set it to a fixed distance from the current price if you want to avoid those messages.

Perhaps, I will remove that message in the next version as it doesn't help much.

Ok that makes sense. I often set up my trade with PositionSizer in instant mode with a SL, and then I just leave it on the chart after I'm done. If the price fluctuates over the SL line it would keep generating these messages forever.

I would be really nice if there was an option to disable the message. Perhaps call it "expert mode" or something like that, if you still want the message available for new users.
 
Looks normal if that's you who remove the EA 7 seconds after loading it.
What build of MT5 do you have installed? You can check it via the menu Help->About.
Also, did you try re-compiling the Position Sizer.mq5 file?
Hi mate, Build 5399. I managed to get it work briefly by re installing MT5 but then it mentions and update and need to restart MT5. Log back in and the same issue occurs. For reference I am on a MacBook but its work fine prior to whatever update MT5 had?
Just re compiled it, attached,
 

Attachments

  • Screenshot 2025-11-12 at 11.51.45.png
    Screenshot 2025-11-12 at 11.51.45.png
    379.4 KB · Views: 4
Hi mate, Build 5399. I managed to get it work briefly by re installing MT5 but then it mentions and update and need to restart MT5. Log back in and the same issue occurs. For reference I am on a MacBook but its work fine prior to whatever update MT5 had?
Just re compiled it, attached,
I think the build might be causing the issue. That's a beta build (the latest release one is 5370). MT5 downloaded from MetaQuotes always installs a beta build. I recommend uninstalling it and getting MT5 from a broker.
 
I think the build might be causing the issue. That's a beta build (the latest release one is 5370). MT5 downloaded from MetaQuotes always installs a beta build. I recommend uninstalling it and getting MT5 from a broker.
Hi mate, thanks for the advice but struggling to find build 5370 anywhere 🙁
 
Managed to get an older build but then I get this message and once I restart my EA's stop working. I can press later but eventually it will either do it automatically or freeze 🙁
 

Attachments

  • Screenshot 2025-11-13 at 12.47.06.png
    Screenshot 2025-11-13 at 12.47.06.png
    459.8 KB · Views: 5
Managed to get an older build but then I get this message and once I restart my EA's stop working. I can press later but eventually it will either do it automatically or freeze 🙁
I am not sure, but I think that you need to uninstall the MT5 from MetaQuotes to get rid of this auto-updating to beta builds.
 
Position Sizer has been updated to version 3.12. Many changes have been implemented:
  • Added TP multiplier field to the panel. Previously, it required modification via input parameters. (Via GitHub)
  • Added translations the EA description.
  • Added translations for input parameters in MT5.
  • Added Japanese translation of the panel's interface (contributed by Satoru Hoshino). (Via GitHub)
  • Added an option to let the Position Sizer detect dark mode automatically based on the terminal's settings. (Via GitHub)
  • Added large icons for Hi-DPI displays.
  • Added dark mode icons.
  • Updated hotkey processing functions to support more keys.
  • Optimized some slow places in the code.
  • Changed Risk tab filters from click buttons to radio buttons for faster switching. (@EnrichWave)
  • Fixed a minor glitch with Stop price appearing in the order confirmation window even for orders that are not Stop-Limit in MT5.
  • Fixed a minor glitch with a decimal separator appearing in the money risk result field when the account currency has no decimal places (JPY for example). MT5 only.
  • Fixed a minor glitch with the percentage risk result field not rounding properly in some cases. MT5 only.
  • Fixed a potential freeze issue when OnTimer gets called during deinitialization. (Via GitHub)
  • Fixed an issue with additional take-profits not getting pre-filled when main take-profit is set using the P hotkey despite the fact that such pre-filling was required according to the input parameters. (Via email)
  • Fixed a compilation bug that could appear in some MT4 platforms due to another version of the CompareDoubles function declared in stdlib.mqh. (@vesaldivan)
  • Removed a minor notification message that could previously flood the terminal's log. (@Groundcontrol)
Please download, test, and report any bugs you find. Thank you!
 
  • 🚀
Reactions: EnrichWave
Position Sizer has been updated to version 3.12.
Thank you so much for the wonderful update that waited for long. The risk calculation some times isn't calculated (refreshed). Let me explain in detail.
If I add a position on a symbol with SL, If I remove or Move the the SL. Still it shows the previous risk%.

View attachment Video_2025-11-19_233337.mp4

PS: When ever the orders/positions modified/opened/closed the Risk section should recalculate everything.

BR.
 
Last edited:
  • ℹ️
Reactions: Enivid
Thank you so much for the wonderful update that waited for long. The risk calculation some times isn't calculated (refreshed). Let me explain in detail.
If I add a position on a symbol with SL, If I remove or Move the the SL. Still it shows the previous risk%.

View attachment 35052

PS: When ever the orders/positions modified/opened/closed the Risk section should recalculate everything.

BR.
You know, for some reason. I cannot reproduce this. It always changes immediately for me. Could you please send me your .set file, so I could check that maybe some input parameter combination causes this?

Also, do you have any messages in the Experts tab log when this happens?
 
You know, for some reason. I cannot reproduce this. It always changes immediately for me. Could you please send me your .set file, so I could check that maybe some input parameter combination causes this?

Also, do you have any messages in the Experts tab log when this happens?
Enivid, I deleted the old settings file that is in the "\MQL5\Files" folder then it works fine. I hope something mismatched with the old settings.

PS: if the version updated/mismatch it behaves something different than the new settings for the current version. If I delete the old settings files for the pairs it works fine for the current version.

BR.
 
Last edited:
  • 👍
Reactions: Enivid
Bonjour, je souhaite mettre en place la calculateur de lots mais cependant je n'y arrive pas. Lorsque je clique sur compiler on m'annonce 156 erreurs, comment est ce que je peut régler ce problème.
Cordialement.

[GOOGLE TRANSLATED]
Hello, I'm trying to set up the batch calculator, but I'm having trouble. When I click "compile," I get 156 errors. How can I fix this?

Sincerely.
 
Last edited by a moderator:
[GOOGLE TRANSLATED]
Hello, I'm trying to set up the batch calculator, but I'm having trouble. When I click "compile," I get 156 errors. How can I fix this?

Sincerely.
Please make sure you copied all the files and folders from the archive and that you are compiling Position Sizer.mq5 and not some other file.
If you still experience the same issue, please let me know which error is the first (at the top).
 
Is that on Windows? The Position Sizer is using Unicode characters for those arrows. Are they displayed normally on this page for you?
https://en.wikipedia.org/wiki/Geometric_Shapes_(Unicode_block)
You could also try to re-compile Position Sizer.mq5 to see if the problem will go away.
Yes, I use Window. That page is still displayed well. I tried to re-complie but it's still like that. Really don't know why, but every other thing is okay