OPEN-SOURCE SCRIPT

Realized Profit & Loss [BigBeluga]

By BigBeluga
The Realized Loss & Profit indicator aims to find potential dips and tops in price by utilizing the security function

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:

snapshot

snapshot

Example of displaying Profits:

snapshot

snapshot

🔶 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.
BTCUSDFundamental AnalysisfundamentaleslossoscillaltorOscillatorsprofitratiosentimentz-score
BigBeluga
Gain exclusive access to our powerful tools : bigbeluga.com

Join our free discord for updates : bigbeluga.com/discord


All scripts & content provided by BigBeluga are for informational & educational purposes only.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer