TimeFrameStrategy

StockSharp.Algo.Strategies

The timeframe based trade strategy.

Inherits: Strategy

Constructors

TimeFrameStrategy(TimeSpan)

Initialize TimeFrameStrategy.

timeFrame
The strategy timeframe.

Properties

Interval : TimeSpan

The strategy start-up interval. By default, it equals to TimeFrame.

TimeFrame : TimeSpan

The strategy timeframe.

Methods

OnProcess() : ProcessResults

The implementation of the trade algorithm.

Returns: The result of trade algorithm one iteration operation.

OnStarted2(DateTime)

The method is called when the Start method has been called and the ProcessState state has been taken the Started value.