Pairs trading issue - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


Pairs trading issue
Updated: Views / Replies:1,073 / 1
Created: by bogdan Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Pairs trading issue

  #1 (permalink)
Trading Apprentice
Kiev, Ukraine
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Stocks
 
Posts: 1 since Jul 2014
Thanks: 0 given, 0 received

Pairs trading issue

Hello,

Please help me solve problem with thinkscript. I will be very grateful for help or any ideas.

Pair trading is my strategy. I would like to link 3 chart windows. First one I using for displaying pair chart (for example AAPL/MSFT). Second and third I using for displaying single charts (for example AAPL on second window and MSFT on third). I link all of these windows and would like to receive all charts by selecting only one pair in first window.

My problem that I can't find necessary thinkscript functional for ploting bar chart by symbol.

I write the next script:

 
Code
declare lower;
def value = close(GetSymbolPart(1)) / close(GetSymbolPart(2));
def isInverted = if value > 1 then no else yes;
def tickerIndex = if isInverted then 1 else 2;
plot chart = close(GetSymbolPart(tickerIndex));
But this script plots only close line. I would like to plot bar chart. Is it possible? Or maybe exists some unique charts linking method in thinkorswim software?

Thank you so much!

Reply With Quote
 
  #2 (permalink)
1.Fibs 2.??? 3.Profit
Puerto Rico
 
Futures Experience: Intermediate
Platform: thinkorswim
Broker/Data: TD Ameritrade
Favorite Futures: ES
 
rmejia's Avatar
 
Posts: 384 since Oct 2010
Thanks: 3,597 given, 421 received

Not sure if this is what you are trying to do, but there is a link chart button to the right of the symbol input area:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Edit: I re-read what you wrote and I don't think there is a way to link a pair chart to make it split into the two separate symbols. The pair symbol is read as 1 symbol.


Last edited by rmejia; July 25th, 2014 at 12:27 PM.
Reply With Quote

Reply



futures io > > > > > Pairs trading issue

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Algorithmic pairs trading sysot1t Elite Automated Trading 64 April 8th, 2015 07:52 PM
Anyone Do Stock Pairs Trading? MedianVelocity Stocks and ETFs Trading 3 February 28th, 2014 06:18 AM
Pairs Trading - Again, Finding Industries veng1 Elite Automated Trading 8 February 6th, 2012 10:20 AM
Spread / Pairs trading indicators Mehul Stocks and ETFs Trading 3 November 13th, 2011 04:54 PM


All times are GMT -4. The time now is 05:01 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-11 in 0.07 seconds with 20 queries on phoenix via your IP 54.226.132.197