Lepelle

Lepelle's Key Levels

Lepelle Updated   
Credit to original code goes to paaax and NSDT. Modified to include premarket H/L levels and to show only daily levels. Indicator includes Close levels.

-US Premarket High and Low Levels
-Daily OHL Levels (No close included)
-Yesterday and Previous day OHLC level
-Labels and ability to modify user preferences (color, line)

Release Notes:
updated to Premarket calculation
Updated Today's Levels to Current Levels
Release Notes:
Updated previous script to PineScript Version 5
Release Notes:
updated default settings to bring labels closer to candlesticks as most users will be intra day users looking at short time scales like 10min / 5min ect..
Release Notes:
Fixed pre-market low level as it did not always updated automatically on new day.
Release Notes:
Updated premarket high levels as they not automatically updated every day
Release Notes:
added moving averages to key levels
Release Notes:
Added Opening Range Breakout as another key level that can be used as support and resistance when day trading
Release Notes:
Allow users to specify time range for ORB. Highest timeframe one can view the ORB is 2 hours.
Release Notes:
Added Current Week and Previous week Levels, Updated labels on graphs and general housekeeping on some of the code.
Release Notes:
update labels default distance from chart
Release Notes:
Updated Pre Market high level as it was not updating correctly
Release Notes:
Added price to levels
Replaced static labels with dynamic daily labels
Added Daily 100 SMA level
Moved labels to right side of line
Replaced 'short hand' labels with ability to hide labels
Ability to hide price
Code cleanup
Release Notes:
re-introduce Shorthand labels back instead of hiding labels.
Release Notes:
corrected bug in lines being drawn
Release Notes:
Choice to move labels to top of line or right of line
Updated ORB to work with Futures
Release Notes:
added Last Month Levels
removed Current Weekly Levels
Release Notes:
updated Monthly Levels (Was showing current levels instead of last month levels)
updated the ORB label
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?