Force ReCalculate of Indicator

Created at 12 Jul 2016, 23:34
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!
BR

brendon-greene

Joined 05.07.2016

Force ReCalculate of Indicator
12 Jul 2016, 23:34


Hello,

From a custom Indicator I can force recalculation of the moving average indicator as shown below (A )

A. Indicators.MovingAverage(Source, Periodicity, MaType).Calculate(index);

however I cannot call the calculate method on the MacdHistogram method, as show in  (B)

B. Indicators.MacdHistogram(Source, MaSlow, MaFast, 9).Histogram

 

Can someone please provide some assistance in this regard. I need to be able to independently call  Calculate on the build in indicators.

 


@brendon-greene
Replies

Spotware
13 Jul 2016, 17:10

Hello Brendon, 

The Calculate method is not available for Histogram. If you give us more description on what you are trying to achieve, we might refer you some materials or provide you with advice.   

 


@Spotware