Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing Hidden Indicator Conditions

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

    #31
    After adding the code to the indicator it compiled properly, but when I went to compile the strategy in the wizard after accessing the new plot "TrendPlot", NinjaTrader 6.5 appears to have a bug and I don't know if it has been addressed in v7 or not. The condition that the Wizard generated is this:

    If (DoubleMA(7, NinjaTrader.Indicator.MAV+MAType.EMA, 20, NinjaTrader.Indicator.MAV+MAType.EMA).TrendPlot[0] == 1)

    but the property from the indicator is this:

    private NinjaTrader.Indicator.MAV.MAType mA1Type = NinjaTrader.Indicator.MAV.MAType.EMA;

    The wizard added "+" token instead of "." token and therefore the strategy will not compile unless I unlock the script and replace the tokens in all 3 conditons in the strategy, which defeats the purpose of trying to stay inside the wizard. Is this a known issue and has it been addressed in v7?

    Thanks
    Last edited by kenb2004; 09-28-2010, 02:32 PM.

    Comment


      #32
      I'm not sure what this is. Can you please share all relevant files and steps needed to see this. You can use File > Utilities > Export NinjaScript - package the strategy and indicator file and attach here.

      If you don't want to post publicly, can email [email protected] and reference this thread:
      Ryan M.NinjaTrader Customer Service

      Comment


        #33
        Here is the Indicator and Strategy zip.
        Attached Files

        Comment


          #34
          Thanks, Ken.

          There's about 15 indicators here, and conflicts with existing ones in my platform. I'm not familiar with the issue you reported and will need a simple way to reproduce. Is it possible for you to create one indicator and one strategy that demonstrates this, and provide the steps needed to see it? Thanks for your support.
          Ryan M.NinjaTrader Customer Service

          Comment


            #35
            I don't know. I'll check and see.

            Comment


              #36
              Browsable(false) not working in Ninja 7?

              Sorry to hijack this thread but I can't find mention of this issue elsewhere.
              Maybe it isn't an issue and I am missing something?

              I have created a data series in an indicator to store values but not to plot them on chart.
              I do not want the "plot" to be accessable in the indicator properties and the usual...

              [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove

              ...is in the properties section of my code but it remains "browsable". The Plots section still appears in the indicator properties.

              Any guidance? Can you direct me to some code where this is working as expected so I can study it?

              Thanks,
              Gains

              Comment


                #37
                You could set DisplayInDataBox to false to not see them - http://www.ninjatrader-support.com/H...InDataBox.html

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                651 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                370 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                574 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                577 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X