LE
Information
Username: | Lebenskünstler |
Member since: | 22 Jul 2015 |
Last login: | 22 Jul 2015 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 1 |
Forum Topics | 0 | 0 |
Jobs | 0 | 0 |
Username: | Lebenskünstler |
Member since: | 22 Jul 2015 |
Last login: | 22 Jul 2015 |
Status: | Active |
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 1 |
Forum Topics | 0 | 0 |
Jobs | 0 | 0 |
Hi davip13
To use this indicator in your bot just ad the following code.
Please also add a reference to the indicator clicking on "Manage References" next to "Save" and "Build".
-----
private TrendIndicator trnd;
protected override void OnStart()
{
trnd = Indicators.GetIndicator<TrendIndicator>(MarketSeries.Close, 0.07);
}
protected override void OnTick()
{
Print("Result " + trnd.Result.Last(0));
Print("Lag " + trnd.Lag.Last(0));
}