Realized Profit & Loss [StratifyTrade]

The Realized Loss & Profit indicator aims to find potential dips and tops in price by utilizing the security function
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.


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

Examples of displaying Losses:

Example of displaying Profits:


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.


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.


• 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.

Join our free discord for updates :

All scripts & content provided by StratifyTrade are for informational & educational purposes only.
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟