D-Master paid

by dokinya in category Other at 13/03/2023
Description

usingSystem;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Text;

usingcAlgo.API;

usingcAlgo.API.Collections;

usingcAlgo.API.Indicators;

usingcAlgo.API.Internals;

 

namespacecAlgo.Robots

{

    [Robot(AccessRights = AccessRights.None)]

    publicclassDMaster : Robot

    {

        [Parameter(DefaultValue = "Hello world!")]

        publicstringMessage { get; set; }

 

        protectedoverridevoidOnStart()

        {

            // To learn more about cTrader Automate visit our Help Center:

            //to get this cbot contact me on https://t.me/DOMMEFX

 

            Print(Message);

        }

 

        protectedoverridevoidOnTick()

        {

            // Handle price updates here

        }

 

        protectedoverridevoidOnStop()

        {

            // Handle cBot stop here

        }

    }

}

Comments

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 System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo.Robots
{
    [Robot(AccessRights = AccessRights.None)]
    public class DMaster : Robot
    {
        [Parameter(DefaultValue = "Hello world!")]
        public string Message { get; set; }

        protected override void OnStart()
        {
            // To learn more about cTrader Automate visit our Help Center:
            // https://t.me/DOMMEFX

            Print(Message);
        }

        protected override void OnTick()
        {
            // Handle price updates here
        }

        protected override void OnStop()
        {
            // Handle cBot stop here
        }
    }
}
Comments
5