Forums › ProRealTime English forum › ProScreener support › Stocks screener EMA50, Relative volume etc › Reply To: Stocks screener EMA50, Relative volume etc
01/02/2025 at 3:55 AM
#242061
Try this version…
Mr Magic Screener V1.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
// Screener for identifying stocks that meet the following criteria: // - Price closes above EMA50 // - Stock price is less than $10 // - Relative volume ≥ 1.5 // - Total volume ≥ 1 million // - MACD is bullish // - Stochastic Oscillator: // 1. About to cross bullish // 2. Highlight recent bullish crossover (within the last 2 candles) // Define Parameters EMA50 = Average[50,1](Close) // EMA50 RelativeVolume = Volume / Average[50](Volume) StochasticK = Stochastic[14,1](Close) xStochasticD = Average[3](StochasticK) xMACD = MACD[12,26,9](Close) // Define Conditions c1 = Close > EMA50 // Price closes above EMA50 c2 = Close < 10 // Stock price less than $10 c3 = RelativeVolume >= 1.5 // Relative volume ≥ 1.5 c4 = Volume >= 1000000 // Total volume ≥ 1 million c5 = xMACD > 0 // MACD is bullish // Stochastic Conditions isBullishCross = StochasticK[1] < xStochasticD[1] AND StochasticK > xStochasticD RecentBullishCross = isBullishCross OR (StochasticK[2] < xStochasticD[2] AND StochasticK[1] >= xStochasticD[1]) // Combine All Conditions Filter = c1 AND c2 AND c3 AND c4 AND c5 AND (isBullishCross OR recentBullishCross) // Screener Output SCREENER[Filter](Close AS "Close Price", relativeVolume AS "Rel. Vol.", Volume AS "Total Vol.") |