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

Reply
Old 05-16-2010, 06:26 PM   #1

Join Date: May 2010
Location: Chegdomyn
Posts: 9
Ignore this user

Thanks: 2
Thanked 0 Times in 0 Posts

Spread Charts

On OpenECry trading platform there aren't available spread charts. Does anyone can help me to create spread chart between two contracts (for example wheat contracts: zwu0/zwz0) using Easy Language or some other language for OEC? Spread is a difference between prices of two contracts. Thanks.
wchg is offline  
Reply With Quote
Old 05-18-2010, 10:30 AM   #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: Spread Charts

in tradestation it would be something like

plot1( close of data1 - close of data2);

with the two components of the spread applied to the chart.

you could weight them by multiplying by a constant or variable. I think tams has posted something that might fit the bill in the indicator section.
BlowFish is offline  
Reply With Quote
The Following User Says Thank You to BlowFish For This Useful Post:
wchg (05-18-2010)
Old 05-18-2010, 10:36 AM   #3

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Spread Charts

this should do it...

Spread Premium / Discount

http://www.traderslaboratory.com/for...ount-7737.html


21
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
wchg (05-18-2010)
Old 05-18-2010, 05:25 PM   #4

Join Date: May 2010
Location: Chegdomyn
Posts: 9
Ignore this user

Thanks: 2
Thanked 0 Times in 0 Posts

Re: Spread Charts

Thank you Tams and Blow Fish!...
wchg 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
Interesting Charts for Technical Trades Dinerotrader Stock Trading Laboratory 211 03-13-2012 01:21 AM
Reading Charts in Real Time thalestrader Trading and the Markets 6460 11-03-2011 10:49 AM
The $!(V@# / DOW Spread zdo Traders Log 47 04-25-2011 10:00 AM

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