Thanks a lot! Now, if only I could figure out how to de-register the existing HA indicator in the system and register the one that I have just modified?
API Support
Post subject: Re: Change of candles colours in Heikin-Ashi indicator
You can not deregister the original indicator. You need to rename the customized indicator, say to HeikinAshi2 (see in onStart the IndicatorInfo assignment). And the you just open it in the Workspace panel under the Custom Indicators folder by selecting Open Indicator.
toxxum
Post subject: Re: Change of candles colours in Heikin-Ashi indicator
Thank you! The indicator name in line 31 (public class HeikinAshiIndicator2 implements IIndicator, IDrawingIndicator {)" needs to be changed, too, or so I believe after trying to solve the "cannot compile" problem. It also turns out that the cache needs to be cleared and only after a restart of the platform does the indicator show up as intended.