Scan for stocks increase 2 times of average 50 days volume?

2

2sureshk

Member
Can some help with scan code to get the list of the stock, which has a volume increase of 2 time of average volume period 50 days and 3% raise in 2 days

Thanks,
Suresh K
 
T

tomsk

Well-known member
VIP
Here is your scan as requested

def volavg = Average(volume,50);
plot scan = volume > 2 * volavg and volume > 1.03 * volume[2];
 
2

2sureshk

Member
Thank you .

Just want to clarify on below : Does it represent 3% raise in 2 days?

volume > 1.03 * volume[2];
 
2

2sureshk

Member
Excellent . Thank you for the expert input.

Can we add price condition as 5 % increase from the previous day close ?

Thx
Suresh
 
T

tomsk

Well-known member
VIP
Here's the modified scan to include the 5% price increase as stated.
I just ran this on the scanner on the S&P 500 and obtained 5 results

def volavg = Average(volume,50);
plot scan = volume > 2 * volavg and volume > 1.03 * volume[2] and close > 1.05 * close[1];
 
2

2sureshk

Member
Excellent .. I am doing some exploration so I find one more rule to add ..

- the stocks that are within 7% range of 52 weeks High

- can we convert this scan code as strategy ?

Thx
Suresh
 
markos

markos

Well-known member
VIP
Excellent .. I am doing some exploration so I find one more rule to add ..

- the stocks that are within 7% range of 52 weeks High

- can we convert this scan code as strategy ?

Thx
Suresh
@2sureshk Please don't abuse the time of any coder.
We are grateful they are here and don't want to irritate by asking single follow-on questions.

Please ask, but put all of your criteria down at one time.
 
2

2sureshk

Member
@2sureshk Please don't abuse the time of any coder.
We are grateful they are here and don't want to irritate by asking single follow-on questions.

Please ask, but put all of your criteria down at one time.

Sure , I agree , most of the times I observed if we ask multiple request in one post it will take more time to construct the logic and code compare to step by step .. also I ensure that there will not be a rework due to follow up question .. as I am under the above impression requesting one main logic at a time .. appreciate the experts help .. Thx again all
 

Similar threads

Top