Votes
Answers
Views
Question
0
1
1752
asked 5 years ago by Corey
Category:
Stock Scanners
Hi Pete. I am looking for a code that simply scans for stocks in which the previous bar was and inside bar. I came across the code below you provided in a previous post but it doesn't seem to identify stocks when I run an intra day scan. def count ...
0
1
90
asked 5 years ago by Not Available
Category:
Chart Studies
Chart_MTF_MACDSTUDY.ts when I add this to a chart and then add another study this study goes blank. How do I avoid that?
0
1
84
asked 5 years ago by J Holt
Category:
Chart Studies
Hi Pete, Can you suggest a script to mark distribution days on the charts? Distribution days, as defined by Investor's Business Daily, are days where the price declines by more than 0.2% and the day's volume is higher than the previous day. The distr...
3
2
96
asked 5 years ago by Byronfern S
Category:
Chart Studies
Hi Pete, I was wondering how can tell the study to star the calculation over at the very first candle of the day the same way vwap can you help please, I was reading the answer here I can seem to find any. Thanks in advance def Data = if high then ...
1
1
187
asked 5 years ago by Connor Fischer
Category:
Strategy Guide
Okay guys so I'm trying to gain the ability to backtest a momentum strategy that I normally use as a scan The criteria for the scan are 1.5 times above average volume, gap up or low>high[1] and a exit signal that either occurs at the end of the we...
0
1
165
asked 5 years ago by Pete Day
Category:
Chart Studies
Hi Pete, I appreciate all the great work you do here. I was wondering if there is a way to reference a previous low's RSI. For instance within the last 30 bars a lowest low was achieved. I would like to reference the RSI when that low occurred. P...
0
1
2065
asked 5 years ago by Alfredo Pinel
Category:
Alerts and Notifications
Hello - I would like to set up an alert when the following condition is True: If % change between closing price of most recent 1 minute bar and the second most recent 1 minute bar (i.e., t versus t-1) exceeds +0.25% OR -0.25% (i.e., a relatively big ...
0
1
332
asked 5 years ago by Eschela Fladie
Category:
Strategy Guide
I am trying to backtest a strategy of 9/20 ema crossing (buying or shorting on the crossover) and am having a little issue. My code will initiate the initial buy when I want it to but it won't sell out and rebuy when the criteria is met. Any thoughts...
0
1
157
asked 5 years ago by Christopher Derbas
Category:
Stock Scanners
Came across your website and am trying to find/create a scan for when the ADX crosses the DM-. Seems like there might be an easy way to modify the scan you created for when DM+ crosses DM-, but I don't know much about coding and couldn't figure it o...
0
1
186
asked 5 years ago by Sean
Category:
Chart Studies
Mr Hanhn, I've looked at one of your previous posts and tried to follow what you were doing but it's not transcribing the same for what I'm doing it seems. Would appreciate help if you were able What I'm working on is inside the ## I'm ...