Chart Studies (879)

Votes
Answers
Views
Question
0
votes
1
answer
183
views
asked 4 years ago by
Category: Chart Studies
Hello Pete I had a question on the current bar volume. I read the previous post on the following link, and the solution that was mentioned. Volume is greater than VolumeAvg(“Length” = 20)."VolAvg" * 10 within 20 bars https://www.hahn-tech.com/ans/vol...
0
votes
1
answer
393
views
asked 4 years ago by
Category: Chart Studies
Hi Pete, I asked a similar question in this thread about moving averages, which you helped me resolve. This is my last request for this type of indicator. Do you know how to create a lower chart study that plots when a MACD Value is greater than its ...
0
votes
1
answer
168
views
asked 4 years ago by
Category: Chart Studies
Hi Pete, Do you know how to create a lower chart study that plots moving averages greater than another moving average as dots as opposed to lines, similar to the study in this illustration? I found a snippet of code in a study that I think would be h...
1
vote
2
answers
719
views
asked 4 years ago by
Category: Chart Studies
Hi, Pete: is there a way to change how date labels appear?  here's a bit of code: # Prior date of indicator change def prior_X_Up_Date = if X_Status == 1 AND X_Status[1] == 0 then GetYYYYMMDD() else prior_X_Up_Date[1]; def prior_X_Down_Date = if X_St...
1
vote
1
answer
73
views
asked 4 years ago by
Category: Chart Studies
Hi Pete .Question. I have a script here I wrote that has no errors before applying, and it won't plot the labels onto a chart. It keeps saying" Two different secondary periods cannot be used in a single variable" in the upper left hand corner. I don'...
0
votes
1
answer
193
views
asked 4 years ago by
Category: Chart Studies
Hello please can you help me with the script the assign color value when EMA 9 crossover SMA 9 input lengthOne = 9; input lengthTwo = 9; input maTypeOne = AverageType.EXPONENTIAL; input maTypeTwo = AverageType.SIMPLE; input priceOne = close; input pr...
0
votes
1
answer
103
views
asked 4 years ago by
Category: Chart Studies
Hi Pete, Thank you for the great resources. I have a simple script below where I am trying to plot a horizontal line that extends to the right at every cross over signal. def avg1 = MovingAverage(AverageType.SIMPLE, close, 10); def avg2 = MovingAvera...
0
votes
1
answer
179
views
asked 4 years ago by
Category: Chart Studies
I've tried every search on this platform as well as general Googling. Can't seem to find the answer. Does Thinkorswim have the capabilities to show a Linear Regression Channel or Line on a log scale without curving the study? It seems like it takes t...
0
votes
1
answer
260
views
asked 4 years ago by
Category: Chart Studies
Hey Pete, I saw this last topic (https://www.hahn-tech.com/ans/plot-range-based-on-percent-of-previous-day-close/) and thought I could change it to my liking but TOS says no dice: I want a range to display showing previous days high through previous ...
0
votes
1
answer
110
views
asked 4 years ago by
Category: Chart Studies
HI Pete, Can you please provide a code which can display ATR trailing stop of 30 min on 1 min or 5 min TF? Thank you, Shaishav