Chart Studies (873)

Votes
Answers
Views
Question
0
votes
1
answer
72
views
asked 5 years ago by
Category: Chart Studies
Hi there, I was interested in sourcing the highest MACD value, since the signal line crosses the zero line.  My approach was to count the number of bars since the value was over zero, then use the highest function, with the count as the length.  Whil...
0
votes
1
answer
72
views
asked 4 years ago by
Category: Chart Studies
Hi Pete,  Is there a feature or can you please make a code to go back to a certain date and time on live chart similar to onDemand? Does OnDemand have regular issues loading charts and mismatch in between current price display on active ladder a...
0
votes
1
answer
72
views
asked 4 years ago by
Category: Chart Studies
I am making a study to compare lows so far I have Def swinglow = if low < low[1] and low < low[2] and low < low[-1] and low < low[-2] then 1 else 0; plot sl = if swinglow then low else double.nan; I want to be able to measure differences ...
0
votes
1
answer
72
views
asked 4 years ago by
Category: Chart Studies
Hi, I am new to custom think scripts.  I am trying to make my "inside" candles appear yellow on my chart.  In other words, if the candle closes without ever exceeding the absolute highs and lows of the previous candle, I would like that "inside" cand...
0
votes
1
answer
72
views
asked 3 years ago by
Category: Chart Studies
Hey Pete!  Hopefully, you've not answered this question before.  What I'm trying to make is an indicator that shows an arrow under the candle for when a two-bar pattern occurs.  I'm basically looking for an inside bar and outside bar.  My kicker is t...
0
votes
1
answer
72
views
asked 3 years ago by
Category: Chart Studies
Pete Hope you can help turn my chart label into lower study.....If label would be green..make a green dot on the row...same for red/grey labels...   input length = 14; input averageType = AverageType.WILDERS; DefineGlobalColor("DI+", color.green...
0
votes
1
answer
72
views
asked 3 years ago by
Category: Chart Studies
Would it be possible to script an indicator to start at a specified time?  For instance, the bollinger bands carry the effect of prior expansion, and lag to show a full squeeze as it forms.  But is it possible to add options to the code to force it t...
0
votes
1
answer
72
views
asked 1 year 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
72
views
asked 1 year 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
71
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, Is there a way that I can include in my chart a dotted line or just a line that will show me 20% from previous close when I open a 1-minute chart. Thanks in advance.