PROTECTED SOURCE SCRIPT
Calc win-Loser

How to Use the Calc win-Loser Indicator
The indicator calculates the profit or loss of the operation, showing how much you gained or lost on the invested amount, without adding the initial capital, displaying only the profit or loss separately.
Use a period (.) to separate decimal numbers, without thousand separators (e.g., 1000 for one thousand, 1000.50 for one thousand and fifty cents).
Price Definition for Calculation
Long Position (buy):
Low Price: entry price (lower)
High Price: exit price (higher)
Example: enter at 1 and exit at 3
Short Position (sell):
High Price: entry price (higher)
Low Price: exit price (lower)
Example: enter at 3 and exit at 1
Main Parameters
Parameter Description Example
Low Price Base price for calculation (Long: entry; Short: exit) 1
High Price Base price for calculation (Long: exit; Short: entry) 3
Leverage Operation multiplier (leverage) 2.0
Universal Amount Total amount invested 1000
Broker Fee (%) Percentage fee charged by broker 0.1
Currency Currency symbol for value display USD
Practical Example
Long: entry at 1, exit at 3, 2x leverage, $1000 investment, 0.1% fee.
Short: entry at 3, exit at 1, 2x leverage, $1000 investment, 0.1% fee.
The indicator will show the expected profit or loss based on the percentage difference adjusted by leverage and subtracting the broker fee.
Notes
Adjust prices according to the type of operation (Long or Short).
Use a period for decimals and do not use thousand separators.
This indicator is a simulation tool and does not execute automatic trades.
Original indicator by Canhoto-Medium — protected to maintain order and respect, prevent copying and plagiarism.
The indicator calculates the profit or loss of the operation, showing how much you gained or lost on the invested amount, without adding the initial capital, displaying only the profit or loss separately.
Use a period (.) to separate decimal numbers, without thousand separators (e.g., 1000 for one thousand, 1000.50 for one thousand and fifty cents).
Price Definition for Calculation
Long Position (buy):
Low Price: entry price (lower)
High Price: exit price (higher)
Example: enter at 1 and exit at 3
Short Position (sell):
High Price: entry price (higher)
Low Price: exit price (lower)
Example: enter at 3 and exit at 1
Main Parameters
Parameter Description Example
Low Price Base price for calculation (Long: entry; Short: exit) 1
High Price Base price for calculation (Long: exit; Short: entry) 3
Leverage Operation multiplier (leverage) 2.0
Universal Amount Total amount invested 1000
Broker Fee (%) Percentage fee charged by broker 0.1
Currency Currency symbol for value display USD
Practical Example
Long: entry at 1, exit at 3, 2x leverage, $1000 investment, 0.1% fee.
Short: entry at 3, exit at 1, 2x leverage, $1000 investment, 0.1% fee.
The indicator will show the expected profit or loss based on the percentage difference adjusted by leverage and subtracting the broker fee.
Notes
Adjust prices according to the type of operation (Long or Short).
Use a period for decimals and do not use thousand separators.
This indicator is a simulation tool and does not execute automatic trades.
Original indicator by Canhoto-Medium — protected to maintain order and respect, prevent copying and plagiarism.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.