No, not yet use PS-EA with strategy tester. The error screenshot from while use EA on normal charts. Also no any error while compile the code.
OK. Tried reinstalling the Terminal? also try
removing settings files of PS EA Files-->Open data folder... \MQL5\Files.. and in \MQL5\Files\PS_Settings..
 
  • 👍
Reactions: JonSTP
I'm using MT5 v.5 b.4755. (13 Dec 24)
I have modified some input parameters and compile source code (color, font, default dark mode, default risk)
Yeah, it's weird , visually the EA objects still attached on the chart but actually it already terminated from the list .
Yes, it means that the EA is aborting abnormally without any runtime error. This shouldn't be the case. What I'd recommend doing is installing another instance of MT5 (from another broker for example) and launching it there to see if the issue repeats itself there. If not, it's probably a problem with the that specific MT5 installation.
 
  • 👍
Reactions: JonSTP
Just wanted to say that on your site there isn't the Changelog for 3.10. The last one is for 3.09.

Edit: Went again and checked. My mistake. It is written in the middle of the page but on the bottom there is the Changelog again and that one doesn't include the 3.10 version. I used to scroll down to check, that's why I missed it.

Edit2: I just went and checked again. It seems like the whole page is written twice? The first part explains the Expert advisor and all, then in the bottom is the Changelog and then it starts all over again with the same descriptions and like the whole thing is repeated in the second half of the page (that's the one that also doesn't have the 3.10 version in the changelog).

First half of the page
1.png

Bottom half of the page
2.png
 
Last edited:
  • ℹ️
Reactions: Enivid
Just wanted to say that on your site there isn't the Changelog for 3.10. The last one is for 3.09.

Edit: Went again and checked. My mistake. It is written in the middle of the page but on the bottom there is the Changelog again and that one doesn't include the 3.10 version. I used to scroll down to check, that's why I missed it.

Edit2: I just went and checked again. It seems like the whole page is written twice? The first part explains the Expert advisor and all, then in the bottom is the Changelog and then it starts all over again with the same descriptions and like the whole thing is repeated in the second half of the page (that's the one that also doesn't have the 3.10 version in the changelog).

First half of the page
View attachment 31029

Bottom half of the page
View attachment 31030
Oh, wow! That's an interesting glitch! Thanks for reporting this.
 
  • 👍
Reactions: mojster_jaka
Hi, could we have an update in the Position Seizer at the Breakeven section calculate the stop based in RR of the calculated position in Main tab? Thanks
 
MT5 Version 5.00 build 4790
Position Sizer ver 3.10

Sharing a bug I found and sharing to the admin/code owner confirm.
Found a bug: Unable to set the TP multiplier edit box(m_EdtATRMultiplierTP). It always follow the SL multiplier edit box value (m_EdtATRMultiplierSL).

Found the bug (posible typo) at Position Sizer.mqh > ProcessTPChange(const bool) > Line 2401:

Original Code:
MQL5:
Line 2401    sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);


I updated Code (to fix):
Code:
Line 2401       //### --- bug? original line on the comment below
Line 2402       //-- sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);
Line 2403       sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierTP * TP_Multiplier, 2);

I have been a fan of this tools since version 2.4x. Kudos to the code owner for adding more features and updated.
My wishlist feature:
An option to enable / disable to keep all the lines and labels on the chart when exiting the panel.
 
Last edited:
  • ℹ️
Reactions: Enivid
MT5 Version 5.00 build 4790
Position Sizer ver 3.10

Sharing a bug I found and sharing to the admin/code owner confirm.
Found a bug: Unable to set the TP multiplier edit box(m_EdtATRMultiplierTP). It always follow the SL multiplier edit box value (m_EdtATRMultiplierSL).

Found the bug (posible typo) at Position Sizer.mqh > ProcessTPChange(const bool) > Line 2401:

Original Code:
MQL5:
Line 2401    sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);


I updated Code (to fix):
Code:
Line 2401       //### --- bug? original line on the comment below
Line 2402       //-- sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierSL * TP_Multiplier, 2);
Line 2403       sets.ATRMultiplierTP = NormalizeDouble(sets.ATRMultiplierTP * TP_Multiplier, 2);

I have been a fan of this tools since version 2.4x. Kudos to the code owner for adding more features and updated.
My wishlist feature:
An option to enable / disable to keep all the lines and labels on the chart when exiting the panel.
That line isn't a bug. It serves to set the ATR TP multiplier based on the SL and the TP_Multiplier input parameter when the TP button is clicked. Could you please show an example (with screenshots or a video) demonstrating a situation when it can lead to some unexpected behavior?
 
It seems like the server does not allow auto tradin

That line isn't a bug. It serves to set the ATR TP multiplier based on the SL and the TP_Multiplier input parameter when the TP button is clicked. Could you please show an example (with screenshots or a video) demonstrating a situation when it can lead to some unexpected behavior?
Post automatically merged:

Here is the video. I also found some more issues even after I updated the code. Watch til the end of the video. I'll also try to debug further later today.

View attachment GMT20250118-144045_Recording_2560x1080.mp4
 
Post automatically merged:

Here is the video. I also found some more issues even after I updated the code. Watch til the end of the video. I'll also try to debug further later today.

View attachment 31106
Thank you for uploading such a detailed video! I can now see where the problem is. You have TPLockedOnSL enabled in your input parameters. That's why your TP button is dark gray. In that mode, it just follows the SL with the given TP multiplier. You can disable it in your input parameters or by clicking the button once.
 
  • 👍
Reactions: simartspoako
Thank you for uploading such a detailed video! I can now see where the problem is. You have TPLockedOnSL enabled in your input parameters. That's why your TP button is dark gray. In that mode, it just follows the SL with the given TP multiplier. You can disable it in your input parameters or by clicking the button once.
That work! Thanks... There are too many settings for me to remember that I set it to 'true'... my bad.

I have been a fan of this tools since version 2.4x. Kudos to the code owner for adding more features and updated.
My wishlist feature:
An option to enable / disable to keep all the lines and labels on the chart when exiting the panel.
Since I have you here in the thread, I am quoting this and hoping it will be included as new feature on the next version. Again thanks for your immediate response.
 
Hi, i'm sorry if it had been ask, but i really don't find the answer, i might not be good at searching... I would like to know if the position sizer can take the spread in account for the level of entry with a pending order. Thank you for trying to help me 🙂
 
Hi, i'm sorry if it had been ask, but i really don't find the answer, i might not be good at searching... I would like to know if the position sizer can take the spread in account for the level of entry with a pending order. Thank you for trying to help me 🙂
What exactly do you mean by "take the spread in account for the level of entry with a pending order"?
 
What exactly do you mean by "take the spread in account for the level of entry with a pending order"?
Sorry, It's confused. I want, when i take a pending order, to get trigger by the raw price instead of the spread in a long order. for example, if i take a long order, i want to get trigger by the bid price instead of the ask price. I would like to know if it's possible. Thank you 🙂
 
Sorry, It's confused. I want, when i take a pending order, to get trigger by the raw price instead of the spread in a long order. for example, if i take a long order, i want to get trigger by the bid price instead of the ask price. I would like to know if it's possible. Thank you 🙂
No, but you can simply place a pending order a bit higher.
 
Hello
Post automatically merged:

Please I'll like to ask that a particular feature be added to the PS EA
 
if i take a long order, i want to get trigger by the bid price instead of the ask price. I would like to know if it's possible.
You can buy only on ask price, You can sell only on bid price. If you would like to buy on Bid price, You need to enter in buy limits, If your broker have stops level(check it with right click on the instrument and click specification), You need to include that add/subtract with that limit orders.

BR