using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
 
 
// https://clickalgo.com/forex-currency-strength
 
namespace cAlgo
{
    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class ClickAlgoIndicator : Indicator
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }
 
        [Output("Main")]
        public IndicatorDataSeries Result { get; set; }
 
 
        protected override void Initialize()
        {
            Print("It is not possible to download the software from the cTDN website. Please visit clickalgo.com");
            ChartObjects.DrawText("ShowCopyright", "It is not possible to download the software from the cTDN website. Please visit:-  https://clickalgo.com/forex-currency-strength", StaticPosition.BottomCenter);
        }
 
        public override void Calculate(int index)
        {
            // Calculate value at specified index
            // Result[index] = ...
        }
 
    }
}