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.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。