Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
Yes exactly a button to set it manually and not by pre set points. How do scripts work and how can i apply a script ?
You can use our Breakeven script then. You just install it and set a hotkey to it, and then press the combination whenever you want the BE applied.
 
  • 👍
Reactions: Jakey88

Flo

Trader
Sep 5, 2023
1
0
6
42
Hello! i have an error when compiling the position sizer mt5: „Ex5 write error”
How do i fixed it? Thanks
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
Hello! i have an error when compiling the position sizer mt5: „Ex5 write error”
How do i fixed it? Thanks
Most likely, your MetaEditor has no rights to write to its data folder. Make sure you are running it under correct user and that the access rights to the data folder are set correctly. Perhaps, this can be solved by reinstalling MetaTrader.
 

saslhr2

Newbie
Sep 6, 2023
2
0
1
45
Hi,
I am taking The5ers.com funding challenge and using Earn Forex Position Sizer on MT5.
Problem is that it executes all trades with 0.01% risk, but it does not execute any trade with 1% risk. Please help.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
I am taking The5ers.com funding challenge and using Earn Forex Position Sizer on MT5.
Problem is that it executes all trades with 0.01% risk, but it does not execute any trade with 1% risk. Please help.
What does it say in the Experts tab when it fails to execute the trade? A likely reason is that there isn't enough margin for that trade.
 

Robertluso

Newbie
Sep 7, 2023
1
0
1
38
Hello! I'm having trouble compiling the file ! I'm using MT5, from FTMO! could you help me, please!
 

Attachments

  • Capturar_2023_09_07_14_22_06_938.png
    Capturar_2023_09_07_14_22_06_938.png
    854.8 KB · Views: 3

Jakey88

Trader
Sep 6, 2022
27
2
19
36
You can use our Breakeven script then. You just install it and set a hotkey to it, and then press the combination whenever you want the BE applied.
Thank You very much. I changed the code as recommended and added a value to the Additional profit in points to add to breakeven. Its absolutely amazing . Cheers!!!
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
Hello! I'm having trouble compiling the file ! I'm using MT5, from FTMO! could you help me, please!
It's quite clear that you didn't copy all the files from the downloaded archive to your MQL5 folder. Please follow the installation instructions precisely in order to avoid these compilation errors.
 

jdee

Trader
May 21, 2020
7
1
14
Amazing EA! Thank you. Potential bug to report:

Using MT4, when I change timeframe (eg. M15 to M5 or vice-versa):
  1. the EA stops working
  2. bottom left text disappears
  3. if I click "Instant" button the +- on the entry textbox toggles from visible to invisible (I know, weird!).
Nothing is shown in Journal.

Below is a screenshot of what I see after changing timeframes and clicking the "Instant" button once.
1694179695984.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
Amazing EA! Thank you. Potential bug to report:

Using MT4, when I change timeframe (eg. M15 to M5 or vice-versa):
  1. the EA stops working
  2. bottom left text disappears
  3. if I click "Instant" button the +- on the entry textbox toggles from visible to invisible (I know, weird!).
Nothing is shown in Journal.

Below is a screenshot of what I see after changing timeframes and clicking the "Instant" button once.
View attachment 25085
What is the output in the Experts tab when that happens? The Journal tab is irrelevant for this.
 

jdee

Trader
May 21, 2020
7
1
14
What is the output in the Experts tab when that happens? The Journal tab is irrelevant for this.
Sorry about that..... There was nothing in the Experts tab either.
Got me thinking though, deleted other indicators, found an incompatibility with a different indicator I was using. Went to the other indicator's website, found there was a new version, updated, now allows Position Sizer to work as expected.
Thanks for the prompt response, and for the great and useful tool.
 
  • 👍
Reactions: Enivid

hesam373

Trader
Sep 8, 2023
3
0
6
28
Hello
I wanted to open trades on EURUSD and when i press trade i get this error "its too close!"
it seems this EA wont open trades with less than 12 pips, so how can i bypass this? i want to open trades with 5 pips or 8 pips and etc
i can open positions manually but EA wont open them.
i would very be thankfull if you can help me, and sorry for my bad english
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
Hello
I wanted to open trades on EURUSD and when i press trade i get this error "its too close!"
it seems this EA wont open trades with less than 12 pips, so how can i bypass this? i want to open trades with 5 pips or 8 pips and etc
i can open positions manually but EA wont open them.
i would very be thankfull if you can help me, and sorry for my bad english
Could you please attach a screenshot of the entire chart and the error message?
 

hesam373

Trader
Sep 8, 2023
3
0
6
28
Could you please attach a screenshot of the entire chart and the error message?Untitled.jpg
As you see SL and entry price have 7 pips difference but when i click Trade, I get the "Stop-loss problem: (Too close!)"
i changed SL to different positions to get different distances between SL and entry and it seems i cant open positions with lower than 12 pips distance. i want to open positions with lower distances ( like 6 or 9 or ect ). i also checked the Margin tab for "Maximum position size by margin" and its 50 lots, and i tried opening a manual position of 10 lots, to check if broker let me do that and it worked just fine. so i cant find the problem why im getting this error and how to solve it.
ive uploaded the photos of Margin and Main tab below.
Risk.jpg
Main.jpg
thank you in advance
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,365
1,548
144
Odesa
www.earnforex.com
As you see SL and entry price have 7 pips difference but when i click Trade, I get the "Stop-loss problem: (Too close!)"
i changed SL to different positions to get different distances between SL and entry and it seems i cant open positions with lower than 12 pips distance. i want to open positions with lower distances ( like 6 or 9 or ect ). i also checked the Margin tab for "Maximum position size by margin" and its 50 lots, and i tried opening a manual position of 10 lots, to check if broker let me do that and it worked just fine. so i cant find the problem why im getting this error and how to solve it.
ive uploaded the photos of Margin and Main tab below.
View attachment 25097
View attachment 25098
thank you in advance
The problem isn't the position size. The problem is that your stop-loss is too close to the entry price. Each symbol has a its own stop level value defined by the broker. If the distance between the entry and the SL is less than that stop level, the platform doesn't allow opening a trade.

BTW, I recommend updating your Position Sizer to version 3.06.
 
  • 👍
Reactions: hesam373

hesam373

Trader
Sep 8, 2023
3
0
6
28
The problem isn't the position size. The problem is that your stop-loss is too close to the entry price. Each symbol has a its own stop level value defined by the broker. If the distance between the entry and the SL is less than that stop level, the platform doesn't allow opening a trade.

BTW, I recommend updating your Position Sizer to version 3.06.
Ow i didn't know that, thank you for your help and I'll make sure I do it <3