Chart Studies (873)

Votes
Answers
Views
Question
0
votes
1
answer
498
views
asked 6 years ago by
Category: Chart Studies
Here is the code in its simplest form:  This will work fine if  the 1 minute timeframe is not specified.    You will see up arrow in many places.  So how do you compose a boolean variable  based on elements from a different timeframe in such a manner...
0
votes
1
answer
348
views
asked 6 years ago by
Category: Chart Studies
So I am trying to recreate your KBB squeeze for TOS and believe I have it, but I am getting slightly different reading than the proprietary alert that is already built into TOS, TTM_Squeeze(price, length, nK, nBB, alertLine).SqueezeAlert To be more s...
0
votes
1
answer
740
views
asked 6 years ago by
Category: Chart Studies
Hello Hahn, thank you for your videos. I am using them to teach my teenager the art of stock trading. In ThinkorSwim I am trying to create a scan using RSI + MACD HIstogram but then add a Study Filter for stocks that have a BUY Analyst Rating such as...
0
votes
3
answers
6922
views
asked 6 years ago by
Category: Chart Studies
My example is def VAOPerigee= if (AWESOMEOSCILLATOR().AO[0] > AWESOMEOSCILLATOR().AO[1])  && (AWESOMEOSCILLATOR().AO[1]<=AWESOMEOSCILLATOR().AO[2]) && (AWESOMEOSCILLATOR().AO[3] >AWESOMEOSCILLATOR().AO[2]) && AWESOMEO...
0
votes
1
answer
93
views
asked 6 years ago by
Category: Chart Studies
Hi all I have a question about going backwards through chart data. The below line plots a line across the progressively higher highs over the chart data. rec highs = if isnan(high[1]) then double.nan else if high > highs[1] then high else highs[1]...
0
votes
5
answers
1008
views
asked 6 years ago by
Category: Chart Studies
Hello - I'm trying to write a study that connects the lows between 2 or more candles with equivalent lows.  I wrote this: plot PatternPlot5 = if (low[-1] == low or low[1] == low,low,DOUBLE.NAN); PatternPlot5.SetPaintingStrategy(PaintingStrategy.LINE_...
0
votes
1
answer
1381
views
asked 6 years ago by
Category: Chart Studies
 How do we create categories on the Q&A Forum.  I feel funny always posting my questions & comments under ScottTrade Migration,seems like I could create a category that would be more fitting, but it is a beginner  question. I put in  GetTime...
0
votes
2
answers
726
views
asked 6 years ago by
Category: Chart Studies
A couple questions regarding RSI. I have used the aggregate RSI code to show RSI on an hourly, daily, weekly (attached). My question is, can this be set up to have them all on one plot? If i'm looking at AMZN on hourly, I want to see the daily and we...
0
votes
2
answers
790
views
asked 6 years ago by
Category: Chart Studies
Hi Pete, I would like to refer to a previous bar value by using a parameter which is changable (is not constant). But, TOS expects a constant value in the []. How can it be done? For example, lets suppose I would like to go back X bars as the value o...
2
votes
2
answers
1522
views
asked 6 years ago by
Category: Chart Studies
Can you provide an example of how to use multiple aggregate time frames in the ThinkScript editor when comparing TTM_Squeeze for W/D/H charts so that an indicator showing one color when all time frames align and a second color when they do not?