The idea
Most trend tools try to answer too many questions at once. Tideline answers one: which way is the tide running? It draws a single trailing line from an ATR-based SuperTrend. Green below price while the market trends up, red above it while it trends down, and flips the moment the trend does.
The space between price and the line is shaded, so you can read at a glance how far a move has run and where the trend would break.
This project is for information purpose only, NOT FINANCIAL ADVICE.


Ride the trend
The line doubles as a trailing stop. A status box in the corner shows the current direction, how many bars the trend has lasted and how far price sits from the line. Candle colouring and a higher-timeframe trend line are one toggle away.


Filtering out the chop
Trend indicators fall apart in sideways markets. Tideline’s ADX chop filter holds signals back while the market ranges and fades the line, so you can see it’s standing aside. Signals can also wait for a set number of confirming bars, or require the higher timeframe to agree.
Each trend fires a single BUY or SELL signal, and alerts cover both filtered signals and every flip, so it can run quietly in the background. Built in Pine Script v6 for TradingView. Charts use illustrative data.
NOT FINANCIAL ADVICE.
Features
Bull/bear trend line. Green line under price in uptrends, red line over price in downtrends, flipping only on candle close.
BUY and SELL labels. Marks the first valid signal of each new trend right on the chart.
Chop filter. Uses ADX to hold back signals when the market is ranging, and fades the line so you can see the chop at a glance.
Higher-timeframe agreement. Optionally only signals when the bigger trend (weekly by default) agrees.
Confirmation bars. Waits for a new trend to hold for a set number of candles before signalling, to cut fakeouts.
Multi-timeframe view. Show the weekly trend on a daily chart, or any combination, with no repainting.
Live status box. Current trend, how long it’s been running, and the distance to the line as a stop-loss percentage.
Built-in alerts. Get notified on filtered BUY/SELL signals or on every raw trend flip.
Candle colouring and shading. Optional trend colours on candles and shading between price and the line.
Fully customisable. Tune sensitivity, filters and colours to suit your market and style.
