Questions (2379)

Votes
Answers
Views
Question
0
votes
1
answer
170
views
asked 2 years ago by
Category: Stock Scanners
Hello Mr. Hahn, During a given day's pre-market session, if I write a script for the pivot point as, " PP = HCl3[1]" on a daily aggregation, will it consider the previous day's data or, one day before the previous day's data?   Thanks
0
votes
1
answer
184
views
asked 2 years ago by
Category: Chart Studies
Hi Currently, TOS has the above indicator, but i will like to change the settings from using number of advances and declines to volume of advances and declines. Is it possible? The full code for the indicator on TOS is declare lower; input exchange =...
0
votes
1
answer
79
views
asked 2 years ago by
Category: Chart Studies
Hello Pete, I was wondering if you can help me modify this code. I want to be able to display the 4Hour, Daily and Weekly SMI labels on my main chart. Ex: 4H: Buy or Sell. Day: Buy or Sell. Week: Buy or Sell. Thank you so much for your help! def smi ...
0
votes
1
answer
94
views
asked 2 years ago by
Category: Stock Scanners
Pete, I have a scan using some custom code which is not triggering as expected. Please see below: input lnrLength = 40; plot lnrReg = LinearRegCurve(0, lnrLength, Close); def stkATR = ATR(14); def myLevel = lnrReg + (2 * stkATR); def signalAbove = Cl...
0
votes
1
answer
125
views
asked 2 years ago by
Category: Watch Lists
Hi Pete, Can this code show background color on the watchlist when the following parameters are met? This was taken from this question: https://www.hahn-tech.com/ans/price-from-ema/ I want to assign background color green when the watchlist filter is...
0
votes
1
answer
116
views
asked 2 years ago by
Category: Stock Scanners
I am trying to build a scan that I can run only on Mondays going into the close after 3:00pm looking for stocks that are currently trading below Fridays Close. here is the criteria that I am trying to meet. Only looking for stocks that are in the S&a...
0
votes
1
answer
389
views
asked 2 years ago by
Category: Watch Lists
Hi Pete, i would like to create a column in the options chain to show liquidity using the bid ask spread. The formula is the difference between the bid ask prices divided by the price of the stock/ETF (underlying). But i have difficulty creating the ...
0
votes
1
answer
66
views
asked 2 years ago by
Category: Chart Studies
Hi Pete, i will like to create a label for yield curve using information from FRED. TOS allows us to input data from FRED and see their charts. Hence i have created a yield curve label. It actually works. But the issue is when the chart is showing an...
0
votes
1
answer
48
views
asked 2 years ago by
Category: Chart Studies
Hello Pete, I have made a scanner in 4 hour aggregation based of heiken-aishi candles. To see if my scan works , I have defined an "alert" based of my study. The definition I used in heiken-aishi is as follows, " def haClose_4h = (open(period=aggrega...
0
votes
1
answer
158
views
asked 2 years ago by
Category: Watch Lists
Hi Once again thanks for your help with the label of the Advanced Declined Cumulative Average. My apologises for having another question with regards to labels. I will like to add the days to earnings column to the watchlist. I have actually create t...