Questions (2367)

Votes
Answers
Views
Question
0
votes
1
answer
138
views
asked 2 years ago by
Category: Chart Studies
Hi Pete, I searched for this, but did not find an exact answer to this question. I was wondering what code would be needed to use a custom sound in a script/study. For example, the code below calls for the standard "ding" sound. I would like to repla...
0
votes
1
answer
31
views
asked 2 years ago by
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
152
views
asked 2 years ago by
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
66
views
asked 2 years ago by
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
40
views
asked 2 years ago by
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
106
views
asked 2 years ago by
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
191
views
asked 2 years ago by
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
138
views
asked 2 years ago by
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
174
views
asked 2 years ago by
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
101
views
asked 2 years ago by
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