Running Cbot reset "Linked Chart" unexpectedly
Created at 20 Jan 2020, 03:35
Running Cbot reset "Linked Chart" unexpectedly
20 Jan 2020, 03:35
Click the cBots to start it reset chart group that was set
I want to keep the chart group as is so is there anyway to avoid this?
Replies
HOMERUN
20 Jan 2020, 09:06
Hi,
It can be anything.
Simple script that do nothing also.
using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class DoNothing : Robot
{
[Parameter(DefaultValue = 0.0)]
public double Parameter { get; set; }
protected override void OnStart()
{
// Put your initialization logic here
}
protected override void OnTick()
{
// Put your core logic here
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
@HOMERUN
PanagiotisCharalampous
20 Jan 2020, 09:10
Hi HOMERUN,
Thanks. This is by design. cBots cannot run on linked charts since you cannot change the symbol for the chart on which the cBot is running.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jan 2020, 09:02
Hi HOMERUN,
Can you please provide us the cBot code as well as exact steps to reproduce this behavior?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous