Add Instance Name

Created at 06 Aug 2020, 16:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SU

supreme3010

Joined 22.04.2020

Add Instance Name
06 Aug 2020, 16:00


I would like to add my own choosen field where i type my instance/Label name, so the bot label this trade. I dont have the knowledge of coding, so please go easy on me.

If it would be possible to add TG notification as well, it would be famous.

thanks ahead

 

Here is the cbot i would like to extend.

 

//#reference: ..\Indicators\FibonacciBands.algo
//#reference: ..\Indicators\Velocidade.algo
// -------------------------------------------------------------------------------
//
//    
//
// -------------------------------------------------------------------------------


using System;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Requests;
using cAlgo.Indicators;
using System.IO;
using System.Collections.Generic;

using System.Linq;
using System.Runtime.InteropServices;
using System.Globalization;


namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class SR_Fibo : Robot
    {
        [Parameter(DefaultValue = 100000)]
        public int Volume { get; set; }
        [Parameter(DefaultValue = 21)]
        public int AtrPeriod { get; set; }
        [Parameter(DefaultValue = 55)]
        public int emaPeriod { get; set; }
        [Parameter(DefaultValue = 10)]
        public int velPeriod { get; set; }

        List<double> fibo;
        int idx;

        Velocidade tendencia;

 

@supreme3010