Questions (2349)

Votes
Answers
Views
Question
0
votes
1
answer
238
views
asked 4 years ago by
Category: Watch Lists
Hi Pete, I have a customized column that counts the number of green 30-minute bars for the day. Is there a way to rewrite the code so that it automatically takes only today into effect instead of using the lookback? Thanks again! input lookback = 13;...
0
votes
1
answer
43
views
asked 4 years ago by
Category: Chart Studies
Hi Pete,  I am loooking for labels to be added in the code. http://tos.mx/NU4Zarz Label 1- Close Greater Than HL2=YES  Label 2- Close Greater Than HL2=NO But I need only one of the labels to be displayed based on the close value in referece...
0
votes
1
answer
70
views
asked 4 years ago by
Category: Watch Lists
Hello Hahn Tech, I need help creating a watch list column that displays if a stock traded over 10 million volume in a single day within the last. (255 days candles)   If the condition is true, the return value will be display the word "Yes" in r...
0
votes
1
answer
84
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, The following  if then statement contains two conditions and it's not working. It's probably a beginner error :). I want buy order if close is < SMA 150 with SMA 10  rising in the last period. This is what i wrote: def scan = (if close &l...
0
votes
1
answer
92
views
asked 4 years ago by
Category: Strategy Guide
I've had some good luck poking around in here but am having trouble adapting my strategy code. Some background of a similar dummy strategy: Entry Conditions (if ANY of the following is valid): Daily 50SMA crossed above 200SMA OR Daily 50SMA > Dail...
0
votes
1
answer
89
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, Do you know if there is a way to add a date range to a strategy for execution of orders and backtesting? Example: Oil goes up every year sometime between January 1 and February 15th. I would like to have this date range as part of a strategy...
0
votes
1
answer
130
views
asked 4 years ago by
Category: Watch Lists
Hi Pete, This custom column script gives the ORB pct but it doesn't calculate it just for today. It will go back to the previous day's last 30 minutes of options volume if today's initial 30 minutes doesn't have any. Is it possible to tweak it so tha...
0
votes
1
answer
494
views
asked 4 years ago by
Category: Stock Scanners
Hi Pete, I would like to use your flatbase breakout scanner code to have the breakout be to the short side... The link to the original flatbase breakout scan is here: https://www.hahn-tech.com/ans/flat-base-breakout-scans/ I would like it to have a l...
0
votes
1
answer
609
views
asked 4 years ago by
Category: Strategy Guide
Hello all, I've been doing some backtesting on the "MovAvgStrat" that comes with the ToS platform, but I'd like to be able to displace the MA in addition to being able to set the length. I attempted to create my own script with copy and pasting the o...
0
votes
1
answer
676
views
asked 4 years ago by
Category: Stock Scanners
Hi Pete. In a previous post you created a watch list code which shows when a Hull Moving Average changes direction. Here is the previous post link : https://www.hahn-tech.com/ans/wl-for-hull-in-tos/ Can you assist me with setting up a scan that looks...