How get value for another symbol or timeframe for Custom indicator in cBot ?

Created at 15 Apr 2015, 18:44
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!
mindbreaker's avatar

mindbreaker

Joined 19.07.2014

How get value for another symbol or timeframe for Custom indicator in cBot ?
15 Apr 2015, 18:44


Hi

How get value for another symbol or timeframe for Custom indicator in cBot ?

like:

value = Indicators.GetIndicator<Regression>(RegDegree, RegPeriod, RegStrdDev);

Thanks.


@mindbreaker
Replies

WhiteSage
19 Apr 2015, 22:51

Check the overloads, you can pass in a marketSeries.


@WhiteSage

mindbreaker
20 Apr 2015, 10:14

RE:

WhiteSage said:

Check the overloads, you can pass in a marketSeries.

Thank you.

found here:  /forum/whats-new/1463  and  /forum/calgo-reference-samples/2227


@mindbreaker