Fred6724

MarketSmith Indicator

Fred6724 Telah dikemas kini   
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.
Nota Keluaran:
- 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_)
Nota Keluaran:
- You can now customize the color of the bars
- You can now display % variation of Peak/Valley points
Nota Keluaran:
- Added the Weekly Tight Closes Detector available on 'Mark Minervini' script
Nota Keluaran:
- Now SMA/EMA colors are customizable
Nota Keluaran:
- Added Optional Beta Chart Recognition Pattern
Nota Keluaran:
- Corrected Graph Display
Nota Keluaran:
- Corrected graph again
Nota Keluaran:
- Corrected a minor bug that deleted hisotorical valid flat bases
Nota Keluaran:
- Added Double Bottom Detection
- Pattern are only detected in Daily TimeFrame
Nota Keluaran:
- Forgot to link the ability not to display patterns, corrected!
Nota Keluaran:
- Added recent modification on the RS Rating
Nota Keluaran:
- Modified label size to tiny
Nota Keluaran:
- Adjust some parameters in the base formation to be closer to MarketSmith
- Corrected some bugs with the double bottom detection
Nota Keluaran:
- Little correction for the initial depth of the creation of a base -> 35% to 40%
Nota Keluaran:
- Changed default Depth and Length values to better match MarketSmith Chart Pattern Recognition system
Nota Keluaran:
- Corrected Input Description for Double Bottom Depth and Length
Nota Keluaran:
- Corrected some parameters for base detection
- Changed Dotted Lines to Dashed lines
- More discreet line rendering
Nota Keluaran:
- Chart updated
Nota Keluaran:
- Chart Updated (Try to find a correct display)
Nota Keluaran:
- Back to the previous style display because bases were hard to see
Nota Keluaran:
- Added Beta Cup Detection (not Cup n Handle yet)
- Corrected bug of SPX display
Nota Keluaran:
- Corrected incorrect depth setting
Nota Keluaran:
- Adaptation of offset display for sectors and indices
Nota Keluaran:
- Rs Rating label adjusted
Nota Keluaran:
- Added Default Blue Dot New High
Nota Keluaran:
- Now we can display the rating only, eg: for smartphone display
Nota Keluaran:
- 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.
Nota Keluaran:
- We can add a second SMA/EMA on the RS Line.
Nota Keluaran:
- Corrected the rounding of the Average Volume
Nota Keluaran:
- Confused MarketSmith Volume and MarketSmith Indicator. It's late at night
Nota Keluaran:
- Added EPS & Sales Table due to recent TradingView free plan limitation
Nota Keluaran:
- Corrected the Comparative Symbol for Line input that wasn't correctly wired to the calculation.
Nota Keluaran:
- Removed unused input
Nota Keluaran:
For the EPS & Sales table
- Corrected shifting color to transparent of the daily table
Nota Keluaran:
- Added the Maj for the EPS & Sales indicator
Nota Keluaran:
- Corrected wrong digit on the 'versus' display on sales after @B_Kaminski pointed it out

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?