OPEN-SOURCE SCRIPT
Updated Mervaleta Breadth

Fellow Merval investors/traders , I'm sharing this script with you that allows you to calculate a breadth indicator using the components of the Merval Index (IMV) from Argentina.
This breadth indicator shows the percentage of stocks that are above a moving average. In this case, you can choose between an EMA or SMA, and you can select the period of the moving average.
The components that make up the index and were used for this script are as follows:
AGRO
ALUA
BBAR
BMA
BYMA
CEPU
COME
CRES
CVH
EDN
GGAL
HARG
LOMA
MIRG
PAMP
SUPV
TECO2
TGNO4
TGSU2
TRAN
TXAR
VALO
YPFD
For all of them, their dollar value in CCL was used, calculated with GGAL.
Enjoy :)
This breadth indicator shows the percentage of stocks that are above a moving average. In this case, you can choose between an EMA or SMA, and you can select the period of the moving average.
The components that make up the index and were used for this script are as follows:
AGRO
ALUA
BBAR
BMA
BYMA
CEPU
COME
CRES
CVH
EDN
GGAL
HARG
LOMA
MIRG
PAMP
SUPV
TECO2
TGNO4
TGSU2
TRAN
TXAR
VALO
YPFD
For all of them, their dollar value in CCL was used, calculated with GGAL.
Enjoy :)
Release Notes
Cleaned and made the code more efficientOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
@FractalTrade_
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
@FractalTrade_
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.