Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 05-26-2011, 12:18 PM   #1

Join Date: Oct 2008
Location: new york
Posts: 54
Ignore this user

Thanks: 17
Thanked 8 Times in 4 Posts

How to Create a Basket? (index)

i want to create an index with some FX, etc. how do i do that using tradestation?

i want to make an index for AUDJPY, EURJPY, 10Y, 2s10s30s tres., gold, oil.
ephi144 is offline  
Reply With Quote
Old 05-26-2011, 01:32 PM   #2

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,292
Ignore this user

Thanks: 129
Thanked 1,054 Times in 702 Posts

Re: How to Create a Basket? (index)

Probably hugely inefficient but you could apply all the instruments to a chart and the have an indicator with

basket = (data1 * weight) + (data2 * weight) etc

You could then plot(basket) you'd probably want to hide the other plots.

If you have the constituents open in other charts you could send them to your index chart using ADE (all data everywhere). That gets a little bit more complicated.

I don't really know radar screen so can't help there.

There is probably a much better way but that should get you up and running in a few minutes. That's the beauty of easy language.
BlowFish is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
To Always Create Stop Orders on Chart Trader Resistor Open E Cry 0 04-22-2010 11:23 PM
Index components farkasb Market Analysis 7 07-09-2009 10:57 AM
How to Create an ELD to Plot Vertical Lines or Arrows at Price. forrestang Coding Forum 16 05-19-2009 09:55 AM
MP for NSE INDEX AND OPTIONS alex_laxya Market Profile 36 05-15-2009 12:14 AM
Tracking the DJ Index maildigger Market Analysis 1 06-08-2008 08:48 PM

All times are GMT -4. The time now is 03:30 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.