Downloading...
OPEN-SOURCE SCRIPT

Option Maxpain & Walls

216
This simple script plots three lines on your chart based on options data: Call Wall, Put Wall and Max Pain. These three numbers must be obtained elsewhere. While Tradingview has delayed options data, to my knowledge Pinescript does not allow looping through this data to calculate the numbers within the script. So the user must obtain or calculate them elsewhere then type them into the input dialog. Labels and alerts are included as user options.

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.