thinkscript reference
futures io futures trading

thinkscript reference


Created September 11th 2014 by situhold
Updated September 12th 2014 by Massive l
looks_oneMassive l with 2 posts (6 thanks)
looks_twosituhold with 2 posts (0 thanks)
trending_up5,004 views
thumb_up6 thanks given
forum3 replies
attach_file0 attachments

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 100,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

Thread Tools Search this Thread

thinkscript reference

  #1 (permalink)
calgary ab/canada
Posts: 3 since Aug 2014
Thanks: 1 given, 0 received

thinkscript reference


can someone help me out on this following question?
I like to create a new thinkscript indicator adding a reference to one of my custom indicator. can you show me how to do that if thinkorswim allow me to do so?


Reply With Quote

Can you help answer these questions
from other members on futures io?
I converted Fibonacci Retracement tool to a Risk/Reward tool - I would like some addi
How to detach charts and save chart position
Remek! Market Scanner Pro
CME trading hits monthly record
Beginners and Introductions
Float Study in Easy Language code but need help converting to thinkscript
Best Threads (Most Thanked)
in the last 7 days on futures io
ES futures Spoo-nalysis SP500/SPX
468 thanks
Is Orderflow An Outdated Concept?
179 thanks
Recession? Depression? Bailout!
172 thanks
Coronavirus COVID-19
143 thanks
AMP Futures / AMP Global Review
41 thanks
  #2 (permalink)
Legendary Market Wizard
Portland, OR
Trading Experience: None
Massive l's Avatar
Posts: 1,905 since Mar 2011
Thanks: 1,512 given, 3,670 received

I believe you type in the indicator name and then () after it

Reply With Quote
The following user says Thank You to Massive l for this post:
  #3 (permalink)
calgary ab/canada
Posts: 3 since Aug 2014
Thanks: 1 given, 0 received

thinkscript reference

There must something wrong I type in the code, it shows high-light red on "myindicator1"
Def test=reference myindicator1();
Please correct me.

Reply With Quote
  #4 (permalink)
Legendary Market Wizard
Portland, OR
Trading Experience: None
Massive l's Avatar
Posts: 1,905 since Mar 2011
Thanks: 1,512 given, 3,670 received

Referencing Pre-Defined Studies
thinkScript allows you to reference studies that are already available on the Charts tab in your code. You use the reference keyword to do this.
plot SMA = reference simplemovingavg;
plot SMA = simplemovingavg();
will plot a simple moving average with the default parameters of that study. So long as the study name is followed by parentheses, you don't need to include the word 'reference'. You can change the parameters of the study within reference by inputting them between parentheses.
plot SMA = simplemovingavg(price = volume, length = 20);
will plot a 20 day moving average of the volume. To see the input parameters of a particular study, click on that study in the 'Edit Studies' section of the Charts tab. You will see the available parameters listed in the study properties section.

By default, the first plot of a study is always referenced. However, you can specify the plot you want to reference, as well.
plot bear = reference ElderRay."BearPower"

plot bear = ElderRay(length = 6)."BearPower"

Reply With Quote
The following 5 users say Thank You to Massive l for this post:


futures io Trading Community Platforms and Indicators ThinkOrSwim > thinkscript reference

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Social Media Predictive Data for Traders w/Joe Gits @ SMA [and Lime Brokerage]

Apr 9

Similar Threads
Thread Thread Starter Forum Replies Last Post
ThinkScript studies c0ol2 ThinkOrSwim 5 April 8th, 2014 12:50 PM
thinkscript scan stocks. garyyang6 ThinkOrSwim 1 March 13th, 2014 06:06 AM
Possible study with ThinkScript? TonyB ThinkOrSwim 0 March 4th, 2012 10:27 PM
ThinkScript: Three Line Break StockJock ThinkOrSwim 0 December 16th, 2010 11:10 AM

All times are GMT -4. The time now is 05:18 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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