ZeThags

Trader
Dec 3, 2024
3
1
8
40
This is odd. The commission value should be read by the Position Sizer automatically and displayed in the commission field (which is always read-only). Did it show zero?
It shows 1$ all the time, but i know the commission on this broker/funded challenge is 2$ per Lot, It would be great if we could just input manually like on MT4/5


That's how robots work in cTrader. You cannot use the up/down arrows on charts with a running cBot to switch timeframes. Changing the timeframe with your mouse leads to a complete re-initialization of the robot, that's why its panel gets unfolded. I will look into it. Perhaps, it's possible to keep it minimized on timeframe changes.
That would be better than it is now. I didn't know I couldn't use the arrows with bots in general, this is the only bot I use.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,299
1,529
144
Odesa
www.earnforex.com
It shows 1$ all the time, but i know the commission on this broker/funded challenge is 2$ per Lot, It would be great if we could just input manually like on MT4/5
Hm... If it's showing $1 there, it means that it's using $2 in the calculations because it's showing a one-way commission value, while in risk calculation it accounts for both entry and exit, so I don't see how that would make the calculations wrong...
 

ZeThags

Trader
Dec 3, 2024
3
1
8
40
Hm... If it's showing $1 there, it means that it's using $2 in the calculations because it's showing a one-way commission value, while in risk calculation it accounts for both entry and exit, so I don't see how that would make the calculations wrong...
Ohh I see! Yes that makes sense now! I didn't think about that! My bad.. Thanks for clarifying
 
  • 👍
Reactions: Enivid

Enivid

Administrator
Staff member
Nov 30, 2008
19,299
1,529
144
Odesa
www.earnforex.com
cTrader Position Sizer updated to version 1.06 to fix some bugs and add a new feature:
  • Added an input parameter (Use Async Orders) to enable asynchronous trade requests. (@youforex)
  • Fixed panel minimization status not saving through timeframe switching. (@ZeThags)
  • Fixed a runtime error that could appear in some cases when opening the chart with the Position Sizer after launching it first.
  • Fixed a runtime error that could sometimes appear when setting a take-profit. (@toshin)
  • Fixed a runtime error when clicking on the Show lines button. (@Safi Ullah)
  • Fixed a bug that would cause edit fields' background change to white in the dark mode. (@Safi Ullah)
The problem with the all-white edit fields is an issue with the current cTrader version. It should be gone after the next cTrader update.
 
  • 🎉
Reactions: EnrichWave

JonSTP

Trader
Dec 19, 2024
5
0
6
49
Thank you for Ctrader position sizer, it is very smooth Cbot. I don't understand why MT5 version always freeze after 2-3 minutes, but for Ctrader version it is very smooth and stable. :cool:

Anyway, did you share the source code of Ctrader version ? If not share, it's fine. :)
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,299
1,529
144
Odesa
www.earnforex.com
Thank you for Ctrader position sizer, it is very smooth Cbot. I don't understand why MT5 version always freeze after 2-3 minutes, but for Ctrader version it is very smooth and stable. :cool:
Could you please provide more details about the freezing issue in MT5 in the main PS thread?
Anyway, did you share the source code of Ctrader version ? If not share, it's fine. :)
The source code is included in the download.
 
  • 👍
Reactions: JonSTP

threepe

Trader
Dec 23, 2024
1
0
6
47
Discuss the cTrader Position Sizer robot here. This cBot lets you calculate optimal position size and execute trades based on these calculations. It's a conversion of the popular MetaTrader Position Sizer EA.

Please note: this post's date has been modified to keep at the top of the thread. There was no public release of the cTrader Position Sizer before October 15, 2024.

I have started to use this, but when I open the menu areas there are no values filled in for any of the fields. If I set the values, for example, max risk at 10% for all positions, the bot appears to accept this, but then the input field goes blank again. Clicking on it reveals that the value is indeed 10%, but its a little disconcerting that you cannot see what you have input without clicking back into the box to make it visible. I am using a dark theme if that could be something to do with it
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,299
1,529
144
Odesa
www.earnforex.com
I have started to use this, but when I open the menu areas there are no values filled in for any of the fields. If I set the values, for example, max risk at 10% for all positions, the bot appears to accept this, but then the input field goes blank again. Clicking on it reveals that the value is indeed 10%, but its a little disconcerting that you cannot see what you have input without clicking back into the box to make it visible. I am using a dark theme if that could be something to do with it
That's a bug in the current cTrader version with the edit controls' background. You should be able to circumvent it by setting the Dark Mode parameter to Yes for the Position Sizer.