Chart Studies (879)

Votes
Answers
Views
Question
1
vote
1
answer
166
views
asked 5 years ago by
Category: Chart Studies
I’ve calculated a variable called "slope", which is a number that can be positive or negative. For each new day I’d like the script to test if the polarity flips (+ to - or - to +), and if so, to indicate that on the chart. I'm not sure how best to d...
0
votes
1
answer
143
views
asked 5 years ago by
Category: Chart Studies
I would like to have a label on top of my chart for outstanding shares of the stock. Can you do this if it is possible? Havent found anything on this website about this. Thanks.
0
votes
1
answer
94
views
asked 5 years ago by
Category: Chart Studies
Hello Pete,   I had a question how do we round values 2 decimal places in the display labels. For example in the volume code below .     def Pre = if SecondsFromTime(100) > 0 and SecondsTillTime(0930) >= 0 then 1 else 0; def isRo...
0
votes
1
answer
134
views
asked 5 years ago by
Category: Chart Studies
I see a post from 3 months ago shows how to do the RSI label. https://www.hahn-tech.com/ans/create-labels-for-rsi-dmi-smi/ I am wondering can you do a code where the RSI shows up next to the label. For example RSI 72.30 or whatever it actually i...
0
votes
1
answer
93
views
asked 5 years ago by
Category: Chart Studies
Mr. Pete, I'm glad you are recovering well. I'm trying to write a script that uses the full stochastic to mark cycle highs and lows. The definition of the high is %D crosses above 45 and then back below 55 and the low is marked by %D crossing below 4...
0
votes
1
answer
115
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, hope you continue to do well in your recovery. A few weeks ago you helped me put pivot highs and lows on my charts using Williams Fractals- thanks again for that. I'd like to do a couple of things with trailing stops using %'s. would there b...
0
votes
1
answer
516
views
asked 5 years ago by
Category: Chart Studies
Hello Pete,   I hope all is well. I have been working on some code that calculates the total volume from the 9:30am open. However, the code gives me the total volume on the day. How does one modify the code to only calculate from 9:30am est. &nb...
0
votes
1
answer
156
views
asked 5 years ago by
Category: Chart Studies
Tags:
The PSAR in TOS has one color for up and down dots.  I would like to be able to change them to different colors for up and down.  Thanks.
0
votes
1
answer
134
views
asked 5 years ago by
Category: Chart Studies
The price channel study that is already in TOS I'm wanting to add arrows for entry for either a long or short. I've changed the default length from 20 to 21. This is irrelevant on how many days you choose but for this example and code, I'm using the ...
0
votes
1
answer
77
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, I am looking for a script for TOS which continuously displays two labels for simple averages for the last 8 and 1 hr completed and current 8 hr and 1 hr which are not completed yet , and I can apply that study  on any TF But it shows me thos...