threepe

Trader
Dec 23, 2024
6
4
9
47
Hi

Please may I ask for any button that can open a trade to be a different design / colour / stand out from all other buttons? I know that may sound strange, but I have a couple of times pressed that by accident as it just looks like other buttons - for some reason I press "trade" to setup the trade not to actually take it! oops.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,426
1,566
144
Odesa
www.earnforex.com
Hi

Please may I ask for any button that can open a trade to be a different design / colour / stand out from all other buttons? I know that may sound strange, but I have a couple of times pressed that by accident as it just looks like other buttons - for some reason I press "trade" to setup the trade not to actually take it! oops.
Will consider that. Thank you! For now, you can just tick the Ask for confirmation checkbox to avoid unexpected trade executions.
 
  • 👍
Reactions: threepe

jusuf00

Trader
Jan 25, 2025
4
2
8
24
Hello i installed it on Ctrader but its giving me this error
how can i fix it ?
 

Attachments

  • positionsizer ctrader error.png
    positionsizer ctrader error.png
    51.6 KB · Views: 3

threepe

Trader
Dec 23, 2024
6
4
9
47
I've had to change broker and I am now unable to start the Position Sizer, at the point I start to load the algo the following error is generated

I get this error when I try to load in on my chart
03/02/2025 10:04:26.741 | Info | CBot instance [PositionSizer, XAUUSD_SB, h1] started.
03/02/2025 10:04:27.288 | Error | Crashed in OnStart with ArgumentException: The keys can only contain Latin letters, numbers and spaces. No space allowed at the beginning and at the end of the key. (Parameter 'key')
03/02/2025 10:04:27.320 | Info | Message The keys can only contain Latin letters, numbers and spaces. No space allowed at the beginning and at the end of the key. (Parameter 'key')
03/02/2025 10:04:27.320 | Info | Stack Trace at cTrader.Automate.Host.Runtime.Api.LocalStorage.SmallLocalStorage.ThrowIfKeyIsInvalid(String key)
Post automatically merged:

I've had to change broker and I am now unable to start the Position Sizer, at the point I start to load the algo the following error is generated

I get this error when I try to load in on my chart
03/02/2025 10:04:26.741 | Info | CBot instance [PositionSizer, XAUUSD_SB, h1] started.
03/02/2025 10:04:27.288 | Error | Crashed in OnStart with ArgumentException: The keys can only contain Latin letters, numbers and spaces. No space allowed at the beginning and at the end of the key. (Parameter 'key')
03/02/2025 10:04:27.320 | Info | Message The keys can only contain Latin letters, numbers and spaces. No space allowed at the beginning and at the end of the key. (Parameter 'key')
03/02/2025 10:04:27.320 | Info | Stack Trace at cTrader.Automate.Host.Runtime.Api.LocalStorage.SmallLocalStorage.ThrowIfKeyIsInvalid(String key)
Looking at this, it may be the same issue the other person is having
 

Attachments

  • Screenshot 2025-02-03 102311.png
    Screenshot 2025-02-03 102311.png
    265.3 KB · Views: 1
  • ℹ️
Reactions: Enivid

moai

Newbie
Feb 4, 2025
2
2
3
48
Hi there,

I have an interesting issue relating to commissions. Currency of my account is AUD. My broker's commission is 2.25 per 100,000 notional value in the base currency for FX and precious metals (other instruments are $0 commission). examples:
  • for 1 lot of EURUSD, commission is EUR 2.25, which is then converted to ~AUD$3.74.
  • 0.35 lots of XAUUSD is ~US$100,000 in notional value, commission is US$2.25, which is then converted to ~AUD$3.63.
  • for 1 lot of AUDUSD, commission is AUD$2.25 which does not need to be converted.
I have noticed the following in the PositionSizer panel:
  • Commission field is 0.00 on all instruments.
  • Reward result appears to be adjusted for commission on FX instruments, however it is not converted to the account currency (ie it is using 4.50 per 100,000 notional per round-trip regardless of the pair's base currency).
  • Locked TP level appears not to be adjusted for commission (ie, the level is set at 1R before commission). I'm not sure if this is the intended behaviour.
  • In XAUUSD, or any commission-payable instrument where 1 lot =/= 100,000 notional (it seems, I haven't checked all of them), the reward result is not adjusted for commission at all.
Do I have a setting wrong somewhere that I've missed, or is this a bug?
 

Attachments

  • cTrader_cfcuNhuHuP.png
    cTrader_cfcuNhuHuP.png
    20.9 KB · Views: 2
  • cTrader_FUNQRCqrsB.png
    cTrader_FUNQRCqrsB.png
    21.4 KB · Views: 2
  • cTrader_I5VNVYIg29.png
    cTrader_I5VNVYIg29.png
    22.7 KB · Views: 1
  • cTrader_oVav9OIHnl.png
    cTrader_oVav9OIHnl.png
    21.8 KB · Views: 2
  • ℹ️
Reactions: Enivid

Enivid

Administrator
Staff member
Nov 30, 2008
19,426
1,566
144
Odesa
www.earnforex.com
Hi there,

I have an interesting issue relating to commissions. Currency of my account is AUD. My broker's commission is 2.25 per 100,000 notional value in the base currency for FX and precious metals (other instruments are $0 commission). examples:
  • for 1 lot of EURUSD, commission is EUR 2.25, which is then converted to ~AUD$3.74.
  • 0.35 lots of XAUUSD is ~US$100,000 in notional value, commission is US$2.25, which is then converted to ~AUD$3.63.
  • for 1 lot of AUDUSD, commission is AUD$2.25 which does not need to be converted.
I have noticed the following in the PositionSizer panel:
  • Commission field is 0.00 on all instruments.
  • Reward result appears to be adjusted for commission on FX instruments, however it is not converted to the account currency (ie it is using 4.50 per 100,000 notional per round-trip regardless of the pair's base currency).
  • Locked TP level appears not to be adjusted for commission (ie, the level is set at 1R before commission). I'm not sure if this is the intended behaviour.
  • In XAUUSD, or any commission-payable instrument where 1 lot =/= 100,000 notional (it seems, I haven't checked all of them), the reward result is not adjusted for commission at all.
Do I have a setting wrong somewhere that I've missed, or is this a bug?
That looks like a bug or some sort of misconfiguration between server/client. I'll take a look at it.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,426
1,566
144
Odesa
www.earnforex.com
cTrader Position Sizer updated to version 1.09 to fix some important bugs:
  • Fixed a crash when there is an unexpected character in the trading instrument's name (a number sign, a period, etc.). (@threepe, @jusuf00, @maurozx27)
  • Fixed a bug with total percentage risk restrictions (on the Trading tab) not working as intended. (@threepe, @scarface_be)
  • Fixed a bug that prevented the spread from displaying. (@ZeThags)
  • Fixed a crash when switching timeframes with the additional Entry line label on and lines hidden. (@ZeThags)
 
  • 👍
Reactions: threepe

threepe

Trader
Dec 23, 2024
6
4
9
47
cTrader Position Sizer updated to version 1.09 to fix some important bugs:
  • Fixed a crash when there is an unexpected character in the trading instrument's name (a number sign, a period, etc.). (@threepe, @jusuf00, @maurozx27)
  • Fixed a bug with total percentage risk restrictions (on the Trading tab) not working as intended. (@threepe, @scarface_be)
  • Fixed a bug that prevented the spread from displaying. (@ZeThags)
  • Fixed a crash when switching timeframes with the additional Entry line label on and lines hidden. (@ZeThags)
Fixed my issue with the charts not loading, thank you :)