OPEN-SOURCE SCRIPT

length time trend

6 340
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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.