- Questions
- Chart Studies
Votes
Answers
Views
Question
0
1
70
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
284
asked 3 years ago by Vegan Powered
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
1
94
asked 3 years ago by R N
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
1
120
asked 3 years ago by Sean G
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
1
141
asked 3 years ago by Sumihiko Tachibana
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
1
243
asked 3 years ago by Ellis Waller
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
1
59
asked 3 years ago by Pablo Pablo
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
1
51
asked 3 years ago by Arlette Rosario
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
1
339
asked 3 years ago by John Norris
Category:
Chart Studies
Tags:
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
1
77
asked 3 years ago by Chris Formen
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 ...