cTrader User ID free

by Gwave in category Other at 05/11/2021
Description

This is a simple indicator from E7 Academy, use it if you need to get your cTrader ID. Your cTrader ID will be located at the top of the chart in lime green. Simply add this indicator to a chart or add an instance to this indicator. Happy hunting.

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 E7cTraderUserID : Indicator
    {

        protected override void Initialize()
        {
            Chart.DrawStaticText("\t", "Your cTrader User ID is : " + this.Account.UserId.ToString(), VerticalAlignment.Top, HorizontalAlignment.Center, Color.Lime);
        }

        //////////////////////////////////////////////

        public override void Calculate(int index)
        {
            ///
        }
    }
}
Comments
5