Chart.DrawRiskReward - Add label property [plus]

Created at 02 Apr 2025, 08:40
JI

jim.tollan

Joined 23.02.2023

Chart.DrawRiskReward - Add label property [plus]
02 Apr 2025, 08:40


CTrader team - 1st off, i'd like to thank you for adding this feature (v5.2.5), it's been something I've tried to create in my cbots for a long time - this is perfect; apart from a few minor suggestions:

  1. Could you add a Label property so that when either the buy/sell button on the RR tool is clicked, the trade label (and comment) are set. This would be a MAJOR improvement on what is already looking like a great feature.
  2. Also - would it be possible to add a property to allow the tool be remain in interactive mode, but disable it from being MOVED. The reason for this is that I keep accidently moving it when setting my sl/tp values and thus the entry point is invalid. I can see the sense in being able to move it around for a Limit order, but for MARKET orders, maybe a nice default would be a static position with only the ability to set the stop/takeprofit.
  3. An additional property that extended the tp/sl horizontal line to the left by xx bars would be VERY useful as it's oftentimes crucial to target previous swingpoints with a high degree of visual accuracy. allowing the red/green sl/tp lines to span the screen would be amazing (see screen below annotated by→SL/TP).

Anyway, thanks again, this will be a much used and much loved feature for many a cbot innovator.

cheers

jim


cTrader Automate
@jim.tollan
Replies

jim.tollan
17 Apr 2025, 10:10 ( Updated at: 17 Apr 2025, 10:14 )

Sorry to nag on this one and I know you never commit to adding any suggestions until they appear. 

However, I wondered if you'd be able to comment on the viability of these suggestions and/or any workarounds. In particular, the ability to add a label when executing a trade via the risk reward tool (in a cbot -as that is what my above example is).

            var riskReward = Chart.DrawRiskReward("RiskRewardTool", barIndex - 20, barIndex, entryPrice, OrderType.Market, 
               TradeStrategy, new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, PercentageRisk));

thanks

jim


@jim.tollan