OPEN-SOURCE SCRIPT
length time trend

So this is simple way to make trend by function of length that is based on min time (in this case 1440)
so i take the close'open' high and low and convert them by this function
then similar to how we build MTF candles I just make this one
you can change the tf to anything you like/ no repaint here as no security
i hope you like it
red is bearish
lime is bullish
so i take the close'open' high and low and convert them by this function
then similar to how we build MTF candles I just make this one
you can change the tf to anything you like/ no repaint here as no security
i hope you like it
red is bearish
lime is bullish
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.