Questions (855)

Votes
Answers
Views
Question
0
votes
1
answer
90
views
asked 3 years ago by
Category: Chart Studies
Hi Pete, Thank you for the great resources. I have a simple script below where I am trying to plot a horizontal line that extends to the right at every cross over signal. def avg1 = MovingAverage(AverageType.SIMPLE, close, 10); def avg2 = MovingAvera...
0
votes
1
answer
90
views
asked 2 years ago by
Category: Stock Scanners
pete, not getting my desired results. I am trying to do a scan of bollinger percent  of less than 3%. scan print will show the results. Also included is the wizard . Any help will be deeply appreciated.
0
votes
1
answer
90
views
asked 8 months ago by
Category: Stock Scanners
Hey Pete! I am using the Option Hacker and I am trying to scan for options that are up 10% or more on the day. I tried using the code in the screenshot below but it keeps referencing the stock's data rather than the option's. Any ideas on how to make...
0
votes
1
answer
89
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
89
views
asked 1 year ago by
Category: Chart Studies
Tags:
Hey Pete, I would like horizontal lines to show the high and low of /ES between the hours of 2am-5am MST (4am-7am EST, the London open). I tried modifying this code to suit my needs: https://www.hahn-tech.com/ans/premarket-highlow-label/ input startT...
0
votes
1
answer
88
views
asked 4 years ago by
Say i do a MovingAvg10 and MovingAvg20 on a 1min chart. How do i calculate how many MA cross-up and MA cross-down in the whole trading session (0930 - 1600hr) ? Addlabel on the chart - Num of Cross-up and Num of Cross-down
0
votes
1
answer
88
views
asked 3 years ago by
Category: Watch Lists
Hello Pete; I was wondering if there is a way to add tickers to a watch-list automatically every time a scan trigger? So, I have a scanner that alerts me every time a stock meets my criteria. No, I am thinking of a way to make that ticker get added t...
0
votes
1
answer
88
views
asked 3 years ago by
Category: Stock Scanners
Hi - Is it possible to obtain the volume from a specific time on a past day? For example, if the current day's time is noon, then get yesterday's volume at noon to compare? Thanks
0
votes
1
answer
88
views
asked 3 years ago by
Category: Chart Studies
Hello, I'm trying to plot volume profile for a "QUARTER" (past 3 months) period, but not sure how to code it. The code below is only to plot the VAH, VAL, and POC. # ================================= # Volume Profile Definition Section # ============...
0
votes
1
answer
88
views
asked 3 years ago by
Category: Chart Studies
Hi, I copied the following ADX source code from Tradingview but I can't seem to make it work on TOS.  Is there any adjustments that I need to make?  Thank you. It was too long so I'll attach it as an attachment.