- Questions
- Chart Studies
Votes
Answers
Views
Question
1
1
72
asked 6 years ago by Mike Daffin
Category:
Chart Studies
Hi Peter, Quick question. I want PersonPivot points displayed in a label. If I use this statement, the label prints to 4 decimal places when I only want it to 2 decimal places. How do I change the output from say from 99.1234 to 99.12? Thanks in adva...
0
1
72
asked 6 years ago by Joe Cola
Category:
Chart Studies
I'm setting up a script that displays a buy when the heikin ashi candle is green if the previous is red. And then to sell at the first red candle. However, at the beginning of let's say a 1 year daily chart that starts with a green candle, I will get...
0
1
72
asked 5 years ago by David Foster
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
1
72
asked 4 years ago by Shaishav Patel
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
1
72
asked 4 years ago by Gregory Cottingham
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
1
72
asked 3 years ago by James Walton
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
1
72
asked 3 years ago by Craig Habermehl
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
1
72
asked 3 years ago by Jeff Look
Category:
Chart Studies
Looking for an example of a way to show a lower study as a simple horizontal bar that would be different colors based on the status of the indicator. Attaching a jpg for the idea. Any guidance appreciated. Thank you!
0
1
72
asked 3 years ago by M.G.
Category:
Chart Studies
Tags:
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
1
72
asked 1 year 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...