OPEN-SOURCE SCRIPT
Uptrick: Trend Pressure Line

Introduction
Uptrick: Trend Pressure Line is a trend-following overlay that measures directional pressure by combining price displacement from a moving average, candle body strength, and short-term momentum into a single weighted composite. The composite is smoothed and converted into both a dynamic trend line and a bar coloring system, giving traders a continuous read on how strong buying or selling pressure is, rather than a simple binary trend flag.
Originality
While the script uses common building blocks such as an EMA baseline and ATR normalization, its originality lies in how these components are combined. Instead of relying on a single trend filter, the script blends three independently weighted pressure sources, price position relative to trend, candle body direction, and bar-to-bar momentum, into one normalized pressure value using user-adjustable weights. This composite pressure value is then used simultaneously to plot a smoothed adaptive trend line, generate a three-color gradient reflecting pressure intensity, calculate a reversal probability score based on how stretched pressure is relative to its recent range, and drive bar coloring through three separate selectable modes. No single one of these elements is novel on its own, but the integration of weighted multi-factor pressure scoring with a dedicated reversal exhaustion metric and multi-mode visual feedback is not a standard combination found in common trend or ATR-band indicators.
Features
Inputs
How It Works
The script builds a baseline using an EMA of price, then measures three separate pressures relative to ATR: how far price sits from that baseline, the strength of the current candle's body, and short-term momentum. These three values are combined using the user's weight settings and smoothed to produce a single pressure reading. This pressure reading is added to the baseline to draw the adaptive trend line, and it is also compared against a threshold to classify the market as bullish, bearish, or neutral, which drives the up and down signals. Separately, the script tracks how far current pressure is from its recent extreme and how far price has drifted from the trend line, combining both into a reversal probability percentage that increases as a trend becomes stretched.
How to Use
Conclusion
Uptrick: Trend Pressure Line gives traders a single adaptive line and pressure reading that reflects the combined influence of price positioning, candle strength, and momentum, along with a built-in gauge for how exhausted the current trend may be. It is intended as a trend and exhaustion visualization tool rather than a standalone signal generator.
Uptrick: Trend Pressure Line is a trend-following overlay that measures directional pressure by combining price displacement from a moving average, candle body strength, and short-term momentum into a single weighted composite. The composite is smoothed and converted into both a dynamic trend line and a bar coloring system, giving traders a continuous read on how strong buying or selling pressure is, rather than a simple binary trend flag.
Originality
While the script uses common building blocks such as an EMA baseline and ATR normalization, its originality lies in how these components are combined. Instead of relying on a single trend filter, the script blends three independently weighted pressure sources, price position relative to trend, candle body direction, and bar-to-bar momentum, into one normalized pressure value using user-adjustable weights. This composite pressure value is then used simultaneously to plot a smoothed adaptive trend line, generate a three-color gradient reflecting pressure intensity, calculate a reversal probability score based on how stretched pressure is relative to its recent range, and drive bar coloring through three separate selectable modes. No single one of these elements is novel on its own, but the integration of weighted multi-factor pressure scoring with a dedicated reversal exhaustion metric and multi-mode visual feedback is not a standard combination found in common trend or ATR-band indicators.
Features
- Weighted trend pressure engine combining price position, candle body, and momentum into one composite score
- Adjustable weighting for each of the three pressure components
- Smoothed adaptive trend line plotted directly on the chart
- Three-color gradient (bearish, neutral, bullish) that reflects live pressure intensity
- Up and down trend signals with optional cooldown to reduce repeated signals
- Four selectable signal anchor points (Default, High/Low, Close, Trend Line)
- Optional take profit signals based on an ATR multiple from entry
- Reversal probability calculation based on pressure stretch and distance from the trend line
- Adjustable reversal lookback and sensitivity settings
- Three selectable bar coloring modes (Reversal Probability, Latest Signal, Current Default)
- Strong and extreme pressure level alerts for both bullish and bearish conditions
- Dashboard table showing trend state, signal state, bars since last signal, pressure value, reversal percentage, bar mode, take profit status, ATR value, and trend line value
- Four selectable table positions
- 19 distinct alert conditions covering signals, flips, pressure levels, and price/line crosses
Inputs
- Source, Trend Length, ATR Length, Pressure Smoothness, and Line Smoothness control the core trend engine
- Price Position Weight, Candle Body Weight, and Momentum Weight control how the three pressure components are blended
- Show Up/Down Signals, Trend Threshold, Signal Cooldown, and Signal Anchor control signal generation and placement
- Show TP Signals and TP ATR Multiplier control the optional take profit logic
- Line Width, Gradient Sensitivity, Gradient Smoothness, and Bar Coloring Mode control the visual presentation
- Reversal Lookback, Reversal Sensitivity, and High Reversal Alert Level control the reversal probability calculation
- Strong Pressure Level and Extreme Pressure Level set the thresholds for pressure strength alerts
- Show Table and Table Position control the on-chart dashboard
How It Works
The script builds a baseline using an EMA of price, then measures three separate pressures relative to ATR: how far price sits from that baseline, the strength of the current candle's body, and short-term momentum. These three values are combined using the user's weight settings and smoothed to produce a single pressure reading. This pressure reading is added to the baseline to draw the adaptive trend line, and it is also compared against a threshold to classify the market as bullish, bearish, or neutral, which drives the up and down signals. Separately, the script tracks how far current pressure is from its recent extreme and how far price has drifted from the trend line, combining both into a reversal probability percentage that increases as a trend becomes stretched.
How to Use
- Watch the trend line color and the dashboard Trend row together to identify the current directional bias at a glance
- Use the Up and Down labels as potential entry cues, and adjust Signal Cooldown if signals print too frequently on your chart's timeframe
- Adjust the three weight inputs (Price Position, Candle Body, Momentum) if you want the pressure reading to favor trend positioning, candle strength, or short-term speed, depending on your trading style
- Monitor the Reversal row on the dashboard as a trend matures; a rising percentage suggests the current move is becoming stretched and may be due for a pause or reversal
- Switch Bar Coloring Mode to Reversal Probability if you want the candles themselves to visually flag exhaustion, or to Latest Signal if you prefer bars colored by the most recent up/down call
- Enable Show TP Signals and set a TP ATR Multiplier if you want a visual marker for a fixed ATR-based profit target after each signal, then adjust the multiplier to match your own target distance
- Use Signal Anchor to reposition labels relative to price action, high/low, or the trend line itself depending on chart clutter or personal preference
- Set alerts on any of the nineteen available conditions to be notified of trend flips, pressure extremes, or price crossing the trend line without needing to watch the chart continuously
Conclusion
Uptrick: Trend Pressure Line gives traders a single adaptive line and pressure reading that reflects the combined influence of price positioning, candle strength, and momentum, along with a built-in gauge for how exhausted the current trend may be. It is intended as a trend and exhaustion visualization tool rather than a standalone signal generator.
Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Past performance, including any signals or visual patterns shown on the chart, is not indicative of future results. Trading involves substantial risk, and users should perform their own analysis and risk management before making trading decisions based on this or any other indicator.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
💎 Free Discord: discord.gg/Def47ueyuD
💎 Website: uptrick.io
Nothing is financial advice. Always do your own research.
💎 Website: uptrick.io
Nothing is financial advice. Always do your own research.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
💎 Free Discord: discord.gg/Def47ueyuD
💎 Website: uptrick.io
Nothing is financial advice. Always do your own research.
💎 Website: uptrick.io
Nothing is financial advice. Always do your own research.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.