CTrader 5.0.40 indicators stops working
CTrader 5.0.40 indicators stops working
05 Nov 2024, 16:42
Hi Support
Latest release has some issues as Initialize() method does not get called and indicator does not show up.
I have print test added to Initialize method but test never got printed and motherBar method never get called.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo
{
[Indicator(IsOverlay = true, AccessRights = AccessRights.None)]
public class MLS_MOTHER_BAR : Indicator
{
[Parameter("Show Previous Candles", DefaultValue = 500)]
public int p_prevBars { get; set; }
long barIndex = 0;
protected override void Initialize()
{
Print("test");
MotherBar();
}