Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Use StrategyWizard to setup conditions on one instrument but negotiate another

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

    How to Use StrategyWizard to setup conditions on one instrument but negotiate another

    I negotiate future index contracts, so what I will buy and sell are contracts, BUT when analyzing conditions to enter the makert I look at the INDEX data, not the future contract data.

    When setting up an strategy on strategy windows, how can I let NT know that for the conditions to enter the market I wanna consider instrument INDEX, but on the actions to enter the maket I wanna buy or sell the FUTURE CONTRACT (related to that index)? Two different instruments from the tool standpoint, although financially related.

    Thank you,

    Rodrigo

    #2
    Hello Rodrigo,

    Thank you for your post.

    This would actually require unlocking the code to add additional instruments to your script. You will also need to implement the BarsInProgress index in your orders to ensure you submit orders to the correct instruments.

    Information can be found in our help guide at the following link: http://www.ninjatrader.com/support/h...nstruments.htm

    An example can be found under Tools > Edit NinjaScript > Strategy > SampleMultiTimeFrame in NinjaTrader.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X