EnrichWave

Master Trader
May 15, 2018
356
86
74
India
Yes, that happens in MT5. I have no idea how to fixed it.
Enivid. I found one thing. It may help you to fix it.

If we change the value in position size and instantly click outside before the price changes happens in the market watch(Bid or Ask).. It works. But if the price changes we need to enter the value and click outside before the price changes in the market watch (Bid or Ask).

check that with one symbol which doesn't changes the price more frequent. Which you can modify the Position Size easy. But you could not change the Position size easy in the symbol which changes the price more frequent.

PS: Added Video. Kindly see how it blinks on the Position Size text field
View attachment 2024-11-07_01h09_35.webm

BR
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
The position value I get from this EA is always different from what I calculated manually. Can I set the value of every 0.01 position in the parameters?
No, there is no such option, but if you share some details of what's happening, perhaps I'd be able to figure the issue out.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Enivid. I found one thing. It may help you to fix it.

If we change the value in position size and instantly click outside before the price changes happens in the market watch(Bid or Ask).. It works. But if the price changes we need to enter the value and click outside before the price changes in the market watch (Bid or Ask).

check that with one symbol which doesn't changes the price more frequent. Which you can modify the Position Size easy. But you could not change the Position size easy in the symbol which changes the price more frequent.

PS: Added Video. Kindly see how it blinks on the Position Size text field
View attachment 30149

BR
I think I've already fixed that in the development version. I'm still not sure how reliable the fix is and whether it introduces its own problems, so I'm still testing this.
 
  • 🎉
Reactions: EnrichWave

TheUs30Trader

Trader
Oct 18, 2024
4
0
6
39
I found a variable in the position sizer mq4 file / defaults section, that is called DefaultMaxPositionSizePerSymbol ,
i set it to 6, but it s not working. the number wont even show in the Trading tab after i compile it.

and there is no variable called "volume" or has the word volume in it.

any help is appreciated.
Thanks in advance

P.s: im running the version "3.063" , i know there have been newer versions, but i already made a lot of mods t it already.

2024_11_13_20_51_16_410003520_FTMO_Server_Demo_Account_FTMO_S.R.O._US30.cash_M1_.jpg
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
I found a variable in the position sizer mq4 file / defaults section, that is called DefaultMaxPositionSizePerSymbol ,
i set it to 6, but it s not working. the number wont even show in the Trading tab after i compile it.

and there is no variable called "volume" or has the word volume in it.

any help is appreciated.
Thanks in advance

P.s: im running the version "3.063" , i know there have been newer versions, but i already made a lot of mods t it already.

View attachment 30266
That's the right input for that, but there was a bug with it (fixed in 3.08) that caused the value from the Total rewrite the one in Per Symbol.
 

linux_usr

Trader
Oct 20, 2023
55
1
19
38
incredible. one of my favourite EA of all times so is account protector. and earn forex ATR trailer. Envid that should have TP added THOUGH. Then it will be an elite bit of kit
 

Spezies8472

Newbie
Nov 15, 2024
5
0
1
47
Hi!

First of all: PS is a really great EA. You made good work! :)

I have a little suggestion for this great EA.

What?
Set the SL with offset X to the current price.

How?
Two new input fields in the configuration:
a) Offset (in points)
b) Hotkey

How should it work?
First, I set the offset to 20 (points).
Let's say we trade in EURUSD. The current price ist 1.05000.
Some time later, the price increases to 1.05100.
Now I press my hotkey.
PS sets the SL to 1.05080.

That's all. ;)
Would this be possible?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Hi!

First of all: PS is a really great EA. You made good work! :)

I have a little suggestion for this great EA.

What?
Set the SL with offset X to the current price.

How?
Two new input fields in the configuration:
a) Offset (in points)
b) Hotkey

How should it work?
First, I set the offset to 20 (points).
Let's say we trade in EURUSD. The current price ist 1.05000.
Some time later, the price increases to 1.05100.
Now I press my hotkey.
PS sets the SL to 1.05080.

That's all. ;)
Would this be possible?
That's already possible (almost). Switch SLDistanceInPoints to true. Set some DefaultSL value (e.g., 20). Now, you'll have the SL button on the panel that will set the SL to 20 points. There is no hotkey for that, but it's already quite simple.
 

Spezies8472

Newbie
Nov 15, 2024
5
0
1
47
That's already possible (almost). Switch SLDistanceInPoints to true. Set some DefaultSL value (e.g., 20). Now, you'll have the SL button on the panel that will set the SL to 20 points. There is no hotkey for that, but it's already quite simple.
Hi Enivid,

thanks for your reply. First, I thought: "Great!" But then ... unfortunately not. ;)
If I'm right, you speak about the marked options in my attached screenshot. Is this correct?

If so, then you missunderstood me.

These options configure the dynamic TP- and SL- lines. That's a nice feature for ENTER a trade, but will not help during an open trade. If I set the SL to 65 (as in my screenshot), this distance is used to set the SL-line when I enter a trade. But it doesn't help if I want to raise to SL level on a later time (during the trade is running).

In this case, I need another input field for the "manual sl" value.
And - because it's handy - a hotkey.
 

Attachments

  • ps_screenshot.jpg
    ps_screenshot.jpg
    52.7 KB · Views: 5

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Hi Enivid,

thanks for your reply. First, I thought: "Great!" But then ... unfortunately not. ;)
If I'm right, you speak about the marked options in my attached screenshot. Is this correct?

If so, then you missunderstood me.

These options configure the dynamic TP- and SL- lines. That's a nice feature for ENTER a trade, but will not help during an open trade. If I set the SL to 65 (as in my screenshot), this distance is used to set the SL-line when I enter a trade. But it doesn't help if I want to raise to SL level on a later time (during the trade is running).

In this case, I need another input field for the "manual sl" value.
And - because it's handy - a hotkey.
Oh, I see. You are looking to modify existing trades. That's not something I'm planning to add to the Position Sizer. There is already a basic trailing stop feature and you can use other scripts/EAs to adjust your positions' SL.
 

Spezies8472

Newbie
Nov 15, 2024
5
0
1
47
Oh, I see. You are looking to modify existing trades. That's not something I'm planning to add to the Position Sizer. There is already a basic trailing stop feature and you can use other scripts/EAs to adjust your positions' SL.
too bad :(
Hm ... could you create a simple external script like the "break even script"?
Problem is, I checked the mt market but there's no such simple thing.
 
Last edited:

ulises2k

Trader
Feb 12, 2022
8
0
17
44
Hello, I am reporting a bug. If I want to enter the "Comissions" it does not allow me to enter 3 decimals as in the case of Roboforex Pro with the Nasdaq symbol.

1732288833799.png
 
Nov 29, 2024
1
0
6
38
I have been trying to execute trades but doesn't work .I checked the expert tab and saw [Auto Trading disabled by server] however, on the "input" tab, i scrolled, every time i turn "IgnoreMarketExecutionMode "False, it turns back to true. Is this an error ? Because my broker do allow EAs and i verified from them already.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
I have been trying to execute trades but doesn't work .I checked the expert tab and saw [Auto Trading disabled by server] however, on the "input" tab, i scrolled, every time i turn "IgnoreMarketExecutionMode "False, it turns back to true. Is this an error ? Because my broker do allow EAs and i verified from them already.
That input parameter has nothing to do with that error. That error can occur in one case only - when your broker disables autotrading for your account.
 

Spezies8472

Newbie
Nov 15, 2024
5
0
1
47
Hi @Enivid

#Suggestion for Position Sizer (PS)

Would it be possible to tune the PS to set individual risk in % per splitted order?
If I split the order, PS makes automatically 2 positions with 50% of the configured risk. But it would be more valuable if I could use a higher risk for the first splitted order, less risk for the next and so on.

Would be a great update! :)
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Hi @Enivid

#Suggestion for Position Sizer (PS)

Would it be possible to tune the PS to set individual risk in % per splitted order?
If I split the order, PS makes automatically 2 positions with 50% of the configured risk. But it would be more valuable if I could use a higher risk for the first splitted order, less risk for the next and so on.

Would be a great update! :)
You can already change the volume shares on the Trading tab.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Hello, I am reporting a bug. If I want to enter the "Comissions" it does not allow me to enter 3 decimals as in the case of Roboforex Pro with the Nasdaq symbol.

View attachment 30369
Did you try switching to the % first and then modifying the value to 0.002? It works like that:
commission_three_decimals.png