l4pl4c14n

Session min/max points

l4pl4c14n Updated   
An improved version for minimum and maximum in a day trading session. You can choose the session resolution, it ranges from 1 minute to 1 week.

It works well for stocks and non-extended sessions due to security() function limitations.

Any suggestions, please leave a comment.

Happy trading.
Release Notes:
Upgraded version of Session min/max points indicator!

Improvements:
  • Options to plot the local min/max and global min/max values.
  • Find real local values (min and max).
  • Compare local to global values (min and max) in order to draw points more accurately. Scope of global values are given by the timeframe.
  • Since
    request.security
    in a timeframe basis yields a different low and high from the current chart, an error tolerance input was added.
  • Accuracy in general was improved!
Release Notes:
New changes:
  • Added plotting local and global min/max lines.
  • Added configurable long (500d), mid (50d) and short (20d) EMAs.

Remarks:
I set show min/max lines by default, but you can hide them on the checkboxes at the indicator settings.

Let me know if you have any suggestion!
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?