Using upper / lower graph data - ThinkOrSwim | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim


Using upper / lower graph data
Started:October 7th, 2016 (10:18 PM) by PetrosCroix Views / Replies:106 / 2
Last Reply:October 11th, 2016 (11:18 PM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike
     

Reply
 
Thread Tools Search this Thread

Using upper / lower graph data

Old October 7th, 2016, 10:18 PM   #1 (permalink)
Trading Apprentice
Denver + COlorado + USA
 
Futures Experience: Beginner
Platform: ThinkOrSwim
Broker/Data: TDAmeritrade
Favorite Futures: Gold GC
 
Posts: 3 since Sep 2016
Thanks: 0 given, 0 received

Using upper / lower graph data

Hello,
I hope I named this thread correctly. I noticed there are names to the graph areas, price, volume, lower, lower, lower.
I want to reference the lower data in the price graph scripts.
I am having a terrible time finding instructive material dealing with this.

I have seen declare lower and script reserved words. But in a price graph script can I reference lower data?
I tried using lower.MACD(12,9,26) but the data is too small. I want to use the data from different graph levels. Is this possible?
Thanks in advance.

Reply With Quote
     

Old October 8th, 2016, 06:45 PM   #2 (permalink)
Elite Member
Taipei
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: ES
 
Posts: 1 since Jan 2016
Thanks: 0 given, 0 received

Referencing other studies

I'm not sure that I understood your question, within Thinkorswim, I don't think it is possible to reference plotted chart data (charts are refreshed every time a new bar is plotted).

However, if you want to reference the specific instance of the MACD study, then you can simply write the following:
 
Code
def MD = MACD(12,9,26);
We note here that the variable MD will contain the information you require for each bar.

if instead, you only wanted the default values of the same study, then you may use the REFERENCE keyword:
 
Code
def MD = reference MACD;
Where the default values are as follows:
 
Code
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;

Reply With Quote
     

Old October 11th, 2016, 11:18 PM   #3 (permalink)
Trading Apprentice
Denver + COlorado + USA
 
Futures Experience: Beginner
Platform: ThinkOrSwim
Broker/Data: TDAmeritrade
Favorite Futures: Gold GC
 
Posts: 3 since Sep 2016
Thanks: 0 given, 0 received


I have an imported study that plots in the lower sub graph. I wanted to reference that data but it is not in the study references. It looks like I have to pull the code into my main development study to get to the data.
I tried your macd def. I am curious as to how the data shows up so large in the bottom subgraph. I can not find any settings for the vertical.


TradingWiz View Post
I'm not sure that I understood your question, within Thinkorswim, I don't think it is possible to reference plotted chart data (charts are refreshed every time a new bar is plotted).

However, if you want to reference the specific instance of the MACD study, then you can simply write the following:
 
Code
def MD = MACD(12,9,26);
We note here that the variable MD will contain the information you require for each bar.

if instead, you only wanted the default values of the same study, then you may use the REFERENCE keyword:
 
Code
def MD = reference MACD;
Where the default values are as follows:
 
Code
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;


Reply With Quote
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > Using upper / lower graph data

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird graph rintin2x NinjaTrader 8 September 10th, 2016 09:35 PM
Volume Graph indicator Big Mike NinjaTrader 13 January 10th, 2013 06:46 PM
Highest high less than upper bollinger band toddma NinjaTrader 2 July 17th, 2012 11:38 PM
How do you read an Indicator graph value bjschwenzer EasyLanguage Programming 3 August 8th, 2011 10:50 PM
Donchian Channel upper line dimitri The Elite Circle 7 September 14th, 2010 05:45 PM


All times are GMT -4. The time now is 08:47 PM.

Copyright © 2016 by 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 2016-12-05 in 0.08 seconds with 19 queries on phoenix via your IP 54.158.83.210