D-Master paid
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:
//to get this cbot contact me on https://t.me/DOMMEFX
Print(Message);
}
protected
override
void
OnTick()
{
// Handle price updates here
}
protected
override
void
OnStop()
{
// Handle cBot stop here
}
}
}
Comments
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 } } }