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


Using upper / lower graph data
Started: by PetrosCroix Views / Replies:140 / 2
Last Reply: 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

  #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
 
  #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
 
  #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 > > > > Using upper / lower graph data

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

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 09:42 AM.

no new posts
Page generated 2017-01-21 in 0.09 seconds with 20 queries on phoenix via your IP 54.205.47.26