So, what prevents you from using that feature?Hello please I want to be able to Surpass MaxPositionSizeTotal by splitting it into multiple trades just like SurpassBrokerMaxPositionSize
How do you mean it is not available? MaxPositionSizeTotal has nothing to do with that. You shouldn't modify it unless you are willing to restrict the total volume of the trades the Position Sizer will tolerate in an account.The feature is not available
Post automatically merged:
If I set a MaxPositionSizeTotal at 60 lots, if I have a trade of 200 lots I need it to split that 200lots into multiple 60lots and whatever remains
Nice oneHi, I've made a change to the colors of DarkMode, if you like it, feel free to implement it. This is what I changed:
Defines.mqh
View attachment 31259
Position Sizer.mq5:
View attachment 31260
GUI DarkMode:
View attachment 31261
View attachment 31262
View attachment 31263
View attachment 31264
View attachment 31265
I'm getting lots of errors message while trying to compileHi, I've made a change to the colors of DarkMode, if you like it, feel free to implement it. This is what I changed:
Defines.mqh
View attachment 31259
Position Sizer.mq5:
View attachment 31260
GUI DarkMode:
View attachment 31261
View attachment 31262
View attachment 31263
View attachment 31264
View attachment 31265
I've fixed it alreadyI'm getting lots of errors message while trying to compile
It doesn't appear to be corrupted. What makes you think that it is?@Enivid
I’ve fully translated both Portuguese.mqh files. I also translated the .mq5 and .mq4 files, just as I did with previous versions. However, I’ve encountered a new issue: the .mq5 file from the original link (https://www.earnforex.com/mt5-expert-advisors/Position Sizer.zip) appears to be corrupted. It won’t compile.
It’s likely that the .ex5 file works, but the distributed .mq5 file is faulty, which prevents me from completing and compiling the translation. Could you check and update the files to ensure they compile correctly? That would help me finalize the translation.
Hi @Enivid ,It doesn't appear to be corrupted. What makes you think that it is?
Yes, I've already tried compiling them on my side and updated them in the current version archives. Thank you!Hi @Enivid ,
I tried compiling the MT5 version on my end and received some warnings and errors. However, after your reply, I had a friend compile the translated 3.10 version, and it worked correctly on their system. This suggests that the issue might be specific to my local setup.
Are you also able to compile the MT4 and MT5 translations without any issues? If so, then everything is set on your side, and you can update the MT4 and MT5 Portuguese.mqh files accordingly.
Thanks for your help!
If you don't need to see the position size, you can just switch to another tab or minimize the panel.Hello is there a way i can be able to hide the risk USD and position size on the main Tab, i would appreciate the help
I mean if there was an option to just key in the risk percentage only without necessarily viewing the risk in money form.If you don't need to see the position size, you can just switch to another tab or minimize the panel.
You can enter the percentage risk via input parameters without seeing the money risk or position size (as long as you on some other tab or have the panel minimized).View attachment 31401
I mean if there was an option to just key in the risk percentage only without necessarily viewing the risk in money form.
Please use the search feature. It's just 3 lines of code (2 in Position Sizer.mqh and 1 in Position Sizer Trading.mqh).can someone show me the code for this SurpassBrokerMaxPositionSize in the EA
Yes, currently the Position Sizer reads the maximum symbol data only once - when it's first initialized on the chart.Hello, my broker has a max position size of 200.00, but during certain times that max position size is reduced to 60.00.
When I try taking trades during those times with a lot size of 500.00, I expect that the EA will split the trades using 200.00, but it gives me an error because the broker already reduced the max PS to 60.00, but the EA isn't picking it.
What solution do you think will solve this issue easily, please? Thank you for your patience and response
GetSymbolAndAccountData()
function in Position Sizer.mqh and removing the condition it's enclosed in.