Class SmaCrossover
- Namespace
- Balsam.Benchmarks
- Assembly
- Balsam.Backtester.dll
A reversal system using simple moving averages.
public class SmaCrossover : Strategy, IStrategy
- Inheritance
-
SmaCrossover
- Implements
- Inherited Members
- Extension Methods
Properties
LongLength
Gets/sets the length of the long average.
public int LongLength { get; set; }
Property Value
ShortLength
Get/sets the length of the short average.
public int ShortLength { get; set; }
Property Value
Methods
OnBarClose()
Trading logic
protected override void OnBarClose()
OnStrategyStart()
Strategy setup
protected override void OnStrategyStart()