Join & EARN

FOREX ALGOS { }

RobotAttribute ([Robot])

An attribute that must decorate every cBot class. It marks the class as a cBot and allows setting options. The docs state: “Marks a class as a Robot. The Robot attribute cannot be omitted.”. Common properties include TimeZone (chart time zone), AccessRights (permissions), DefaultTimeFrame, and others. E.g. [Robot(AccessRights = AccessRights.None)] above the class.