Chart Studies (879)

Votes
Answers
Views
Question
0
votes
1
answer
221
views
asked 2 years ago by
Category: Chart Studies
Hi Pete, the following code shows the bar number below the bars. For a 2 min chart it will show numbers 1 to 203 for RTH. Is there a way to create an input field value (even/odd) so you can select even/odd and show only even bar numbers or odd bar nu...
0
votes
1
answer
95
views
asked 2 years ago by
Category: Chart Studies
Hello, I am wanting to add different lines and bubbles to the chart that match different levels of % change from the previous days close.  An example would be one line at 15% down from the previous days close and another at 17% from the previous days...
0
votes
1
answer
169
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
41
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
171
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
75
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
54
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
240
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
111
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
0
votes
1
answer
83
views
asked 2 years ago by
Category: Chart Studies
Is it possible to plot futures options using Thinkscript? For example, the first line below plots an SPX option correctly, but the second line does not produce any output: plot pr1 = close(symbol = ".SPXW220331P4495", pricetype = "MARK"); plot pr2 = ...
1 8 9 10 11 12 88