Indicator Chaining

Created at 22 Feb 2022, 15:21
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!
sirinath's avatar

sirinath

Joined 25.11.2021

Indicator Chaining
22 Feb 2022, 15:21


Can indicators be chains where the output of one indicator is feed as the input of another indicator.

      REMA1 = Indicators.GetIndicator<REMAIndicator>(Source, Periods, Lambda);
      REMA2 = Indicators.GetIndicator<REMAIndicator>(REMA1.Result, Periods, Lambda);
      REMA3 = Indicators.GetIndicator<REMAIndicator>(REMA2.Result, Periods, Lambda);

Is there anything special I have to do to ensure the indicator values are upto date.


@sirinath
Replies

PanagiotisCharalampous
22 Feb 2022, 15:24

Hi sirinath,

Yes there can be. There is nothing else you need to do besides the code above.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

sirinath
22 Feb 2022, 18:05

RE:

Thanks.

 


@sirinath