Stiching together two data series - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Stiching together two data series
Started:March 27th, 2014 (05:44 AM) by dougscott03 Views / Replies:206 / 2
Last Reply:March 29th, 2014 (06:36 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Stiching together two data series

Old March 27th, 2014, 05:44 AM   #1 (permalink)
Elite Member
Old Greenwich + CT/USA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Russell 2000
Posts: 4 since Mar 2014
Thanks: 1 given, 0 received

Stiching together two data series

Hi, I was wondering if someone could help me out. I would like to get a custom indicator that does the following.
- Stich together the 9am to 9.29am active contact for the Russell 2000 emini and the Russell 2000 Index from 9.30-4pm
- Adjust the emini data to take into account the average difference between it and the index.
- Then, take a moving average of this data series.

The last one of these three is easy but I am not sure how to do points one and two, If someone could code this, please let me know. Obviously, I would pay for their time...


Reply With Quote

Old March 27th, 2014, 05:44 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old March 29th, 2014, 06:36 AM   #3 (permalink)
Elite Member
Berlin, Europe
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
Fat Tails's Avatar
Posts: 9,525 since Mar 2010
Thanks: 4,213 given, 24,787 received

You would need to perform a reverse fair value calculation from the futures price in order to find an estimate of the spot price.


SE = estimated spot price for the index
F = futures price at parity
r = continous risk free rate used to calculate the borrowing cost
q = dividends or revenues accruing to the holder of the spot position until delivery
T = time from today until expiry of the futures contract

SE = S / exp( (r-q) * T)

You could then use these values as a proxy for the index price prior to 9:30 AM.

Reply With Quote
The following user says Thank You to Fat Tails for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Stiching together two data series

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
CTA - Series 3, Series 7, Series 9, Series 10, Series 56 NASD exams certifications Big Mike Traders Hideout 41 January 15th, 2015 09:27 AM
Using DrawRegion to shade between two data series FBJS NinjaTrader Programming 6 March 6th, 2014 08:05 PM
Reload custom data series AlBundy NinjaTrader 4 July 9th, 2013 05:49 PM
TF Data Series tderrick Index Futures Trading 7 July 31st, 2011 12:30 PM
_ADXVMA_Alerts_v01_5 data series ryohkyo NinjaTrader Programming 5 March 5th, 2010 11:28 PM

All times are GMT -4. The time now is 04:41 PM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-23 in 0.07 seconds with 20 queries on phoenix via your IP