Chart Studies (842)

Votes
Answers
Views
Question
0
votes
1
answer
7
views
asked 3 days ago by
Category: Chart Studies
Hi Pete, I am looking to augment the current ThinkOrSwim Study "McClellanSummationIndex" (aka NYSI) to assign a color to both the indicator and the candle based upon the current values relationship to the previous days value. Something like this: If,...
0
votes
1
answer
13
views
asked 5 days ago by
Category: Chart Studies
Hello Mr. Hahn, I need help building a script that allows  to check if the current daily high of a given week has passed the previous daily high of the same week. It will display a label box with the following information: if broken, "New high achiev...
0
votes
1
answer
13
views
asked 1 week ago by
Category: Chart Studies
Hi Pete Can you please assist on how can i pot an arrow or color this block where the arrow is pointed.  Condition would be after 2 red block a white block followed by another 2 red blocks?   I tried to in rabbit hole where close[-1] > close[-2] b...
0
votes
1
answer
38
views
asked 1 week ago by
Category: Chart Studies
I am wondering if a label can be created that counts the number of bars in the lower study, TTM Squeeze, based on  the histogram colors.  Say that the last 2 bars are Cyan color (positive and up per the histogram), the label would read 2 with the bac...
0
votes
1
answer
11
views
asked 1 week ago by
Category: Chart Studies
Hi.. I have a great simple study to plot the HLC from the previous day (for intraday chart on current day) that I found here but would like it to plot only on the current day? (input showonlytoday = yes).. I believe I need some NaN values but can't s...
0
votes
1
answer
21
views
asked 2 weeks ago by
Category: Chart Studies
Hello Mr Hahn, Can you please help convert the trading view " Accumulation-Distribution Line into 200 EMA" for thinkorswim as shown below: " // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/...
0
votes
1
answer
18
views
asked 3 weeks ago by
Category: Chart Studies
Hello, I am trying to add a simple label to my chart showing the ATR coming into today. In other words the ATR from one bar ago. This is what I have so far but it's not accepting the code. input length = 14; input averageType = AverageType.WILDERS; p...
0
votes
1
answer
10
views
asked 1 month ago by
Category: Chart Studies
In ToS, I have chart studies that have 5,20,50,200 days Moving averages (EMA) with alerts and I have scanner alert that I get notification for 5days crossing over 20days as example! Is there a way I can get the actual number where these crossovers or...
0
votes
1
answer
12
views
asked 1 month ago by
Category: Chart Studies
Hi Currently, TOS has the above indicator, but i will like to change the settings from using number of advances and declines to volume of advances and declines. Is it possible? The full code for the indicator on TOS is declare lower; input exchange =...
0
votes
1
answer
18
views
asked 1 month ago by
Category: Chart Studies
Hello Pete, I was wondering if you can help me modify this code. I want to be able to display the 4Hour, Daily and Weekly SMI labels on my main chart. Ex: 4H: Buy or Sell. Day: Buy or Sell. Week: Buy or Sell. Thank you so much for your help! def smi ...
1 2 3 85