Position only PARTIALLY CLOSED when Take Profit line is hit!

firemyst since: 26 Mar 2019;

  19 Jan 2023, 02:14
Position only PARTIALLY CLOSED when Take Profit line is hit!

Hello SpotWare:

I encountered an issue using cTrader 4.5.6 on Renko20 charts where the "Take Profit" line was hit, but cTrader did not close the entire position!

All times are in UTC + 8 for NAS Re20. Here's the log I have in cTrader. Pepperstone is the broker:

18/01/2023 21:30:03.678 | Modifying position PID109212340 (TradeType: Buy, Volume: 1.1)
18/01/2023 21:30:04.162 | → Modifying position PID109212340 (TradeType: Buy, Volume: 1.1) SUCCEEDED, Position PID109212340
18/01/2023 21:30:04.162 | Closing event fired for NAS100.
18/01/2023 21:30:04.365 | Position "109212340" closed for reason "TakeProfit" with $46.65 profit. Entry Price 11602.4, Closing Price 11635.3, StopLoss 11605.4
18/01/2023 21:30:04.365 | Position #1: 32.8999999999996 pips. Entry price 11602.4, Closing price 11635.3, Price Difference 32.8999999999996
18/01/2023 21:30:04.365 | Position #2: -5.10000000000036 pips. Entry price 11640.4, Closing price 11635.3, Price Difference -5.10000000000036

It appears there's an issue with cTrader when two events happen at the exact same time. In this case, the position size was increased and confirmed as "SUCCEEDED" when the take profit line was hit and the position was closed. As a result, only PART of the position was closed, not all of it!

Screen capture below detailing all the information:

Thank you.

Spotware's avatar

Spotware since: 23 Sep 2013;

  19 Jan 2023, 08:36

Dear firemyst,

Execution issues should be handled by your broker. Please contact your broker regarding this matter.

Best regards,

cTrader Team

TRADERS FIRSTâ„¢ Vote for your favorite features: https://ctrader.com/forum/suggestions

firemyst since: 26 Mar 2019;

  31 Jan 2023, 07:49

An update, it has happened again. When the "Take Profit" line in cTrader was hit, it only closed 1.1 of the 1.2 lots in the position, leaving 0.1 lots open.

As of this posting, my broker is still investigating the first incident I reported above.

firemyst since: 26 Mar 2019;

  03 Feb 2023, 03:28
RE:

Spotware said:

Dear firemyst,

Execution issues should be handled by your broker. Please contact your broker regarding this matter.

Best regards,

cTrader Team

Hi @Spotware, I've heard back from Pepperstone. Here is what they said and why I believe it's can't be.

@Spotware, in regards to "Then you have added 0.1lot  to your existing position at the Ask price of 11640.4 with no protection as you can see it at the screenshot below:", when you modify a position, you CANNOT add an SL to it as it takes on the SL of the current position you're increasing the size of. Screen capture from cTrader as evidence:

Even the API call "Position.ModifyVolume()" has no parameter for setting the SL when increasing the volume size of a position.

This has only started happening since the latest 4.6.x releases of cTrader.

So what appears to be happening is cTrader is NOT putting the current SL or TP on new positions when the current position's volume is increased on RENKO charts.

@SPOTWARE / @PanagiotisChar, I think this needs to be investigated further.