Votes
Answers
Views
Question
0
1
351
asked 2 years ago by Tyrell Morris
Category:
Watch Lists
I tried writing the code for the four color for wave A and getting this error syntax error: an else block expected at 3:6 plot waveA = TTM_Wave().Wave1; AssignBackgroundColor(if waveA >= 0 then if waveA > waveA[1] then Color.CYAN else color.BLU...
0
1
133
asked 2 years ago by Sheriff Cherub
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
1
94
asked 2 years ago by faisal s. ahmed
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
1
365
Hello Pete, I found your "MACD Crossover Alert with Boolean Arrows" very helpful however, I want to add a condition to only show Arrows on chart and send Alert when the MACD crosses the zero line to the positive? Appreciate any feedback you can provi...
0
1
119
asked 2 years ago by Hemal Patel
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
1
393
asked 2 years ago by TomSki
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
1
145
asked 2 years ago by Andrew Lucas
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
1
248
asked 2 years ago by Marilyn Lee
Category:
Strategy Guide
Hello. I've watched some of Pete's videos on YouTube but I just learned about this forum. I am hoping there's some way to create a conditional order in TOS based on consecutive study criteria rather than on the "All" or "Any" condition criteria that ...
0
1
332
asked 2 years ago by faisal s. ahmed
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
1
97
asked 2 years ago by Leo Ortega
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...