OPEN-SOURCE SCRIPT

MOVING MODE

Moving Mode indicator calculates and displays on the chart the mode (the most frequent value) of the closing prices of the last N bars (configurable). Unlike traditional moving averages, which can be distorted by extreme values, Moving Mode provides a more accurate representation of price behavior by reflecting the most common values.

This approach is based on the concept of "Moda Móvil" proposed by Pedro L. Asensio, who highlights that traditional moving averages can be misleading due to their sensitivity to extremes. The mode, on the other hand, offers a more realistic and market-adjusted alternative, unaffected by outliers.

I, Pedro L. Asensio, created the Moving Mode and Moda Móvil indicators in 2023

These indicators are free to use ;)
Candlestick analysisChart patternsconcept

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明