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

Generating orders from a baseline ticker

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

    Generating orders from a baseline ticker

    hi, is it possible to generate my buy/sell orders from a baseline ticker?

    i'm trying to generate all my buy/sells from spy but do the actual buying/selling on ES

    ie: at 10AM my system for SPY is telling to buy, but instead of buying SPY, I buy ES

    I am doing this b/c the same system does not work on ES but since they are highly correlated I want to base them off SPY's signal

    #2
    Hello calhawk01,

    Thank you for your post.

    You can do this by adding the instruments to trade to your strategy. for information on using multiple instruments and time frame sin your NinjaScript code please visit the following link: http://www.ninjatrader.com/support/h...nstruments.htm

    You can view a sample of using multiple instruments in your strategy by going to the NinjaTrader Control Center > Tools > Edit NinjaScript > Strategy > SampleMultiTimeFrame > OK.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by janio973, Today, 07:24 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by aligator, 01-06-2022, 12:14 PM
    4 responses
    238 views
    0 likes
    Last Post john_44573  
    Started by reynoldsn, Today, 05:56 PM
    0 responses
    12 views
    0 likes
    Last Post reynoldsn  
    Started by bortz, 11-06-2023, 08:04 AM
    51 responses
    1,990 views
    0 likes
    Last Post aligator  
    Started by dmking, 11-12-2019, 12:31 PM
    4 responses
    4,155 views
    0 likes
    Last Post jasonw
    by jasonw
     
    Working...
    X