NexusFi: Find Your Edge


Home Menu

 





Stiching together two data series


Discussion in NinjaTrader

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




 
Search this Thread

Stiching together two data series

  #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?
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
About a successful futures trader who didnt know anythin …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
 
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts