Table of Contents

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

int

ShortLength

Get/sets the length of the short average.

public int ShortLength { get; set; }

Property Value

int

Methods

OnBarClose()

Trading logic

protected override void OnBarClose()

OnStrategyStart()

Strategy setup

protected override void OnStrategyStart()