Category Other  Published on 27/07/2023

linearffk

An update for this algorithm is currently pending moderation. Please revisit this page shortly to access the algorithm's latest version.
Description

using cAlgo.API;

namespace cAlgo
{
   [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
   public class MyCustomIndicator : Indicator
   {
       [Parameter("Period", DefaultValue = 14)]
       public int Period { get; set; }

       private IndicatorDataSeries _myIndicatorSeries;

       protected override void Initialize()
       {
           _myIndicatorSeries = CreateDataSeries();
       }

       public override void Calculate(int index)
       {
           // Calculate your indicator values based on the input data (price, volume, etc.).
           // Plot the indicator on the chart using the Plot() method or Draw objects.
       }
   }
}
 


The author decided to hide the source code.
FA
fabiotraed@gmail.com

Joined on 16.01.2017

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: TrendLineIndicator.ex4
  • Rating: 0
  • Installs: 304
  • Modified: 27/07/2023 22:56
Comments
Log in to add a comment.
No comments found.