Chart Information free

by summer in category Other at 02/11/2020


In the upper right corner of the chart, you can see the currency pair and the type of timeframe.

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: cAlgocTrader
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 ChartInformation : Indicator
        protected override void Initialize()

            string timeFrame = Chart.TimeFrame.ToString();
            timeFrame = timeFrame.Replace("Minute", "M");
            timeFrame = timeFrame.Replace("Hour", "H");
            timeFrame = timeFrame.Replace("Daily", "D");
            switch (timeFrame)
                case "M":
                    timeFrame = "M1";
                case "H":
                    timeFrame = "H1";
                case "D":
                    timeFrame = "D1";

            string text = Chart.SymbolName.ToString() + " " + timeFrame;

            Chart.DrawStaticText("Chart Info", text, VerticalAlignment.Top, HorizontalAlignment.Right, Color.White);

        public override void Calculate(int index)


o.o.d.exp - February 11, 2021 @ 14:16

Hello, thank you for this indicator. Is it possible to add options for increasing the symbol size, and moving it on other chart corner?