Ifyouonlyknew

Horizontal Line Pattern (adj #of lines, color, timeframe, top)

The simple script allows you to subdivide and price range into a number of equal segments. For example, you can divide 50,000 to 60,000 into 2,4, or 7 lines. You can also set the beginning date and the end date. This can be useful as prices tend to hover around whole numbers or ratios of whole numbers.

You must use settings to set the number of lines and the start and end dates. You can also change the line thickness and the color scheme.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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?