PROTECTED SOURCE SCRIPT

ds-Income Statement Analyzer for Traders

PURPOSE: Identifies trends in Revenue, Margins, and Earnings (RME), providing a quick indication of areas that may warrant further focus.

FOCUS:
This tool focuses exclusively on quarterly data, making it especially useful for traders who follow the styles of William O'Neil, Mark Minervini, and David Ryan. Built on the concept that fundamental trends support technical price trends, this indicator is designed to assist swing and position traders in analyzing income statements by highlighting recent trends in revenue, margins, and earnings. It requires three quarters of data to establish a trend, emphasizing the last three quarters. Tools and indicators should 'tell something useful,' and in this case, the tool reveals whether revenue, margins, and earnings are expanding, contracting, or remaining flat, as well as whether these movements are accelerating or decelerating. Finally, built-in logic offers an at-a-glance interpretation of whether a stock warrants closer examination of its fundamental and technical data.

SETTINGS:
  • # Qtrs to Include: Allows you to select how many quarters of available data to display. (5-16)
  • Size: Allows you to adjust the size of the displayed table.
  • KPI Data Text Size: Allows you to adjust the size of the text in the KPI Row. Some text here is more verbose than others.
  • Position: Allows you to position the table.
  • Show Minervini 2Qtr Avgs.?: Hover of the “i” in settings for explanation.
  • Show Estimates vs Actuals?: Hover of the “i” in settings for explanation.
  • Emphasized Data Only in Headline Indicator?: Hover of the “i” in settings for explanation.


TABLE SECTIONS
Vertically: The table is divided into three sections: Revenues, Profit Margins, and Earnings.

Horizontally:
  • The top row contains section headers and key information.
  • The second row includes column headers and summary indicator symbols.
  • The main body displays quarterly data, with a default of 5 quarters and a maximum of 16.
  • Analysis sections include 3Q Trend, KPI, and ATH.
  • The bottom row shows the version number and provides a column symbol indicator for each data column.


TABLE - TOP ROW (Left to Right):
  • SYM: Displays the symbol being viewed.
  • Qtrs Avail: Shows the quarters of data available from TradingView, typically up to a maximum of 32 quarters, or 8 years. If this displays less than 8 years, the company is relatively young.
  • REVENUES: Header label for the Revenues section. To its right is a symbol that indicates the worst case from the bottom row of symbols, based on your settings.
  • PROFIT MARGINS: Header label for the Profit Margins section. To its right is a symbol that indicates the worst case from the bottom row of symbols, based on your settings.
  • EARNINGS: Header label for the Earnings section. To its right is a symbol that indicates the worst case from the bottom row of symbols, based on your settings.


TABLE - HEADER ROW:
This row displays the column header labels. Note the Emphasized column headers “yellow text” highlight the most important column data “Rev Actual ($)”, “Rev YoY Qtr Chg (%)”, “Net Margin (NM) (%)”, “NP YoY Qtr Chg (%)”, “EPS YoY Qtr Chg (%)”. This can be modified in the settings. If you hover over the header, a label will pop up to provide more details.

TABLE BODY ROWS: Shows up to 16 rows of quarterly data.
A black or blank background cell without text indicates that data is unavailable from TradingView. Green text shows a value higher than the prior quarter, while red text shows a value lower than the prior quarter, allowing you to quickly spot trends within each data column. A yellow background highlights cells with negative values, marking them as unfavorable. The yellow cells indicate data points that ideally should not be negative.

ANAYSIS ROWS: Shown with brown background.
  • 3Q TREND: Analyzes the last three quarters of data in each column to determine if the trend is rising, falling, or flat.
  • KPI: Key Performance Indicator. Highlights critical information, such as whether the current quarter is an all-time high (ATH), momentum (MOM) is sideways or accelerating upward, or percentage margins have fallen below all-time highs. You may sometimes see "struct." in the cell here which indicates there is a structural issue. e.g., Net Margin is higher than Operating, EBITDA, or Gross Margin. This might reflect a one-time event that boasted earnings and is worth investigating.
  • ATH: All-time-high value. If KPI shows ATH then the value in this cell should be equal to the most recent quarters value.


TABLE - BOTTOM ROW (Left to Right):
  • Version Number: Displays the version number of the indicator code.
  • Column-Specific Symbol Indicator: Shown at the bottom of each column, this indicator assesses the data in that column for trends, performance, and other factors.


Symbols include:
  • Green Checkmark: Indicates acceptable performance.
  • Yellow Triangle: Suggests caution; a closer inspection of this column's data may be warranted.
  • Orange Diamond: Signals extreme caution, more serious than the Yellow Triangle but not as critical as a Red Flag.
  • Red Flag: Warns of undesirable performance characteristics associated with this column's data, indicating potential danger.


Minervini CODE33 from Trade Like a Stock Market Wizard
Code 33 situation, three quarters of acceleration in earnings, sales, and profit margins. This can be observed in this indicator by focusing on the “Rev YoY Qtr Chg (%)”, “Net Margin (NM) (%)”, “EPS YoY Qtr Chg (%)” looking for the green text in the last two quarters of data. Remember green text simply indicates the value is greater than the prior value. Note I have chosen not to represent the “Net Margin (NM) (%)” as a Year-over-Year (YoY) figure. If you wish to see the bottom line represented as a YoY, you can approximate that by using the “NP YoY Qtr Chg (%)”.

Minervini Smoothing Volatility: Quarterly financial results can be volatile. By averaging the earnings, sales, or other key financial metrics over the last two quarters, Minervini aims to reduce the impact of any one-off events or seasonal fluctuations, providing a more stable view of the company's operational performance. In this indicator I incorporated it for “Rev 2Qtr Chg (%)” and “NP 2Qtr Avg Chg (%)” which averages the last two quarters of Quarter-over-Quarter (QoQ) change.
Fundamental Analysisminervini

סקריפט מוגן

סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.

רוצה להשתמש בסקריפ זה בגרף?


גם על:

כתב ויתור