NexusFi: Find Your Edge


Home Menu

 





Stiching together two data series


Discussion in NinjaTrader

Updated
    1. trending_up 1,411 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 dougscott03 
Old Greenwich + CT/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Russell 2000
Posts: 4 since Mar 2014
Thanks Given: 1
Thanks Received: 0

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...

Thx


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114


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

Definitions:

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
Thanked by:




Last Updated on March 29, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts