Chart Studies (879)

Votes
Answers
Views
Question
0
votes
1
answer
278
views
asked 3 years ago by
Category: Chart Studies
Hello Pete I wanted to know if it was possible to have a MACD Histogram Label that follows the colors for the MACD Histogram? Label "MACD" Green, Light-Green, Red, Light-Red Thanks for any help with this. Ellis
0
votes
1
answer
190
views
asked 3 years ago by
Category: Chart Studies
def lastbar = IsNaN(close[-5]) and !IsNaN(close[-5+1]); plot N1_dot = lastbar[-5]; N1_dot.setDefaultColor (CreateColor(100, 250, 250)); N1_dot.SetLineWeight(2); N1_dot.SetPaintingStrategy(PaintingStrategy.points); ####################################...
0
votes
1
answer
139
views
asked 3 years ago by
Category: Chart Studies
Hi Pete, Hope you're well! Quick question, I got the below code from browsing online which plots yesterday's high and low onto the current intraday chart. I'm an absolute noob when it comes to TOS scripting whether it be for studies or scanners, and ...
0
votes
1
answer
110
views
asked 3 years ago by
Category: Chart Studies
Hi, I copied the following ADX source code from Tradingview but I can't seem to make it work on TOS.  Is there any adjustments that I need to make?  Thank you. It was too long so I'll attach it as an attachment.  
0
votes
1
answer
329
views
asked 3 years ago by
Category: Chart Studies
I'm trying to plot each days daily open (8:30am) on 5 min intraday charts with a 5 day time frame. I have the script below, however, it only plots the most recent open......is it even possible to do the above ? input opentime = 0930; input ORend = 09...
0
votes
1
answer
85
views
asked 3 years ago by
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
votes
1
answer
244
views
asked 3 years ago by
Category: Chart Studies
Hey Pete. Wondering if it's possible to create a script resulting in a percentage value of theta compared to the corresponding option price. Example: theta is -$0.45, and "last" price of an option at a particular strike price is $4.11. So script woul...
0
votes
1
answer
145
views
asked 3 years ago by
Category: Chart Studies
If you peek at the code below, you'll see that the daily bar and cloud align perfectly, but the vertical line is offset, slightly, even though they are the same date. Therefore, I'm wondering if adding a time input to the vertical line is possible so...
0
votes
1
answer
146
views
asked 3 years ago by
Category: Chart Studies
I apologize if this has been previously asked and answered. I need a study that plots a specific ema or sma on the chart and the chart label is red when the stock price closes below the sma and green when it closes above the sma. Needs to work with c...
1
vote
1
answer
774
views
asked 3 years ago by
Category: Chart Studies
I'm hoping to add a vertical line on a specific date. To get started, let's say that date is 03/09/2021. And then, over time, I'll add more specific dates to the script... possibly as many as 100+. Many, many thanks. Dana