A chart timeframe (e.g. 1m, 1h, Daily) used for bars. In cAlgo API, TimeFrame
is a class containing supported timeframes. It is also a parameter type for cBots (allowing the user to choose the timeframe to run on). For example, you might declare [Parameter("Time Frame", DefaultValue = "Hourly")] public TimeFrame TimeFrame { get; set; }
. The docs say “TimeFrame – Contains supported timeframe values.”