Votes
Answers
Views
Question
0
votes
1
answer
50
views
asked 3 years ago by Davide Bianchini
Category:
Chart Studies
Hi Pete, I have a script that paints a shaded region for 30-50% up from the Previous Close. I would like to limit this line to pre-market hours only. Is this something that can easily be done? Thank you! input percentThresholdTop = 50.0; input percen...
0
votes
1
answer
204
views
asked 3 years ago by Jim Festa
Category:
Chart Studies
Hi. I'd like to do something simple and am unable to find any relevant threads or posts. I would like to count the total number of times the Standard Deviation is crosses in TOS. I've tried a few things and I think I'm close, but something is missing...
0
votes
1
answer
94
views
asked 3 years ago by Hollis Kwan
Category:
Chart Studies
Hi, I was wondering if it's possible to have a study that plots a line on every whole dollar value on the chart. Thank you
0
votes
1
answer
66
views
asked 3 years ago by Ash Rotch
Category:
Chart Studies
Hey Pete, I wanted to know if you can help me with some code . I want to change the dailey chart background to white if less than 100 bars are shown on the dailey chart. This is great for fresh IPOS which dont have alot of data yet. Tha...
0
votes
1
answer
124
views
asked 3 years ago by Ellis Waller
Category:
Watch Lists
Hello Pete You created a Trix Crossover Watchlist for me a little while back. (code below) Would it be possible to edit the same code to show Trix above or below Zero Line? Thanks for any help with this. Ellis input length = 9; input co...
0
votes
1
answer
290
views
asked 3 years ago by Adam Bzdziuch
Category:
Chart Studies
I'm new to building TOS scripts and struggling to build a study which charts the daily and average price range for a stock. I don't know how to write the script for calculating the average trading range. Hope you can help Pete, much appreciated. #...
0
votes
1
answer
155
views
asked 3 years ago by Erik Linter
Category:
Strategy Guide
the strat below exits after RSI2 crosses above 50. instead, i'd like the strategy to exit after a user-specified number of days, 7, for example. how would you do that? thanks! input price = close; input length = 2; input rsiAverageType = AverageTy...
0
votes
1
answer
201
views
asked 3 years ago by Russ Roberts
Category:
Stock Scanners
Hello, I'm look for a way to run a scan for the first bear candle closing above a moving average, and a separate scan for the first bull candle closing below the moving average. We can use 10EMA for example. This would be used for various time fram...
0
votes
1
answer
129
views
asked 3 years ago by Tommy
Category:
Chart Studies
Hello Pete, I'm looking to automate fibonacci fans starting from 2 year highs to 2 year lows with coefficients (.236/.382/.5/.618) Thanks
0
votes
1
answer
93
views
asked 3 years ago by Sam Krausz
Category:
Stock Scanners
Hi If the current price is the highest from today, I won't enter into a trade. It is too expensive for me, so I always make sure it is not the most expensive price. With Thinkorswim, How can I find stocks whose last price is less than the highest pri...