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 AaronKoRn, Today, 09:49 PM
          0 responses
          10 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,980 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X