Getting the data from an Indicator and displaying it on the main chart without showing the indicator below

Created at 12 Dec 2020, 19:47
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JE

jeremy.ayres

Joined 27.06.2019

Getting the data from an Indicator and displaying it on the main chart without showing the indicator below
12 Dec 2020, 19:47


Is it possible to display the live data from an indicator in the main chart window without showing the indicator below the main chart?

The text would be displayed like a label with for example:

  • the RSI data shown
    • "RSI = +74"
  • and/or the Slow Stochastic shown as
    • "SS = 69"


@jeremy.ayres
Replies

PanagiotisCharalampous
14 Dec 2020, 08:31

Hi jeremy.ayres,

To show the indicator on the main chart, just set IsOverlay=True. See below

 [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous