OPEN-SOURCE SCRIPT
업데이트됨 All for One Moving Average

This is a collection of all the moving averages available. Some are built-in, a couple were tricky to source out.
Higher timeframes can be specified so you aren't limited to your chart setting.
Repainting has been disabled by default.
There is also an option to use Heikin Ashi candles as the input source rather than standard bars.
Hope that someone finds this useful.
If you'd like anything added please DM me and I'll include it!
Feel free to copy this into your own strategies/indicators.
~Dark
Higher timeframes can be specified so you aren't limited to your chart setting.
Repainting has been disabled by default.
There is also an option to use Heikin Ashi candles as the input source rather than standard bars.
Hope that someone finds this useful.
If you'd like anything added please DM me and I'll include it!
Feel free to copy this into your own strategies/indicators.
~Dark
릴리즈 노트
Code Cleanup릴리즈 노트
Added Offset and Sigma inputs even though they are only used in the Arnaud Legoux moving average (ALMA)릴리즈 노트
Code Cleanup릴리즈 노트
- Updated to v6: Latest Pine Script for faster loads and tidy menus.
- Fixed SWMA: Now plots a glitch-free 4-bar average, no length tweaks needed.
- Better EKMA: Adapts to trends smoother from the start on new charts.
- Easier data: Cleaner multi-timeframe and Heikin Ashi pulls for steady plots.
- Quicker calcs: Fewer repeated steps for speed on big lengths.
- Clearer code: Added notes and spacing for quick scans.
릴리즈 노트
- Added tooltip to Repainting and MA Type
- Moved ALMA settings: Now tucked under MA group for a single, uncluttered panel.
- Smarter EKMA math: Switched to faster built-in sum for volatility calc
릴리즈 노트
- Fixed LTF Runtime Error: Guarded request.security_lower_tf with strict checks—only calls it when chart TF > requested TF
- Streamlined LTF Plotting: For lower TFs, averages the MA across sub-bars for a smooth, non-stair-step line
- Tuned Adaptive Formulas: Refined EKMA/VIDYA/FRAMA math
- Added VIDYA, T3 and FRAMA
릴리즈 노트
- Dual MA Support: Introduced optional MA2 with type/length/color; shared MTF logic for consistency; dynamic crossovers detect "fast/slow" via length+TF speed score, flipping signals if needed.
- Crossover Highlights: Toggleable BG colors (green/red semi-trans) + arrows (up/down, sized via dropdown); auto bull/bear based on fast/slow
- Input Refinements: Separate sources for MA1/MA2
- Code Polish: Unified get_secured_ma helper with per-MA source; separate plotshape for sizes
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.