CTrader 5.0.40 indicators stops working

Created at 05 Nov 2024, 16:42
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

malas7malas

Joined 08.12.2019

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();
       }


@malas7malas