hello! Have recently been playing around with this and it's a great tool. One thing I noticed is that if the calculated position size is greater than the "Maximum position size by margin", the numeric font becomes red (to indicate this) and the trade will not execute upon trade execution button/hotkey activation. In such scenarios, is it possible to configure it such that instead of a non-executed trade, the trade executes with a position size that is equal to the "Maximum position size by margin" - perhaps this could be a toggle on/off option?
 
hello! Have recently been playing around with this and it's a great tool. One thing I noticed is that if the calculated position size is greater than the "Maximum position size by margin", the numeric font becomes red (to indicate this) and the trade will not execute upon trade execution button/hotkey activation. In such scenarios, is it possible to configure it such that instead of a non-executed trade, the trade executes with a position size that is equal to the "Maximum position size by margin" - perhaps this could be a toggle on/off option?
I might consider adding that as an option for future versions.
 
Hello! No need to insert them all here. I just need to see the first error (the top one) that you are getting. However, it looks like you are compiling the wrong file. You need to compile Position Sizer.mq5, not Position Sizer.mqh.
Wow!! Thank you so much. Such a simple error on my behalf has cost me hours of frustration. You saved the day. Much appreciated.
 
Sir Position Sizer works very well, there is only one problem, if you add (Close All Positions) in it then it will be the best, on pressing the shortcut keys all the positions get squared off then it will be the best, I hope to see this system in the new version,,
Post automatically merged:

Sir Position Sizer works very well, there is only one problem, if you add (Close All Positions) in it then it will be the best, on pressing the shortcut keys all the positions get squared off then it will be the best, I hope to see this system in the new version,, THANKYOU SIR
 
Sir Position Sizer works very well, there is only one problem, if you add (Close All Positions) in it then it will be the best, on pressing the shortcut keys all the positions get squared off then it will be the best, I hope to see this system in the new version,,
Post automatically merged:

Sir Position Sizer works very well, there is only one problem, if you add (Close All Positions) in it then it will be the best, on pressing the shortcut keys all the positions get squared off then it will be the best, I hope to see this system in the new version,, THANKYOU SIR
There are Close All scripts (for example, this one) available that can do that and can be set to a hotkey. There is no need to add that to the Position Sizer itself.
 
Hi, I am trying to trade with a custom symbol as you can see on the image attached, US100.cash_S30, but the risk parameters are not appearing and it is not registering as a chart to trade even though the chart states full access. How can I fix this?
 

Attachments

  • Screenshot custom symbol.png
    Screenshot custom symbol.png
    192.2 KB · Views: 4
Hi, I am trying to trade with a custom symbol as you can see on the image attached, US100.cash_S30, but the risk parameters are not appearing and it is not registering as a chart to trade even though the chart states full access. How can I fix this?
What does it output in the Experts tab?
Did you choose to copy all the original symbol's parameters?
What formula did you use for the custom symbol?
 
Hello?, I have an update suggestion! It could implement an option to make partials without dividing the order into several, with the possibility for the trader to choose a level or RR before or after executing the order where the price reaches that level, the partial would be made, reducing the number of lots in the operation automatically.

In the current option the order is divided into several orders and I can only place this "partial" before executing because after execution I can no longer do this, so I have to set alarms or wait in front of the chart to remove the order. lots manually in MT5.

An update like this would be very good because you could choose to manage the partial before and after execution and without having to divide the operation into several

congratulations!! has done a great job, every day EA has gotten better
 
Hello?, I have an update suggestion! It could implement an option to make partials without dividing the order into several, with the possibility for the trader to choose a level or RR before or after executing the order where the price reaches that level, the partial would be made, reducing the number of lots in the operation automatically.

In the current option the order is divided into several orders and I can only place this "partial" before executing because after execution I can no longer do this, so I have to set alarms or wait in front of the chart to remove the order. lots manually in MT5.

An update like this would be very good because you could choose to manage the partial before and after execution and without having to divide the operation into several

congratulations!! has done a great job, every day EA has gotten better
Sorry, but that won't be implemented. The current scheme is working well and allows finer control without the requirement for the Position Sizer EA to remain always active. I'm also opposed to the idea of turning the Position Sizer into a trade manager.
 
Hi guys,

Was really stoekd to check this software out but failed to run. So I've followed the steps got all 5 files into indicators in MQL5 folder. Then in subfolder i have translations. When compling Position sizermmq5 it shows these 4 mistakes
Post automatically merged:

Screenshot 2024-06-05 at 7.52.47 PM.png
 
Was really stoekd to check this software out but failed to run. So I've followed the steps got all 5 files into indicators in MQL5 folder. Then in subfolder i have translations. When compling Position sizermmq5 it shows these 4 mistakes
It is an EA. So Kindly move your File folder into MQL5\Experts\ and run the MQL5 Editor. Load the file "Position Sizer.Mq5", Then compile it.

BR
 
  • 👍
Reactions: kon
is it possible to view How much Position size USD (units) used in EA?.
2024-06-05_15h44_11.png
Because When we have limit leverage to maximum 1:10 per symbol
this is needed.

BR
 
is it possible to view How much Position size USD (units) used in EA?.
View attachment 28355
Because When we have limit leverage to maximum 1:10 per symbol
this is needed.

BR
When trading EUR/USD, those units are EUR, not USD. I'm not sure how that helps when trading with a 1:10 leverage limit, but you can get the number of units by multiplying the number of lots by 100,000.
 
  • ℹ️
Reactions: EnrichWave
When trading EUR/USD, those units are EUR, not USD
Yeah, I agree. is it possible have tool to risk for 1:10 leverage per counter (currency we can take 1:10 ,Metal=1:10,Indices=1:10, If the equity is 10K the maximum allowed utilization amount for USDCHF=100K value lot size) even the given leverage is 1:100? (account currency in USD). Or any other tools already available to calculate the maximum allowed lot size in this case?.

Kind regards
 
Last edited:
Yeah, I agree. is it possible have tool to risk for 1:10 leverage per counter (currency we can take 1:10 ,Metal=1:10,Indices=1:10) even the given leverage is 1:100? (account currency in USD).
I'm not sure that I understand what you mean here. For example, you have a 100,000 USD account with a 1:100 leverage. You want the Position Sizer to calculate a position that would only use 10,000 USD margin at maximum? It would still be using a 1:100 leverage. I.e., opening a 10-lot USD/CHF trade would still be possible under those conditions (but not a 100-lot one).