MAs For Loop | QuantumResearch

Multi-MA Composite Momentum Scoring Engine
MAs For Loop is a unique, multi-layered moving average scoring system developed by QuantumResearch to capture persistent trend momentum through time-based strength analysis. Rather than using a single moving average or crossover, this tool evaluates the historical behavior of five different MA types simultaneously, scoring each one across a 50-bar window and generating a clean, confidence-weighted signal.
๐ How It Works:
For each selected MA (ZLEMA, DEMA, HMA, VIDYA, MEDIAN), the script applies a for-loop that compares the current value to its value over the past 50 bars.
If the MA is above its past value โ +1
If itโs below โ -1
These values are summed into a score for each MA, ranging from -50 to +50
These individual scores are then averaged into a final โMultiWaveโ score, which reflects the directional consensus of all five MAs.
๐ง What Makes This Unique?
Unlike traditional moving average signals (e.g., crossovers or price > MA), this system quantifies time-weighted directional pressure.
It doesnโt just tell you โtrend or no trendโโit tells you how strong and how consistent that trend has been across multiple smoothing methods.
The composite for-loop engine captures structural momentum in a way that avoids lag and reduces noise from single-source inputs.
๐ Included MAs & Customization:
๐ ZLEMA (Zero-Lag EMA)
๐ DEMA (Double EMA)
๐ HMA (Hull MA)
๐ VIDYA (Volatility-Adjusted MA)
๐ Median Filter (Percentile Rank 50%)
Users can:
Adjust lengths, sources, and visual color themes
Modify the bullish and bearish thresholds
Display a real-time trend scoring table
Visualize transitions with multi-layer HMA overlays and dynamic bar coloring
๐ Signals:
โ Long โ when average score > +40
๐ฅ Cash/Short โ when average score < -10
All in-between states are neutral (gray)
๐ Alerts:
"MAs For Loop Long" and "MAs For Loop Short" alert conditions are built-in.
๐ Use Case:
Designed for trend-following swing traders and momentum analysts who want:
Confirmation across multiple MA styles
Smoothed entries based on historical persistence
A scoring engine they can plug into larger systems
Better signal quality during consolidation or early breakout phases
โ ๏ธ Disclaimer:
This tool is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset.
Past performance is not indicative of future results. Use at your own risk.
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis โ ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi QuantumResearch secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.
whop.com/quantum-whop/
โ๏ธ Get access to our toolbox here for free:
quantumresearchportfolio.carrd.co
All tools and content provided are for informational and educational purposes only.
Penafian
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis โ ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi QuantumResearch secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.
whop.com/quantum-whop/
โ๏ธ Get access to our toolbox here for free:
quantumresearchportfolio.carrd.co
All tools and content provided are for informational and educational purposes only.