Category Trend  Published on 27/02/2021

cTrader PRC Indicator

Description

A linear regression indicator draws a straight line of best fit on a chart. The PRC indicator applies a polynomial function to the linear regression function to adapt itself to the flow of market prices. Since they are regression bands that self adjust for volatility. We have modified this indicator to display on the screen the buy and sell signals when the symbol price is between the upper and lower channels.

 

We are currently working on a system that will also send alerts in the form of a pop-up, email, Telegram and instant SMS text messages.

DOWNLOAD THIS FREE INDICATOR

 

Why not sell your indicators with us and boost your sales?


Contactinstant chat group
Websitehttps://clickalgo.com

ClickAlgo

Twitter | Facebook | YouTube | Pinterest | LinkedIn

 


using cAlgo.API;
using System.Windows.Forms;

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

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


        protected override void Initialize()
        {
            var ret = MessageBox.Show("It is not possible to download the software from the cTDN website. Would you like to visit us at ClickAlgo.com where you can download it?", "Downloading...", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

            if (ret == DialogResult.Yes)
            {
                System.Diagnostics.Process.Start("https://clickalgo.com/polynomial-regression-channel");
            }
        }

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

    }
}


ClickAlgo's avatar
ClickAlgo

Joined on 05.02.2015

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: ClickAlgo Indicator.algo
  • Rating: 0
  • Installs: 2218
  • Modified: 13/10/2021 09:54
Comments
Log in to add a comment.
No comments found.