Triumm conceprt1. Smart Money vs. Retail Money
Smart Money: Institutional traders with large capital and better tools.
Retail Money: Small individual traders.
Goal of SMC: Follow the smart money instead of being manipulated by it.
🔑 Key Concepts in Smart Money Trading:
1. Market Structure
Trend is defined by Higher Highs/Higher Lows (uptrend) or Lower Highs/Lower Lows (downtrend).
SMC traders look for breaks of structure (BOS) and change of character (CHoCH) to anticipate reversals or continuations.
2. Liquidity
Institutional traders need liquidity to enter/exit large positions.
Liquidity pools exist around:
Swing highs/lows
Equal highs/lows (double tops/bottoms)
Trendline touches
Smart money manipulates price to grab this liquidity.
3. Order Blocks
Last bullish or bearish candle before a strong move.
These zones are used by smart money to place large orders.
SMC traders look to trade from these Order Blocks (OBs).
4. Fair Value Gap (FVG) / Imbalance
Gaps between candles (like large moves) where there was little/no trading.
Price often returns to these areas to "rebalance" the market.
5. Liquidity Sweep / Stop Hunt
Smart money often causes false breakouts to trigger retail stop losses.
This gives institutions the liquidity they need to enter trades.
📈 Smart Money Trading Workflow Example:
Identify market structure (bullish or bearish).
Wait for liquidity grab (e.g., stop hunt).
Look for change of character (CHoCH).
Mark Order Block / FVG.
Enter trade with tight stop loss near OB and target next liquidity level.
Indicadores e estratégias
All Candlestick-Patterns - by FibonacciFuel
Overview
The indicator "All Candlestick-Patterns - by FibonacciFuel" is a comprehensive tool for traders and analysts, originally designed in German, that recognizes and visualizes a wide variety of candlestick patterns on a chart. Developed with Pine Script™, this indicator provides a detailed analysis of bullish, bearish, and neutral candlestick patterns, commonly used in technical analysis to identify potential reversal or continuation signals. It is particularly useful for both novice and experienced traders looking to enhance their market assessment through visual pattern recognition.
Functionality
The indicator continuously monitors the price action and detects over 30 different candlestick patterns, including classic patterns like "Doji," "Hammer," "Engulfing," and more complex formations such as "Morning Star" or "Falling Three Methods." Each detection is marked with a label on the chart indicating the pattern type (e.g., "H" for Hammer or "ES" for Evening Star). Additionally, detailed tooltips are provided, which appear when hovering over a label, offering a description of the pattern in German, including its significance and interpretation.
Detection Logic
Trend Detection: The indicator can configure trend detection based on the 50-day SMA (Simple Moving Average), a combination of 50-day and 200-day SMA, or no trend detection.
Criteria: Each pattern is identified using specific criteria such as candlestick body size, shadow length, and position relative to the previous price action.
Customizability: Users can choose to display only bullish, only bearish, or both types of patterns, as well as enable or disable individual patterns.
Visual Representation
Labels: Each detected pattern is marked with a short code (e.g., "TB" for Tweezer Bottom), placed above or below the candlestick depending on its bullish or bearish nature.
Color Coding: Bullish patterns are displayed in blue, bearish in red, and neutral patterns in gray, enabling quick visual differentiation.
Tooltips: Hovering over a label triggers a tooltip with a detailed German description, explaining the context and potential market implication.
Supported Candlestick Patterns
The indicator covers a broad range of patterns, including:
- **Bullish**: Hammer, Inverted Hammer, Morning Star, Piercing, Rising Three Methods, Tweezer Bottom, among others.
- **Bearish**: Hanging Man, Shooting Star, Evening Star, Dark Cloud Cover, Falling Three Methods, Tweezer Top, among others.
- **Neutral**: Doji, Spinning Top, Harami Cross, among others.
Configuration
Trend Rule: Choose between "SMA50," "SMA50, SMA200," or "No detection" to define the trend basis.
Pattern Activation: Enable or disable individual patterns (e.g., Abandoned Baby, Engulfing) via input fields.
Display Options: Select between "Bullish," "Bearish," or "Both" to limit the pattern display.
Colors: Customize the label colors for bullish, bearish, and neutral patterns.
Application
Installation: Add the indicator to your chart.
Customization: Adjust settings to your preferences, such as the trend rule or desired patterns.
Analysis: Use the labels and tooltips to identify potential trading signals. For example, a "Hammer" in a downtrend might indicate a reversal.
Confirmation: Combine the patterns with other indicators (e.g., RSI, MACD) for a well-informed decision.
Advantages
Comprehensiveness: Detects a wide variety of patterns covering the full spectrum of candlestick analysis.
User-Friendliness: Intuitive labels and detailed tooltips simplify interpretation.
Flexibility: Customizable settings allow for tailored usage.
Conclusion
"All Candlestick-Patterns - by FibonacciFuel" is a powerful tool for traders aiming to master the art of candlestick pattern analysis. With its ability to recognize and visually represent a broad range of patterns, it provides valuable support for trading decisions. Whether you are a beginner learning the basics or an experienced trader refining strategies, this indicator is an indispensable asset in your toolkit.
Developed by FibonacciFuel, this indicator is released under the Mozilla Public License 2.0 and is freely usable. Feedback or improvement suggestions are welcome!
# All Candlestick-Patterns - by FibonacciFuel
## Overview
The indicator "All Candlestick-Patterns - by FibonacciFuel" is a comprehensive tool for traders and analysts, originally designed in German, that recognizes and visualizes a wide variety of candlestick patterns on a chart. Developed with Pine Script™, this indicator provides a detailed analysis of bullish, bearish, and neutral candlestick patterns, commonly used in technical analysis to identify potential reversal or continuation signals. It is particularly useful for both novice and experienced traders looking to enhance their market assessment through visual pattern recognition.
## Functionality
The indicator continuously monitors the price action and detects over 30 different candlestick patterns, including classic patterns like "Doji," "Hammer," "Engulfing," and more complex formations such as "Morning Star" or "Falling Three Methods." Each detection is marked with a label on the chart indicating the pattern type (e.g., "H" for Hammer or "ES" for Evening Star). Additionally, detailed tooltips are provided, which appear when hovering over a label, offering a description of the pattern in German, including its significance and interpretation.
## Detection Logic
- **Trend Detection**: The indicator can configure trend detection based on the 50-day SMA (Simple Moving Average), a combination of 50-day and 200-day SMA, or no trend detection.
- **Criteria**: Each pattern is identified using specific criteria such as candlestick body size, shadow length, and position relative to the previous price action.
- **Customizability**: Users can choose to display only bullish, only bearish, or both types of patterns, as well as enable or disable individual patterns.
## Visual Representation
- **Labels**: Each detected pattern is marked with a short code (e.g., "TB" for Tweezer Bottom), placed above or below the candlestick depending on its bullish or bearish nature.
- **Color Coding**: Bullish patterns are displayed in blue, bearish in red, and neutral patterns in gray, enabling quick visual differentiation.
- **Tooltips**: Hovering over a label triggers a tooltip with a detailed German description, explaining the context and potential market implication.
## Supported Candlestick Patterns
The indicator covers a broad range of patterns, including:
- **Bullish**: Hammer, Inverted Hammer, Morning Star, Piercing, Rising Three Methods, Tweezer Bottom, among others.
- **Bearish**: Hanging Man, Shooting Star, Evening Star, Dark Cloud Cover, Falling Three Methods, Tweezer Top, among others.
- **Neutral**: Doji, Spinning Top, Harami Cross, among others.
## Configuration
- **Trend Rule**: Choose between "SMA50," "SMA50, SMA200," or "No detection" to define the trend basis.
- **Pattern Activation**: Enable or disable individual patterns (e.g., Abandoned Baby, Engulfing) via input fields.
- **Display Options**: Select between "Bullish," "Bearish," or "Both" to limit the pattern display.
- **Colors**: Customize the label colors for bullish, bearish, and neutral patterns.
## Application
1. **Installation**: Add the indicator to your chart.
2. **Customization**: Adjust settings to your preferences, such as the trend rule or desired patterns.
3. **Analysis**: Use the labels and tooltips to identify potential trading signals. For example, a "Hammer" in a downtrend might indicate a reversal.
4. **Confirmation**: Combine the patterns with other indicators (e.g., RSI, MACD) for a well-informed decision.
## Advantages
- **Comprehensiveness**: Detects a wide variety of patterns covering the full spectrum of candlestick analysis.
- **User-Friendliness**: Intuitive labels and detailed tooltips simplify interpretation.
- **Flexibility**: Customizable settings allow for tailored usage.
## Conclusion
"All Candlestick-Patterns - by FibonacciFuel" is a powerful tool for traders aiming to master the art of candlestick pattern analysis. With its ability to recognize and visually represent a broad range of patterns, it provides valuable support for trading decisions. Whether you are a beginner learning the basics or an experienced trader refining strategies, this indicator is an indispensable asset in your toolkit.
Developed by FibonacciFuel, this indicator is released under the Mozilla Public License 2.0 and is freely usable. Feedback or improvement suggestions are welcome!
Dubic Dual EMA IndicatorThe Dual EMA Indicator combines two exponential moving averages (EMAs) to identify trend-based buy and sell signals. A buy signal is generated when the price closes above both EMAs suggesting strong bullish momentum. A sell signal appears when the price closes below both EMAs indicating bearish pressure.
FTM → SONIC Combined Candlesticksthis script combines the chart of FTM and SONIC to get a better overview of the entire price action
Institutional Footprint + RSIPurpose
Detect early signs of institutional activity (accumulation, distribution, shakeouts) using price and volume behavior, combined with RSI for confirmation.
How It Works
Footprint Score (0–100):
Above 70 → Possible accumulation
Below 30 → Possible distribution
Around 50 → Neutral
Shakeout signals: False breakdowns followed by strong recoveries
RSI Line: Plotted for confirmation
Why It Matters
Catches smart money moves before price reacts. Helps identify stealth accumulation or quiet exits not visible in price alone.
Features
Institutional Footprint + RSI
Shakeout markers
Visual zones
Usage Tips
Combine with RSI, VWAP, or support/resistance. For example: if Footprint shows accumulation and RSI is low, this may signal a high-probability buy setup
Best on 1H, 4H, or Daily timeframes
Not a standalone entry/exit signal
Triumm Order Block with Reversal Ratingbest orderblock
🧠 What Is an Order Block?
An Order Block (OB) is a price zone where large financial institutions (banks, hedge funds) have placed large buy or sell orders. It’s usually identified by the last bullish candle before a strong bearish move (for bearish OB) or the last bearish candle before a strong bullish move (for bullish OB).
📊 What Makes It a Volume Order Block?
A Volume Order Block adds volume data (like buyer/seller volume, delta, or volume imbalance) to validate the strength of an order block.
🔍 Key Components:
Base OB Structure:
Bearish OB = Last bullish candle before a drop.
Bullish OB = Last bearish candle before a rise.
Volume Confirmation:
High volume at OB = more likely to be institutional activity.
Buyer/Seller Imbalance % = confirms which side was stronger at the OB.
Delta Volume = Difference between aggressive buyers and sellers.
ORB Scalp setup by UnenbatDescription
ORB Scalp Setup by Unenbat is a precise breakout scalping tool that identifies short-term price ranges at the transition between hourly sessions.
📌 Core Features:
Draws a dynamic box using the price range from the last 3 minutes of the previous hour and the first 3 minutes of the new hour (total 5m59s range).
Automatically plots:
Box representing the selected range.
Opening Price Line at the start of the hour.
TP Lines (Take Profit) above and below the box at customizable distances.
BE Lines (Break-Even) above and below the box at customizable distances.
Box and line lengths are user-defined (default: 60 minutes).
Works across historical data (up to the last 100 days).
Fully customizable visuals (colors, offsets, visibility toggles).
🎯 How to Use:
Ideal for scalp traders using breakout strategies.
Enter trades when price breaks above or below the box range.
Use TP and BE lines as clear reference levels for exits or trailing stop logic.
⚙️ Custom Settings:
Enable/disable each component (box, open line, TP line, BE line).
Set your own offset in pips for TP/BE lines.
Adjust the box duration to match your trading style.
Modify start and end times of the range as needed.
Sesiones + FVG + PDH / PDLMarket Sessions: Define and visualize four market sessions (New York, London, Tokyo, Sydney) with options to display ranges, trend lines, averages, VWAP, and highs/lows.
Dashboard: A panel that displays the status of the sessions (active/inactive) and, in advanced mode, the coefficient of determination (R2) of the trend line and the volume for each session.
Fair Value Gaps (FVG) / Imbalances: Detect and draw Fair Value Gaps (also known as imbalances or inefficiencies) on multiple time frames, with options to extend them, change their color when tested, and adjust their levels if the price touches them.
Previous Day/Week/Month Levels: Displays the highs and lows of the previous day and week (PDH/PDL, PWH/PWL), as well as the opening prices of the current day, week, and month (DO, WO, MO).
Hidden Liquidity Shift DetectorPurpose
The Hidden Liquidity Shift Detector identifies candles that indicate potential hidden accumulation or distribution activity based on volume and price action behavior. These setups often represent institutional absorption of liquidity ahead of larger moves.
How It Works
The script detects candles with the following characteristics:
Small real body relative to the total candle range
A strong wick (upper or lower) indicating rejection
Volume significantly higher than the recent average
It flags:
Hidden Selling (Distribution) when a bearish candle has a long upper wick and high volume
Hidden Buying (Accumulation) when a bullish candle has a long lower wick and high volume
These candles are often missed by traditional indicators but may precede significant reversals or breakouts.
Features
Automatic detection of absorption-style candles
Volume spike filtering based on configurable multiplier
Wick and body ratio thresholds to fine-tune signal quality
Non-intrusive signal markers (colored circles)
Real-time alerts for hidden buying/selling signals
Usage Tips
Use on 15m to 4H charts for intraday detection, or Daily for swing setups
Combine with support/resistance or volume profile zones for higher conviction
Clusters of signals in the same area increase reversal probability
Can be used alongside Wyckoff-style logic or smart money concepts
Squeeze Momentum Indicator With EMAThis is a upgraded verison of the most popular Squeeze Momentum Indicator with highlighted lines on the chart to better show entry and exits.
Also includes arrows for easy visibility.
Can also set up ALERTS easily and you can change the color of the momentum highlighted areas to your preference.
HOW TO USE :
***ENTER/EXIT WHEN***
1.Ema 56 / 112 / 672 lines up
2.WHEN CROSSOVER ABOVE = Highlighted green with arrows means bullish entry or bearish exit.
3.WHEN CROSSOVER DOWN = Highlighted red with arows means bearish entry or bullish exit.
4.Exit when black areas occur
***AVOID TRADING WHEN***
1.Arrows within black areas (Non momentum areas or non-squeeze areas)
2.Arrows not following trend(Down arrow during an upwards EMA trend)
**Caution**
You can decide to hold onto a position if you'd like durin the trend, but look at price action before exiting.
Smart Trap Candle Detector [Pro]Purpose
The Smart Trap Candle Detector is designed to identify common fakeout scenarios in the market, where price breaks a key swing high or low and quickly reverses. These “trap candles” often mislead breakout traders and are commonly used by smart money to induce liquidity before reversing.
How It Works
The script detects potential trap candles using these conditions:
A bearish trap is identified when price breaks above a recent swing high and closes back below it.
A bullish trap is identified when price breaks below a recent swing low and closes back above it.
Optional confirmation from the previous candle’s direction can be enabled.
Swing highs/lows are calculated dynamically using a configurable lookback window.
Once a trap candle is confirmed, a signal is displayed on the chart along with optional labels and alert conditions.
Features
Detects fake breakouts of swing highs and lows
Configurable swing lookback period
Optional confirmation candle filter
Optional label display on trap bars
Built-in alerts for bullish and bearish trap signals
Lightweight, real-time signal detection
Usage Tips
Best used on intraday timeframes such as 15m, 30m, or 1H
Use around key support/resistance zones or liquidity areas
Combine with other confluence signals such as order blocks or RSI divergence
Adjust the swing lookback period depending on the volatility of the asset
Clarix Smart Reversal ScorecardPurpose
Designed to identify potential trend reversal setups based on a rules-based scoring system. It helps traders quickly assess the strength of reversal signals using objective technical criteria.
How It Works
The script evaluates seven key technical conditions for both bullish and bearish reversals. Each condition met adds 1 point to the total score (max 7). A table displays the results with a final score and an automatic conclusion based on the strength of the setup.
Features
Reversal signal scoring from 0 to 7
Bullish and bearish detection modes
Visual scorecard table with individual factors
Configurable minimum score to show
Alert conditions for strong (5+) and perfect (7) setups
Lightweight and optimized for all timeframes
Usage Tips
Set "Direction" to Bullish, Bearish, or Both depending on your strategy
Use on timeframes between 15m to 4H for optimal signals
A score of 5 or more suggests strong reversal potential
Combine with key support/resistance or trend context for higher accuracy
Avoid using during high-volatility news events for cleaner signals
PrismWMA (Rolling)# PrismWMA (Rolling)
Overview
PrismWMA computes rolling VWMA, TWMA and TrueWMA over a fixed lookback window, then plots dynamic volatility bands around each. It’s the rolling-window counterpart to PrismWAP’s anchored spans, giving you per-bar, up-to-date average levels and band excursions.
How It Works
Every bar, PrismWMA:
• Calculates VWMA, TWMA and TrueWMA over the last wmaWindowLen bars.
• Computes your chosen volatility measure (Std Dev, MAD, ATR-scaled) or Percent of WMA over volWindowLen bars.
• Draws upper/lower bands as ±mult × volatility (or ±mult % of the WMA in Percent mode).
Inputs
Settings/Default/Description
WMA Lookback (bars)/50/Number of bars for rolling WMA
Volatility Measure/Std Dev/Band width method: Std Dev, MAD, ATR (scaled), or Percent of WMA
Volatility Lookback (bars)/50/Number of bars used to compute rolling volatility
Band Multiplier (or %)/3.0/Multiplier for band width (or percent of WMA in Percent mode)
Scale MAD to σ/true/When MAD is selected, scale by √(π/2) so it aligns with σ
Display
• Show VWMA true
• Show TWMA true
• Show TrueWMA true
• Show VBands false
• Show TBands false
• Show TrueBands true
References:
1. TrueWMA Description
## 1. TrueWMA: Volatility-Weighted Price Averaging
What Is TrueWMA?
TrueWMA weights each bar’s TrueMid (TrueRange midpoint) by its TrueRange, so high-volatility bars carry more influence. It blends price level and volatility into one moving average
Pseudocode
// TWMA Example for Comparison
window_size = 50
OHLC = (Open + High + Low + Close) / 4
TWMA = MA(OHLC, window_size)
// VWMA Example for Comparison
window_size = 50
HLC3 = (High + Low + Close) / 3
VWMA = Sum(HLC3 * Volume, window_size) / Sum(Volume, window_size)
// TrueWMA (Rolling)
window_size = 50
max_val = Maximum(Close , High)
min_val = Minimum(Close , Low)
true_mid = (max_val + min_val) / 2
TrueWMA = Sum(true_mid * TrueRange, window_size) / Sum(TrueRange, window_size)
Interpretation
For each bar, Rolling TrueWMA:
• Computes a TrueMid (“contextual midpoint”) from the prior close and the current bar’s high/low.
• Weights each TrueMid by that bar’s TrueRange.
• Divides the sum of those weighted midpoints by the total TrueRange over the lookback window.
The result is a single series that dynamically blends price levels with recent volatility.
5min Table: Dark Up/Down - Supertrend, EMA50, VWAP5Min Table showing EMA 50, Supertrend(10,3) VWAP for Indices and Stocks.
RSI WMA VWMA Divergence Indicator// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Kenndjk
//@version=6
indicator(title="RSI WMA VWMA Divergence Indicator", shorttitle="Kenndjk", format=format.price, precision=2)
oscType = input.string("RSI", "Oscillator Type", options = , group="General Settings")
// RSI Settings
rsiGroup = "RSI Settings"
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group=rsiGroup)
rsiSourceInput = input.source(close, "Source", group=rsiGroup)
// WMA VWMA
wmaLength = input.int(9, "WMA Length", minval=1, group="WMA Settings")
vwmaLength = input.int(3, "VWMA Length", minval=1, group="WMA Settings")
wma = ta.wma(close, wmaLength)
vwma = ta.vwma(close, vwmaLength)
useVWMA = input.bool(true, "Use VWMA for Divergence (when WMA + VWMA mode)", group="WMA Settings")
// Oscillator selection
rsi = ta.rsi(rsiSourceInput, rsiLengthInput) // Calculate RSI always, but use conditionally
osc = oscType == "RSI" ? rsi : useVWMA ? vwma : wma
// RSI plots (conditional)
isRSI = oscType == "RSI"
rsiPlot = plot(isRSI ? rsi : na, "RSI", color=isRSI ? #7E57C2 : na)
rsiUpperBand = hline(isRSI ? 70 : na, "RSI Upper Band", color=isRSI ? #787B86 : na)
midline = hline(isRSI ? 50 : na, "RSI Middle Band", color=isRSI ? color.new(#787B86, 50) : na)
rsiLowerBand = hline(isRSI ? 30 : na, "RSI Lower Band", color=isRSI ? #787B86 : na)
fill(rsiUpperBand, rsiLowerBand, color=isRSI ? color.rgb(126, 87, 194, 90) : na, title="RSI Background Fill")
midLinePlot = plot(isRSI ? 50 : na, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = isRSI ? color.new(color.green, 0) : na, bottom_color = isRSI ? color.new(color.green, 100) : na, title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = isRSI ? color.new(color.red, 100) : na, bottom_color = isRSI ? color.new(color.red, 0) : na, title = "Oversold Gradient Fill")
// WMA VWMA plots
wmaColor = oscType != "RSI" ? (useVWMA ? color.new(color.blue, 70) : color.blue) : na
wmaWidth = useVWMA ? 1 : 2
vwmaColor = oscType != "RSI" ? (useVWMA ? color.orange : color.new(color.orange, 70)) : na
vwmaWidth = useVWMA ? 2 : 1
plot(oscType != "RSI" ? wma : na, "WMA", color=wmaColor, linewidth=wmaWidth)
plot(oscType != "RSI" ? vwma : na, "VWMA", color=vwmaColor, linewidth=vwmaWidth)
// Smoothing MA inputs (only for RSI)
GRP = "Smoothing (RSI only)"
TT_BB = "Only applies when 'Show Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maLengthSMA = input.int(14, "SMA Length", minval=1, group=GRP, display=display.data_window)
maLengthEMA = input.int(14, "EMA Length", minval=1, group=GRP, display=display.data_window)
maLengthRMA = input.int(14, "SMMA (RMA) Length", minval=1, group=GRP, display=display.data_window)
maLengthWMA = input.int(14, "WMA Length", minval=1, group=GRP, display=display.data_window)
maLengthVWMA = input.int(14, "VWMA Length", minval=1, group=GRP, display=display.data_window)
bbMultInput = input.float(2.0, "BB StdDev", minval=0.001, maxval=50, step=0.5, tooltip=TT_BB, group=GRP, display=display.data_window)
showSMA = input.bool(false, "Show SMA", group=GRP)
showEMA = input.bool(false, "Show EMA", group=GRP)
showRMA = input.bool(false, "Show SMMA (RMA)", group=GRP)
showWMAsmooth = input.bool(false, "Show WMA", group=GRP)
showVWMAsmooth = input.bool(false, "Show VWMA", group=GRP)
showBB = input.bool(false, "Show SMA + Bollinger Bands", group=GRP, tooltip=TT_BB)
// Smoothing MA Calculations
sma_val = (showSMA or showBB) and isRSI ? ta.sma(rsi, maLengthSMA) : na
ema_val = showEMA and isRSI ? ta.ema(rsi, maLengthEMA) : na
rma_val = showRMA and isRSI ? ta.rma(rsi, maLengthRMA) : na
wma_val = showWMAsmooth and isRSI ? ta.wma(rsi, maLengthWMA) : na
vwma_val = showVWMAsmooth and isRSI ? ta.vwma(rsi, maLengthVWMA) : na
smoothingStDev = showBB and isRSI ? ta.stdev(rsi, maLengthSMA) * bbMultInput : na
// Smoothing MA plots
plot(sma_val, "RSI-based SMA", color=(showSMA or showBB) ? color.yellow : na, display=(showSMA or showBB) ? display.all : display.none, editable=(showSMA or showBB))
plot(ema_val, "RSI-based EMA", color=showEMA ? color.purple : na, display=showEMA ? display.all : display.none, editable=showEMA)
plot(rma_val, "RSI-based RMA", color=showRMA ? color.red : na, display=showRMA ? display.all : display.none, editable=showRMA)
plot(wma_val, "RSI-based WMA", color=showWMAsmooth ? color.blue : na, display=showWMAsmooth ? display.all : display.none, editable=showWMAsmooth)
plot(vwma_val, "RSI-based VWMA", color=showVWMAsmooth ? color.orange : na, display=showVWMAsmooth ? display.all : display.none, editable=showVWMAsmooth)
bbUpperBand = plot(showBB ? sma_val + smoothingStDev : na, title="Upper Bollinger Band", color=showBB ? color.green : na, display=showBB ? display.all : display.none, editable=showBB)
bbLowerBand = plot(showBB ? sma_val - smoothingStDev : na, title="Lower Bollinger Band", color=showBB ? color.green : na, display=showBB ? display.all : display.none, editable=showBB)
fill(bbUpperBand, bbLowerBand, color=showBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display=showBB ? display.all : display.none, editable=showBB)
// Divergence Settings
divGroup = "Divergence Settings"
calculateDivergence = input.bool(true, title="Calculate Divergence", group=divGroup, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
lookbackLeft = input.int(5, "Pivot Lookback Left", minval=1, group=divGroup)
lookbackRight = input.int(5, "Pivot Lookback Right", minval=1, group=divGroup)
rangeLower = input.int(5, "Min Range for Divergence", minval=0, group=divGroup)
rangeUpper = input.int(60, "Max Range for Divergence", minval=1, group=divGroup)
showHidden = input.bool(true, "Show Hidden Divergences", group=divGroup)
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_inRange(cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
bool plFound = false
bool phFound = false
bool bullCond = false
bool bearCond = false
bool hiddenBullCond = false
bool hiddenBearCond = false
float oscLBR = na
float lowLBR = na
float highLBR = na
float prevPlOsc = na
float prevPlLow = na
float prevPhOsc = na
float prevPhHigh = na
if calculateDivergence
plFound := not na(ta.pivotlow(osc, lookbackLeft, lookbackRight))
phFound := not na(ta.pivothigh(osc, lookbackLeft, lookbackRight))
oscLBR := osc
lowLBR := low
highLBR := high
prevPlOsc := ta.valuewhen(plFound, oscLBR, 1)
prevPlLow := ta.valuewhen(plFound, lowLBR, 1)
prevPhOsc := ta.valuewhen(phFound, oscLBR, 1)
prevPhHigh := ta.valuewhen(phFound, highLBR, 1)
// Regular Bullish
oscHL = oscLBR > prevPlOsc and _inRange(plFound )
priceLL = lowLBR < prevPlLow
bullCond := priceLL and oscHL and plFound
// Regular Bearish
oscLL = oscLBR < prevPhOsc and _inRange(phFound )
priceHH = highLBR > prevPhHigh
bearCond := priceHH and oscLL and phFound
// Hidden Bullish
oscLL_hidden = oscLBR < prevPlOsc and _inRange(plFound )
priceHL = lowLBR > prevPlLow
hiddenBullCond := priceHL and oscLL_hidden and plFound and showHidden
// Hidden Bearish
oscHH_hidden = oscLBR > prevPhOsc and _inRange(phFound )
priceLH = highLBR < prevPhHigh
hiddenBearCond := priceLH and oscHH_hidden and phFound and showHidden
// Plot divergences (lines and labels on pane)
if bullCond
leftBar = ta.valuewhen(plFound, bar_index , 1)
line.new(leftBar, prevPlOsc, bar_index , oscLBR, xloc=xloc.bar_index, color=bullColor, width=2)
label.new(bar_index , oscLBR, "R Bull", style=label.style_label_up, color=noneColor, textcolor=textColor)
if bearCond
leftBar = ta.valuewhen(phFound, bar_index , 1)
line.new(leftBar, prevPhOsc, bar_index , oscLBR, xloc=xloc.bar_index, color=bearColor, width=2)
label.new(bar_index , oscLBR, "R Bear", style=label.style_label_down, color=noneColor, textcolor=textColor)
if hiddenBullCond
leftBar = ta.valuewhen(plFound, bar_index , 1)
line.new(leftBar, prevPlOsc, bar_index , oscLBR, xloc=xloc.bar_index, color=bullColor, width=2, style=line.style_dashed)
label.new(bar_index , oscLBR, "H Bull", style=label.style_label_up, color=noneColor, textcolor=textColor)
if hiddenBearCond
leftBar = ta.valuewhen(phFound, bar_index , 1)
line.new(leftBar, prevPhOsc, bar_index , oscLBR, xloc=xloc.bar_index, color=bearColor, width=2, style=line.style_dashed)
label.new(bar_index , oscLBR, "H Bear", style=label.style_label_down, color=noneColor, textcolor=textColor)
// Alert conditions
alertcondition(bullCond, title="Regular Bullish Divergence", message="Found a new Regular Bullish Divergence, Pivot Lookback Right number of bars to the left of the current bar.")
alertcondition(bearCond, title="Regular Bearish Divergence", message="Found a new Regular Bearish Divergence, Pivot Lookback Right number of bars to the left of the current bar.")
alertcondition(hiddenBullCond, title="Hidden Bullish Divergence", message="Found a new Hidden Bullish Divergence, Pivot Lookback Right number of bars to the left of the current bar.")
alertcondition(hiddenBearCond, title="Hidden Bearish Divergence", message="Found a new Hidden Bearish Divergence, Pivot Lookback Right number of bars to the left of the current bar.")
PrismWAP (Anchored)# PrismWAP (Anchored)
Overview
PrismWAP plots three anchored weighted-average prices (VWAP, TWAP, TrueWAP) with dynamic volatility bands and a resettable anchor line. It helps you see key value levels since your chosen anchor period and gauge price excursions relative to volatility.
How It Works
On each new span (session, week, month, quarter, etc.), the indicator resets a base price from the first bar’s open. It computes anchored VWAP, TWAP, and TrueWAP cumulatively over the span. Volatility bands are drawn as ±multiplier × a span-length-weighted average of your chosen volatility measure (Std Dev, MAD, ATR-scaled, or Percent of WAP).
Inputs
Settings/Default/Description
Anchor Period/Quarter/Span for resetting WAP and anchor line (Week, Month, etc.)
Volatility Measure/Std Dev/Method for band width: SD, MAD, ATR (scaled), Percent of WAP
Volatility Spans/current+2/Number of spans (current + previous spans) used in volatility
Band Multiplier(or %)/3.0/Multiplier for band width (or Percent of WAP in Percent mode)
Scale MAD to σ/true/When MAD selected, scale by √(π/2) so it aligns with σ
Display
• Show Anchor Line true
• Show VWAP true
• Show TWAP true
• Show TrueWAP true
• Show VWAP Bands false
• Show TWAP Bands false
• Show TrueWAP Bands true
Tips & Use Cases
• Use shorter spans (Session, Week) for sub-daily bar intervals.
• Use longer spans (Quarter, Year) for daily bar intervals.
References:
1. TrueWAP Description
2. SD, MAD, ATR (scaled) weighted average volatility
## 1. TrueWAP: Volatility-Weighted Price Averaging
What Is TrueWAP?
TrueWAP plugs actual price fluctuations into your average. Instead of only tracking time (TWAP) or volume (VWAP), it weights each bar’s TrueRange midpoint by its TrueRange—so when the market moves more, that bar counts more.
TrueWAP (Anchored) Overview
• On the first bar, it uses the simple high-low midpoint for price and the bar’s high-low range for weighting.
• From the next bar onward, it computes TrueMid by averaging the TrueRange high (higher of prior close or current high) with the TrueRange low (lower of prior close or current low).
• Each TrueMid is weighted by its TrueRange and cumulatively summed from the anchor point.
Pseudocode
// TWAP Example for Comparison
current_days = BarsSince("start_of_period")
OHLC = (Open + High + Low + Close) / 4
TWAP = MA(OHLC, current_days)
// VWAP Example for Comparison
current_days = BarsSince("start_of_period")
HLC3 = (High + Low + Close) / 3
VWAP = Sum(HLC3 * Volume, current_days) / Sum(Volume, current_days)
// TrueWAP (Anchored)
current_days = BarsSince("start_of_period") // Count of bars since the period began
first_bar = (current_days == 0) // Boolean flag that is true if current bar is the first of period
hilo_mid = (High + Low) / 2 // For the first bar, use its simple high/low avg
max_val = max(Close , High) // For subsequent bars, TrueRange high
min_val = min(Close , Low) // For subsequent bars, TrueRange low
true_mid = (max_val + min_val) / 2 // True Range midpoint for subsequent bars
// Use hilo_mid and (High - Low) for the first bar; otherwise, use true_mid and True Range
mid_val = IF(first_bar, hilo_mid, true_mid)
range_val = IF(first_bar, (High - Low), TrueRange)
TrueWAP = Sum(mid_val * range_val, current_days) / Sum(range_val, current_days)
Recap: Interpretation
• The first bar uses the simple high-low midpoint and range.
• Subsequent bars use TrueMid and TrueRange based on prior close.
• This ensures the average reflects only the observed volatility and price since the anchor.
A Note on True Range
TrueRange captures the full extent of bar-to-bar volatility as the maximum of:
• High – Low
• |High – Previous Close|
• |Low – Previous Close|
## 2. Segmented Weighted-Average Volatility: A Fixed-Point Multi-Period Approach
### Introduction
Conventional standard deviation calculations aggregate data over an expanding window and rely on a single mean, producing one summary statistic. This can obscure segmented, sequential datasets—such as MTD, QTD, and YTD—where additional granularity and time-sensitive insights matter.
This methodology isolates standard deviation within defined time frames and then proportionally allocates them based on custom lookback criteria. The result is a dynamic, multi-period normalization benchmark that captures both emerging volatility and historical stability.
Note: While this example uses SD, the same fixed-point approach applies to MAD and ATR (scaled).
### 2.1 Standard Deviation (Rolling Window)
pseudocode
// -- STANDARD DEVIATION (ROLLING) Calculation --
window_size = 20
rolling_SD = STDDEV(Close, window_size)
• Ideal for immediate trading insights.
• Reflects pure, short-term price dynamics.
• Captures volatility using the most recent 20 trading days.
### 2.2 Blended SD: Current + 3 Past Periods
This method fuses current month data with the last three complete months.
pseudocode
// -- MULTI-PERIOD STANDARD DEVIATION (PROXY) with Three Past Periods --
current_days = BarsSince("start_of_month")
current_SD = STDDEV(Close, current_days)
prev1_days = TradingDaysLastMonth
prev1_SD = STDDEV_LastMonth(Close)
prev2_days = TradingDaysTwoMonthsAgo
prev2_SD = STDDEV_TwoMonthsAgo(Close)
prev3_days = TradingDaysThreeMonthsAgo
prev3_SD = STDDEV_ThreeMonthsAgo(Close)
// Blending with Proportional Weights
Weighted_SD = (current_SD * current_days +
prev1_SD * prev1_days +
prev2_SD * prev2_days +
prev3_SD * prev3_days) /
(current_days + prev1_days + prev2_days + prev3_days)
• Merges evolving volatility with the stability of three prior months.
• Weights each period by its trading days.
• Yields a robust normalization benchmark.
### 2.3 Blended SD: Current + 1 Past Period
This variant tempers emerging volatility by blending the current month with last month only.
pseudocode
// -- MULTI-PERIOD STANDARD DEVIATION (PROXY) with One Past Period --
current_days = BarsSince("start_of_month")
current_SD = STDDEV(Close, current_days)
prev1_days = TradingDaysLastMonth
prev1_SD = STDDEV_LastMonth(Close)
// Proportional Blend
Weighted_SD = (current_SD * current_days +
prev1_SD * prev1_days) /
(current_days + prev1_days)
• Anchors current volatility to last month’s baseline.
• Softens spikes by blending with historical data.
Conclusion
Segmented weighted-average volatility transforms global benchmarking by integrating immediate market dynamics with enduring historical context. This fixed-point approach—applicable to SD, MAD (scaled), and ATR (scaled)—delivers time-sensitive analysis.
UngliMulti-Indicator Confluence System
This is a **multi-indicator confluence trading signal system** called "Ungli" that combines RSI, ADX, and MACD to identify high-probability momentum opportunities when used alongside chart pattern and trend line breakouts.
## Core Concept
The script identifies moments when multiple technical indicators align to suggest potential price momentum moves, specifically looking for oversold and overbought conditions with momentum confirmation. Use green and red highlights along with chart patterns and trend line breakouts that signal a breakout for confluence for a likely momentum move.
## Technical Indicators Used
**RSI (Relative Strength Index)**
- Default 14-period RSI
- Oversold threshold: < 40
- Overbought threshold: > 60
**ADX (Average Directional Index)**
- Default 14-period ADX with DI+ and DI-
- Threshold: 21
- Looks for ADX below threshold but ticking upward (momentum building)
**MACD (Moving Average Convergence Divergence)**
- Fast: 12, Slow: 26, Signal: 9
- Uses MACD line direction as trend filter
## Signal Logic
**Green Background (Bullish Momentum Signal):**
- RSI > 60 (overbought)
- ADX < 21 AND rising
- MACD line trending upward
**Red Background (Bearish Momentum Signal):**
- RSI < 40 (oversold)
- ADX < 21 AND rising
- MACD line trending downward
## Key Strategy Elements
1. **Confluence Approach**: Requires all three indicators to align, reducing false signals
2. **Momentum Filter**: ADX must be building (rising) even if low, indicating emerging trend strength
3. **Trend Confirmation**: MACD direction must match the expected move
4. **Visual Simplicity**: Clean background highlighting without chart clutter
5. **Pattern Integration**: Designed to work with chart patterns and breakout strategies
## Use Case
This indicator is designed for swing trading and breakout strategies, identifying moments when oversold/overbought conditions coincide with building momentum in the expected direction. The ADX filter helps avoid choppy, trendless markets. Best used in conjunction with:
- Support/resistance breakouts
- Chart pattern breakouts (triangles, flags, channels)
- Trend line breaks
- Key level violations
The background highlights serve as confluence confirmation when combined with your chart analysis and breakout setups.
EMA-SMA & RSI Strategyusing RSI and EMA strategy, it works on RSI based rules as well as indicator based rules
Markov Chain Trend ProbabilityA Markov Chain is a mathematical model that predicts future states based on the current state, assuming that the future depends only on the present (not the past). Originally developed by Russian mathematician Andrey Markov, this concept is widely used in:
Finance: Risk modeling, portfolio optimization, credit scoring, algorithmic trading
Weather Forecasting: Predicting sunny/rainy days, temperature patterns, storm tracking
Here's an example of a Markov chain: If the weather is sunny, the probability that will be sunny 30 min later is say 90%. However, if the state changes, i.e. it starts raining, how the probability that will be raining 30 min later is say 70% and only 30% sunny.
Similar concept can be applied to markets price action and trends.
Mathematical Foundation
The core principle follows the Markov Property: P(X_{t+1}|X_t, X_{t-1}, ..., X_0) = P(X_{t+1}|X_t)
Transition Matrix :
-------------Next State
Current----
--------P11 P12
-----P21 P22
Probability Calculations:
P(Up→Up) = Count(Up→Up) / Count(Up states)
P(Down→Down) = Count(Down→Down) / Count(Down states)
Steady-state probability: π = πP (where π is the stationary distribution)
State Definition:
State = UPTREND if (Price_t - Price_{t-n})/ATR > threshold
State = DOWNTREND if (Price_t - Price_{t-n})/ATR < -threshold
How It Works in Trading
This indicator applies Markov Chain theory to market trends by:
Defining States: Classifies market conditions as UPTREND or DOWNTREND based on price movement relative to ATR (Average True Range)
Learning Transitions: Analyzes historical data to calculate probabilities of moving from one state to another
Predicting Probabilities: Estimates the likelihood of future trend continuation or reversal
How to Use
Parameters:
Lookback Period: Number of bars to analyze for trend detection (default: 14)
ATR Threshold: Sensitivity multiplier for state changes (default: 0.5)
Historical Periods: Sample size for probability calculations (default: 33)
Trading Applications:
Trend confirmation for entry/exit decisions
Risk assessment through probability analysis
Market regime identification
Early warning system for potential trend reversals
The indicator works on any timeframe and asset class. Enjoy!
First Round Break TrackerA simple indicator that tracks the first-time breakouts of round number levels (psychological levels) on any chart. Clean interface with minimal configuration needed
First Breakout Only : Marks each round level only once when broken for the first time
Customizable Step Size : Adjustable round number intervals (e.g., 100, 1000, 10000 etc.)
Clean Visual Alerts : Green labels with "FIRST:" prefix appear exactly at breakout moments
Real-time Info Panel : Shows current price, next target level, and total breakouts count
Wave1234 Flip tp Betawave1234 flip tp
A Trend-Following Indicator Powered by Elliott Wave & SMC – Know Where the Price Will Rise, Peak, and Reverse
Wave1234 Flip TP is a technical indicator built on the foundations of Elliott Wave Theory combined with insights from Smart Money Concepts (SMC). It's designed to help traders clearly identify:
✅ Where the price will start rising (precise entry after a confirmed reversal)
✅ Where the rally is likely to end (shows psychological Take Profit zones after Wave 4)
✅ And where the price is most likely to reverse down (based on key structural resistance)
🧠 How It Works:
The core mechanism of Wave1234 Flip TP is simple but powerful.
📈 Once a Buy signal appears — this marks the beginning of a new uptrend (confirmed by structure and reversal patterns).
➡️ From there, the system lets the trend run naturally, tracking the price through its impulsive movement (Wave 1 to 3) and its first meaningful correction (Wave 4).
✅ After Wave 4 forms, the indicator begins tracking potential reversal zones — based on both market psychology and institutional order flow.
🔹 This is when the green TP line appears — a projected take-profit zone where the rally may end.
💥 When price hits this zone and confirms exhaustion, the green TP line turns blue, signaling:
✅ Success – the trend has completed its cycle
🚨 Caution – momentum may reverse soon
This allows traders to exit at strength, or prepare for a potential short when structure shifts again.
หลักการของ Wave1234 Flip TP คือ “ปล่อยให้เทรนด์รันอย่างเป็นธรรมชาติ แล้วไปโฟกัสจุดกลับตัวที่สำคัญที่สุด”
📈 เมื่อเกิดสัญญาณ Buy — นั่นคือจุดเริ่มต้นของเทรนด์ขาขึ้นรอบใหม่ (ยืนยันโดยโครงสร้างราคาและแท่งกลับตัว)
จากนั้นเราจะ ปล่อยให้เทรนด์วิ่งไป โดยไม่ต้องรีบทำอะไร
…รอจนเข้าสู่ช่วงคลื่น 3 → 4 (Wave 3-4)
เพราะนั่นคือช่วงที่ “แรงซื้อเริ่มหมด”
✅ หลังจาก Wave 4 จบลง
อินดิเคเตอร์จะเริ่ม “คาดการณ์จุดกลับตัว” โดยใช้ทั้งพฤติกรรมจิตวิทยาตลาด และระดับราคาเชิงโครงสร้างที่สถาบันมองเห็น
🟩 เส้น TP สีเขียวจะปรากฏขึ้น — นี่คือโซนที่ควร เริ่มทยอยปิดกำไร
📉 และถ้าราคาวิ่ง ชนเส้นนี้จริง พร้อมมีสัญญาณยืนยัน
เส้นเขียวจะ เปลี่ยนเป็นสีฟ้า ทันที
💡 แปลว่า:
เทรนด์รอบนี้ “ไปถึงเป้าหมายแล้ว”
ความเสี่ยงที่จะกลับทิศกำลังสูงขึ้น
ถึงเวลาที่ต้อง “หยุดโลภ แล้วป้องกันกำไร”
Triumm algo v2 with Signal Qualitythis indicator very usefull for trding
it give signal entry sl tp buy selll
A buy/sell indicator is a tool used in technical analysis to help traders identify optimal entry (buy) and exit (sell) points in the market. These indicators analyze price movements, volume, and momentum to generate signals that suggest potential trading opportunities.
LinkedIn
+1
Angel One
+1
Key Buy/Sell Indicators
Relative Strength Index (RSI)
The RSI measures the speed and change of price movements on a scale from 0 to 100. Traditionally, an RSI above 70 indicates that an asset may be overbought (a potential sell signal), while an RSI below 30 suggests it may be oversold (a potential buy signal).
Moving Average Convergence Divergence (MACD)
The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of an asset's price. A bullish signal occurs when the MACD line crosses above the signal line, while a bearish signal occurs when it crosses below.
Moving Average Crossovers
This method involves plotting two moving averages of different lengths on a chart. A common strategy is the "Golden Cross," where a short-term moving average crosses above a long-term moving average, indicating a potential uptrend. Conversely, a "Death Cross" occurs when a short-term moving average crosses below a long-term moving average, suggesting a potential downtrend.
Bollinger Bands
Bollinger Bands consist of a moving average and two standard deviation lines plotted above and below it. When the price touches the upper band, the asset may be overbought; when it touches the lower band, it may be oversold.
Stochastic Oscillator
This momentum indicator compares a particular closing price of an asset to a range of its prices over a certain period. Values above 80 are considered overbought, and values below 20 are considered oversold.
Practical Considerations
Lagging Nature: Most indicators are based on historical data and may lag behind current market conditions. Therefore, they should be used in conjunction with other forms of analysis.
False Signals: No indicator is foolproof. It's essential to confirm signals with additional analysis or indicators to reduce the likelihood of acting on false signals.
Reddit
Market Conditions: The effectiveness of indicators can vary depending on market conditions. For instance, some indicators perform better in trending markets, while others are more suited for ranging markets.
Clarix 5m Scalping Breakout StrategyPurpose
A 5-minute scalping breakout strategy designed to capture fast 3-5 pip moves, using premium/discount zone filters and market bias conditions.
How It Works
The script monitors price action in 5-minute intervals, forming a 15-minute high and low range by tracking the highs and lows of the first 3 consecutive 5-minute candles starting from a custom time. In the next 3 candles, it waits for a breakout above the 15m high or below the 15m low while confirming market bias using custom equilibrium zones.
Buy signals trigger when price breaks the 15m high while in a discount zone
Sell signals trigger when price breaks the 15m low while in a premium zone
The strategy simulates trades with fixed 3-5 pip take profit and stop loss values (configurable). All trades are recorded in a backtest table with live trade results and an automatically updated win rate.
Features
Designed exclusively for the 5-minute timeframe
Custom 15-minute high/low breakout logic
Premium, Discount, and Equilibrium zone display
Built-in backtest tracker with live trade results, statistics, and win rate
Customizable start time, take profit, and stop loss settings
Real-time alerts on breakout signals
Visual markers for trade entries and failed trades
Consistent win rate exceeding 90–95% on average when following market conditions
Usage Tips
Use strictly on 5-minute charts for accurate signal performance. Avoid during high-impact news releases.
Important: Once a trade is opened, manually set your take profit at +3 to +5 pips immediately to secure the move, as these quick scalps often hit the target within a single candle. This prevents missed exits during rapid price action.
Clarix Smart FlipPurpose
This tool identifies high-probability intraday reversals by detecting when price flips through the daily open after strong early-session commitment.
How It Works
A valid flip occurs when:
The previous daily candle is bullish or bearish
The first hour today continues in the same direction
Then, the price flips back through the daily open with a minimum break threshold (user-defined)
This setup is designed to catch liquidity grabs or fakeouts near the daily open, where early buyers or sellers get trapped after showing commitment
Signal Logic
Buy Flip
Previous day bearish → first hour bearish → price flips above open
Sell Flip
Previous day bullish → first hour bullish → price flips below open
Features
Configurable flip threshold in percentage
Signals only activate after the first hour ends
Daily open line displayed on chart
Simple triangle markers with no visual clutter
Alerts ready to use for automation or notifications
Usage Tips
Use "Once Per Bar" alert mode to get notified immediately when the flip happens
Works best in active markets like FX, indices, or crypto
Adjust threshold based on asset volatility
Suggested stop loss: use the previous daily high for sell flips or the previous daily low for buy flips
Suggested take profit: secure at least 30 pips to aim for a 1:3 risk-to-reward ratio on average