Enivid

Administrator
Staff member
Nov 30, 2008
19,327
1,535
144
Odesa
www.earnforex.com
meView attachment 27703

this little grey window pops up where the UI supposed to be, all configurations are default, I reinstalled it restarted everything. It just doenst work, something went wrong after the terminal update.
What does it say in the Experts tab when you are trying to load it?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,327
1,535
144
Odesa
www.earnforex.com
Same messages as I tried multiple times
Sorry, but it's really difficult to help you without seeing neither the full Experts output nor the Journal tab output.

One method that helped the other guy experiencing something similar was to remove everything from the chart and then the attachment of the Position Sizer worked. To remove everything from the chart, you need to remove all indicators, expert advisors and then bring up the chart objects list (Ctrl+B or right-click then Object List), click List All, select all, and click Delete.
 

tarkus

Newbie
Nov 27, 2023
15
1
4
27
Sorry, but it's really difficult to help you without seeing neither the full Experts output nor the Journal tab output.

One method that helped the other guy experiencing something similar was to remove everything from the chart and then the attachment of the Position Sizer worked. To remove everything from the chart, you need to remove all indicators, expert advisors and then bring up the chart objects list (Ctrl+B or right-click then Object List), click List All, select all, and click Delete.
Sure I’ll try this in a couple hours and update what happens here, thanks!
 

tarkus

Newbie
Nov 27, 2023
15
1
4
27
Did
Sorry, but it's really difficult to help you without seeing neither the full Experts output nor the Journal tab output.

One method that helped the other guy experiencing something similar was to remove everything from the chart and then the attachment of the Position Sizer worked. To remove everything from the chart, you need to remove all indicators, expert advisors and then bring up the chart objects list (Ctrl+B or right-click then Object List), click List All, select all, and click Delete.
Did all the steps, here is the log.
Screenshot 2024-03-11 at 15.57.00.png
 

tarkus

Newbie
Nov 27, 2023
15
1
4
27
Hm... That should have been solved by EA recompilation and restart. Could be some macOS compatibility issue...

What if you open a brand new chart and try attaching to it? The same error?
same, lastly I'll reinstall mt5 but dont think it'll matter.
 

Jordan86

Trader
Mar 16, 2024
2
0
7
38
Position sizer has become my indispensable tool for daily use. Being able to execute a trade using the keyboard, assigning the stop loss and the entry point using the mouse pointer, are utilities that are infinitely appreciated. My personal suggestion for this tool would be to add a function to be able to close orders using a key, whether pending orders, orders that are in profit or orders that are in negative. This would undoubtedly make it an extremely robust tool, still thank you for this wonderful tool.
 

Attachments

  • earnforex.jpg
    earnforex.jpg
    116 KB · Views: 3

Enivid

Administrator
Staff member
Nov 30, 2008
19,327
1,535
144
Odesa
www.earnforex.com
Position sizer has become my indispensable tool for daily use. Being able to execute a trade using the keyboard, assigning the stop loss and the entry point using the mouse pointer, are utilities that are infinitely appreciated. My personal suggestion for this tool would be to add a function to be able to close orders using a key, whether pending orders, orders that are in profit or orders that are in negative. This would undoubtedly make it an extremely robust tool, still thank you for this wonderful tool.
In my opinion, position closing is best solved by using scripts and setting hotkeys on them.
 
  • 👍
Reactions: EnrichWave

Enivid

Administrator
Staff member
Nov 30, 2008
19,327
1,535
144
Odesa
www.earnforex.com
Hello Enivid, are there any scripts currently available to close open positions ?
Yes, of course:
https://www.earnforex.com/metatrader-scripts/close-all-orders/
For example, you can save a copy of it (e.g., close_all_profitable_current.mq4), easily modify it to work only with profitable trades on the current symbol, and disable input parameters dialog. That way, you have script that you can set a hotkey to and be able to close all profitable trades for the current trading instrument nearly instantly.
 
  • 🚀
Reactions: Jakey88