EnrichWave

Master Trader
May 15, 2018
381
97
74
India
It works good @Enivid . Kindly consider the little tweak.

In the Risk Tab, while we click on "Ignore trades in" button. It changes like..
bt1.pngbt2.pngbt3.png

Like the same instead of the "Count Pending orders"
3.10 Risk.png

Kindly have the button option like, "Count" : 'All, Pending orders, Open Positions'
(it is connected with "Ignore trades in": 'no symbols, other symbols, current symbol')

Kind regards
 
  • ℹ️
Reactions: Enivid

EnrichWave

Master Trader
May 15, 2018
381
97
74
India
Another tweak missed,
If we set the
MQL5:
SymbolChange = SYMBOL_CHART_CHANGE_HARD_RESET
and
MQL5:
DefaultSL = 300;
While we change the Symbol.. The SL not resets.. It gets the value from previous symbol and it loads to current SL..
 
  • ℹ️
Reactions: Enivid

Spezies8472

Newbie
Nov 15, 2024
6
0
1
47
Is there any way to tweak the direction symbol? If I turn off the lines, sometimes I forget to look at the right direction. ;)
The small triangle can easily be overseen. Would be great if I could change its color and (if possible) its size.

#Example

> direction: short -> red triangle
> direction: long -> green triangle

or better: make it editable. ;)
Thanks in advance!
 

BeeZeeFX

Newbie
Dec 10, 2024
1
0
1
40
Hi! Sorry if this problem was already solved, but I don't want to read all the pages to find out the solution. So my problem is that my position sizer doesn't want to execute the positions on mt5. Algo Trading is allowed in the ea, Algo trading is allowed on mt5, the little icon (hat) is blue, the lines are working, but when I want to open a position, I get that deep sound, that it doesn't executed. What should I check?
Képernyőfotó 2024-12-10 - 10.11.40.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Hi! Sorry if this problem was already solved, but I don't want to read all the pages to find out the solution. So my problem is that my position sizer doesn't want to execute the positions on mt5. Algo Trading is allowed in the ea, Algo trading is allowed on mt5, the little icon (hat) is blue, the lines are working, but when I want to open a position, I get that deep sound, that it doesn't executed. What should I check?
View attachment 30619
You should check the Experts tab log to see the error it produces. Most likely, it's 'autotrading disabled by the server'. In that case, you need to contact your broker.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
Is there any way to tweak the direction symbol? If I turn off the lines, sometimes I forget to look at the right direction. ;)
The small triangle can easily be overseen. Would be great if I could change its color and (if possible) its size.

#Example

> direction: short -> red triangle
> direction: long -> green triangle

or better: make it editable. ;)
Thanks in advance!
Unfortunately, there is no way to alter the panel's caption with colors/larger icons without messing things up. If you are using a minimized panel, you can always use the "H" hotkey to display the lines just before opening the trade.
 

EnrichWave

Master Trader
May 15, 2018
381
97
74
India
Unfortunately, there is no way to alter the panel's caption with colors/larger icons without messing things up. If you are using a minimized panel, you can always use the "H" hotkey to display the lines just before opening the trade.
@Enivid is this alternate way possible?...
to allow the user to change the the Short, Long Button color.. (User can change the color settings through the settings)
shor,long button.png

When the button says long it change the color to,
backcolor 2.jpg

When the button says short it change the color to,
backcolor 1.jpg

Kind regards
 
Last edited:

apik

Trader
Dec 12, 2024
3
0
6
28
I have set up the position sizer as you instructed, and there were zero errors or warnings, but I don't understand why I couldn't place any order using the position size. The version is 3.10 .
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
I have set up the position sizer as you instructed, and there were zero errors or warnings, but I don't understand why I couldn't place any order using the position size. The version is 3.10 .
When you say that you couldn't place any order, which steps exactly did you take and what was the result? What's the output in the Experts tab log?
 

EnrichWave

Master Trader
May 15, 2018
381
97
74
India
I have set up the position sizer as you instructed, and there were zero errors or warnings, but I don't understand why I couldn't place any order using the position size. The version is 3.10 .
It seems you believe @Enivid have super human power that he can travel through the internet connection and get into your PC to see the Error.



Could you please post a screenshot of the Experts tab when that happens?
 

apik

Trader
Dec 12, 2024
3
0
6
28
When you say that you couldn't place any order, which steps exactly did you take and what was the result? What's the output in the Experts tab log?
It seems like the server does not allow auto trading.
 

Attachments

  • Screenshot 2024-12-12 214532.png
    Screenshot 2024-12-12 214532.png
    38.2 KB · Views: 4

EnrichWave

Master Trader
May 15, 2018
381
97
74
India
@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).


2024-12-18_10h37_55.png
BR
 
  • 👍
Reactions: Enivid

JonSTP

Trader
Dec 19, 2024
5
0
6
49
I found EA always frozen (no any response , can not move lines or panel) after 2-3 minutes , sometime can be refresh by change timeframe back and forth, sometime it didn't work. after I check EA tab, I found this warning note in tab.

Could you please help , how to solve this problem. thank you .


1734602210208.png
 

Attachments

  • 1734602086020.png
    1734602086020.png
    143.6 KB · Views: 3

Enivid

Administrator
Staff member
Nov 30, 2008
19,297
1,529
144
Odesa
www.earnforex.com
I found EA always frozen (no any response , can not move lines or panel) after 2-3 minutes , sometime can be refresh by change timeframe back and forth, sometime it didn't work. after I check EA tab, I found this warning note in tab.

Could you please help , how to solve this problem. thank you .


View attachment 30788
What MT5 build are you using? Did you compile the source code or did you download a pre-compiled .ex5?
This looks like if the EA was abnormally terminated, but there is no message of the EA being removed, so it's rather weird. Does the EA still show as attached on the chart (via Expert List - Alt+x) after that?
 
  • 👍
Reactions: JonSTP

JonSTP

Trader
Dec 19, 2024
5
0
6
49
What MT5 build are you using? Did you compile the source code or did you download a pre-compiled .ex5?
This looks like if the EA was abnormally terminated, but there is no message of the EA being removed, so it's rather weird. Does the EA still show as attached on the chart (via Expert List - Alt+x) after that?
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 .
 

EnrichWave

Master Trader
May 15, 2018
381
97
74
India
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 .
It is really weird,
Try this.
1. Tools-->Metaquotes Langauge editor.. Navigate your Position Sizer.mq5 and open it in the editor.. Compile it.. if no error. then everything is fine.. If Errors comes. Then there might be missed some files.

Reinstall your terminal. Then try above method again..
 
  • 👍
Reactions: JonSTP