Médias Móveis
Bougies Tendance Smart Trend Candles1. THE SETUP (Do this first)
If you don't do this, you will still see your standard green and red candles overlapping the script's colors.
Double-left-click directly on one of the candles on your chart (or click the gear icon ⚙️ at the top right, "Chart Settings").
Go to the Symbol tab (the first one on the left).
In the "Candles" section, UNCHECK the following boxes:
❌ Body
❌ Borders
❌ Wicks
Result: Your standard candles become invisible, revealing only those generated and colored by the script.
2. COLOR LEGEND (How to read the chart)
The script colors the candles by crossing two pieces of information: the Underlying Trend (relative to the Moving Average) and the Day's Movement.
🔵 BLUE CANDLE (Bullish Impulse)
Context: Price is above the trend line (EMA).
Movement: The candle closes higher than it opened (it's going up).
Interpretation: The market is healthy. Buyers are in control. It's time to let profits run.
🟠 ORANGE CANDLE (Correction / Pullback)
Context: Price is above the trend line (EMA).
Movement: The candle closes lower than it opened (it's going down).
Interpretation: This is profit-taking or a breather within a bullish trend. Potential buying opportunity if the price bounces off the gray line.
🔴 RED CANDLE (Bearish Impulse)
Context: Price is below the trend line (EMA).
Movement: The candle closes lower than it opened (it's going down).
Interpretation: Danger. The trend is bearish and sellers are pushing. You should be Short (selling) or out of the market.
🟢 GREEN CANDLE (Technical Rebound)
Context: Price is below the trend line (EMA).
Movement: The candle closes higher than it opened (it's going up).
Interpretation: Warning, this is not a bullish recovery (yet). It is a bounce within a trend that remains bearish (Bear Market Rally). It is often an opportunity to reload Short positions.
Visual Summary for Traders:
Buying Zone: Look for setups as long as you see Blue and Orange.
Selling Zone: Look to sell or short as long as you see Red and Green.
Estrategia TEMA Pro [Límite Ops por Ventana]good money
jucale
keep faith
dont stop working
eat vegatables
Screener Complet: MM50 + Figures Chartistes
What this script detects:
Hammer: The script identifies a small candle with a long lower wick (buyers are regaining control). A green "Marteau" (Hammer) label appears below the candle.
Shooting Star: The opposite of the hammer, signaling a bearish reversal. An orange "Etoile Fil." label appears above the candle.
Engulfing: Detects when the body of a candle totally "engulfs" the previous one. Label "Avalement H" (Bullish) or "Avalement B" (Bearish).
Double Top (M) and Double Bottom (W): The script compares recent peaks (pivots). If it detects two peaks at the same level (with a 1% tolerance), it displays an "M" (Double Top). For two troughs, it displays a "W" (Double Bottom).
Important Note: For "W" and "M" patterns, the script needs a few candles after the formation of the second peak/trough to confirm that it is indeed a peak (this is the principle of rightBars = 10 in the code). The label will therefore appear with a slight lag relative to the exact peak, but it validates the structure.
If you have any advice or ideas, please don't hesitate.
EB/TB V24: Fixed Risk Trend-Following (Elephant Bar / Trend Bar)This is an advanced trend-following strategy built around the Elephant Bar (EB) and Trend Bar (TB) candle patterns. It uses a fixed dollar risk per trade to automatically size positions and employs a sophisticated exit management system, including partial profit taking, a dynamic Trailing Stop Loss (SL), and a 180° immediate reversal mechanism.
Detailed Description
This strategy is designed for active trend capture and robust risk management:
Fixed Risk Position Sizing: Automatically calculates trade quantity based on a defined maximum dollar risk (mlpt_max_risk) and the initial Stop Loss placement.
Trend Identification: Entries are triggered by confirmed Elephant Bars (strong momentum candles) or Trend Bars, filtered by two short-term MAs (MA #1, MA #2) and a long-term MA (MA #3 / MA200) for context.
Dual Exit Management:
Partial Take Profit (50%): Half the position is closed at a fixed profit target (tp_fixed_pct).
Dynamic Trailing SL (50%): The remaining 50% is protected by a Trailing SL that adjusts based on the low/high of subsequent valid EB/TB signals, maximizing trend ride duration.
Emergency Exits:
SAma Exit: Uses the crossing of the price below/above the MA #1 (short period) as a dynamic exit criterion.
180° Reversal: Features an immediate close (Cap8) and reverse (180) entry when a strong, unfiltered opposite raw EB signal appears.
Note: This published version only displays the Moving Averages, the entry signals, and the Take Profit lines for a clean chart view.
Mebane Faber GTAA 5In 2007, Mebane Faber published research that challenged the conventional wisdom of buy-and-hold investing. His paper, titled "A Quantitative Approach to Tactical Asset Allocation" and published in the Journal of Wealth Management, demonstrated that a simple timing mechanism could reduce portfolio volatility and drawdowns while maintaining competitive returns (Faber, 2007). This indicator implements his Global Tactical Asset Allocation strategy, known as GTAA5, following the original methodology.
The core insight of Faber's research stems from a century of market data. By analyzing asset class performance from 1901 onwards, Faber found that a ten-month simple moving average served as an effective trend filter across major asset classes. When an asset trades above its ten-month moving average, it tends to continue its upward trajectory; when it falls below, significant drawdowns often follow (Faber, 2007, pp. 12-16). This observation aligns with momentum research by Jegadeesh and Titman (1993), who documented that intermediate-term momentum persists across equity markets.
The GTAA5 strategy allocates capital equally across five diversified asset classes: domestic equities (SPY), international developed markets (EFA), aggregate bonds (AGG), commodities (DBC), and real estate investment trusts (VNQ). Each asset receives a twenty percent allocation when trading above its ten-month moving average. When an asset falls below this threshold, its allocation moves to short-term treasury bills (SHY), creating a dynamic cash position that scales with market risk (Cambria Investment Management, 2013).
The strategy's historical performance during market crises illustrates its function. During the 2008 financial crisis, traditional sixty-forty portfolios experienced drawdowns exceeding forty percent. The GTAA5 strategy limited losses to approximately twelve percent by reducing equity exposure as prices declined below their moving averages (Faber, 2013). This asymmetric return profile represents the strategy's primary characteristic.
This implementation uses monthly closing prices retrieved via request.security() to calculate the ten-month simple moving average. This distinction matters, as approximations using daily data (such as a 200-day moving average) can generate different signals during volatile periods. Monthly data ensures the indicator produces signals consistent with published academic research.
The indicator provides position monitoring, automatic rebalancing detection on either the first or last trading day of each month, and share calculations based on user-defined capital. A dashboard displays current trend status for each asset class, target versus actual weightings, and trade instructions for rebalancing. Performance metrics including annualized volatility and Sharpe ratio provide ongoing risk assessment.
Several limitations warrant acknowledgment. First, the strategy rebalances monthly, meaning it cannot respond to intra-month market crashes. Second, transaction costs and taxes from monthly rebalancing may reduce net returns for taxable accounts. Third, the ten-month lookback period, while historically robust, offers no guarantee of future effectiveness. As Ilmanen (2011) notes in "Expected Returns", all timing strategies face the risk of regime change, where historical relationships break down.
This indicator serves educational purposes and portfolio monitoring. It does not constitute financial advice.
References:
Cambria Investment Management (2013). Global Tactical Asset Allocation: An Introduction to the Approach. Research Report, Los Angeles.
Faber, M.T. (2007). A Quantitative Approach to Tactical Asset Allocation. Journal of Wealth Management, Spring 2007, pp. 9-79.
Faber, M.T. (2013). Global Asset Allocation: A Survey of the World's Top Asset Allocation Strategies. Cambria Investment Management, Los Angeles.
Ilmanen, A. (2011). Expected Returns: An Investor's Guide to Harvesting Market Rewards. John Wiley and Sons, Chichester.
Jegadeesh, N. and Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency. Journal of Finance, 48(1), pp. 65-91.
2t's MA 50, MA 150, ATRThis indicator displays three key technical signals on the chart:
SMA 50 – Short-term trend direction
SMA 150 – Medium-term trend direction
ATR – Market volatility (Average True Range)
Line colors and lengths can be customized in the settings.
The ATR is plotted on the same chart for quick volatility reference without needing a separate panel.
This tool is designed for traders who want a clean, lightweight view of trend strength and volatility in a single indicator.
inyerneck Diaper Sniper v16 — LOW VOL V CATCHERDiaper Sniper v16 — Low-Vol Reversal Hunter
Catches dead-cat bounces and V-shaped reversals on the day’s biggest losers.
Designed for pennies and trash stocks that drop 6 %+ from recent high and snap back on any volume + green candle.
Features:
• Tiny green “D” = reversal signal
• Works on 1m → daily
• Fully adjustable filters
Best on low-float runners that bleed hard and bounce harder.
Use tiny size — it fires a lot.
Public version — code visible. No invite-only on Essential plan.
do not alter settings with out first recording defaults.. defaults are quite effective
2025 build. Test at your own risk.
ATM PROThe world’s strongest indicator that combines multiple indicators together, providing you with entry points, targets, and stop-loss levels with extreme accuracy. You can adjust its inputs to suit Forex and crypto pairs according to your needs. It contains these tools, and you can modify them based on your requirements.
المؤشر الاقوى عالميا الذي جمع عدة مؤشرات معا , من خلاله سيعطيك نقاط ( دخول واهداف وايقاف خسارة ) بدقة متناهية وتستطيع ان تعدل المدخلات ليتناسب مع ازواج الفوركس والكريبتو بشكل يتناسب مع ما تحتاجه
يحتوي على هذه الادوات ويمكنك تعديلها حسب متطلباتك
SHORT EMA
LONG EMA
TREND EMA
MACD SHORT
MACD LONG
MACD SIGNAL
RSI LENGTH
ATR LENGTH
VOLUME MULTIPLIER
ATR TARGET 1.2.3.4.5
STOP LOSS MULTIPLIER
BY ATM TEAM
Support Line [by rukich]🟠 OVERVIEW
The indicator displays a floating line that acts as a support level. It's important to remember that any support level can be broken.
🟠 COMPONENTS
The indicator is based on the percentage difference between the closes of the n-th bar back and the current bar. The resulting percentage is smoothed to remove noise.
The indicator is displayed as a green-red line (the colors don’t carry meaning — they are used just for visual variety). When the price touches the support level, the bar background turns green.
For convenience, there is a label on the right side of the indicator showing the current value of the line.
🟠 HOW TO USE
The indicator includes several settings that can be adjusted, though optimal defaults are provided.
Settings:
Timeframe — specifies which timeframe’s data is used to calculate the line.
Candles back — specifies how many bars back from the current one are used.
The indicator should be used according to general support-zone logic. Since no support zone guarantees a price bounce, the optimal approach is to confirm the reaction after the price touches the line.
Example of use:
In the current example, the Timeframe in the indicator settings is set to 1 hour, and the currently open chart is 5 minutes. This means that on the 5-minute chart we see a 1-hour line. After the price touches the support line, you need to see a confirmation of the reaction to understand whether the support zone is holding the price.
In the examples, reaction confirmation is shown through: the formation of an M5 shift and the invalidation of an FVG M5- (the latter is more risky than the M5 shift):
🟠 CONCLUSION
The indicator shows a floating support zone, and when tested, you should confirm the reaction on a lower timeframe.
SenxseAiSenxseiAI is a fully modular, multi-framework trading system designed for precision, clarity, and ease of use.
This tool blends market structure, dynamic S/R mapping, trend-logic, and session-based liquidity levels into a unified visual workflow. It highlights real-time entry signals with clean rays and labeled flags, while optional session, daily, and weekly highs/lows anchor traders to key liquidity points. A comprehensive theme engine—with multiple color packs and custom overrides—allows the interface to adapt to any chart style or user preference.
The UI is intentionally minimal, using toggle-based controls instead of overwhelming parameter lists, making the script beginner-friendly while maintaining professional depth.
DTR Trend EntryDTR Trend Entry is a trend-based entry tool designed to highlight market conditions and generate clear long and short signals based on price behavior around a moving average. It helps traders quickly identify bullish trends, bearish trends, consolidation zones, and potential breakout entries.
The indicator uses a simple moving average (SMA) of user-defined length to determine trend direction. A bullish trend is confirmed when the price stays above the moving average for consecutive bars, while a bearish trend is confirmed when the price stays below it. ATR (Average True Range) is also calculated, and price proximity to the moving average is used to detect consolidation, marking periods where the market is likely ranging and preparing for a move.
The chart background is shaded green during bullish trends, red during bearish trends, and yellow during consolidation to make market conditions easy to see at a glance. Entry signals appear when price crosses the moving average in the direction of the established trend: a crossover above the moving average triggers a long entry signal in a bullish zone, and a crossunder triggers a short entry signal in a bearish zone. These signals are marked on the chart with labels and can also be sent as alerts.
DTR Trend Entry is useful for traders who prefer trend-following approaches, breakout strategies, or structure-based entries. It works well on most timeframes and helps avoid late or low-quality trades by filtering entries through trend confirmation and volatility conditions.
Classic Wave: The Easy WayClassic Wave is a simple strategy with few rules and no over-optimization. Despite its simplicity, it is backed by a nearly century-long historical track record, delivering excellent returns on the weekly chart of the SPX (TVC).
I also recommend observing its strong performance on the SPY (weekly), which is the perfect instrument for executing this strategy with futures in the future.
Strategy Rules and Parameters
When a bullish candle closes above the 20-period EMA, we place the stop-loss below the low of that candle and target a risk-reward ratio of 1:1.
A second, more profitable variant is to change the risk-reward ratio in the code to 2:1.
-Total capital: $10,000
-We use 10% of the total capital per trade.
-Commissions: 0.1% per trade.
The code construction is simple and very well detailed within the script itself.
Risk-Reward Ratio 2:1
Using a 2:1 risk-reward ratio reduces the win rate but significantly increases profitability.
Across the full historical data of the SPX index (weekly), the system would have generated 236 trades, with a win rate of 51.27% and a profit factor of 2.53.
From January 1, 2023, to November 28, 2025, the system would have generated 5 trades, with an 80% win rate and a profit factor of 9.244.
What makes this system so good?
-It takes advantage of the long-term bullish bias of U.S. stock indices and traditional markets.
-It filters out a lot of noise thanks to the weekly timeframe.
-It uses simple parameters with no over-optimization.
Final Notes:
This strategy has consistently outperformed the returns offered by most traditional funds over time, with fewer drawdowns and significantly less stress. I hope you like it.
Trend Breakout & Ratchet Stop System [Market Filter]Description:
This strategy implements a robust trend-following system designed to capture momentum moves while strictly managing downside risk through a multi-stage "Ratchet" exit mechanism and broad market filters.
It is designed for swing traders who want to align individual stock entries with the overall market direction.
How it works:
1. Market Regime Filters (The "Safety Check") Before taking any position, the strategy checks the health of the broader market to avoid "catching falling knives."
Broad Market Filter: By default, it checks NASDAQ:QQQ (adjustable). If the benchmark is trading below its SMA 200, the strategy assumes a Bear Market and suppresses all new long entries.
Volatility Filter (VIX): Uses CBOE:VIX to gauge fear. If the VIX is above a specific threshold (Default: 32), entries are paused, and existing positions can optionally be closed to preserve capital.
2. Entry Logic Entries are based on Momentum and Trend confirmation. A position is opened if filters are clear AND one of the following occurs:
Golden Cross: SMA 25 crosses over SMA 50.
SMA Breakouts: A "Three-Bar-Break" logic confirms a breakout above the SMA 50, 100, or 200 (price must establish itself above the moving average).
3. The "Ratchet" Exit System The exit logic evolves as the trade progresses, tightening risk like a ratchet:
Stage 0 (Initial Risk): Starts with a standard percentage Stop Loss from the entry price.
Stage 1 (Breakeven/Lock): Once the price rises by Profit Step 1 (e.g., +10%), the Stop Loss jumps to a tighter level and locks there. This secures the initial move.
Stage 2 (Trailing Mode): If the price continues to rise to Profit Step 2 (e.g., +15%), the Stop Loss converts into a dynamic Trailing Stop relative to the Highest High. This allows the trade to run as long as the trend persists.
Additional Exits:
Dead Cross: Closes position if SMA 25 crosses under SMA 50.
VIX Panic: Emergency exit if volatility spikes above the threshold.
Settings & Customization:
SMAs: Adjustable lengths for all Moving Averages.
Filters: Toggle Market/VIX filters on/off and choose your benchmark ticker (e.g., SPY or QQQ).
Risk Management: Fully customizable percentages for the Ratchet steps (Initial SL, Stage 1 Trigger, Trailing distance).
Dynamic Ratchet Trend Strategy [VIX Filter]Overview This strategy is a long-only trend-following system designed to capture major market moves while strictly managing downside risk through a state-machine based "Ratchet" exit logic. It incorporates a volatility filter using the CBOE VIX index to stay out of (or exit) the market during high-stress environments.
Key Features
1. Multi-Condition Entries The strategy looks for momentum shifts and trend breakouts using four Simple Moving Averages (25, 50, 100, 200).
Momentum Cross: SMA 25 crossover above SMA 50.
Trend Breakouts: A specific "3-Bar Breakout" logic above the SMA 50, 100, or 200. This requires the price to hold above the SMA for 3 consecutive bars after being below it, reducing false signals compared to simple closes.
2. VIX Volatility Filter Before entering any trade, the script checks the CBOE:VIX.
Filter: If VIX is above the threshold (default 32), new entries are blocked.
Panic Exit: If you are in a position and the VIX spikes above the threshold, the strategy executes an immediate "Panic Exit" to preserve capital during market crashes.
3. The "Ratchet" Exit System (3 Stages) Unlike a standard trailing stop, this strategy uses a 3-stage dynamic exit mechanism that tightens as profits grow:
Stage 0 (Initial Risk): Standard percentage-based Stop Loss from the entry price.
Stage 1 (The Lock-In): Triggered when profit hits 10% (configurable).
Unique Logic: Instead of trailing from the highest high, the stop is calculated based on the price at the exact moment this stage was triggered. It "steps up" once and holds, securing the initial move without being prematurely stopped out by normal volatility.
Stage 2 (Trailing Mode): Triggered when profit hits 15% (configurable).
The strategy switches to a classic Trailing Stop, following the percentage distance from the Highest High.
4. Emergency Backup A "Dead Cross" (SMA 25 crossing under SMA 50) acts as a final fail-safe to close positions if the trend reverses completely before hitting a stop.
Settings & Inputs
SMAs: Customize the lengths for all four moving averages.
VIX Filter: Toggle the filter on/off and set the panic threshold.
Exit Logic: Fully customizable percentages for Initial SL, Stage 1 Trigger/Distance, and Stage 2 Trigger/Trailing Distance.
Disclaimer This script is for educational purposes only. Past performance is not indicative of future results. Always manage your risk appropriately.
Moving Average 13 Exponential//@version=6
indicator(title="Moving Average 13 Exponential", shorttitle="EMA", overlay=true, timeframe="", timeframe_gaps=true)
len = input.int(9, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500, display = display.data_window)
out = ta.ema(src, len)
plot(out, title="EMA", color=color.yellow, offset=offset)
// Smoothing MA inputs
GRP = "Smoothing"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("None", "Type", options = , group = GRP, display = display.data_window)
var isBB = maTypeInput == "SMA + Bollinger Bands"
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window, active = maTypeInput != "None")
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window, active = isBB)
var enableMA = maTypeInput != "None"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
// Smoothing MA plots
smoothingMA = enableMA ? ma(out, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(out, maLengthInput) * bbMultInput : na
plot(smoothingMA, "EMA-based MA", color=color.yellow, display = enableMA ? display.all : display.none, editable = enableMA)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none, editable = isBB)
XAU Power Meter + HTF FVG SystemWhat is this?
XAU Power Meter + HTF FVG System is an execution-support tool for XAUUSD that combines:
Local trend & momentum on your entry timeframe (e.g. 5m)
Volatility regime (ATR)
Higher-timeframe FVG bias (e.g. 1H)
The goal is simple: filter out low-quality trades and size up only when the market actually moves.
Core Components
1. LTF Trend (MA Stack 20 / 50 / 200)
The indicator builds a “stacked trend” using three MAs:
Bullish trend → price > MA20 > MA50 > MA200
Bearish trend → price < MA20 < MA50 < MA200
Anything else → RANGE
This gives a clean directional bias for intraday execution.
2. CCI Impulse (“Power”)
The CCI block measures the strength of the current move via |CCI| and classifies it into 4 bands:
LOW – weak momentum, usually not worth it
MEDIUM – acceptable impulse
HIGH – strong impulse
EXTREME – very strong, potential blow-off / late entry zone
These bands are used both for signal quality (Grade) and for position size guidance.
3. ATR Volatility Regime
ATR(14) is compared against its own SMA(100) to classify volatility:
QUIET – ATR < K * ATR_slow
NORMAL
ACTIVE – ATR > K * ATR_slow
You don’t want to size up in a dead market. ATR regime is used inside the Grade calculation.
4. Grade System (A / B / C / X)
The indicator compresses Trend + CCI + ATR into a single Grade:
A – In trend, strong impulse (HIGH/EXTREME), active volatility → top setups
B – In trend, at least MEDIUM impulse, acceptable volatility → good setups
C – In trend, but weaker conditions → borderline, be selective
X – Out of trend or no momentum → avoid
Internally, execution signals require Grade ≥ B for two bars in a row, to avoid one-bar “fake” spikes.
5. HTF FVG Bias (e.g. 1H)
On a higher timeframe (default: 1H), the script runs a Fair Value Gap engine with:
EMA 50/200 trend filter
ATR-based body filter (minimum candle strength)
Wilder ADX filter (trend strength)
Deep retest requirement inside the FVG zone
Optional zone auto-expiry and delete-on-use
It returns:
BUY (bullish HTF FVG confirmed)
SELL (bearish HTF FVG confirmed)
NONE (no valid zone active)
You can control how strict this bias is used via a “Strict: require active HTF FVG for entry” checkbox:
Strict OFF (default) → HTF bias can block trades against a strong HTF signal, but allows trades when HTF is neutral.
Strict ON → LTF entries are allowed only when HTF has an active FVG in the same direction (very selective).
HTF events are shown on the chart as HTF BUY / HTF SELL markers.
Execution Signals (LTF LONG / SHORT)
On your entry timeframe (e.g. 5m), the script generates LONG / SHORT arrows when:
Trend is clearly bullish or bearish (MA stack aligned),
Grade ≥ B for two consecutive bars,
HTF bias conditions are satisfied (depending on the strict mode).
These arrows are not a full auto-strategy, but a high-quality execution cue:
“Trend OK + Momentum OK + Volatility OK + HTF not against you.”
Dashboard
A compact dashboard in the corner shows, in real time:
Trend – UP / DOWN / RANGE (20/50/200 stack)
Impulse (CCI) – LOW / MEDIUM / HIGH / EXTREME
Volatility (ATR) – QUIET / NORMAL / ACTIVE
Size Multiplier – suggested risk sizing factor based on impulse
Grade – A / B / C / X
HTF FVG – BUY / SELL / NONE
This lets you sanity-check the context before pressing the button, not after the loss.
Recommended Use
Instrument: XAUUSD
Timeframe: 5m (scalping / intraday), but can be tested on 15m/1H as well
HTF: 1H by default (can experiment with 4H)
Focus on:
Grade A/B only
Strict mode ON for more institutional, fewer but higher-quality trades
Size up only when both impulse and volatility are supportive
Disclaimer
This script is a decision-support tool, not financial advice and not a guarantee of profit.
Always forward-test, understand the logic, and use your own risk management.
Bark or BiteBark or Bite – Trend Confirmation Engine (Invite-Only)
Bark or Bite is a trend validation system designed to detect true momentum shifts rather than every crossover or touch of a moving average. The indicator does not act on a single signal. It requires multi-condition confirmation before displaying any output, reducing false entries during chop and sideways price action.
At its core, Bark or Bite combines two distinct forms of market analysis:
1. Momentum qualification
Rather than reacting every time momentum changes, Bark or Bite monitors internal momentum alignment and stores directional shifts in memory. Momentum alone does nothing until structure confirms.
2. Trend filtering with delayed confirmation
The indicator continuously evaluates whether price has meaningfully committed above or below its underlying trend structure. A signal is not created the moment price fluctuates around trend. It is only registered once the market proves direction.
Unique confirmation logic (what makes Bark or Bite different):
Unlike common indicators that require conditions to occur on the same candle, Bark or Bite uses sequential confirmation logic. This allows:
Structure to confirm after momentum
Momentum to confirm after structure without forcing both to occur in the same bar.
This design allows valid trend entries that traditional indicators miss and prevents early entries during fake breakouts or short-lived reversals.
Candle Interpretation
Yellow candle = confirmed bullish trend ignition
Blue candle = confirmed bearish trend ignition
These are not momentum alerts. They represent directional shifts that have already passed multiple logical checks .
Intended Use
Bark or Bite is NOT:
A scalping indicator
A crossover toy
A signal spam tool
It is built for:
Swing traders
Trend traders
Directional bias alignment
Avoiding false starts in chop
This indicator is intentionally restrained. It displays fewer, higher-quality signals by design.
Why it is invite-only
Bark or Bite is protected because its logic is not a simple application of public indicators. The system uses:
State-based signal memory
Delayed confirmation logic
Multi-stage validation rules
Releasing the source openly would immediately cause replication without attribution. Access is therefore controlled.
Final Note
Bark or Bite does not predict the market.
It filters it.
You are not told to trade every movement.
You are told when the market has committed.
Z-EMA Fusion BandsDesigned with crypto markets in mind, particularly Bitcoin , it builds on the concept that the 1-Week 50 EMA often serves as a long-term bull/bear market threshold — an area where institutional bias, momentum shifts, and cyclical rotations tend to occur.
🔹 Core Components & Synergies:
1. 1W 50 EMA (Higher Timeframe)
- This EMA is calculated on a weekly timeframe, regardless of your current chart.
- In crypto, price above the 1W 50 EMA typically aligns with long-term bull market phases, while extended periods below can signify bearish macro structure.
- The slope of the EMA is also analyzed to add directional confidence to trend strength.
2. ±1 Standard Deviation Bands
- Surrounding the 50 EMA, these bands visualize normal price dispersion relative to trend.
- When price consistently hugs or breaks outside these bands, it often reflects market expansion, volatility events, or mean-reversion opportunity.
3. Z-Score Gradient Fill
- The area between the bands is filled using a Z-score-based gradient, which dynamically adjusts color based on how far price is from the EMA (in terms of standard deviations).
- Color shifts from aqua (near EMA) to fuchsia (far from EMA) help you spot price compression, equilibrium, or overextension at a glance.
- The fill also uses transparency scaling, making it fade as price stretches further, emphasizing the core structure.
4. Directional EMA Coloring
- The EMA line itself is colored based on:
- The slope of the EMA (rising/falling)
- Whether the HTF candle is bullish or bearish
- This provides intuitive color-coded confirmation of momentum alignment or potential exhaustion.
5. Price/EMA Divergence Detection
- The script detects bullish and bearish divergence between price and the EMA (rather than using a traditional oscillator).
- Bullish Divergence: Price makes a lower low, EMA makes a higher low.
- Bearish Divergence: Price makes a higher high, EMA makes a lower high.
- These signals often mark transitional zones where momentum fades before a trend reversal or correction.
📊 Suggested Uses:
🔸 Swing and Position Trading:
- Use the 1W 50 EMA as a macro-trend anchor.
- Stay long-biased when price is above with positive slope, and short-biased when below.
- Consider entries near band edges for mean-reversion plays, especially if confluence forms with divergence signals.
🔸 Volatility-Based Filtering:
- Use the Z-score fill to identify volatility compression (near EMA) or expansion (edge of bands).
- Combine this with breakout strategies or dynamic position sizing.
🔸 Divergence Confirmation:
- Combine divergence markers with HTF EMA slope for high-probability setups.
- Bullish div + EMA flattening/rising can signal the start of accumulation after a macro dip.
🔸 Multi-Timeframe Analysis:
- Works well as a structural overlay on intraday charts (1H, 4H, 1D).
- Use this indicator to track long-term bias while executing lower timeframe trades.
⚠️ Disclaimer:
This indicator is designed for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset.
Always use proper risk management, and combine with your own analysis, tools, and strategy. Performance in past market conditions does not guarantee future results.
Simple Price ChannelSimple Price Channel
This indicator plots a basic volatility-based channel around a moving average.
Features:
Midline using Simple Moving Average (SMA)
Upper & lower bands using ATR or true range
Channel fill for easy trend visualisation
This script is designed for educational and analytical purposes only.
It does not provide signals, alerts, or financial advice.
ATS5_Strategy v1This strategy is optimized for the 5Min of Bitcoin and is constructed based on strong trend metrics.
4H EMA 21/30 Cloud on 15mThis indicator displays the 4-hour EMA 21 and EMA 30 as a dynamic cloud directly on the 15-minute chart, providing a clean and reliable higher-timeframe trend filter for intraday and scalping setups.
The cloud turns:
Green when EMA21 > EMA30 → bullish HTF trend
Red when EMA21 < EMA30 → bearish HTF trend
Because the 4H EMA 21/30 combination tracks mid-term momentum and trend structure extremely well, this indicator helps traders avoid counter-trend trades, time pullbacks more effectively, and align entries with dominant higher-timeframe flow.
Perfect for traders using:
Price Action
FVG / Imbalance concepts
CHOCH/BOS structure
Liquidity-based models
ICT-style intraday execution
Use the 4H cloud as your HTF bias anchor, and execute trades using your own entry model on the 15m timeframe.
HTF Scanner Pro | High Tight Flag | Leif Soreide📊 HTF Scanner Pro| High Tight Flag Pattern Detector
🎯 Overview
HTF Scanner Pro is a professional-grade pattern recognition indicator designed to identify one of the most powerful and rare chart patterns in technical analysis: the High Tight Flag (HTF). Based on the rigorous research of William O'Neil (founder of Investor's Business Daily and creator of CANSLIM) and refined by Leif Soreide's extensive pattern studies, this indicator provides institutional-level pattern detection with a premium visual experience.
The High Tight Flag pattern historically delivers 69-85% success rates when properly identified, making it one of the most reliable bullish continuation patterns. However, it's extremely rare—you might only see 2-5 valid setups per year across thousands of stocks. This indicator does the heavy lifting of scanning and scoring potential setups so you never miss an opportunity.
----------------------------------------------------------------------------------------------
⚡ Key Features
🔬 6-Component Scoring System (0-10 Scale)
Each potential HTF pattern is analyzed across six critical dimensions:
│ Pole │ 25% │ Explosive advance (90-120%+ in 4-8 weeks)
│ Flag │ 25% │ Tight consolidation (10-25% pullback, above 50-MA)
│ Volume │ 20% │ Heavy pole volume, dry flag volume, breakout surge
│ Technical │ 15% │ New highs, relative strength, MA positioning
│ Breakout │ 10% │ Proximity to pivot, R:R ratio, target potential
│ Catalyst │ 5% │ Fundamental catalyst proxy via price/volume action
📈 Pattern Detection Criteria (O'Neil/Soreide Standards)
THE POLE (Flagpole):
- ✅ Minimum 90% advance (100-120%+ is ideal)
- ✅ Occurs within 4-8 weeks (20-40 trading days)
- ✅ Heavy volume (40-100%+ above average)
- ✅ More up days than down days (clean advance)
- ✅ Usually triggered by fundamental catalyst
THE FLAG (Consolidation):
- ✅ Shallow pullback of only 10-25% from pole high
- ✅ Duration: 1-3 weeks ideal, max 5 weeks
- ✅ MUST stay above 50-day moving average
- ✅ Volume dries up significantly (supply exhaustion)
- ✅ Tight, low-volatility price action
BREAKOUT CONFIRMATION:
- ✅ Price breaks above flag high + $0.10 (classic O'Neil rule)
- ✅ Volume surges 50%+ above average
- ✅ Risk/Reward typically 3:1 or better
----------------------------------------------------------------------------------------------
🎨 Premium Visual Features
Interactive Dashboard
- Real-time pattern scoring with letter grades (A+ to F)
- Component-by-component breakdown with color coding
- Trade setup display (Entry, Target, Stop, R:R)
- Status indicators for flag tightness and pole recency
- Customizable position (6 locations)
Pattern Zone Highlighting
- Pole Zone: Subtle green/blue gradient background
- Flag Zone: Subtle gold/orange gradient background
- Ghost transparency to not obscure price action
Price Level Visualization
- Entry Line (Blue): Flag high + $0.10 breakout level
- Target Line (Green): Projected measured move target
- Stop Line (Red): Below flag low for risk management
Signal Labels
- Large green label for valid HTF signals
- Orange label for partial/forming setups
- Complete trade plan in label (Entry, Target, R:R)
----------------------------------------------------------------------------------------------
📊 How to Use
Signal Interpretation
┌─────────┬───────────────────────────┐
│ Score │ Grade │ Signal │ Action ├─────────┼─────────┼─────────────────┤
│ 8.0+ │ A-/A/A+ │ HIGH TIGHT FLAG │ Valid setup - prepare for entry │
├─────────┼───────────────────────────┤
│ 5.5-7.9 │ C/B │ PARTIAL SETUP │ Monitor - some criteria missing │
├─────────┼─────────┼─────────────────
│ <5.5 │ D/F │ NO SIGNAL │ Not an HTF pattern │
└─────────┴─────────┴────────────────┘
Entry Strategy
- Wait for Setup: Score reaches 8.0+ with all major criteria met
- Entry Point: Buy on breakout above the blue ENTRY line with volume confirmation
- Stop Loss: Place stop just below the red STOP line (flag low)
- Target: Use the green TARGET line as your profit objective
- Position Size: Calculate based on the displayed R:R ratio
Component Checklist
Before entering, verify in the dashboard:
- ✅ Pole shows ✓ with 90%+ gain
- ✅ Flag shows ✓ (above 50-MA)
- ✅ Volume shows ✓ (1.4x+ pole volume)
- ✅ Technical shows ✓ (above 50-MA)
- ✅ Footer shows "◆ TIGHT" and "◆ RECENT"
----------------------------------------------------------------------------------------------
⚙️ Input Settings
Pattern Detection
- Pole Min Period: Minimum pole duration (default: 20 days / 4 weeks)
- Pole Max Period: Maximum pole duration (default: 40 days / 8 weeks)
- Minimum Gain %: Minimum pole advance (default: 90%)
- Good Gain %: Strong pole advance (default: 100%)
- Excellent Gain %: Exceptional pole advance (default: 120%)
Flag Consolidation
- Min Pullback %: Minimum flag pullback (default: 10%)
- Max Pullback %: Maximum flag pullback (default: 25%)
- Min Duration: Minimum flag duration (default: 5 days)
- Max Duration: Maximum flag duration (default: 25 days)
Signal Thresholds
- HTF Signal: Score threshold for valid HTF (default: 8.0)
- Partial Setup: Score threshold for partial setup (default: 5.5)
Visual Settings
- Show Dashboard: Toggle analysis dashboard
- Show Pattern Zones: Toggle pole/flag highlighting
- Show Price Levels: Toggle entry/target/stop lines
- Show Signal Labels: Toggle pattern labels
- Show Moving Averages: Toggle 50 & 200 MA display
- Dashboard Position: Choose from 6 positions
Technical Parameters
- 50-day MA: Period for 50-day moving average
- 200-day MA: Period for 200-day moving average
- RS Period: Lookback for relative strength (default: 126 days / 6 months)
----------------------------------------------------------------------------------------------
🔔 Alerts
Four built-in alert conditions:
- 🚀 HTF BREAKOUT: Price breaks above entry level with volume confirmation
- ⚡ HTF Setup Ready: Valid HTF at pivot, watch for breakout
- ⚡ Early Entry Signal: Volume expanding near pivot (Leif's specialty)
- ◇ Partial Setup: Forming setup worth monitoring
----------------------------------------------------------------------------------------------
📚 Educational Notes
Why HTF Patterns Work
The High Tight Flag represents the ultimate supply/demand imbalance:
- Explosive Pole: Institutions aggressively accumulate, driving price up 100%+
- Tight Flag: Weak hands sell, but no significant supply emerges
- Breakout: Remaining supply absorbed, price explodes to new highs
Historical Performance
According to O'Neil's research and Soreide's studies:
- Success rate: 69-85% when all criteria are met
- Average gain from breakout: 100-200%+
- Failure rate increases significantly if criteria are relaxed
Common Mistakes to Avoid
❌ Buying before breakout confirmation
❌ Ignoring volume requirements
❌ Trading flags that broke below 50-MA
❌ Accepting pullbacks deeper than 25%
❌ Trading old poles (flag must form immediately afterpole)
----------------------------------------------------------------------------------------------
This indicator is a tool to assist with pattern identification and should not be considered financial advice. Always:
- Conduct your own due diligence
- Manage risk appropriately
- Use proper position sizing
- Consider fundamental analysis alongside technical signals
Past performance of the High Tight Flag pattern does not guarantee future results.
📝 Credits & References
- William O'Neil - "How to Make Money in Stocks", CANSLIM methodology
- Leif Soreide - HTF Masterclass, pattern refinement research
- Investor's Business Daily - Pattern recognition standards






















