NexusFi: Find Your Edge


Home Menu

 





Stiching together two data series


Discussion in NinjaTrader

Updated
    1. trending_up 1,483 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?
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary 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,117


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