EnrichWave

Master Trader
May 15, 2018
383
100
89
India
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

Enivid

Administrator
Staff member
Nov 30, 2008
19,345
1,542
144
Odesa
www.earnforex.com
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

mojster_jaka

Newbie
May 14, 2024
7
6
4
41
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

Enivid

Administrator
Staff member
Nov 30, 2008
19,345
1,542
144
Odesa
www.earnforex.com
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

mad837

Trader
Jan 14, 2025
1
0
6
41
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
 

simartspoako

Trader
Jan 17, 2025
3
2
8
46
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

Enivid

Administrator
Staff member
Nov 30, 2008
19,345
1,542
144
Odesa
www.earnforex.com
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?
 

simartspoako

Trader
Jan 17, 2025
3
2
8
46
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
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,345
1,542
144
Odesa
www.earnforex.com
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

simartspoako

Trader
Jan 17, 2025
3
2
8
46
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.
 

ThisMaB

Newbie
Jan 20, 2025
1
0
1
23
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 :)
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,345
1,542
144
Odesa
www.earnforex.com
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"?