Category Trend  Published on 14/12/2013

MA_Color

Description

This indicator is the MA, which changes color in the fall and rise.
This is an indicator of MT4 originally.

It is the one that was converted to cAlgo the indicator.


/

ST
st0424

Joined on 23.09.2013

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: MA_Color.algo
  • Rating: 5
  • Installs: 5936
  • Modified: 13/10/2021 09:54
Comments
Log in to add a comment.
VA
valkirja · 8 years ago

Hi. How can i get output of this indicator? i mean I need to know which buffer is plotting the line each onBar method. I declared   

public IndicatorDataSeries ExtMapBuffer3_AlgoOutputDataSeries { get; set; }
public IndicatorDataSeries ExtMapBuffer2_AlgoOutputDataSeries { get; set; }
public IndicatorDataSeries ExtMapBuffer1_AlgoOutputDataSeries { get; set; }

and OnStart initialized  

ma_color = Indicators.MA_Color(MAPeriod_parameter, MAType_parameter);

but this was obviously wrong initialization. Could you help me with this, thank you.