Chart Studies (873)

Votes
Answers
Views
Question
0
votes
1
answer
311
views
asked 3 years ago by
Category: Chart Studies
Hi Pete, Can you help me on the average Histogram on TTM Squeeze for the past 20 candle bars. I have attached a screenshot, i believe that Histogram number? Example this number current is -15.30, how can i get the average of past 20 bars?   Than...
0
votes
1
answer
139
views
asked 3 years ago by
Category: Chart Studies
Hello, is there a way to add a vertical line whenever the Stochastic SlowK crosses the SlowD?
0
votes
1
answer
186
views
asked 3 years ago by
Category: Chart Studies
Hi Pete, I have a study that plots a vertical line on the earnings date using the AddVerticalLine() feature. I want to add chart bubble(s) onto the vertical lines displaying the historic volatility (or any info I choose). Is it possible to use AddCha...
0
votes
1
answer
29
views
asked 3 years ago by
Category: Chart Studies
I watch some mutual funds and often TOS won't adjust price for dividends no matter i hit the button under settings/equities that tells it to do just that.  Take ARBIX.  On 12/11/20, it had div of .3172.  I can't get my chart to reflect that div.  ins...
0
votes
1
answer
162
views
asked 3 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
332
views
asked 3 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
152
views
asked 3 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
620
views
asked 3 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
63
views
asked 3 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
187
views
asked 3 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...