Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Spread Orders (for Calendar Spreads)

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

    Spread Orders (for Calendar Spreads)

    I've noticed there are a few Ninjascript "Sample" codes for Stop Orders and Limit Orders in the Support forum that have been very helpful for my backtesting. I am wondering if the Support Forum has a Sample Code for Spread orders?
    By Spread orders I mean orders for calendar spreads of future contracts, i.e. Long on CL 01-15 and Short on CL 03-15, and with a simple StopLoss logic.
    I know there are no spread charts in NT7 but I could use @kdoren spread indicator.
    I would like to know if there is a code take-off instead of coming up with something from scratch.

    Thanks!

    #2
    Hello Carlosavellan,

    Thank you for your note.

    You would want to take a look at the Entering on one timeframe and exting on another.

    This will give you an idea of how to add additional data series to the Strategy and then use the different BarsInProgress for the orders -

    http://www.ninjatrader.com/support/f...ead.php?t=5787

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    2 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    40 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Kaledus, Today, 01:29 PM
    5 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X