cTrader Position Sizer

That looks like a bug or some sort of misconfiguration between server/client. I'll take a look at it.
Thank you, I appreciate it.

FWIW, the commission, the reported net P/L, etc, as reported in cTrader's native trading tools is correct for all instruments that I've tried so far.
 
It looks like there is some serious compatibility issue between macOS and the way the panels are handled in cTrader. I'm afraid this won't be resolved any time soon.
Any update on the timeline when this will be fixed for MacOS? Thanks.
 
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.

Installation tutorial:
Hi there,

I see you guys dont have instructions to install the Position Sizer for the Ctrader Mac application.

Never the less I managed to install the Algo but the GUI is not maxamising properly and I am unable to enter trades as a result. Is the bot not desgined for the Ctrader Mac applicaiton or is there a work around?

Image:

I have reinsstalled the Algo and Ctrader with no luck. Ive also tried running Ctrader in Rosseta mode and it makes no difference.

Thank you.
 
Hi there,

I see you guys dont have instructions to install the Position Sizer for the Ctrader Mac application.

Never the less I managed to install the Algo but the GUI is not maxamising properly and I am unable to enter trades as a result. Is the bot not desgined for the Ctrader Mac applicaiton or is there a work around?

Image:

I have reinsstalled the Algo and Ctrader with no luck. Ive also tried running Ctrader in Rosseta mode and it makes no difference.

Thank you.
Please see the post immediately above yours.
 
Good, I install the position sizer as indicated in the video but for mac (the same folders) and once I initialize it I get as if part of the psoticon sizer window was cut. The window is not minimized in case you are wondering about that. Any suggestions. Thanks!
Captura de pantalla 2025-02-22 a las 12.25.50.png
 
Good, I install the position sizer as indicated in the video but for mac (the same folders) and once I initialize it I get as if part of the psoticon sizer window was cut. The window is not minimized in case you are wondering about that. Any suggestions. Thanks!
View attachment 31448
Please bother to read at least the last few posts in the thread before posting. Thank you!
 
I love using this tool, and its working well for many of my charts. I just tried to take a trade on a different chart, and while it still loads and works for all others it fails to load for this chart. XAUJPY on ICMarkets.

I've uploaded a screenshot with the error being displayed on my screen.
 

Attachments

  • Screenshot 2025-02-28 083819.png
    Screenshot 2025-02-28 083819.png
    543.5 KB · Views: 3
  • ℹ️
Reactions: Enivid
I love using this tool, and its working well for many of my charts. I just tried to take a trade on a different chart, and while it still loads and works for all others it fails to load for this chart. XAUJPY on ICMarkets.

I've uploaded a screenshot with the error being displayed on my screen.
Thanks for reporting! Apparently, there is a bug with symbols that have no decimal places at all.
 
  • 👍
Reactions: threepe
I have noticed a small bug. I am sorry I should have reported this sooner.

On the SL or TP lines when you have additional labels it shows the amount of currency at risk, or amount of currency you will win. Next to the amount is a label for the currency type, which always seems to be in USD.

So, for example. My base currency is in GBP, and the trade window correctly shows GBP. On the chart the numbers are the same as in the trade window, but it claims the base currency is now USD. I've learnt to ignore that but just thought I should mention this.

For me, it does not affect the tool's ability at all.
 

Attachments

  • Screenshot 2025-03-04 105725.png
    Screenshot 2025-03-04 105725.png
    358.4 KB · Views: 1
Last edited:
  • 👍
Reactions: Enivid
Hello, Great job with PositionSizer thanks for all your work on both Meta and cTrader versions.

Found an issue, not urgent easy work around is keep 'Show Line Labels' set to 'Yes'
(only reason I did was I didn't want the numbers underneath the SL and TP lines but I did want the Info above from the 'Show Additional SL/TP Label' Parameter)

Windows 11
cTrader 5.1.14
Tested in PositionSizer 1.09 and 1.12
No parameters changed or loaded.

If Parameter: 'Show Line Labels' is set to 'No', when you click 'Hide Lines' in the 'Main Tab' the following error appears;

12/03/2025 07:26:38.017 | Info | Property HideLines value changed to True
12/03/2025 07:26:38.017 | Error | Crashed in Click event with NullReferenceException: Object reference not set to an instance of an object.
12/03/2025 07:26:38.033 | Info | Message Object reference not set to an instance of an object.
12/03/2025 07:26:38.033 | Info | Stack Trace at cAlgo.Robots.ChartLinesView.HideLines()
at cAlgo.Robots.PositionSizer.MainViewOnHideLinesClicked(Object sender, HideLinesClickedEventArgs e)
at cAlgo.Robots.MainView.ChangeLinesStatus()
at cAlgo.Robots.MainView.OnHideLinesClicked(ButtonClickEventArgs obj)
at cTrader.Automate.Host.Runtime.AlgoExecutor.SmallAlgoCodeExecutor.ExecuteInternal(IDispatcherAction& action, Boolean raiseFrameEvent)
 
Ran into an issue today where I was not able to press the TP button, any attempt to do so generated a popup error and caused the resizing tool to restart. Pressing TPx2 the + button to enter a TP caused the issue

I closed the chart and reopened, and the issue returned. I changed symbol and the issue persisted.

I had two chart windows open in cTrader as the same time, but I have had more without this issue. Not sure what the problem is, can try and reproduce later, but in the middle of live trades so don't have the time atm 🙂
 

Attachments

  • Screenshot 2025-03-26 124122.png
    Screenshot 2025-03-26 124122.png
    284.2 KB · Views: 3
  • Screenshot 2025-03-26 123543.png
    Screenshot 2025-03-26 123543.png
    294 KB · Views: 3
Ran into an issue today where I was not able to press the TP button, any attempt to do so generated a popup error and caused the resizing tool to restart. Pressing TPx2 the + button to enter a TP caused the issue

I closed the chart and reopened, and the issue returned. I changed symbol and the issue persisted.

I had two chart windows open in cTrader as the same time, but I have had more without this issue. Not sure what the problem is, can try and reproduce later, but in the middle of live trades so don't have the time atm 🙂
Were there any messages in the Journal or Algo tab?
Which cTrader version are you using?
Which Windows version do you have installed?
 
Ran into an issue today where I was not able to press the TP button, any attempt to do so generated a popup error and caused the resizing tool to restart. Pressing TPx2 the + button to enter a TP caused the issue

I closed the chart and reopened, and the issue returned. I changed symbol and the issue persisted.

I had two chart windows open in cTrader as the same time, but I have had more without this issue. Not sure what the problem is, can try and reproduce later, but in the middle of live trades so don't have the time atm 🙂
I am using Windows 11, and cTrader 5.1.14.

If the issue occurs again I will check the algo and journal areas. I have unfortunately closed the program down since this issue occurred and those areas now appear to be blank. If there is a way to see historic logs I will have a look if you can guide me please.
 
I am using Windows 11, and cTrader 5.1.14.
Try updating it to 5.2.5?
If the issue occurs again I will check the algo and journal areas. I have unfortunately closed the program down since this issue occurred and those areas now appear to be blank. If there is a way to see historic logs I will have a look if you can guide me please.
For the Algo tab, there is is Show in folder button:
1743066366074.png
Not sure if the old logs aren't getting deleted on restart though.
 
Unfortunately, the most recent version of cTrader used by my broker is the one already installed. I have been to their site and redownloaded but its the same version.

The issues have occurred again today. On a second chart I cannot set a TP.

I have attached log files to see if these can help you.
 

Attachments