Information

Username: gorin
Member since: 16 Jul 2013
Last login: 16 Jul 2013
Status: Active

Activity

Where Created Comments
Algorithms 4 3
Forum Topics 1 16
Jobs 1 0

Last Algorithm Comments

GO
gorin · 11 years ago

There you go MrTrader.
I have to say, you were very polite in your request...

GO
gorin · 11 years ago

The blue line is just the 9 day EMA of the KST you can add it on the chart, but you can include it in the code as well.

Add the following to the code:

...

[Output("Ema", Color = Colors.Blue)]
public IndicatorDataSeries Ema { get; set; }

private ExponentialMovingAverage ema;

...

  protected override void Initialize()
  {

   ...

 ema = Indicators.ExponentialMovingAverage(Result, 9);

}

public override void Calculate(int index)
{
            Result[index] = ...
            Ema[index] = ema.Result[index];
}

 

GO
gorin · 11 years ago
Hi trying to understand the logic of this, all the search I do online I keep getting something in French. Can anyone share a link which describes this logic in English?