Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

cant see my indicator in the chart indicators menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cant see my indicator in the chart indicators menu

    I developed an indicator and compiled it sucessfully but i cannot see it in the indicators menu of the plotted chart

    #2
    Hello,

    You see all of the other indicators though?

    Try posting the indicator and I will test it on my end.
    DenNinjaTrader Customer Service

    Comment


      #3

      protectedoverridevoid Initialize()
      {
      Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Zobv1"));
      Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "Zobv9"));
      Add(new Plot(Color.FromKnownColor(KnownColor.DarkViolet), PlotStyle.Line, "Zobv21"));
      CalculateOnBarClose = true;
      Overlay = false;
      PriceTypeSupported = false;
      }
      ///<summary>
      /// Called on each bar update event (incoming tick)
      ///</summary>
      protectedoverridevoid OnBarUpdate()
      {
      // Use this method for calculating your indicator values. Assign a value to each
      // plot below by replacing 'Close[0]' with your own formula.\
      double Obv1=OBV()[0];
      Zobv1.Set(Obv1);
      Obv9=EMA(OBV(),9)[0];
      Zobv9.Set(Obv9);
      Obv21=EMA(OBV(),21)[0];
      Zobv21.Set(Obv21);
      }

      Comment


        #4
        Hello,

        Try putting if(CurrentBar < 22) return; right after OnBarUpDate(). This link will help understand why:


        If that does not work, let me know.
        DenNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        152 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        305 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X