I have 2 questions about Position Sizer
1) Is there any way I can set a tariling stop of 4 pips but that is activated when the price reaches a certain value or when it is, for example, 1:2?
2) in the breakeven check is it set how many pips from the entry price or is the price set?
Thank you
 
1) Is there any way I can set a tariling stop of 4 pips but that is activated when the price reaches a certain value or when it is, for example, 1:2?
No, not with the Position Sizer.
2) in the breakeven check is it set how many pips from the entry price or is the price set?
How many points from the Entry price.
 
Discuss the Position Sizer expert advisor here. This EA lets you calculate optimal position size and execute trades based on these calculations. Based on Position Size Calculator, it allows some additional control over the trades it opens. You can ask any questions about this free MetaTrader tool here.

Please refer to this tutorial for the installation process:

Installation tutorial for macOS:

You can download Position Sizer here.

The latest version is 3.09.

Thanks a lot for this! Works beautifully.

Only thing I'd like is an option to close partials at certain levels, or to perhaps have a partial SL option.
 
Hello Earnforex Team
Is it possible to set a BE profit in the Position Sizer EA?
The idea is that when the price reaches a certain value, you set the SL but not right at the entry price. You can set it a certain amount of Pips above (exit with a small profit and/or maybe even below the entry price to reduce the loss.

Are the values for Max Sleppage, Max Spread, etc. set in Pips or Tics?
Thanks
 

Attachments

  • Points.jpg
    Points.jpg
    75.3 KB · Views: 1
Hello Earnforex Team
Is it possible to set a BE profit in the Position Sizer EA?
The idea is that when the price reaches a certain value, you set the SL but not right at the entry price. You can set it a certain amount of Pips above (exit with a small profit and/or maybe even below the entry price to reduce the loss.
No, the Position Sizer doesn't support BE extra profit, but there are EAs that can help with this.
Are the values for Max Sleppage, Max Spread, etc. set in Pips or Tics?
All set in points.
 
This is a great tool!
I am having a small problem when using multiple take profit orders. I will place a pending trade with 4 take profit positions all at 25%. Everything looks right in the order window, 4 orders all with the same SL and different TP. However, when the entry triggers in, only 1 or 2 of the orders will fill. The others have an error saying "Filling the order is against the FIFO requirement." Position sizer 3.1 on MT4 through an Oanda demo account, GBPJPY.

1742953383188.png

1742953552625.png

Thank you for any help you can provide!
 
Last edited:
This is a great tool!
I am having a small problem when using multiple take profit orders. I will place a pending trade with 4 take profit positions all at 25%. Everything looks right in the order window, 4 orders all with the same SL and different TP. However, when the entry triggers in, only 1 or 2 of the orders will fill. The others have an error saying "Filling the order is against the FIFO requirement." Position sizer 3.1 on MT4 through an Oanda demo account, GBPJPY.

View attachment 31809

View attachment 31810

Thank you for any help you can provide!
That's the consequence of Oanda's FIFO rule. You cannot have two or more trades with the same size and with SL/TP on them. The solution is rather simple - change the volume shares from 25/25/25/25 to something like 23/24/26/27, so that all your trades have slightly different size.
 
  • ℹ️
Reactions: EnrichWave
That's the consequence of Oanda's FIFO rule. You cannot have two or more trades with the same size and with SL/TP on them. The solution is rather simple - change the volume shares from 25/25/25/25 to something like 23/24/26/27, so that all your trades have slightly different size.
Thank you for the quick response! Just ran a trade to test and it worked perfectly.
 
Thank you for making this EA, it is a life saver for me who is taking several trades at the same time.
If I may make a suggestion, is it possible to make a way to lock the stop-loss line to a fixed price (e.g., 5150), so that moving the entry line (e.g., from 5200 to 5220) doesn’t shift the SL — it should stay at 5150. I need this because my entry line changes dynamically as the entry candle changes every minute and I place a breakout order following that canle. But I want the SL to stay where is it. For now it keeps on coupling and maintaining the same range I placed the first time.

Thank you!!
 
A question about using the ATR mode. There are two check boxes for "spread adjustments". Could someone explain exactly what this does when I open a trade? Does it mean that I can still trade during high spread times? I only want to trade the daily candles, but sometimes the spreads go crazy. Today it took an hour for the spreads to come down again after the close of the daily candles. If I trade during these high spread periods, how will checking the "spread adjustment boxes benefit me? What exactly does checking the "SA" boxes do to my SL and TP while in ATR mode?
Is there code I can add that will automatically check the boxes for me if I want to enter a trade regardless of what the spread is?
I hope I am making myself clear.
Great EA. Appreciate any enlightenment.
Thanks
 
Thank you for making this EA, it is a life saver for me who is taking several trades at the same time.
If I may make a suggestion, is it possible to make a way to lock the stop-loss line to a fixed price (e.g., 5150), so that moving the entry line (e.g., from 5200 to 5220) doesn’t shift the SL — it should stay at 5150. I need this because my entry line changes dynamically as the entry candle changes every minute and I place a breakout order following that canle. But I want the SL to stay where is it. For now it keeps on coupling and maintaining the same range I placed the first time.

Thank you!!
That's the default behavior. You've either set the SLDistanceInPoints input parameter to true or pressed Shift+S to switch it to the points. You can now just switch it back - either via the input parameter or with the same hotkey.
 
A question about using the ATR mode. There are two check boxes for "spread adjustments". Could someone explain exactly what this does when I open a trade? Does it mean that I can still trade during high spread times? I only want to trade the daily candles, but sometimes the spreads go crazy. Today it took an hour for the spreads to come down again after the close of the daily candles. If I trade during these high spread periods, how will checking the "spread adjustment boxes benefit me? What exactly does checking the "SA" boxes do to my SL and TP while in ATR mode?
Is there code I can add that will automatically check the boxes for me if I want to enter a trade regardless of what the spread is?
I hope I am making myself clear.
Great EA. Appreciate any enlightenment.
Thanks
If you are setting up a Sell trade and you tick the SA checkbox for the take-profit, the TP calculated based on ATR will get the current spread subtracted from it. This means that you will see your Sell trade close when the Bid price reaches the unadjusted TP distance subtracted from your entry (a bit earlier).

I have no idea whether this will benefit you or not. I only implemented this feature because you cannot do that manually in the ATR mode and some traders wanted to use the ATR mode and be able to adjust their SL/TP based on the spread value. I personally never use this feature.
 
@Enivid Kindly The Risk tab need a needed update to check the risk only based on Long or Short orders. That is connected with... Count pending orders, Ignore orders without Stop-Loss, Ignore orders without Take-Profit, Ignore trades in (current Symbol, Other symbols, No Symbols).


View attachment 30763
BR

Hi Enivid,
from above my update request add this too to enhance the risk calculation.
Let me explain with screenshot..
1744285369578.png

And changing the "Ignore trades in" to "Count trades in" with option "All symbol, Current Symbol, Other Symbol" will be more easy to understand.
All these option interlinked one with another..

kind regards
 
Hi Enivid,
from above my update request add this too to enhance the risk calculation.
Let me explain with screenshot..
View attachment 32055

And changing the "Ignore trades in" to "Count trades in" with option "All symbol, Current Symbol, Other Symbol" will be more easy to understand.
All these option interlinked one with another..

kind regards
Do you mean that you sometimes need to calculate risk on pending orders excluding the current open trades?
 
Do you mean that you sometimes need to calculate risk on pending orders excluding the current open trades?
Yes that too trader can calculate if the PS has those options.., and if some time trader need to calculate the risk only for running buy positions of the current symbol.... to adjust (removing , adding) the pending orders position according to his risk calculation.

PS: Sorry the above screenshot text should be like "Count" with option -- "All orders/positions, Pending orders, Running positions"
 
Last edited: