Questions (2373)

Votes
Answers
Views
Question
0
votes
1
answer
351
views
asked 2 years ago by
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
votes
1
answer
133
views
asked 2 years 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
94
views
asked 2 years 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
365
views
asked 2 years ago by
♥ 1
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
votes
1
answer
119
views
asked 2 years 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
393
views
asked 2 years 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
145
views
asked 2 years 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
248
views
asked 2 years ago by
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
votes
1
answer
332
views
asked 2 years 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
97
views
asked 2 years 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...