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

Automated strategy instrument question

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

    Automated strategy instrument question

    Hello,

    I'm checking to see if its possible to run an automated strategy on a certain instrument but have it take trades on a different one... In my particular example I'd like to run my strategy on NQ but take trades on MNQ. I have tried just running the strategy on MNQ but it produces completely different results as the instrument mechanics and tick volume is different. I use tick charts and I've played with intervals to achieve the same amount of bars per day but even then the indicator I use for the strategy does not act the same on MNQ as it does on NQ. Hope my question makes sense. Let me know

    Thanks
    Michael

    #2
    Hello Michael,

    Welcome to the NinjaTrader forums!

    It is possible for the strategy to place trades to an added series and this must be coded into the script with AddDataSeries().

    AddDataSeries(string instrumentName)



    Below is a link to a reference sample on adding series.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rdtdale, Today, 01:02 PM
    0 responses
    1 view
    0 likes
    Last Post rdtdale
    by rdtdale
     
    Started by alifarahani, Today, 09:40 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RookieTrader, Today, 09:37 AM
    4 responses
    18 views
    0 likes
    Last Post RookieTrader  
    Started by PaulMohn, Today, 12:36 PM
    0 responses
    6 views
    0 likes
    Last Post PaulMohn  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    41 views
    0 likes
    Last Post love2code2trade  
    Working...
    X