WEIS free

by wftrader10 in category Range at 18/12/2020
Description

usingSystem;

usingcAlgo.API;

usingcAlgo.API.Internals;

usingcAlgo.API.Indicators;

usingcAlgo.Indicators;

 

namespacecAlgo

{

    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]

    publicclassClickAlgoIndicator : Indicator

    {

        [Parameter(DefaultValue = 0.0)]

        publicdoubleParameter { get; set; }

 

        [Output("Main")]

        publicIndicatorDataSeries Result { get; set; }

 

 

        protectedoverridevoidInitialize()

        {

            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/ctrader-weis-wave-indicator", StaticPosition.BottomCenter);

        }

 

        publicoverridevoidCalculate(intindex)

        {

            // Calculate value at specified index

            // Result[index] = ...

        }

 

    }

}

Warning! Executing the following cBot may result in loss of funds. Use it at your own risk.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgo
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

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/di-volume-activity-and-weis-wave-volume-indicators", StaticPosition.BottomCenter);
        }

        public override void Calculate(int index)
        {
            // Calculate value at specified index
            // Result[index] = ...
        }

    }
}
Comments
0