OPEN-SOURCE SCRIPT
Actualizado MarketSmith Indicator

This script provides you with several indicators that will enable you to mimic MarketSmith charts, even with a free TradingView plan.
You can use this script with my 'EPS & Sales' indicator.
MarketSmith-style bars
The script offers an original approach to managing candlesticks within the code, making them almost identical to those on MarketSmith.
For a perfect display, select 'Bars' on your chart and set the opacity of your candles to 100% to display only the candles proposed by this indicator.
If you don't want them, you can simply disable them in the 'Style' tab by unchecking 'MarketSmith Bars' and 'Chars'.
These candles are designed to be used with a fix chart. (No beautiful result with zooming in or out.)
Normally, the display will still be correct by right-clicking, and 'Reset Chart'.
Simple customizable moving averages
With automatic distinction of the weekly time unit. You can choose to display them or not, select the calculation method and modify their length via the panel.
The RS Rating indicator
I've integrated the RS Rating indicator into this script, as the RS Rating is a fundamental component of this layout.
High and valley points
These points are used by MarketSmith to detect bases, patterns, cup & handle.
Designed for US Market only you won't be able to screen correctly the India market for example.
You can use this script with my 'EPS & Sales' indicator.
MarketSmith-style bars
The script offers an original approach to managing candlesticks within the code, making them almost identical to those on MarketSmith.
For a perfect display, select 'Bars' on your chart and set the opacity of your candles to 100% to display only the candles proposed by this indicator.
If you don't want them, you can simply disable them in the 'Style' tab by unchecking 'MarketSmith Bars' and 'Chars'.
These candles are designed to be used with a fix chart. (No beautiful result with zooming in or out.)
Normally, the display will still be correct by right-clicking, and 'Reset Chart'.
Simple customizable moving averages
With automatic distinction of the weekly time unit. You can choose to display them or not, select the calculation method and modify their length via the panel.
The RS Rating indicator
I've integrated the RS Rating indicator into this script, as the RS Rating is a fundamental component of this layout.
High and valley points
These points are used by MarketSmith to detect bases, patterns, cup & handle.
Designed for US Market only you won't be able to screen correctly the India market for example.
Notas de prensa
- Now 'Hide RS Line' is working- Corrected a bug where when the current close was equal to that of the previous candle, the script colored pink, while TradingView colored blue. (Thank you Yaron_)
Notas de prensa
- You can now customize the color of the bars- You can now display % variation of Peak/Valley points
Notas de prensa
- Added the Weekly Tight Closes Detector available on 'Mark Minervini' scriptNotas de prensa
- Now SMA/EMA colors are customizableNotas de prensa
- Added Optional Beta Chart Recognition PatternNotas de prensa
- Corrected Graph DisplayNotas de prensa
- Corrected graph againNotas de prensa
- Corrected a minor bug that deleted hisotorical valid flat basesNotas de prensa
- Added Double Bottom Detection- Pattern are only detected in Daily TimeFrame
Notas de prensa
- Forgot to link the ability not to display patterns, corrected!Notas de prensa
- Added recent modification on the RS RatingNotas de prensa
- Modified label size to tinyNotas de prensa
- Adjust some parameters in the base formation to be closer to MarketSmith- Corrected some bugs with the double bottom detection
Notas de prensa
- Little correction for the initial depth of the creation of a base -> 35% to 40%Notas de prensa
- Changed default Depth and Length values to better match MarketSmith Chart Pattern Recognition systemNotas de prensa
- Corrected Input Description for Double Bottom Depth and LengthNotas de prensa
- Corrected some parameters for base detection- Changed Dotted Lines to Dashed lines
- More discreet line rendering
Notas de prensa
- Chart updatedNotas de prensa
- Chart Updated (Try to find a correct display)Notas de prensa
- Back to the previous style display because bases were hard to seeNotas de prensa
- Added Beta Cup Detection (not Cup n Handle yet)- Corrected bug of SPX display
Notas de prensa
- Corrected incorrect depth settingNotas de prensa
- Adaptation of offset display for sectors and indicesNotas de prensa
- Rs Rating label adjustedNotas de prensa
- Added Default Blue Dot New HighNotas de prensa
- Now we can display the rating only, eg: for smartphone displayNotas de prensa
- Adapted the RS Rating Update!In this update, I propose to use an option to view the historical RS Rating. This method is an approximation, as the performance environment of US equities varies over time, whereas the historical RS Rating is calculated with fixed values. However, this option can be of interest when studying past setups, and can provide relevant indications.
Notas de prensa
- We can add a second SMA/EMA on the RS Line.Notas de prensa
- Corrected the rounding of the Average VolumeNotas de prensa
- Confused MarketSmith Volume and MarketSmith Indicator. It's late at nightNotas de prensa
- Added EPS & Sales Table due to recent TradingView free plan limitationNotas de prensa
- Corrected the Comparative Symbol for Line input that wasn't correctly wired to the calculation.Notas de prensa
- Removed unused inputNotas de prensa
For the EPS & Sales table- Corrected shifting color to transparent of the daily table
Notas de prensa
- Added the Maj for the EPS & Sales indicatorNotas de prensa
- Corrected wrong digit on the 'versus' display on sales after B_Kaminski pointed it outNotas de prensa
- Updated to EPS & Sales Table Toward MarketSurge lookNotas de prensa
- Like MarketSurge does, when a reported EPS number is missing the code will now search for the standard EPS for replacement.This will allow tickers like
Moreover it should make the EPS & Sales table usable for the Indian Market.
The RS Rating is unchanged and is still for the US Market Only
Notas de prensa
EPS and Sales table:- Modified the style of the table toward MarketSurge look
- Used lighter grey for the MarketSmith table
Notas de prensa
- Modify Chart previewScript de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.