Chart Studies (873)

Votes
Answers
Views
Question
0
votes
1
answer
70
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
284
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
94
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
120
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
141
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
243
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
59
views
asked 3 years ago by
Category: Chart Studies
Hi Pete, I am trying to make the Pivot Points study in thinkorswim to include the extended hours prices. As defined in TOS, it only considers regular trading hours. Could you please help me with this? What changes should I make to the original code? ...
0
votes
1
answer
51
views
asked 3 years ago by
Category: Chart Studies
I am doing  a calculation risk amount base on a Inside Bar For example if the risk  is PRevHigh-PrevLow then If I want to no loose more thank 50 dollars for example I divide 50/risk  then it gives me the total shares I need to buy. I would like to ro...
0
votes
1
answer
339
views
asked 3 years ago by
Category: Chart Studies
Possible to get some help on my Position Size Script getting an error at def currentPrice.  There may be more issues I'm not aware of I'm very green at this!  Code: # Position Size Calculator based on max % account risk with variable position riskPer...
0
votes
1
answer
77
views
asked 3 years ago by
Category: Chart Studies
Hey Pete, I searched your forums and found this very straightforward code for determining the percent change from the previous day's close. plot percentChange = 100 * (open / close[1] - 1); I am wondering if it can be modified to calculate the close ...