Linear Bands

by afhacker in category Volatility at 19/07/2016
Description

It's same like traditional Bollinger Bands indicator but it use Linear Regression Forecast instead of MA, So it lag less than Bollinger bands.

If you have mean reversion bot based on Bollinger bands you can try to back test it with this indicator.

Download : https://www.algodeveloper.com/8-linear-bands

BitCoin: 1Me2TQ6Rgr8EevZNFKqvYegkbtY8C2cP5i

Download
317 downloads
How to install
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Blank : Indicator
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        [Output("Main")]
        public IndicatorDataSeries Result { get; set; }


        protected override void Initialize()
        {
            ChartObjects.DrawText("AlgoDeveloper", "Please download this indicator from AlgoDeveloper.com", StaticPosition.Center, Colors.Red);
        }

        public override void Calculate(int index)
        {
            // Calculate value at specified index
            // Result[index] = ...
        }
    }
}
Comments
0