Multi-Timeframe MA DashboardThis indicator monitors 5 timeframes: 5min, 15min, 1hr, 4hr, and Daily. It displays fast and slow moving averages for each timeframe, along with the current price. The trend direction is color-coded: green for bullish (fast MA above slow MA) and red for bearish (fast MA below slow MA).
The dashboard also shows the last crossover signal (Buy/Sell) for each timeframe.
Visual arrows are plotted on the chart for the current timeframe. A green up arrow indicates a potential bullish crossover (Buy signal), while a red down arrow indicates a potential bearish crossover (Sell signal).
The dashboard is elegant and professional, with alternating row colors for better readability. It can be placed in any corner of the screen and customized with user-defined colors for bullish and bearish trends.
Alerts are triggered when a crossover occurs on any timeframe. These alerts include the timeframe and signal type (e.g., "5min: ↑ BUY").
How to Read the Indicator
The dashboard displays the following for each timeframe:
Fast MA: The value of the fast moving average.
Slow MA: The value of the slow moving average.
Price: The current price for the timeframe.
Trend: The current trend direction (Bullish or Bearish).
Signal: The last crossover signal (↑ BUY or ↓ SELL).
On the chart, green up arrows indicate a bullish crossover (Fast MA crosses above Slow MA), while red down arrows indicate a bearish crossover (Fast MA crosses below Slow MA).
Green text in the dashboard indicates a bullish trend or signal, while red text indicates a bearish trend or signal.
How to Use the Indicator
Use the dashboard to monitor the trend direction across multiple timeframes. Look for confluence (agreement) between timeframes to identify stronger trends. Observe the "Signal" column in the dashboard for the last crossover on each timeframe. Use the arrows on the chart to identify potential crossover points for the current timeframe.
Enable alerts to be notified of crossover signals on any timeframe. Alerts include the timeframe and signal type for easy reference.
Adjust the fast and slow moving average lengths to suit your trading style. Choose between EMA, SMA, or WMA for the moving average type. Customize the dashboard placement and colors for better visibility.
Important Notes
This indicator is not a buy or sell recommendation. It is a tool to assist traders in their analysis. Always use this indicator in conjunction with other tools, such as support/resistance levels, volume analysis, and price action. Past performance of moving averages does not guarantee future results.
How to Add the Indicator
Add the indicator to your chart from the TradingView library. Configure the inputs:
Fast MA Length: Default is 20.
Slow MA Length: Default is 50.
MA Type: Choose between EMA, SMA, or WMA.
Dashboard Placement: Select the corner of the screen where the dashboard will appear.
Colors: Customize the colors for bullish and bearish trends.
Monitor the dashboard and chart for trends and signals.
Disclaimer
This indicator is for educational and informational purposes only. It does not provide financial, investment, or trading advice. Always perform your own analysis and consult with a financial advisor before making trading decisions.
Penunjuk dan strategi
Equity SurgeFor Blue Chip Stocks & Crypto: Equity Surge is the key to unlocking reliable entry points in established markets. Capture consistent gains with a strategy engineered for precision and designed to capitalize on predictable patterns within blue-chip stocks and cryptocurrencies.
Great strategy to add to basket of others
Works on 1H,4H and 8H
Click on strategy report for backtest results
Likes and boosts get trial to backtest, DM once liked and I will respond asap
Sentiment Master Oscillator[BullByte]
The Sentiment Master Oscillator is a modern market sentiment indicator designed for traders seeking to identify early trend shifts and potential reversals with clarity. This oscillator combines multiple technical tools—RSI, MACD, EMAs, ADX, ATR, and volume filters—to deliver layered signals that help you assess market momentum in a clear and simplified manner.
Key Features:
- Multi-Indicator Approach :
Integrates RSI (with a smoothing function), MACD, and two EMAs to gauge momentum and trend direction. The oscillator also includes ADX and ATR filters to ensure that only markets with sufficient directional strength and volatility generate signals.
- Dynamic Signal Zones :
The oscillator produces a raw value ranging roughly from -3 to +3 (adjustable via a scaling factor). Positive readings suggest bullish conditions, while negative readings indicate bearish trends. Visual zones (Early, Confirmed, Strong) are clearly marked with color-coded horizontal lines to help you interpret the strength of the signal at a glance.
- Adaptive Smoothing :
For those who prefer quicker, more responsive signals (ideal for scalping), an adaptive smoothing option is available. When enabled, it applies a shorter smoothing period to the oscillator; otherwise, a more conservative base period is used.
- Reversal Alerts :
Yellow dots are plotted on the chart to highlight potential reversal points. These alerts are triggered when the oscillator crosses specific thresholds, coupled with volume and ATR conditions, signaling that a top or bottom may be forming.
- Customizable Filters :
- ATR Filter :Ensures that the market's volatility is above a set threshold before signaling.
- ADX Filter :Confirms sufficient trend strength.
- Volume Filter : Requires that trading volume surges above a multiple of its simple moving average, filtering out low-volume noise.
- Clear Signal Messaging :
Based on the combined signals from various indicators, the script categorizes market sentiment into actionable messages such as "Early Buy", "Confirmed Buy", "Strong Buy", "Early Sell", "Confirmed Sell", and "Strong Sell". A "Grey Zone" label is used when the oscillator is near neutral, indicating that no clear trend is present.
How to Use :
1. Entry and Exit Decisions : Use the different signal stages (Early, Confirmed, Strong) as guides for your entries and exits.
2. Trend Confirmation : Rely on the multi-indicator setup for added confirmation of prevailing market conditions before executing trades.
3. Reversal Cues : Pay attention to the reversal dots for potential turning points in the market, which can be used to adjust positions or initiate trades.
Disclaimer:
This indicator is intended for educational and informational purposes only. It should not be taken as financial advice. Always use appropriate risk management and combine it with your analysis before making any trading decisions. Past performance is not indicative of future results.
By adhering to TradingView's publishing guidelines, the BullByte Sentiment Master is designed to provide transparency, simplicity, and robust analysis tools to enhance your trading strategy. Enjoy a clearer view of market sentiment and make more informed trading decisions!
Trendline Breakout Navigator [LuxAlgo]The Trendline Breakout Navigator indicator shows three trendlines, representing trends of different significance between Swing Points.
Dots highlight a Higher Low (HL) or Lower High (LH) that pierces through the Trendline without the closing price breaking the Trendline.
A bar color and background color option is included, which offers insights into the price against the trendlines.
🔶 USAGE
Trendlines (TL) are drawn, starting as a horizontal line from a Swing Point.
When an HL (in the case of a bullish TL) or an LH (bearish TL) is found, this Swing Point is connected to the first Swing Point. In both cases, the TL can be optimized when one or more historical close prices breach the TL (see DETAILS).
A solid-styled long-term trendline represents the overall market direction, while a dashed-styled medium-term trendline captures medium-term movements within the long-term trend. Finally, a dotted-styled short-term trendline tracks short-term fluctuations.
🔹 Swing Points vs. Trend
A "Higher High" (HH) or "Lower Low" (LL) will initialize a new trendline, respectively, starting from the previous "Swing Low" or Swing High".
To spot the trend shift, "HH/LL" labels and an optional background color are included. They can be enabled/disabled or set at "Long, Medium, or Short" term TL (Settings—"MS", "HH/LL" and "Background Color").
These features are linked to one Trendline of choice only.
Where the "HH/LL" labels can show a potential trend shift, the background color is:
Green from the moment the close price breaks above a bearish trendline or when an HH occurs
Red from the moment the close price breaks below a bullish trendline or when an LL occurs
🔹 Bar Color
The bar color will depend on the location of the closing price against the three trendlines. When a trendline is unavailable (for example, if the close price breaks the TL and there is no HH/LL), the last known trendline value will be considered.
All three trendlines influence the bar color.
If the close price is above the "Long Term" TL, the bar color will show a gradient of green, darker when the close price is below the "Medium Term" and/or "Short Term" TLs.
On the other hand, when the close price is below the "Long Term" TL, the bar color will show a gradient of red, which becomes darker when the close price is above the "Medium Term" and/or "Short Term" TLs.
To keep the above example simple, only the "Long Term" TL is considered. The white line (not included in the script) resembles the actual value of the TL at each bar, where you can see the effect on the bar color.
Combined with the trendlines and dots, the bar color can provide extra depth and insights into the underlying trends.
🔹 Tested Trendlines
If a new HL/LH pierces the Trendline without the close price breaking the Trendline, the Trendline will be updated.
The exact location where the price exceeded the Trendline is visualized by a dot, colored blue on a bullish trendline and orange when bearish.
These dots can be indicative of a potential trend continuation or reversal.
🔹 Higher TimeFrame Option
The "Period" setting enables users to visualize higher-timeframe trendlines as long as the line length doesn't exceed 5000 bars.
🔶 DETAILS
When a new trendline is drawn, the script first draws a preliminary line and then checks whether a historical close price exceeded this line above (in the case of a bearish TL) or below (in a bullish case).
Subsequently, the most valid point in between is chosen as the starting point of the Trendline.
🔶 SETTINGS
Period: Choose "chart" for trendlines from the current chart timeframe, or choose a higher timeframe
🔹 Swing Length
Toggle and Swing Length for three trendlines: Period used for the swing detection, with higher values returning longer-term Swing Levels.
🔹 Style
Trendline: color for bullish/bearish Trendline
Wick Dot: color for bullish/bearish trendline test
Term: Long-, medium- or short-term
HH/LL: Show HH/LL labels (with or without previous Swing High/Low) of chosen Term
Background Color: Green when the closing price is above the trendline of choice, red otherwise
Bar Color
Uptrick: Z-Score FlowOverview
Uptrick: Z-Score Flow is a technical indicator that integrates trend-sensitive momentum analysi s with mean-reversion logic derived from Z-Score calculations. Its primary objective is to identify market conditions where price has either stretched too far from its mean (overbought or oversold) or sits at a statistically “normal” range, and then cross-reference this observation with trend direction and RSI-based momentum signals. The result is a more contextual approach to trade entry and exit, emphasizing precision, clarity, and adaptability across varying market regimes.
Introduction
Financial instruments frequently transition between trending modes, where price extends strongly in one direction, and ranging modes, where price oscillates around a central value. A simple statistical measure like Z-Score can highlight price extremes by comparing the current price against its historical mean and standard deviation. However, such extremes alone can be misleading if the broader market structure is trending forcefully. Uptrick: Z-Score Flow aims to solve this gap by combining Z-Score with an exponential moving average (EMA) trend filter and a smoothed RSI momentum check, thus filtering out signals that contradict the prevailing market environment.
Purpose
The purpose of this script is to help traders pinpoint both mean-reversion opportunities and trend-based pullbacks in a way that is statistically grounded yet still mindful of overarching price action. By pairing Z-Score thresholds with supportive conditions, the script reduces the likelihood of acting on random price spikes or dips and instead focuses on movements that are significant within both historical and current contextual frameworks.
Originality and Uniquness
Layered Signal Verification: Signals require the fulfillment of multiple layers (Z-Score extreme, EMA trend bias, and RSI momentum posture) rather than merely breaching a statistical threshold.
RSI Zone Lockout: Once RSI enters an overbought/oversold zone and triggers a signal, the script locks out subsequent signals until RSI recovers above or below those zones, limiting back-to-back triggers.
Controlled Cooldown: A dedicated cooldown mechanic ensures that the script waits a specified number of bars before issuing a new signal in the opposite direction.
Gradient-Based Visualization: Distinct gradient fills between price and the Z-Mean line enhance readability, showing at a glance whether price is trading above or below its statistical average.
Comprehensive Metrics Panel: An optional on-chart table summarizes the Z-Score’s key metrics, streamlining the process of verifying current statistical extremes, mean levels, and momentum directions.
Why these indicators were merged
Z-Score measurements excel at identifying when price deviates from its mean, but they do not intrinsically reveal whether the market’s trajectory supports a reversion or if price might continue along its trend. The EMA, commonly used for spotting trend directions, offers valuable insight into whether price is predominantly ascending or descending. However, relying solely on a trend filter overlooks the intensity of price moves. RSI then adds a dedicated measure of momentum, helping confirm if the market’s energy aligns with a potential reversal (for example, price is statistically low but RSI suggests looming upward momentum). By uniting these three lenses—Z-Score for statistical context, EMA for trend direction, and RSI for momentum force—the script offers a more comprehensive and adaptable system, aiming to avoid false positives caused by focusing on just one aspect of price behavior.
Calculations
The core calculation begins with a simple moving average (SMA) of price over zLen bars, referred to as the basis. Next, the script computes the standard deviation of price over the same window. Dividing the difference between the current price and the basis by this standard deviation produces the Z-Score, indicating how many standard deviations the price is from its mean. A positive Z-Score reveals price is above its average; a negative reading indicates the opposite.
To detect overall market direction, the script calculates an exponential moving average (emaTrend) over emaTrendLen bars. If price is above this EMA, the script deems the market bullish; if below, it’s considered bearish. For momentum confirmation, the script computes a standard RSI over rsiLen bars, then applies a smoothing EMA over rsiEmaLen bars. This smoothed RSI (rsiEma) is monitored for both its absolute level (oversold or overbought) and its slope (the difference between the current and previous value). Finally, slopeIndex determines how many bars back the script compares the basis to check whether the Z-Mean line is generally rising, falling, or flat, which then informs the coloring scheme on the chart.
Calculations and Rational
Simple Moving Average for Baseline: An SMA is used for the core mean because it places equal weight on each bar in the lookback period. This helps maintain a straightforward interpretation of overbought or oversold conditions in the context of a uniform historical average.
Standard Deviation for Volatility: Standard deviation measures the variability of the data around the mean. By dividing price’s difference from the mean by this value, the Z-Score can highlight whether price is unusually stretched given typical volatility.
Exponential Moving Average for Trend: Unlike an SMA, an EMA places more emphasis on recent data, reacting quicker to new price developments. This quicker response helps the script promptly identify trend shifts, which can be crucial for filtering out signals that go against a strong directional move.
RSI for Momentum Confirmation: RSI is an oscillator that gauges price movement strength by comparing average gains to average losses over a set period. By further smoothing this RSI with another EMA, short-lived oscillations become less influential, making signals more robust.
SlopeIndex for Slope-Based Coloring: To clarify whether the market’s central tendency is rising or falling, the script compares the basis now to its level slopeIndex bars ago. A higher current reading indicates an upward slope; a lower reading, a downward slope; and similar readings, a flat slope. This is visually represented on the chart, providing an immediate sense of the directionality.
Inputs
zLen (Z-Score Period)
Specifies how many bars to include for computing the SMA and standard deviation that form the basis of the Z-Score calculation. Larger values produce smoother but slower signals; smaller values catch quick changes but may generate noise.
emaTrendLen (EMA Trend Filter)
Sets the length of the EMA used to detect the market’s primary direction. This is pivotal for distinguishing whether signals should be considered (price aligning with an uptrend or downtrend) or filtered out.
rsiLen (RSI Length)
Defines the window for the initial RSI calculation. This RSI, when combined with the subsequent smoothing EMA, forms the foundation for momentum-based signal confirmations.
rsiEmaLen (EMA of RSI Period)
Applies an exponential moving average over the RSI readings for additional smoothing. This step helps mitigate rapid RSI fluctuations that might otherwise produce whipsaw signals.
zBuyLevel (Z-Score Buy Threshold)
Determines how negative the Z-Score must be for the script to consider a potential oversold signal. If the Z-Score dives below this threshold (and other criteria are met), a buy signal is generated.
zSellLevel (Z-Score Sell Threshold)
Determines how positive the Z-Score must be for a potential overbought signal. If the Z-Score surpasses this threshold (and other checks are satisfied), a sell signal is generated.
cooldownBars (Cooldown (Bars))
Enforces a bar-based delay between opposite signals. Once a buy signal has fired, the script must wait the specified number of bars before registering a new sell signal, and vice versa.
slopeIndex (Slope Sensitivity (Bars))
Specifies how many bars back the script compares the current basis for slope coloration. A bigger slopeIndex highlights larger directional trends, while a smaller number emphasizes shorter-term shifts.
showMeanLine (Show Z-Score Mean Line)
Enables or disables the plotting of the Z-Mean and its slope-based coloring. Traders who prefer minimal chart clutter may turn this off while still retaining signals.
Features
Statistical Core (Z-Score Detection):
This feature computes the Z-Score by taking the difference between the current price and the basis (SMA) and dividing by the standard deviation. In effect, it translates price fluctuations into a standardized measure that reveals how significant a move is relative to the typical variation seen over the lookback. When the Z-Score crosses predefined thresholds (zBuyLevel for oversold and zSellLevel for overbought), it signals that price could be at an extreme.
How It Works: On each bar, the script updates the SMA and standard deviation. The Z-Score is then refreshed accordingly. Traders can interpret particularly large negative or positive Z-Score values as scenarios where price is abnormally low or high.
EMA Trend Filter:
An EMA over emaTrendLen bars is used to classify the market as bullish if the price is above it and bearish if the price is below it. This classification is applied to the Z-Score signals, accepting them only when they align with the broader price direction.
How It Works: If the script detects a Z-Score below zBuyLevel, it further checks if price is actually in a downtrend (below EMA) before issuing a buy signal. This might seem counterintuitive, but a “downtrend” environment plus an oversold reading often signals a potential bounce or a mean-reversion play. Conversely, for sell signals, the script checks if the market is in an uptrend first. If it is, an overbought reading aligns with potential profit-taking.
RSI Momentum Confirmation with Oversold/Overbought Lockout:
RSI is calculated over rsiLen, then smoothed by an EMA over rsiEmaLen. If this smoothed RSI dips below a certain threshold (for example, 30) and then begins to slope upward, the indicator treats it as a potential sign of recovering momentum. Similarly, if RSI climbs above a certain threshold (for instance, 70) and starts to slope downward, that suggests dwindling momentum. Additionally, once RSI is in these zones, the indicator locks out repetitive signals until RSI fully exits and re-enters those extreme territories.
How It Works: Each bar, the script measures whether RSI has dropped below the oversold threshold (like 30) and has a positive slope. If it does, the buy side is considered “unlocked.” For sell signals, RSI must exceed an overbought threshold (70) and slope downward. The combination of threshold and slope helps confirm that a reversal is genuinely in progress instead of issuing signals while momentum remains weak or stuck in extremes.
Cooldown Mechanism:
The script features a custom bar-based cooldown that prevents issuing new signals in the opposite direction immediately after one is triggered. This helps avoid whipsaw situations where the market quickly flips from oversold to overbought or vice versa.
How It Works: When a buy signal fires, the indicator notes the bar index. If the Z-Score and RSI conditions later suggest a sell, the script compares the current bar index to the last buy signal’s bar index. If the difference is within cooldownBars, the signal is disallowed. This ensures a predefined “quiet period” before switching signals.
Slope-Based Coloring (Z-Mean Line and Shadow):
The script compares the current basis value to its value slopeIndex bars ago. A higher reading now indicates a generally upward slope, while a lower reading indicates a downward slope. The script then shades the Z-Mean line in a corresponding bullish or bearish color, or remains neutral if little change is detected.
How It Works: This slope calculation is refreshingly straightforward: basis – basis . If the result is positive, the line is colored bullish; if negative, it is colored bearish; if approximately zero, it remains neutral. This provides a quick visual cue of the medium-term directional bias.
Gradient Overlays:
With gradient fills, the script highlights where price stands in relation to the Z-Mean. When price is above the basis, a purple-shaded region is painted, visually indicating a “bearish zone” for potential overbought conditions. When price is below, a teal-like overlay is used, suggesting a “bullish zone” for potential oversold conditions.
How It Works: Each bar, the script checks if price is above or below the basis. It then applies a fill between close and basis, using distinct colors to show whether the market is trading above or below its mean. This creates an immediate sense of how extended the market might be.
Buy and Sell Labels (with Alerts):
When a legitimate buy or sell condition passes every check (Z-Score threshold, EMA trend alignment, RSI gating, and cooldown clearance), the script plots a corresponding label directly on the chart. It also fires an alert (if alerts are set up), making it convenient for traders who want timely notifications.
How It Works: If rawBuy or rawSell conditions are met (refined by RSI, EMA trend, and cooldown constraints), the script calls the respective plot function to paint an arrow label on the chart. Alerts are triggered simultaneously, carrying easily recognizable messages.
Metrics Table:
The optional on-chart table (activated by showMetrics) presents real-time Z-Score data, including the current Z-Score, its rolling mean, the maximum and minimum Z-Score values observed over the last zLen bars, a percentile position, and a short-term directional note (rising, falling, or flat).
Current – The present Z-Score reading
Mean – Average Z-Score over the zLen period
Min/Max – Lowest and highest Z-Score values within zLen
Position – Where the current Z-Score sits between the min and max (as a percentile)
Trend – Whether the Z-Score is increasing, decreasing, or flat
Conclusion
Uptrick: Z-Score Flow offers a versatile solution for traders who need a statistically informed perspective on price extremes combined with practical checks for overall trend and momentum. By leveraging a well-defined combination of Z-Score, EMA trend classification, RSI-based momentum gating, slope-based visualization, and a cooldown mechanic, the script reduces the occurrence of false or premature signals. Its gradient fills and optional metrics table contribute further clarity, ensuring that users can quickly assess market posture and make more confident trading decisions in real time.
Disclaimer
This script is intended solely for informational and educational purposes. Trading in any financial market comes with substantial risk, and there is no guarantee of success or the avoidance of loss. Historical performance does not ensure future results. Always conduct thorough research and consider professional guidance prior to making any investment or trading decisions.
📊 Risk-On / Risk-Off Meter)Risk-On/Off Meter helps you gauge the overall risk sentiment of the market and make
Use it on the VIX daily chart
Day & Date LabelDay & Date Label
This script draws a label with the day of the week and date.
The user can choose their own formatting for the label, including color, size, and whether the font is normal or bold.
Useful for taking screenshots (e.g., backtesting, journaling trades).
EMA Shakeout DetectorEMA Shakeout & Reclaim Zones
Description:
This Pine Script helps traders quickly identify potential shakeout entries based on price action and volume dynamics. Shakeouts often signal strong accumulation, where institutions drive the stock below a key moving average before reclaiming it, creating an opportunity for traders to enter at favorable prices.
How It Works:
1. Volume Surge Filtering:
a. Computes the 51-day Simple Moving Average (SMA) of volume.
b. Identifies days where volume surged 2x above the 51-day average.
c. Filters stocks that had at least two such high-volume days in the last 21 trading days (configurable).
2. Stock Selection Criteria:
a. The stock must be within 25% of its 52-week high.
b. It should have rallied at least 30% from its 52-week low.
Shakeout Conditions:
1. The stock must be trading above the 51-day EMA before the shakeout.
2. A sudden price drop of more than 10% occurs, pushing the stock below the 51-day EMA.
3. A key index (e.g., Nifty 50, S&P 500) must be trading above its 10-day EMA, ensuring overall market strength.
Visualization:
Shakeout zones are highlighted in blue, making it easier to spot potential accumulation areas and study price & volume action in more detail.
This script is ideal for traders looking to identify institutional shakeouts and gain an edge by recognizing high-probability reversal setups.
Outside BandsOuter bands bounce indicator:
- open trade when price reachs outer bands
- when price go back inside bollinger bands set TP is BB level
EMA Dynamics Crossover R:R=1:1.5EMA Dynamics Crossover R:R=1:1.5 📊
The EMA Dynamics Crossover R:R=1:1.5 strategy is designed to identify high-probability long entry signals based on the WaveTrend Indicator and the Exponential Moving Average (EMA) crossover. This tool is optimized for trend-following traders who aim to capture upward market movements while maintaining a defined risk/reward ratio.
Key Features:
Entry Signal (Long Position):
A long position is triggered when the WaveTrend Indicator (wt1) crosses above the smoothed WaveTrend (wt2), indicating potential upward momentum.
The entry is only considered if the wt1 is below a user-defined limit value, preventing entries when the market is overbought.
Risk-to-Reward Ratio:
The strategy uses a 1:1.5 risk-to-reward ratio (R:R) to balance risk and reward on each trade.
Stop-Loss (SL) is set at the lowest point of the last three bars, dynamically adjusting based on price action.
Take-Profit (TP) is calculated based on the average entry price and the set R:R ratio, ensuring profitable exits when the market moves in favor of the trade.
Stop-Loss and Take-Profit Visualization:
Stop-Loss and Take-Profit levels are plotted on the chart for easy visualization.
Stop-Loss is shown in red, and Take-Profit is shown in green, providing clear reference points for traders.
The entry price is marked in silver for tracking the trade's position in real time.
Backtesting Capability:
The script is fully backtestable, enabling traders to evaluate the performance of the EMA crossover strategy under different historical market conditions.
This feature allows for thorough testing and optimization, ensuring that traders can refine their approach before using it in live markets.
How It Works:
The WaveTrend Indicator is used to detect market momentum, while the EMA crossover (wt1 crossing above wt2) triggers the long entry signal.
The limit value for wt1 ensures that the trade is not entered when the market is considered overbought, thereby filtering out false signals during extended price rallies.
Risk management is handled by the dynamic stop-loss and take-profit levels, based on the market's current price action and the defined 1:1.5 risk/reward ratio.
Advanced HFT Detection with VWAP & SpreadsExplanation of the HFT Detection Strategy
🔹 1. Key Indicators Used in the Strategy
It's works by combining VWAP, moving averages (SMA), volume spikes, and price jumps to detect potential HFT activity.
✅ (A) VWAP (Volume Weighted Average Price)
VWAP acts as a benchmark price that professional traders and institutions use to execute large orders.
If price is above VWAP, buyers are in control → Bullish trend
If price is below VWAP, sellers are in control → Bearish trend
HFT algorithms often place buy orders above VWAP and sell orders below VWAP to follow momentum.
➡️ Why VWAP? It ensures that signals follow the institutional trading trend.
✅ (B) Moving Averages (SMA)
Moving averages smooth out price data and help in detecting short-term momentum changes.
Fast Moving Average (5-period SMA): Reacts quickly to price changes
Slow Moving Average (20-period SMA): Identifies trend direction
➡️ Why SMA? It filters noise and confirms short-term trend shifts.
✅ (C) Volume Spike Detection
High-frequency trading is often accompanied by large volume surges. We define a volume spike as:
📌 Current Volume > 2× Average Volume of last 20 bars
➡️ Why Volume? HFTs execute rapid buy/sell orders when they detect liquidity, leading to sudden volume bursts.
✅ (D) Price Jump Detection (Sudden Volatility)
HFT algorithms often exploit quick price movements. We check if the price has moved more than twice the ATR (Average True Range) in the last 5 bars.
➡️ Why ATR? It helps to detect abnormal price movements compared to normal volatility.
🔹 2. Trading Signal Logic
Now that we have VWAP, moving averages, volume, and price movement filters, we generate buy and sell signals based on conditions.
✅ (A) Buy Signal Condition
A BUY signal is triggered when:
✔ Fast SMA crosses above Slow SMA → Short-term trend is turning bullish
✔ Volume spike occurs → HFTs are active
✔ Sudden price jump detected → High volatility
✔ Price is above VWAP → Confirms bullish trend
➡️ Why this works? It confirms that institutional traders & HFTs are buying aggressively.
✅ (B) Sell Signal Condition
A SELL signal is triggered when:
✔ Fast SMA crosses below Slow SMA → Short-term trend is turning bearish
✔ Volume spike occurs → HFTs are selling aggressively
✔ Sudden price drop detected → High volatility
✔ Price is below VWAP → Confirms bearish trend
➡️ Why this works? It confirms that institutional traders & HFTs are selling aggressively.
🔹 3. Visual Representation (Plotting Signals & VWAP)
Once we detect buy and sell signals, we mark them on the chart.
✅ (A) Buy/Sell Markers
🟢 Buy → Green upward arrow below the candle
🔴 Sell → Red downward arrow above the candle
✅ (B) VWAP Line on Chart
We also plot VWAP as a blue line to visualize trend direction.
✅ (C) Highlighting Volume Spikes
To easily spot HFT activity, we highlight volume spike bars with a blue background.
🔹 4. How to Use This Strategy?
1️⃣ Apply this script on a 1-minute or 5-minute intraday chart.
2️⃣ Look for BUY signals above VWAP and SELL signals below VWAP.
3️⃣ Verify that the volume spikes before taking action.
4️⃣ Use stop-loss & risk management (e.g., stop-loss at recent low/high).
🚀 Summary: Why This Strategy Works?
✅ VWAP ensures we follow institutional traders
✅ Volume spikes confirm sudden liquidity inflows
✅ Price jumps detect fast market moves caused by HFT bots
✅ Moving averages smooth out short-term trend shifts
Will%R by SizovOption for combining the Williams Range% indicator of different lengths, for working in trend and counter-trend modes, in TF from 15m to 4H (version 6.2.00)
For the short and long WR% line, I recommend using the Fibonacci numbers: 3, 5, 8, 13, 21, 34, 55, 89, 144
@YuryGST
TP SyncerTake Profit Multi-Timeframe 📈
This indicator is designed to provide efficient risk management with an integrated take-profit system . It allows users to set take-profit levels in two ways: as a percentage of the entry price or based on resistance levels on higher timeframes – or even a combination of both🔄.
The strategy uses the Wave Trend Indicator as a reference to identify optimal entry points and potential profit targets 🎯. With a multi-timeframe approach, the take-profit targets can be adjusted across different timeframes for more accurate and informed trading decisions.
Ideal for traders seeking to fine-tune risk management strategies and adjust take-profit levels flexibly, this tool helps manage trades effectively while maximizing potential profits💰.
Financial Conditions Indicator (FCI)The Financial Conditions Indicator (FCI) is a composite tool designed to help traders evaluate the tightness or looseness of financial conditions in the U.S. market. It aggregates four key metrics—VIX (stock market volatility), high-yield bond spreads (proxied by HYG), corporate bond spreads (proxied by LQD), and Treasury market volatility (proxied by MOVE)—into a single Z-score-based index. This indicator provides a visual representation of market stress and can assist in analyzing potential economic and asset price trends.
Key Features:
Composite Z-Score: Combines standardized Z-scores of VIX, HYG, LQD, and MOVE into a unified measure of financial conditions.
Color-Coded Output: Plots in red when conditions are tight (Z-score > 0) and green when conditions are loose (Z-score < 0).
10-Day EMA Overlay: Includes a 10-day exponential moving average (EMA) of the composite Z-score to highlight short-term trends.
Customizable Parameters: Allows users to adjust the Z-score lookback period and EMA length for flexibility.
How to Use:
Add to Chart: Find "Financial Conditions Indicator (FCI)" in the Indicators menu and apply it to your chart.
Customize Settings (Optional):
Lookback Period (Days) : Sets the period for Z-score calculations (default: 160 days).
EMA Length (Days) : Adjusts the EMA period (default: 10 days).
Interpret the Results:
Red Line (Z-Score > 0): Indicates tight financial conditions, often tied to higher volatility and wider credit spreads.
Green Line (Z-Score < 0): Suggests loose conditions, typically associated with lower volatility and tighter spreads.
Yellow Line (10-Day EMA): Tracks the short-term direction of financial conditions; crossovers with the Z-score may signal shifts.
Applications:
Monitor market stress levels to anticipate volatility or asset price movements.
Use as a risk management tool for adjusting exposure in risk-on/risk-off strategies.
Analyze potential economic turning points based on financial condition trends.
Data Dependency: Requires at least 160 days of historical data (or the selected lookback period) for accurate Z-score computation.
U.S.-Centric Design: Tailored to U.S. financial markets; applicability to other regions may vary.
Supplementary Tool: Best used with other analysis methods, not as a standalone trading signal.
Example Scenarios:
Tight Conditions (Red Plot) : A rising FCI above 0 might warn of increasing market stress, potentially signaling a pullback in equities or a spike in volatility. Traders could reduce risk exposure.
Loose Conditions (Green Plot) : A falling FCI below 0 may indicate favorable conditions for risk assets, suggesting opportunities to increase equity or high-yield exposure.
EMA Signals : A Z-score crossing above the EMA could hint at worsening conditions, while a cross below might suggest improvement.
Note : This indicator is provided for informational purposes only and does not offer financial advice. Users should perform their own analysis and consider multiple factors before trading.
RSI-MTFMulti-Timeframe RSI Dashboard with Time-to-Close Indicator
The Multi-Timeframe RSI Dashboard with Time-to-Close is a comprehensive trading indicator that displays RSI values across multiple timeframes alongside the standard RSI oscillator, providing traders with a complete momentum analysis toolkit in one view.
Core Features
Multi-Timeframe Table Display
Shows RSI values from multiple timeframes (M1, M5, M15, H1, H4, D1, W1) in a clean, organized table format
Each table cell displays the timeframe, current RSI value, and time remaining until the current candle closes
Color-coded cells indicate overbought (red) and oversold (green) conditions based on customizable thresholds
Time-to-Close Integration
Displays countdown timer showing time remaining until the current candle closes for each timeframe
Helps traders anticipate potential confirmation of signals at candle close
Critical for timing entries when RSI is approaching key threshold levels
Standard RSI Oscillator
Traditional RSI oscillator is also included for the reference and on other intervals
The dashboard table positions conveniently beside this oscillator for comprehensive analysis without cluttering the chart
MACD Z-ScoreMACD Z-Score Indicator Description
This indicator takes the traditional MACD and converts its histogram into a standardized z‑score. It does so by first calculating the MACD using a fast and a slow moving average (which you can choose to compute with either SMA or EMA). The MACD histogram is then derived as the difference between the MACD line and a signal line (again, with your choice of smoothing method).
Next, the indicator computes a z‑score of that histogram over a user‑defined lookback period. In simple terms, it measures how far (in terms of standard deviations) the current histogram value deviates from its average. This standardization makes it easier to compare the MACD’s momentum across different assets or timeframes. There’s also an option to further smooth the z‑score with an EMA to reduce noise.
Finally, the indicator plots the resulting z‑score along with horizontal reference lines at key levels (such as 1, -1, 2, -2, 3, and -3) and changes the background color when the z‑score exceeds a high threshold (above 2) or drops below a low threshold (below -2), providing a visual cue for potential long or short conditions.
This indicator is ideal for traders looking for a normalized way to assess momentum, helping them to easily spot when the MACD histogram deviates significantly from its typical range.
Pearson Correlation [Mr_Rakun] Pearson Correlation
This script calculates the Pearson correlation coefficient (r) between the closing price of the current asset and another selected asset.
🔍 How It Works:
• The user selects a correlation period (default: 20) and a symbol (default: ETH/USDT).
• The script retrieves the closing prices of both assets.
• The Pearson correlation formula is applied:
r = \frac{n(\sum xy) - (\sum x)(\sum y)}{\sqrt{ }}
• The correlation is plotted as a histogram:
• +1 (green line) → Perfect positive correlation
• -1 (red line) → Perfect negative correlation
• 0 (gray line) → No correlation
📊 Why Use This?
This indicator helps traders identify relationships between assets, such as whether two markets move together or inversely. It is useful for hedging strategies, portfolio diversification, and market comparisons.
Multi-Strategy Framework v3Multi Strategy Framework: 38 Strategies ensemble with Risk Management on top.
This trading system integrates over 38 independent strategies into a single, powerful strategy. Each strategy contributes its unique market perspective, culminating in a holistic view of the asset. The framework is further enhanced with sophisticated risk management and position sizing techniques.
Key Strategies Include:
• Moving average analysis
• Market structure evaluation
• Percentage rank calculations
• Sine wave correlation
• Fourier Frequency Transform (FFT) for signal composition analysis
• Bayesian statistical methods
• Seasonality patterns
• Signal-to-noise ratio assessment
• Horizontal, Resistance & Indecision levels identification
• Trendlines and Channels recognition
• Oscillators
• Open interest and funding rates analysis
• Volume and volatility measurements
• Divergence and Convergence
Two-Tiered Approach:
1. Market Regime Identification Layer: The combined output of all strategies determines the market regime, visually represented by a color-coded background.
2. Risk Management & Execution Layer: Based on the identified regime, the system applies different entry and exit rules, employing trend-following in bull markets and mean reversion in bear markets. This layer includes entry and exit filters, position sizing rules, take profits parameters and risk managment.
This framework is optimized for cryptocurrencies, offering a robust solution for trading in these volatile markets. It's intention is to serve as a safer way to invest in crypto assets, ensuring you:
Never miss strong upside trends and exit in time to avoid major drawdowns
Market Regime Optimization and Implementation:
• Each Market Regime strategy is designed for easy optimization, with a maximum of 4 parameters.
• All strategies produce consistent signal types, which are aggregated for final market direction decisions.
• Individual optimization of each strategy is performed using the Zorro Platform, a professional C++ based tool.
• All strategies are tested to work by themselves with Walk-Forward back testing
• Strategies that don't enhance market regime definition are not excluded enhancing robustness
Risk Management & Execution Optimization and Implementation:
• The strategy has different exits depending on the market regime, and its rules and parameters are optimized with full data minus simulation to obtain robust parameters.
• The strategy makes sure it never loses a big % of unrealized profits, and has always stop losess for the entries making sure % of losses are controlled.
• Take profits and position sizing are based on oscillators and strategy conditions.
• The methods used to trade in each market regimes are fully studied and tested to work in out of sample environments.
• This layer has options to see results in inverse trading conditions, long & short or 1 direction only, the performance of each market regime, and an option to display each market regime strategy individually. Also it can show backtest and out of sample results together or individually.
The following show results for this strategy optimized for different pairs.
The strategy for aech pair come pre-configured with optimized parameters by default, so there's no need to make any adjustments. However, it’s important to use the timeframes, exchanges, and max bar number for each pair. A Premium account with 20.000 bars is wanted but not fully needed. To get access to each strategy get in touch with me thorugh the platform.
Free Month for Testing:
You are eligible for a free one-month trial to test the strategy before committing. This allows you to fully explore its capabilities without any immediate cost.
If you are interested in automating the strategy, I recommend using a tool like Autoview. The strategy is fully compatible with automated trading and many 3rd party providers; contact me directly to write down the syntax at an extra cost.
This invitation-only TradingView script represents a culmination of extensive research and optimization, designed to provide serious traders with a powerful tool for navigating the complex cryptocurrency markets it is not shared publicaly or freely.
❓FAQ
Q: Can I use it for scalping?
A: This system is better suited for swing or trendholding periods, so no.
Q: Does it repaint?
A: No, all signals are calculated on confirmed bars only.
Q: Can I use it on stocks or forex?
A: It's optimized for crypto, but you can test it on other assets — results may vary.
Q: Can I automate it with TradingView alerts?
A: Yes, it supports full automation with platforms like Autoview. You’ll need signal syntax, available upon request.
Q: Can I use it on a free TradingView account?
A: Yes but results will not be as good and it might incur in losses check the backtest first and do a simulation period if needed.
Q: Does the startegy works in out of sample?
A: Yes all strategy pairs have already a period of outsample where you can check the results.
Q: Which coins are available?
A: I only use coins with at least 6 years of data and sufficient volume on exchanges. Pairs include: BTC, ETH, LTC, XRP, BNB, LINK, ADA, DOGE, XLM, ATOM, S, POL and a few others.
Q: Can it be used on Forex, stocks, or indices?
A: It is optimized for crypto, but it may work on other markets. Results on non-crypto assets should be manually tested, and performance is not guaranteed outside crypto.
Q: Can I cancel anytime?
A: Yes, subscriptions are month-to-month and can be stopped anytime without penalties.
Q: Can I access the settings?
A: Yes, all key settings are visible. However, default parameters are pre-optimized for each pair and shouldn't require changes for best performance.
Q: How often is the script updated?
A: The framework is actively maintained. Updates are pushed when improvements, optimizations, or new strategies are added. Parameter optimizations are done yearly.
Relative Volume Indicator (RVOL)Relative Volume Indicator (RVOL)
The Relative Volume Indicator (RVOL) helps traders identify unusual volume activity by comparing the current volume to the average historical volume. This makes it easier to spot potential breakouts, reversals, or significant market events that are accompanied by volume confirmation.
What This Indicator Shows
This indicator displays volume as a multiple of average volume, where:
- 1.0x means 100% of average volume
- 2.0x means 200% of average volume (twice the average)
- 0.5x means 50% of average volume (half the average)
Color Coding
The volume bars are color-coded based on configurable thresholds:
- Red: Below average volume (< Average Volume Threshold)
- Yellow: Average volume (between Average Volume and Above Average thresholds)
- Green: Above average volume (between Above Average and Extreme thresholds)
- Magenta: Extreme volume (> Extreme Volume Threshold)
Horizontal Reference Lines
Three dotted horizontal reference lines help you visualize the thresholds:
- Lower gray line: Average Volume Threshold (default: 0.8x)
- Upper gray line: Above Average Threshold (default: 1.25x)
- Magenta line: Extreme Volume Threshold (default: 4.0x)
How To Use This Indicator
1. Volume Confirmation: Use green bars to confirm breakouts or trend changes - stronger moves often come with above-average volume.
2. Low Volume Warning: Red bars during price movements may indicate weak conviction and potential reversals.
3. Extreme Volume Events: Magenta bars (extreme volume) often signal major market events or potential exhaustion points that could lead to reversals.
4. Volume Divergence: Look for divergences between price and volume - for example, if price makes new highs but volume is decreasing (more yellow/red bars), the move may be losing strength.
Settings Configuration
- Average Volume Lookback Period: Number of bars used to calculate the average volume (default: 20)
- Average Volume Threshold: Volume below this level is considered below average (default: 0.8x)
- Above Average Threshold: Volume above this level is considered above average (default: 1.25x)
- Extreme Volume Threshold: Volume above this level is considered extreme (default: 4.0x)
- Colors: Customize colors for each volume category
Important Note: Adjust threshold values only through the indicator settings (not in the Style tab). Changing values in the Style tab will not adjust the coloring of the volume bars.
Adjust these settings based on the specific asset being analyzed and your trading timeframe. More volatile assets may require higher thresholds, while less volatile ones might need lower thresholds.
Pivots WSGTAThe Pivots WSGTA indicator is a multi-method Pivot Points indicator used in the WSGTA course, using the dotted lines instead of the standard solid lines in TradingView. This indicator is designed for traders who want to identify key support and resistance levels based on higher timeframes. It calculates pivot levels using various popular methods—including Classic, Traditional, Camarilla, Woodie, Fibonacci, and DM —and plots them on your chart with clean, color-coded circles.
Each level is labeled with its respective identifier (e.g., R1, S2, Pivot) to provide quick visual reference directly on the most recent bar, without cluttering the chart.
AsianRange&Midnight 2.2### Midnight Setup: Trading Strategy
#### **Bias Definition (Trend Identification)**
- The Daily (D) bias is defined the previous day and validated on the line chart.
- On the Daily chart, identify the nearest V-shaped formation that has broken close to the current price. This formation determines the Daily bias direction.
#### **H4 Bias Analysis (Trend Confirmation)**
- Switch to an H4 chart to refine the analysis.
- Identify a similar V-shaped formation that has broken in the H4 timeframe.
- If the Daily and H4 biases are aligned, the setup is valid.
#### **Entry Strategy (Position Entries)**
- **Bearish Bias (D and H4 identical):**
- Short entry at the high level of the Midnight range.
- **Bullish Bias (D and H4 identical):**
- Long entry at the low level of the Midnight range.
#### **Bias Divergence (Context Adaptation)**
- If the H4 bias is opposite to the Daily bias, this indicates an H4 retracement of the Daily bias.
- Enter a counter-trend trade with reduced risk.
- No TP target beyond 50% of the extension validating the Daily break. It is also not recommended to enter against this divergence beyond 50%.
#### **Divergence Scenarios (Reactions to Divergences)**
- **Daily Bearish Bias, H4 Bullish Bias:**
- Long entry at the Midnight Low.
- **Daily Bullish Bias, H4 Bearish Bias:**
- Short entry at the Midnight High.
#### **Daily Bias Resumption (Trend Alignment)**
- As soon as the H4 bias resumes the Daily bias direction, follow this trend and adjust the position accordingly.
#### **Instructions for Divergent Bias (Managing Divergence)**
- When holding a position with a divergent bias, it is crucial to manage it carefully.
- Exit counter-trend trades as soon as the H4 bias realigns with the Daily bias.
- Limit the duration of counter-trend trades per session and adjust the H4 bias for the next session if needed.
#### **SL/TP Management (Profit Taking and Protection Optimization)**
- **Take Profit (TP):**
- Entry in M15 with a minimum RR of 3.
- TP at 5H NYE, or RR 5, or 15H NYE.
- **Stop Loss (SL):**
- Minimum 15 pips, placed just above the nearest swing to the entry point to protect capital.
- **Red Announcement Days:**
- Either abstain from trading or set a 40-pip SL to limit volatility impact.
- **At 6H/7H NYE:**
- Manage the trade based on its progress: exit, set to BE (Break Even), or keep the SL in place.
- Any SL adjustment outside these rules can only be made if supported by data or backtests.
#### **Risk Management (Capital Protection)**
- Maximum risk of **1% of capital per trade** (allowing for **10 consecutive losses** without significantly affecting capital).
- In case of a loss, **reduce risk by 50% on the next trade** until the loss is recovered.
#### **Efficiency Conditions (When This Setup Works Best)**
- This setup is particularly effective in **strong trends**, where the market has a clear direction.
- It is **less effective in ranging markets**, where prices move within a narrow range without a clear trend.
Setup Midnight : Stratégie de Trading
Session Range (Pips/Points) Marcos Trader## English Description
Title: Session Range Indicator (Pips/Points)
Summary:
This indicator calculates and displays the price range (high - low) for the Asian, London, and New York trading sessions directly on your chart. It helps you quickly visualize the volatility of each recent session, showing the result in whole Pips for Forex or in Points for other instruments.
Key Features:
Calculates the High-Low range for the Asia, London, & NY sessions.
Displays the range in whole Pips for Forex (automatically detects JPY pairs for correct calculation).
Displays the range in Points (based on syminfo.mintick) for Indices, Crypto, Commodities, Stocks, etc.
100% Configurable Session Times: Define the exact start time, end time, and most importantly, the Time Zone for each session (Asia, London, NY) in the indicator settings. This ensures accuracy regardless of Daylight Saving Time or your chart's timezone!
Shows clear labels with the range near the end of each calculated session.
Options to individually show or hide the labels for each session.
Allows configuration of label transparency.
Allows defining how many past session labels to display on the chart (default is 5).
Developed in Pine Script v6.
How to Use:
Add the indicator to your chart.
Open the indicator Settings (gear icon).
Go to the "Session Times" section.
For each session (Asia, London, NY), enter the schedule in HHMM-HHMM format and ensure you add the correct Time Zone using a colon followed by the standard name (e.g., :Europe/London, :America/New_York, :Asia/Tokyo, :UTC+2, :UTC-5). This step is crucial.
Adjust the display options under "Show Sessions" and "Appearance" according to your preferences.
Click "OK".
Notes:
The accuracy of the indicator critically depends on the correct configuration of the times and time zones in the settings. The range label appears near the last bar belonging to the defined session.
Currency Strength AnalyzerThis indicator calculates and ranks the strength of eight major currencies (AUD, CAD, CHF, EUR, GBP, JPY, NZD, USD) based on a stochastic-based scoring system. It retrieves forex pair data and determines each currency's relative strength using a customized scoring method.
Features:
Uses stochastic (Stoch) indicators to calculate bullish/bearish strength.
Aggregates scores for each currency based on multiple forex pairs.
Sorts currencies from strongest to weakest.
Displays results in a dynamically updated table.
Highlights the strongest and weakest currencies on the chart.
This tool helps traders identify potential trends and reversals in the forex market by visually comparing currency strengths in real-time.