OPEN-SOURCE SCRIPT
Net Profit Margin %

📌 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.
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, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.