OPEN-SOURCE SCRIPT

Realized Profit & Loss [BigBeluga]

19 155
The Realized Loss & Profit indicator aims to find potential dips and tops in price by utilizing the security function
Pine Script®
syminfo.basecurrency + "_LOSSESADDRESSES".


The primary objective of this indicator is to present an average, favorable buying/selling opportunity based on the number of people currently in profit or loss.

The script takes into consideration the syminfo.basecurrency, so it should automatically adapt to the current coin.

🔶 USAGE

Users have the option to enable the display of either Loss or Profit, depending on their preferred visualization.

Examples of displaying Losses:

ảnh chụp nhanh

ảnh chụp nhanh

Example of displaying Profits:

ảnh chụp nhanh

ảnh chụp nhanh

🔶 CONCEPTS

The concept aims to assign a score to the data in the ticker representing the realized losses. This score will provide users with an average of buying/selling points that are better to the typical investor.

🔶 SETTINGS

Users have complete control over the script settings.

🔹 Calculation
• Profit: Display people in profit on an average of the selected length.
• Loss: Display people in loss on an average of the selected length.

🔹 Candle coloring
• True: Color the candle when data is above the threshold.
• False: Do not color the candle.

🔹 Levels
- Set the level of a specific threshold.
• Low: Low losses (green).
• Normal: Low normal (yellow).
• Medium: Low medium (orange).
• High: Low high (red).

🔹 Z-score Length: Length of the z-score moving window.
🔹 Threshold: Filter out non-significant values.
🔹 Histogram width: Width of the histogram.
🔹 Colors: Modify the colors of the displayed data.

🔶 LIMITATIONS

• Since the ticker from which we obtain data works only on the daily timeframe, we are
restricted to displaying data solely from the 1D timeframe.

• If the coin does not have any realized loss data, we can't use this script.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.