Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Symbology Display Style Issues

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

    Symbology Display Style Issues

    I have a strategy that I run on NQ and have it place trade on MNQ. Everything works fine with Symbology Display Style of MNQ 06-24 but people with theirs set to MNQ JUN24, it will not work, signals are generated and no trades are places. Is this a known issue? Attached is the code I'm using. I even tried changing the additional dataseries to this.... AddDataSeries("MNQ JUN24", Data.BarsPeriodType.Minute, 15, Data.MarketDataType.Last);
    Attached Files

    #2
    Hello mlarocco,

    This has been previously reported and is marked for correction in an upcoming release of NinjaTrader.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      ok... thanks

      Comment


        #4
        One additional question, Can a dropdown box be added to select the additional (Micro) instrument? If so, is there any code examples I can use? Thank you

        Comment


          #5
          Hello mlarocco,

          You can add a Series selector, however this would not initialize an instance of the data series or indicator, it would just give you a selected type.

          Below is an example.
          Hi team, I am trying to allow my strategy to pick indicators to backtest via the UI In my strategy, I added a NinjaTrader.Gui.Tools.InputEditor Property public class AIStrategyGenerator : Strategy { protected override void OnStateChange() { if (State == State.SetDefaults) { InputIndicator1 = null; } } protected override


          Further, AddDataSeries() cannot be called dynamically with variables, and using a selector to add an additional series would not be supported.

          It may be prudent to add an empty Series<double> and fill this with data through a barsrequest, if this is what you are trying to do.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by cre8able, Yesterday, 01:16 PM
          3 responses
          11 views
          0 likes
          Last Post cre8able  
          Started by ChartTourist, Today, 08:22 AM
          0 responses
          4 views
          0 likes
          Last Post ChartTourist  
          Started by LiamTwine, Today, 08:10 AM
          0 responses
          2 views
          0 likes
          Last Post LiamTwine  
          Started by Balage0922, Today, 07:38 AM
          0 responses
          5 views
          0 likes
          Last Post Balage0922  
          Started by JoMoon2024, Today, 06:56 AM
          0 responses
          6 views
          0 likes
          Last Post JoMoon2024  
          Working...
          X