PROTECTED SOURCE SCRIPT

P&L Indicator

3 894
This is a script to show Profit and Loss (P&L) from a specific position. You need to input The trade prices, trade volume and trade date (Year, Month, Day, Hour, and Minute) and then it will plot a histogram with Green being profitable P&L and Red being loss. It will not show any histogram data for the period before the trade date and time. P&L calculations are based on candle close price. It is recommended to enable Indicator Last Value Label from chart settings so that current P&L value is displayed.

Enjoy it

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.