mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 20:48:04 +00:00
Add documentation links for various volatility indicators and channels
- Updated BBWN, BBWP, CCV, CV, CVI, EWMA, GKV, HLV, HV, Jvolty, JVOLTYN, MASSI, NATR, RSV, RV, RVI, TR, UI, VOV, VR, YZV indicators with documentation links. - Added documentation links for Aberration, Acceleration Bands, Andrews' Pitchfork, Adaptive Price Zone, ATR Bands, Bollinger Bands, Center of Gravity, Donchian Channels, Decay Min-Max Channel, Detrended Synthetic Price, EACP, EBSW, HOMOD, Jurik Volatility Bands, Keltner Channel, MA Envelope, Min-Max Channel, Price Channel, Regression Channels, Standard Deviation Channel, Stoller Average Range Channel, Super Trend Bands, Ultimate Bands, Ultimate Channel, VWAP Bands, and VWAP with Standard Deviation Bands.
This commit is contained in:
@@ -4,9 +4,6 @@
|
||||
indicator("Weighted Mean Absolute Percentage Error", "WMAPE", overlay=false, format=format.percent)
|
||||
|
||||
//@function Calculates Weighted Mean Absolute Percentage Error
|
||||
//@doc Weights errors by actual value magnitude, industry standard for demand forecasting.
|
||||
//@doc WMAPE = (Σ|actual - predicted| / Σ|actual|) * 100
|
||||
//@doc More stable than MAPE for intermittent data with zero/low values.
|
||||
//@param actual Series of actual values
|
||||
//@param predicted Series of predicted/forecast values
|
||||
//@param length Rolling window for calculation
|
||||
@@ -38,4 +35,4 @@ wmape_value = wmape(i_actual, i_predicted, i_length)
|
||||
|
||||
// Plot
|
||||
plot(wmape_value, "WMAPE", color=color.yellow, linewidth=2)
|
||||
hline(0, "Perfect", color=color.green, linestyle=hline.style_dotted)
|
||||
hline(0, "Perfect", color=color.green, linestyle=hline.style_dotted)
|
||||
|
||||
Reference in New Issue
Block a user