PSAR LRC [CRT Trader]
SAR (Stop and Reverse) is a technical indicator used in financial markets to track trends and identify potential reversal points.
The indicator plots SAR calculations at three different speeds as dot markers above or below the candlesticks. If all three dots are below, it is considered a bullish signal; if they are above, it is considered a bearish signal.
In addition to the indicator, a Linear Regression Channel has been added. These lines can provide information such as trend direction, support, resistance, and potential breakouts.
Indicators and strategies
Scalper Pro Pattern Recognition & Price Action👑Scalper Pro®👑Pattern Recognition & Price Action
i.postimg.cc
Introducing the ultimate trading robot designed for serious investors! Our advanced bot analyzes market cycles, tracks targets, sets stop losses, and expertly manages your capital. With powerful algorithms and real-time insights, it identifies opportunities and delivers accurate signals, ensuring you never miss a market move. Take control of your trading strategy and maximize your profits with our cutting-edge technology. Join the future of trading today—your expert assistant is ready to help you succeed!
💡 This is not just another indicator — it's a complete trading assistant that identifies structure, signals strength, and simplifies decision-making.
🚀 Plug it into your TradingView chart today and start seeing the market in a whole new way.
💬 Need help with access, backtesting, or have any questions about our indicators?
Our support team is available 24/7 on Telegram.
Just reach out through the link below: 👉 t.me
Auto Channel [SciQua]Auto Channel
Purpose
Auto Channel finds the single best parallel price channel from recent price action and keeps it updated in real time. It uses ZigZag pivots to build candidate channels, scores each candidate for quality, then plots the winner. When price closes outside the channel, the script flags a breakout and can fire alerts.
How it works
1. ZigZag pivots
The script uses TradingView’s TradingView/ZigZag/7 library to generate a stream of swing highs and lows based on a percentage reversal threshold and a leg depth. These pivots are the only points the channel logic evaluates, which keeps the search fast and focused on structure rather than noise.
2. Channel candidates
From the most recent pivots, the script forms all combinations of two swing highs and two swing lows.
It computes a slope for the high line and a slope for the low line and requires that they be nearly parallel within a user-defined tolerance.
3. Quality scoring and selection
For every valid candidate, the script checks the recent pivot segments against the trial channel and computes:
Inside ratio: fraction of tested pivots that sit fully inside the channel after applying the tolerance buffer.
Violation sum: total magnitude of the breaches for any pivots outside the channel.
Current width: distance between upper and lower lines at the current bar.
The “best” channel is chosen by:
1. highest inside ratio
2. then widest current width
3. then smallest violation sum
4. Plot and projection
The upper and lower lines are anchored to the chosen pivot pairs and extend to the left. The script also projects each line to the current bar to compute the live upper and lower channel prices. Those levels drive the breakout checks and alerts.
5. Breakouts and alerts
A breakout is detected when the bar closes above the projected upper line or closes below the projected lower line, after applying the tolerance buffer. Triangle markers highlight fresh breakouts, and you can enable alert conditions to automate notification or strategy handoff.
Inputs:
ZigZag
Price deviation for reversals (%)
Default 0.2. Larger values produce fewer, larger swings. Smaller values produce more, smaller swings.
Pivot legs
Default 2. Controls the lookback depth ZigZag uses to confirm pivots.
ZigZag Color
Visual only.
Tip: If you are not seeing a stable channel, increase the ZigZag percentage to reduce minor swings.
Channel search
Number of recent pivots to consider
Default 12. Higher values search more history and try more channel combinations. Lower values make the search faster and more reactive.
Max slope difference for parallel
Default 0.0005. Maximum allowed difference between the upper and lower line slopes. Smaller values enforce stricter parallelism.
Max price tolerance outside channel
Default 0.0. A buffer added to the channel boundaries during validation and breakout checks. Use this to ignore tiny wicks that poke the lines.
Minimum inside to outside pivots ratio for valid channel (0.00–1.00)
Default 1.00. Require that at least this fraction of checked pivots lie inside the channel. For a more permissive fit, try 0.60 to 0.85.
Styling
Upper Line Color
Lower Line Color
Breakout Above Color
Breakout Below Color
Plots and visuals
Upper channel line
Lower channel line
Triangle markers on the bar that first confirms a close outside the channel, above or below.
Lines extend left from their pivot anchors. Projection to the current bar is used internally to test for breakouts and to set alerts.
Alerts
The script defines two alert conditions:
Close Above Channel
Triggers when the bar closes above the projected upper line plus tolerance.
Close Below Channel
Triggers when the bar closes below the projected lower line minus tolerance.
Practical usage
Trend channels
In a steady trend, a high inside ratio with a moderate width often highlights the dominant channel. Consider trend entries near the lower line in an uptrend or near the upper line in a downtrend, with exits or stops beyond the opposite boundary.
Breakout trades
Combine the channel breakout alert with volume or a separate momentum filter. The tolerance input helps avoid false triggers from small wicks.
Tuning for timeframe and symbol
• Faster markets or lower timeframes usually benefit from a larger ZigZag percentage and a smaller pivot count.
• Slower markets or higher timeframes can use more pivots and a tighter slope difference to enforce cleaner geometry.
Notes and limitations
Channels are derived from ZigZag pivots. If your ZigZag settings change, the detected channel will also change.
The script plots only the single best channel at any time to keep the chart clean.
Breakout markers appear on confirmed bars. For historical bars, markers appear only where a breakout would have been confirmed at that time.
Lines extend left from their anchors. The script projects the lines internally to the current bar for checks and alerts.
License and attribution
License
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
Open source for educational and personal use only. Commercial use requires written permission.
Attribution
© 2025 SciQua — Joshua Danford
Libraries
Uses TradingView/ZigZag/7.
Changelog
v1.0
Initial release. Automatic parallel channel detection from ZigZag pivots, quality scoring, live plotting, and close-based breakout alerts.
FAQ
Why do I not see any channel sometimes?
There may not be a valid pair of highs and lows that pass the slope, inside ratio, and tolerance checks. Loosen the constraints by increasing Max slope difference, lowering Minimum inside ratio, or increasing the ZigZag percentage.
The channel looks too narrow or too wide?
Adjust Number of recent pivots and Minimum inside ratio. A higher inside ratio tends to favor cleaner, sometimes wider channels. A lower ratio may admit narrower, more reactive channels.
How can I reduce false breakout alerts?
Increase Max price tolerance outside channel to ignore small wicks. Add a volume or momentum confirmation in your personal alert workflow.
Thank you for using Auto Channel . Feedback and improvements are welcome.
Bollock ScalperRSI/MACD/EMA composite score scalping indicator designed for the 30m chart for pairs like MSTR/TSLA. Intended to be used in conjunction with bollinger band / trend indicators like Bollock Bands.
Recession Warning Model [BackQuant]Recession Warning Model
Overview
The Recession Warning Model (RWM) is a Pine Script® indicator designed to estimate the probability of an economic recession by integrating multiple macroeconomic, market sentiment, and labor market indicators. It combines over a dozen data series into a transparent, adaptive, and actionable tool for traders, portfolio managers, and researchers. The model provides customizable complexity levels, display modes, and data processing options to accommodate various analytical requirements while ensuring robustness through dynamic weighting and regime-aware adjustments.
Purpose
The RWM fulfills the need for a concise yet comprehensive tool to monitor recession risk. Unlike approaches relying on a single metric, such as yield-curve inversion, or extensive economic reports, it consolidates multiple data sources into a single probability output. The model identifies active indicators, their confidence levels, and the current economic regime, enabling users to anticipate downturns and adjust strategies accordingly.
Core Features
- Indicator Families : Incorporates 13 indicators across five categories: Yield, Labor, Sentiment, Production, and Financial Stress.
- Dynamic Weighting : Adjusts indicator weights based on recent predictive accuracy, constrained within user-defined boundaries.
- Leading and Coincident Split : Separates early-warning (leading) and confirmatory (coincident) signals, with adjustable weighting (default 60/40 mix).
- Economic Regime Sensitivity : Modulates output sensitivity based on market conditions (Expansion, Late-Cycle, Stress, Crisis), using a composite of VIX, yield-curve, financial conditions, and credit spreads.
- Display Options : Supports four modes—Probability (0-100%), Binary (four risk bins), Lead/Coincident, and Ensemble (blended probability).
- Confidence Intervals : Reflects model stability, widening during high volatility or conflicting signals.
- Alerts : Configurable thresholds (Watch, Caution, Warning, Alert) with persistence filters to minimize false signals.
- Data Export : Enables CSV output for probabilities, signals, and regimes, facilitating external analysis in Python or R.
Model Complexity Levels
Users can select from four tiers to balance simplicity and depth:
1. Essential : Focuses on three core indicators—yield-curve spread, jobless claims, and unemployment change—for minimalistic monitoring.
2. Standard : Expands to nine indicators, adding consumer confidence, PMI, VIX, S&P 500 trend, money supply vs. GDP, and the Sahm Rule.
3. Professional : Includes all 13 indicators, incorporating financial conditions, credit spreads, JOLTS vacancies, and wage growth.
4. Research : Unlocks all indicators plus experimental settings for advanced users.
Key Indicators
Below is a summary of the 13 indicators, their data sources, and economic significance:
- Yield-Curve Spread : Difference between 10-year and 3-month Treasury yields. Negative spreads signal banking sector stress.
- Jobless Claims : Four-week moving average of unemployment claims. Sustained increases indicate rising layoffs.
- Unemployment Change : Three-month change in unemployment rate. Sharp rises often precede recessions.
- Sahm Rule : Triggers when unemployment rises 0.5% above its 12-month low, a reliable recession indicator.
- Consumer Confidence : University of Michigan survey. Declines reflect household pessimism, impacting spending.
- PMI : Purchasing Managers’ Index. Values below 50 indicate manufacturing contraction.
- VIX : CBOE Volatility Index. Elevated levels suggest market anticipation of economic distress.
- S&P 500 Growth : Weekly moving average trend. Declines reduce wealth effects, curbing consumption.
- M2 + GDP Trend : Monitors money supply and real GDP. Simultaneous declines signal credit contraction.
- NFCI : Chicago Fed’s National Financial Conditions Index. Positive values indicate tighter conditions.
- Credit Spreads : Proxy for corporate bond spreads using 10-year vs. 2-year Treasury yields. Widening spreads reflect stress.
- JOLTS Vacancies : Job openings data. Significant drops precede hiring slowdowns.
- Wage Growth : Year-over-year change in average hourly earnings. Late-cycle spikes often signal economic overheating.
Data Processing
- Rate of Change (ROC) : Optionally applied to capture momentum in data series (default: 21-bar period).
- Z-Score Normalization : Standardizes indicators to a common scale (default: 252-bar lookback).
- Smoothing : Applies a short moving average to final signals (default: 5-bar period) to reduce noise.
- Binary Signals : Generated for each indicator (e.g., yield-curve inverted or PMI below 50) based on thresholds or Z-score deviations.
Probability Calculation
1. Each indicator’s binary signal is weighted according to user settings or dynamic performance.
2. Weights are normalized to sum to 100% across active indicators.
3. Leading and coincident signals are aggregated separately (if split mode is enabled) and combined using the specified mix.
4. The probability is adjusted by a regime multiplier, amplifying risk during Stress or Crisis regimes.
5. Optional smoothing ensures stable outputs.
Display and Visualization
- Probability Mode : Plots a continuous 0-100% recession probability with color gradients and confidence bands.
- Binary Mode : Categorizes risk into four levels (Minimal, Watch, Caution, Alert) for simplified dashboards.
- Lead/Coincident Mode : Displays leading and coincident probabilities separately to track signal divergence.
- Ensemble Mode : Averages traditional and split probabilities for a balanced view.
- Regime Background : Color-coded overlays (green for Expansion, orange for Late-Cycle, amber for Stress, red for Crisis).
- Analytics Table : Optional dashboard showing probability, confidence, regime, and top indicator statuses.
Practical Applications
- Asset Allocation : Adjust equity or bond exposures based on sustained probability increases.
- Risk Management : Hedge portfolios with VIX futures or options during regime shifts to Stress or Crisis.
- Sector Rotation : Shift toward defensive sectors when coincident signals rise above 50%.
- Trading Filters : Disable short-term strategies during high-risk regimes.
- Event Timing : Scale positions ahead of high-impact data releases when probability and VIX are elevated.
Configuration Guidelines
- Enable ROC and Z-score for consistent indicator comparison unless raw data is preferred.
- Use dynamic weighting with at least one economic cycle of data for optimal performance.
- Monitor stress composite scores above 80 alongside probabilities above 70 for critical risk signals.
- Adjust adaptation speed (default: 0.1) to 0.2 during Crisis regimes for faster indicator prioritization.
- Combine RWM with complementary tools (e.g., liquidity metrics) for intraday or short-term trading.
Limitations
- Macro indicators lag intraday market moves, making RWM better suited for strategic rather than tactical trading.
- Historical data availability may constrain dynamic weighting on shorter timeframes.
- Model accuracy depends on the quality and timeliness of economic data feeds.
Final Note
The Recession Warning Model provides a disciplined framework for monitoring economic downturn risks. By integrating diverse indicators with transparent weighting and regime-aware adjustments, it empowers users to make informed decisions in portfolio management, risk hedging, or macroeconomic research. Regular review of model outputs alongside market-specific tools ensures its effective application across varying market conditions.
5-Min Scalping Indicator (EMA + VWAP)5-Min Scalping Indicator (EMA + VWAP)
Strategy Logic (for 5-min timeframe):
Long Entry: Price above VWAP, EMA Fast crosses above EMA Slow.
Short Entry: Price below VWAP, EMA Fast crosses below EMA Slow.
Exit: On opposite EMA cross or trailing stop (optional for strategy).
How to Use:
Apply this on a 5-minute chart.
Look for buy signals when:
Fast EMA crosses above Slow EMA.
Price is above VWAP.
Look for sell signals when:
Fast EMA crosses below Slow EMA.
Price is below VWAP.
Combine with price action or volume confirmation for best results.
Rahu Cycle This script is showing special “Rahu times” for markets like old man watch sun for rain or farming. It make colorful boxes on chart say, “from this date to that date, market like this sign.” Like, maybe market very good, or very bad, or going up, or down, just like weather season change.
You see table on chart, color, big words - it tell when Rahu (shadow planet in Indian myth) move from one place to next. Say “Mesh/Aries: Market going up, Pisces: market falling.” It’s like old people telling “From June to July, rain come, crop grow.”
It remember big crash, recession, boom - it show label on those dates, so you see “oh, here big problem come.” Like “2008: crash, 2015: China problem, 2009: market at lowest.”
It make chart background colored also, so you know which Rahu phase now, like green for very bad, red for super boom—just like traffic light for market activity.
All these things come in TradingView chart as colored boxes and notes, you don’t need read big book. Just look, see color, understand—market going up, or danger coming, or safe time.
So, this script… make market ups-and-downs simple for you. Rahu go from one sign to next, market change color, you see, you decide. No need expert—just see color, follow cycle, stay safe.
Intraday Smart PlusIntraday Smart Plus
The indicator is for intraday day, shows the below.
1. VWAP
2. Day Open Line
3. First 15 minutes High and Low
4. Support and Resistance Lines
Recommended time frame is 3 minutes
Srini B - Zero Lag Trend SignalsFinal version with minor changes. This indicator displays buy & sell alerts as per settings defined and comes out really well. Just my own personal indicator for own use.
Kairi Trend Oscillator [T3][T69]📌 Overview
The Kairi Trend Oscillator is a Japanese-inspired hybrid oscillator combining Heikin-Ashi trend clarity with the Kairi (乖離率) indicator — a measure of price deviation from a moving average. This dual-layer system gives you both trend direction and trend strength/health, designed to highlight trend maturity and avoid overextended entries.
✨ Features
Heikin-Ashi or normal candlestick input modes
Multiple moving average options: SMA, EMA, DEMA, VWMA, and Kijun
Visual color-coded trend zones: overbought, oversold, healthy, weak, and reversal conditions
Full Kairi column plot with dynamic coloring
Adaptive logic for trend detection (linear regression or Heikin-Ashi structure)
Built-in reversal detection based on divergence between Kairi and trend direction
⚙️ How to Use
Choose Candle Type: Select Heiken Ashi or Normal Candlesticks via the Candle Mode dropdown.
Select Source: Choose open, high, low, or close as the input for Kairi computation.
Set MA Type & Length: Configure the moving average mode and its length under Moving Average Settings.
Interpret the Plot:
Green/Red bars: Show Kairi oscillator values above/below 0
Background color: Shows current trend (green = uptrend, red = downtrend)
Candle color overlays:
🟩 Teal = Overextended Bulls
🟥 Maroon = Overextended Bears
✅ Green = Healthy Uptrend
🔻 Red = Healthy Downtrend
🟨 Light tones = Weak trends
🔄 Blue/Fuchsia = Possible reversal detected
🔧 Configuration
Inputs:
Candle Mode: Heiken Ashi or Normal Candle Sticks
Source: Open, High, Low, Close
MA Mode: SMA, EMA, DEMA, VWMA, or Kijun
MA Length: Default is 29
🧪 Advanced Tips
Use Heikin-Ashi mode for better trend smoothing.
Kairi divergence (e.g., bullish Kairi in a downtrend) may signal upcoming reversal — watch for blue or fuchsia bars.
Combine with momentum indicators (e.g. RSI or MACD) for confluence-based setups.
For mean reversion strategies, fade extreme Kairi readings (> ±5%).
⚠️ Limitations
Not suited for ranging markets without trend.
Kairi extremes may remain elevated in strong trends — avoid early counter-trend entries.
Reversal logic is not a confirmation signal; use with caution.
📌 Disclaimer
This script is educational and illustrative. Always backtest thoroughly before using in live markets.
Golden Launch Pad🔰 Golden Launch Pad
This indicator identifies high-probability bullish setups by analyzing the relationship between multiple moving averages (MAs). A “Golden Launch Pad” is formed when the following five conditions are met simultaneously:
📌 Launch Pad Criteria (all must be true):
MAs Are Tightly Grouped
The selected MAs must be close together, measured using the Z-score spread — the difference between the highest and lowest Z-scores of the MAs.
Z-scores are calculated relative to the average and standard deviation of price over a user-defined window.
This normalizes MA distance based on volatility, making the signal adaptive across different assets.
MAs Are Bullishly Stacked
The MAs must be in strict ascending order: MA1 > MA2 > MA3 > ... > MA(n).
This ensures the short-term trend leads the longer-term trend — a classic sign of bullish structure.
All MAs Have Positive Slope
Each MA must be rising, based on a lookback period that is a percentage of its length (e.g. 30% of the MA’s bars).
This confirms momentum and avoids signals during sideways or weakening trends.
Price Is Above the Fastest MA
The current close must be higher than the first (fastest) moving average.
This adds a momentum filter and reduces false positives.
Price Is Near the MA Cluster
The current price must be close to the average of all selected MAs.
Proximity is measured in standard deviations (e.g. within 1.0), ensuring the price hasn't already made a large move away from the setup zone.
⚙️ Customization Options:
Use 2 to 6 MAs for the stack
Choose from SMA, EMA, WMA, VWMA for each MA
Adjustable Z-score window and spread threshold
Dynamic slope lookback based on MA length
Volatility-adjusted price proximity filter
🧠 Use Case:
This indicator helps traders visually and systematically detect strong continuation setups — often appearing before breakouts or sustained uptrends. It works well on intraday, swing, and positional timeframes across all asset classes.
For best results, combine with volume, breakout structure, or multi-timeframe confirmation.
Intraday SmartVWAP + Double EMA + 15 min High & Low
The indicator is for intraday, shows the below.
1. VWAP
2. EMA's
3. First 15 mins High and Low
Recommended time frame is 3 minutes.
Adaptive Market Profile – Auto Detect & Dynamic Activity ZonesAdaptive Market Profile is an advanced indicator that automatically detects and displays the most relevant trend channel and market profile for any asset and timeframe. Unlike standard regression channel tools, this script uses a fully adaptive approach to identify the optimal period, providing you with the channel that best fits the current market dynamics. The calculation is based on maximizing the statistical significance of the trend using Pearson’s R coefficient, ensuring that the most relevant trend is always selected.
Within the selected channel, the indicator generates a dynamic market profile, breaking the price range into configurable zones and displaying the most active areas based on volume or the number of touches. This allows you to instantly identify high-activity price levels and potential support/resistance zones. The “most active lines” are plotted in real-time and always stay parallel to the channel, dynamically adapting to market structure.
Key features:
- Automatic detection of the optimal regression period: The script scans a wide range of lengths and selects the channel that statistically represents the strongest trend.
- Dynamic market profile: Visualizes the distribution of volume or price touches inside the trend channel, with customizable section count.
- Most active zones: Highlights the most traded or touched price levels as dynamic, parallel lines for precise support/resistance reading.
- Manual override: Optionally, users can select their own channel period for full control.
- Supports both linear and logarithmic charts: Simple toggle to match your chart scaling.
Use cases:
- Trend following and channel trading strategies.
- Quick identification of dynamic support/resistance and liquidity zones.
- Objective selection of the most statistically significant trend channel, without manual guesswork.
- Suitable for all assets and timeframes (crypto, stocks, forex, futures).
Originality:
This script goes beyond basic regression channels by integrating dynamic profile analysis and fully adaptive period detection, offering a comprehensive tool for modern technical analysts. The combination of trend detection, market profile, and activity zone mapping is unique and not available in TradingView built-ins.
Instructions:
Add Adaptive Market Profile to your chart. By default, the script automatically detects the optimal channel period and displays the corresponding regression channel with dynamic profile and activity zones. If you prefer manual control, disable “Auto trend channel period” and set your preferred period. Adjust profile settings as needed for your asset and timeframe.
For questions, suggestions, or further customization, contact Julien Eche (@Julien_Eche) directly on TradingView.
TZtraderTZtrader
This is a TrendZones version with features to set stoploss and targets in short and long positions meant for use in intraday charts. It aims to provide signals for opening and closing long and short positions. In the comments under the TrendZones publication several people expressed a need for features for a short position similar to those for a long position as implemented in TrendZones, some want to use it for scalping, some asked for alerts. When I proposed to create a version for day trading with target lines based on ATR, several people liked the idea.
Full disclosure: I don’t do day trading, because, after I lost a lot of money, I had to promise my wife to stay away from it. I restrict myself to long term investing in stocks which are in uptrend. However I understand what a day trader needs. I gather from my experience that day trading or scalping is an attempt to earn something by opening a position in the morning and close, reopen and close it again during the day with a profit. It is usually done with leveraged instruments like CFD’s, futures, options, and what have you. Opening and closing positions is done within minutes, so the trader needs a quick and efficient way to set proper stoploss and target. TZtrader supports this by showing only three or four numbers on the price bar: The price of the instrument, The logical stop level (gray or green or maroon dots), and the target level (navy). All other numbers are suppressed to prevent mistakes. Also a clear feedback for current settings at the top-center of the pane and an alert feedback at bottom that flashes alerts during the development of the current bar and gives suppression status.
The script
First I made a bare bones version of TrendZones to which I added code for long and short trading setups and a bare setup for no position. The code for the logical stops in long setup had to be reviewed, after which this became the basis for stops in short setup.
Then I added code for 10 alert messages, which was a hassle, because this is the first time I coded alerts and the first time I used an array as a stack to avoid a complicated if-then construction. During testing the array caused a runtime error which I solved by adding ‘array.clear’ to the code, also I discovered that in TradingView separate alerts have to be created for all three setups - short, long and bare. Flipping setups is done in the inputs with a dropdown menu because Pine Script has no function for a clickable button.
One visual with three setups.
The visual has the TrendZones structure: Three near parallel very smooth curves, which border the moderate uptrend (green) and downtrend (orange) zone over and under the curve in the middle, the COG (Center Of Gravity). Where the price breaks out of these curves, strong trend zones show up over and under the curves, respectively strong uptrend (blue) and strong downtrend (red).
Three setups were made clearly different to avoid confusion and to provide oversight in case of multiple trades going on simultaneously which I imagine are monitored in one screen. You have to see which one is long, which short and which have no position. The long setup should not trigger short signals, nor should the short trigger long signals nor the bare setup exclusive long or short signals.
The Long setup is default, shown on the example chart. In this setup the Stoploss suggestions (green, gray and maroon dots) are under the price bars and the target line (navy) at a set distance above the High Border. A zone with a width of 1 ATR is drawn under the Low Border. In this setup 5 specific alerts are provided
The Short setup has the Stoploss suggestions over the price bars, the target line at a set distance under the Low Border. A zone with a width of 1 ATR is drawn above the High Border. This setup also has 5 specific alerts.
The Bare setup has no Stoploss suggestions, no target line and supports 4 alerts, 2 in common with the Long setup and 2 with Short.
The table below gives a summary of scripted alerts:
Setup = Where = When = Purpose
Long, Bare = Green Zone = Bars come from lower zones = Uptrend starts
Long, Bare = Green Zone = Sideways ends in uptrend = Uptrend resumes
Long = COG = First crossing = Uptrend might end warning
Long = Orange Zone = Bars come from higher zones = Uptrend ended take care
Long = Red Zone = Bars come from higher zones = Strong downtrend->close Long
Short, Bare = Orange Zone = Bars come from higher zones = Downtrend starts
Short, Bare = Orange Zone = Sideways ends in downtrend = Downtrend resumes
Short = COG = First crossing = Downtrend might end warning
Short = Green Zone = Bars come from lower zones = Downtrend ended take care
Short = Blue Zone = Bars come from lower zones = Strong uptrend -> close short
You can use script alerts in TradingView by clicking the clock in the sidebar, then ‘create alert’ or plus, as condition you choose ‘Tztrader’ in the dialog box, then the “Any alert() function call” option (the first item in the list). The script lets the valid alert trigger by TradingView after the bar is completed, this can differ from the flashed messages during its formation.
When you create alerts in Tradingview, I advice to do that for each setup, then to make only the alert active which matches the current setup, pause the other ones.
Suppressing false and annoying signals
The script has two ways to suppress such signals, which have to do with the numbers in the alert feedback. The numbers left and right of the message with a colored background, depict the zones in which the previous (left) and current (right) bar move. 1 is the strong downtrend zone (red), 2 the moderate downtrend zone (orange), 3 the sideways zones (gray), 4 the COG (gray), 5 the moderate uptrend zone (green), 6 the strong uptrend zone (blue), 7 something went wrong with assigning a zone (black). In extensive testing the number 7 never occurs, because I catch that error in the code. The idea is that an alert is only triggered if the previous bar was in a different zone. When the bars are in the same zone, no alert is possible. This way all annoying signals are suppressed and long, short and bare get the appropriate alerts.
The third number is a counter. It counts how often the COG is crossed without touching the outer curves. The counter will reset to zero when the upper or lower curve is touched. When the count is 1 you have zone situation 4 and appropriate alerts are flashed. When the count is 2 or higher, a sideways situation (3) is called and while the recrossings are going on, no alerts can be flashed. This suppresses false signals. The ATR zone and curves are brownish-gray where sideways happens(ed). When the channel is narrowed down to just the three curves, some false signals still might occur.
Inputs
“Setup”, default is long, drop down menu provides long, short and bare.
“Target ATR”, default is 2, sets the amount of ATR for the target line. In 1 minute charts 4 seems an appropriate setting, you have to learn by experience which setting works.
“show feedback …” default is on, This creates two feedback labels, a Setup feedback on top of the pane, which shows charted instrument, Setup type, Trend and timeframe of the chart. Background color of Trend feedback is green when it matches the setup, red when mismatches and gray when no match. The alert feedback at the bottom of the pane shows a number, a message and two numbers. The numbers will be explained in the chapter about false and annoying signals below. During formation of the bar, valid alerts are flashed with a blue background, otherwise the message ‘alerts for current bar suppressed’.
Logical Stops
The curves are the logical place to put stops, because, as these are averages of the high and low border of a Donchian channel, they signify the ‘natural’ current highest, lowest and main level in the lookback period that fit the monitored trend setup. A downtrend turns into an uptrend when a breakout of the upper curve occurs. If you are short, that is where you want to close position, so the logical place for the stoploss is the upper curve. Vice versa, when you are long, the logical stop is on the lower curve. The stops show up as green or gray dots on the curves, the green dots signify a nice entry level, the gray stops are there to suggest levels where unrealized profits might be secured, the maroon dots indicate that the trend mismatches the setup.
COG versus other lines
Any line used to identify a trend, be it some MA or some other line, is interpreted the same way: When the bars move above the line there is an uptrend and when below, a downtrend. COG is not different in that sense. If you put such a line in the same chart as TZtrader, you can see situations in which the other line shows uptrend or downtrend earlier than COG, also some other lines, e.g. Hull MA, are very good at showing tops and bottoms, while COG ignores these. On the other hand the other lines are usually a little nervous and let you shake out of position too soon. Just like the other lines, COG gives false signals when it is near horizontal. The advantage of the placement COG is the tolerance for pull backs. This way TZtrader keeps you longer in the trend. Such pull backs are often ‘flags’ which are interpreted in TA as confirming the trend. Tztrader aims to get you in position reasonably soon when a trend begins and out of position as soon as the trend turns against you. The placement of COG is done with a fundamentally different algorithm than other lines as it is not an average of prices, but the middle of two averages of borders of a Donchian channel. This gives the two zones between the curves the same quality as the two zones above and below the middle line of a standard Donchian Channel.
A multi timeframe application.
In this scenario you put a 5 minutes and 1 minute chart with Tztrader side by side. If the 5 minutes shows uptrend, set the 1 minute on long trading and open positions when the trend matches uptrend en close when it mismatches. Don’t open short positions. Once the 5 minute changes to downtrend, set Tztrader in the 1 minute to short trading and open positions when the trend matches downtrend and close when it mismatches.
The idea is that in a long ‘context’, provided by the 5 minutes, the uptrends in the 1 minute will last longer and go further, vice versa for the short ‘context’. This way you do swing trading in the 5 minute in a smart way, maximizing profits.
You can do this with any timeframe pairs with a proportion of around 5:1, 4:1, 6:1, like e.g. 60 minutes and 15 minutes or weeks and days (5 trading days in a week).
Dear day-traders, may this tool be helpful and may your days be blessed.
Take care
High Volume Small Body Finder What This Script Does:
Highlights candles where:
Body is small compared to the full candle range
Volume is much higher than the recent average
Use this on any chart (crypto, stocks, forex) to spot absorption, indecision, or potential reversal points.
Smart EntrySmart Entry, has been made after going through multiple variations of codes to arrive at a simple structure where one can control the number of signals the indicator throws out via the indicator parameters. Recommended time frame is 5 minutes.
Auto-Pivot Levels with Alerts and 4 methods [ChartWhizzperer]🚀 Auto-Pivot Levels – Dynamic Edition
Now with
Live Mode,
4 Pivot Methods
PineConnector-Ready Alerts!
Free, Open Source, Pine Script v6-compliant.
🟢 NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (daily, weekly, monthly).
Perfect for:
Scalping and high-frequency trading
Real-time bot/automation setups (PineConnector-ready)
Fast-moving or breakout markets
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
📊 Four Calculation Methods (Choose What Fits YOU):
1️⃣ Classic
Standard pivot calculation.
Based on previous session’s High, Low, Close.
Simple, proven, and suitable for any asset.
2️⃣ Fibonacci
Projects levels using Fibonacci ratios of the prior session’s range.
Great for traders who want to align pivots with fib retracements and extensions.
3️⃣ Camarilla
Uses unique multipliers for support/resistance, focusing on mean reversion and volatility.
Popular among futures and forex day traders.
4️⃣ Woodie
Puts extra weight on previous Close for more responsive pivots.
Often used in trending or choppy conditions.
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
🔔 Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel.
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch.
🛠 Powerful Customization & Performance
Session selection: Daily, Weekly, Monthly (choose what suits your trading style).
Show/hide any level (Pivot, R1–R3, S1–S3) for minimal chart clutter.
Color selection for each level to match your theme or highlight key pivots.
Auto-cleanup: Old lines and labels are cleared on every recalculation or session change for maximum performance and visual clarity.
Zero runtime errors: Strict Pine Script v6 practices for stability.
💡 How To Use – Quick Start
Add the indicator to your TradingView chart.
Pick your calculation method (Classic, Fibonacci, Camarilla, Woodie).
Set session type (Daily, Weekly, Monthly).
Switch between Classic and Live Mode with a single click in settings.
Customize your levels (on/off, colors).
Open the Alert Panel, select any pre-configured alert (e.g. "R2 Cross Down"), and go live!
Connect with PineConnector or any webhook system instantly using the pre-formatted alert messages.
🤖 Who Is It For?
Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
Swing and position traders: Use Classic Mode for stable, repaint-free levels.
Strategy developers: Seamless integration into automated and manual trading workflows.
🏷 License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer !
Global Liquidity Sentiment (US / Europe / Asia) # Global Liquidity Sentiment Dashboard (US / Europe / Asia) with Alerts
## Summary
Aggregates broad liquidity (M2 or proxies) from the **U.S., Europe, and Asia** into a normalized global index, compares it to Bitcoin price, and derives a heuristic **market sentiment** (Optimistic / Neutral / Pessimistic). Highlights imbalances via divergence detection and surfaces regime shifts with visual cues and alerts.
## Key Features
- Weighted composite **Global Liquidity Index** (US M2 + Europe + Asia).
- **BTC / Liquidity ratio** showing how stretched Bitcoin is relative to available liquidity.
- **Sentiment signal** combining liquidity trend and price-to-liquidity momentum.
- **Divergence detection** when BTC moves disproportionately vs liquidity.
- Colored summary table with metrics, regional weight breakdown, and trend emphasis.
- Alert conditions for sentiment flips and strong divergence events.
## Visual Output
- **Top-right table** displaying:
- Global Liquidity Index (normalized)
- BTC / Liquidity ratio
- Ratio momentum
- Divergence (%) from recent baseline
- Sentiment (Optimistic / Neutral / Pessimistic) with translucent color background
- Regional weights (US / EU / Asia)
- **Line plots**:
- Blue: Global Liquidity Index
- Orange: BTC / Liquidity
- Gray: Smoothed ratio baseline for divergence context
## Inputs
- **US M2 Money Stock:** Real US broad money (via `FRED:WM2NS`).
- **Europe / Asia:** Optionally use live symbol proxies (if available) or manual values.
- **FX rates:** Convert non-USD regional series into USD for aggregation.
- **Weights:** Adjust the relative contribution of US, Europe, and Asia to the composite index.
- **Liquidity SMA length:** Short-term smoothing for trend detection on liquidity.
- **Price/Liquidity momentum length:** Lookback for momentum of BTC-to-liquidity relationship.
- **Divergence SMA & threshold:** Baseline and sensitivity for flagging strong deviations.
## Interpretation
- **Optimistic:** Liquidity expanding and BTC gaining relative strength—risk-friendly environment.
- **Pessimistic:** Liquidity contracting while BTC weakens vs liquidity—potential fragility or correction risk.
- **Neutral:** Mixed or inconclusive signals.
- **High BTC / Liquidity ratio:** Bitcoin may be overextended relative to global liquidity support.
- **Strong Divergence:** Significant dislocation between BTC price and liquidity trend—possible precursor to mean reversion or continuation depending on context.
## Alerts
Built-in alert conditions:
- **Sentiment to Optimistic / Pessimistic / Neutral** — triggers when regime shifts.
- **Strong Divergence** — triggers when BTC/liquidity ratio deviates beyond the configured threshold from its recent smoothed average.
Suggested alert messages (preconfigured):
- “Sentiment changed to Optimistic”
- “Sentiment changed to Pessimistic”
- “Sentiment changed to Neutral”
- “Strong divergence between BTC and global liquidity detected”
## Usage Tips
- Use the sentiment as a macro liquidity backdrop to contextualize BTC moves.
- Monitor divergence to catch overextensions or early signs of trend exhaustion.
- Tweak regional weights to reflect evolving global liquidity influence (e.g., give more weight to Asia as its footprint grows).
- If regional proxies aren’t available, regularly update manual values from official sources (ECB, BOJ, PBOC) to keep the index relevant.
## Limitations
- Europe/Asia liquidity may rely on manual inputs or imperfect proxies (TradingView may not expose official M2 for all regions).
- Heuristic sentiment and divergence are not standalone trade signals—validate with price structure / other confirmations.
- Does not replace high-fidelity on-chain, order book, or institutional flow data.
## Example Scenario
Bitcoin rallies sharply while the Global Liquidity Index flattens. The BTC / Liquidity ratio spikes, divergence crosses threshold, and sentiment shifts toward **Pessimistic**—indicating the move may be running ahead of underlying liquidity support, signaling caution or a possible retracement.
Simple Trend Indicator (Heikin-Ashi) | Lyro RSSimple Trend Indicator (Heikin-Ashi)
A momentum oscillator using Heikin-Ashi smoothed data to filter trend direction with zero-line crosses.
This indicator calculates the normalized deviation of Heikin-Ashi OHLC values from their Simple Moving Average (SMA), then averages these deviations into a single oscillator. It simplifies trend detection by:
Reducing noise via Heikin-Ashi smoothing.
Highlighting momentum shifts through a zero-line cross system (bullish/bearish).
Providing clear visual signals with color-coded plots and directional dots.
Originality:
Unlike standard momentum oscillators, this tool uniquely combines:
Heikin-Ashi normalization for cleaner trend analysis.
Multi-component averaging (high, open, low, close) to balance sensitivity.
Minimalist design for clutter-free charting.
How It Works:
Data Input: Fetches Heikin-Ashi OHLC values using request.security().
Momentum Calculation: For each Heikin-Ashi component:
Computes % deviation from its SMA: (value − SMA(value, length)) / SMA(value, length) * 100.
Oscillator: Averages deviations of all four components into one line (sum).
Signals:
Bullish: Oscillator > 0 (green).
Bearish: Oscillator < 0 (red).
Cross Confirmation: Dots (⦿) mark zero-line crosses.
Usage:
Trend Following: Enter long/short on sustained oscillator breaks above/below zero.
Reversal Watch: Zero-line crosses may hint at weakening momentum.
Filter: Combine with volume or support/resistance levels.
⚠️Disclaimer: This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
HF Crypto Scalping BotHigh-Frequency Crypto Scalping Bot for ETHUSDT
This bot is designed for scalping ETHUSDT on a 1-minute chart using a blend of technical indicators and market structure logic.
🔍 Strategy Highlights:
Range Mode: Uses RSI and MFI to identify overbought/oversold zones near support/resistance.
Trend Mode: Detects MACD momentum combined with confirmed S/R breakouts.
Smart Risk Management: Dynamic stop loss and take profit based on risk:reward ratio.
Adaptive Market Logic: Automatically switches between trend and range conditions.
Real-Time Table: Displays RSI, MFI, MACD trend, market mode, entry/exit prices, and stop/target levels.
Visual Cues: Buy/Sell/Exit signals plotted directly on the chart with color-coded levels.
Alerts: Integrated long/short entry and exit alerts with live price and indicator values.
Customize the input parameters to fit your risk profile and asset volatility. Ideal for fast-paced scalping with dynamic conditions.
GOALZONE INDIWhy Use the "GOALZONE INDI" Indicator?
Are you looking for a reliable tool to enhance your gold trading strategy?
Introducing "GOALZONE INDI", a smart and easy-to-use indicator specifically designed to help traders make informed decisions in the gold market.
What Makes "GOALZONE INDI" Stand Out?
* Tailored for Gold (XAUUSD):
Specially optimized to detect crucial trend changes in gold prices, offering you timely signals to buy or sell.
* Precise Entry Points:
Uses smart moving average crossovers to identify the best moments for entry and exit, reducing guessing and improving profitability.
* Real-Time Alerts:
Get instant notifications when buy or sell signals occur—whether you're at your desk or on the go. Never miss a critical trading opportunity again!
* Easy to Use:
Clear visual signals on your chart show exactly when the market is favorable, perfect for both beginners and experienced traders.
* Ideal for Short-Term Trading:
Designed to generate signals on 1-minute charts, helping you capitalize on quick market movements in the fast-paced gold market.
Why Trader's Love It:
* Increase Confidence:
Making trade decisions becomes easier with accurate signals specific to gold trends.
* Save Time:
Automate your analysis—spend less time guessing and more time trading confidently.
* Maximize Profits:
Spot those crucial moments when the price movement is about to turn, giving you a competitive edge.
Start Using "GOALZONE INDI" Today!
Whether you're looking to refine your short-term trading strategy or want a trustworthy tool to guide your trades in gold markets, "GOALZONE INDI" is the perfect addition to your trading arsenal. Try it now and watch your trading confidence and results improve!