OPEN-SOURCE SCRIPT

Open-Close Price Difference

851
Input time A (open time) and time B (closing time)
do not do anything with the year-month-date, it's there because I don't know how to fix it and it needs to be in such format.

the difference of price will be shown on the indicator window one candle after the closing time (opening at such time)

For research purpose only, no other intended purposes.

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.