ERROR CODE - CT0003 assembly must contain single algo type
09 Nov 2023, 22:31
Hi
What is this error, bellow is my first cbot and i dont know what i am doing wrong
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 Jody { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class jody : Robot { [Parameter("Quantity (Lots)", Group = "Volume", DefaultValue = 1, MinValue = 0.01, Step = 0.01)] public double Quantity { get; set; }
[Parameter("Stop Loss (pips)", Group = "Protection", DefaultValue = 20, MinValue = 1)] public int StopLossInPips { get; set; }
[Parameter("Take Profit (pips)", Group = "Protection", DefaultValue = 40, MinValue = 1)] public int TakeProfitInPips { get; set; }
Maxlondoner
12 May 2024, 15:53
( Updated at: 13 May 2024, 05:44 )
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
Hi there,
Can you record a video with the steps you are taking, demonstrating this behavior?
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
Hi there,
Can you record a video with the steps you are taking, demonstrating this behavior?
I have the same problem, I choose a new bot, but when I give it the name for a moment everything is ok but immediately after the new name remains only in the list of bots but in the code window NEW BOT reappears and the program gives me an error... .
Hi there,
Can you record a video with the steps you are taking, demonstrating this behavior?
PanagiotisCharalampous
10 Nov 2023, 07:13
Hi there,
Make sure you do not have two cBots in the same project file
@PanagiotisCharalampous