Category Other  Published on 22/09/2020

sessionbox

Description

highlights the sessions


using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Blank : Indicator
    {
        protected override void Initialize()
        {
            ChartObjects.DrawText("AlgoDeveloper", "Please download this indicator from AlgoDeveloper.com", StaticPosition.Center, Colors.Red);
        }

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


RE
relebohilemontoedi

Joined on 22.09.2020

  • Distribution: Paid
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Blank.algo
  • Rating: 5
  • Installs: 1189
Comments
Log in to add a comment.
CR
cranmer767 · 3 years ago

Would be helpful to have a screen shot of what the indicator actually looks like.