Questions (2349)

Votes
Answers
Views
Question
0
votes
1
answer
105
views
asked 4 years ago by
Category: Stock Scanners
Hi Pete, I'm not sure if this is possible also. I'm looking for a scan to find the stocks that are trading below the cash value. Here is formula I manually use to check the cash value for the stock but I don't know how to setup a scan to find them. A...
0
votes
1
answer
174
views
asked 4 years ago by
Category: Stock Scanners
Hey Pete!  Don't roast me just yet I've been through all ( I think all) the posts and I cannot find an example of just how to say +/- 2%.  I know I can use this post to find the previous close https://www.hahn-tech.com/ans/gap-to-previous-day-close-s...
1
vote
1
answer
65
views
asked 4 years ago by
Category: Stock Scanners
Hello there Mr. Hahn, I have another very simple request for you. I already found the code to scan for inside bars on your site. What I would like next would be to scan for stocks that close in the upper 40% or lower 40% of the previous bars' range a...
0
votes
1
answer
155
views
asked 4 years ago by
Hey Pete, I'm in the process of trying to create the moving average crossover alert and I have some questions about the discrepancies between where the chart says I should receive a signal and the alert values indicates I should receive a signal.  I ...
0
votes
1
answer
137
views
asked 4 years ago by
Category: Strategy Guide
Hi -   Is it possible to code up a conditional order to sell 1/2 the position (1/2 of the Buy_To_Open tradeSize) when price crosses above an EMA then then sell the rest of the position when  another condition is true (MACD Cross)? I've watched y...
1
vote
2
answers
316
views
asked 4 years ago by
Category: Strategy Guide
Is there a way to manually (programatically) call addOrder to create orders. I have a script which creates an order based on few variables. Right now I can use it as part of a strategy but I need to run this script (and create orders) on live chart w...
0
votes
1
answer
141
views
asked 4 years ago by
Category: Watch Lists
Here is what i have so far Some on my WL registered properly, others not Thanks for any assistance   input builtInPeriod = aggregationPeriod.DAY; input periodsBack = 1; Def high = close(period = aggregationPeriod.MONTH)[periodsBack]; def CrossAb...
0
votes
1
answer
164
views
asked 4 years ago by
Category: Chart Studies
Hi Pete! You previously helped me to write some code to track the intraday high until a moving average crosses VWAP. I would like to plot individual horizontal lines of support whenever there is a breakout candle that closes above the previous high t...
1
vote
1
answer
39
views
asked 4 years ago by
Category: Chart Studies
Hi Pete, the within reserved word only functions with an integer or length. Do you think it would be possible to write an expression that would achieve the same results as the within function while using a variable in place of an integer or length? T...
0
votes
1
answer
120
views
asked 4 years ago by
Thank you!