Votes
Answers
Views
Question
0
1
245
asked 3 years ago by James Foster
Category:
Strategy Guide
Hello Pete, Thank you for everything that you do. I have been reading through your site and have learned a lot. Really appreciate it. A quick question. I am trying to edit a moving average crossover backtesting strategy where the position is sold whe...
0
1
107
asked 3 years ago by Sanjeev
Category:
Chart Studies
Hi pete, This is my code for wavetrend. I did not find previous Discussion about this indicator on your website. could you please help me to create a alert for me. If the red dot plotted below the green line means it is an uptrend. if it is plot abo...
0
1
382
asked 3 years ago by V TG
Category:
Stock Scanners
I know how to do percent change scan in TOS but would like to know how to do a percent change scan within a specific time period in the past. For example: stocks with a percentage change increase more than 3% from 07.19.2021 - 07.25.2021. Thanks
0
1
138
asked 3 years ago by Pablo Barrionuevo
Category:
Watch Lists
Hi, i want see at option chain a column with IV percentile for each base option. I use this code on watchlist, but didn't work al option chain: def vol = impVolatility(); # dont work at option chain rec data = if !isNaN(vol) then vol else data[1]; d...
0
1
114
asked 3 years ago by Ross Camrin
Category:
Chart Studies
Hello Pete , I wanted to know if you could help me write a script that shows the current total volume on the day as a text (No bubble) on the close price of the current candle only. If the volume is over 9 million, no longer display the...
0
1
376
asked 3 years ago by Corey
Category:
Watch Lists
Hi Pete, In a previous post you provided a code which allows us to view the current background color of the MACD histogram. Is it possible to plot the number of consecutive bars with the same color instead of plotting the histogram difference? Below ...
0
1
74
asked 3 years ago by Sabrina Leigh
Category:
Stock Scanners
Hi Pete, I always have trouble with writing this out in the Wizard. I would like to be able to scan for a 6 hour cross in the SlowStochastic. Here is my attempt, though it will not take it. My_Slow_Stoch()."SlowK" crosses above StochasticSlow()."Slow...
0
1
118
asked 3 years ago by Joey
Category:
Chart Studies
Hey Pete, I found an old scan you had made that would alert when a price crossed a previous day's close (shown below). Is there a simple way to add a paintingStrategy to also mark an arrow on the chart when this occurs? Thanks for all your hard work!...
0
1
189
asked 3 years ago by Chris Formen
Category:
Strategy Guide
I have two criteria that are part of the same strategy. They are similar but different enough that I have defined two separate 'def' in my strategy code. One entry is often "better" than the other ('A' is better than 'B'), but in the right circumstan...
0
1
136
asked 3 years ago by Eric Hughes
Category:
Chart Studies
Hello, Im trying to turn these conditions for buying and selling volume into a two line plot study that adds upon itself (recursion) that starts over each market open. im sure I can figure out the recursion part but dont know how to start the study a...