OPEN-SOURCE SCRIPT

Net Profit Margin %

182
📌 Net Profit Margin % Indicator — Short Explanation

This indicator calculates and displays a company’s Net Profit Margin (NPM) using its financial statements.

What it does:

Pulls Net Income and Total Revenue from the company’s quarterly (FQ) or yearly (FY) financials.

Calculates:
Net Profit Margin = (Net Income / Revenue) × 100

Plots the NPM% as a line chart.

Background turns green when margin is positive and red when negative.

Shows the latest NPM value in a small info table on the chart.

Purpose:
Helps you quickly see whether a company is profitable and how its profit margin is trending over time.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。