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
Replies

PanagiotisCharalampous
07 Nov 2024, 07:25

Hi all,

This problem should have been resolved by now. Please restart your cTrader and in case you still experience problems, please send us some troubleshooting information quoting this thread.

Best regards,

Panagiotis


@PanagiotisCharalampous