Description
This cTrader Moving Average (MA) is a variation from the standard version that is included with the platform as default, it will show the trend colors, so you can set which color you would like to see when the indicator is showing a bullish or bearish trend.
Contact: instant chat group
Website: https://clickalgo.com
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/ctrader-moving-average-colors");
}
}
public override void Calculate(int index)
{
// Calculate value at specified index
// Result[index] = ...
}
}
}
ClickAlgo
Joined on 05.02.2015
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: ClickAlgo Indicator.algo
- Rating: 0
- Installs: 3348
- Modified: 13/10/2021 09:54
Note that publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section, please use the Copyright Infringement Notification form to submit a claim.
Comments
Log in to add a comment.
Downloaded indicator does not work! Instead it redirects to third party website.