Professional Documents
Culture Documents
using cAlgo.API;
using cAlgo.API.Indicators;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class DonchianChannelBot : Robot
{
private DateTime _startTime;
private DateTime _stopTime;
private int _tradesExecuted = 0;
donchianChannel = Indicators.DonchianChannel(MarketSeries,
DonchianPeriods);
}
if (!tradeTime)
return;
}
}
}