AlgoPilotX - Breakout & Breakdown Meter (v1)Version Note:
This is a revised and improved version of the AlgoPilotX – Breakout & Breakdown Meter. It includes expanded explanations of the underlying logic, variable usage, and originality to comply with TradingView guidelines.
AlgoPilotX – Breakout & Breakdown Meter is a structured trading tool that combines Fair Value Gap (FVG) detection, session-based support/resistance breakouts, and a clean market condition info panel. It’s designed to help traders spot potential setups early and confirm stronger breakouts or breakdowns with context from momentum, volatility, and trend indicators.
How It Works
Session Levels → The first candle high/low of the session defines dynamic support/resistance. Unlike static pivots, these levels update with each new trading session and reflect real intraday sentiment.
Fair Value Gaps (FVGs) → A three-candle imbalance highlights inefficiencies. When detected, the script marks the open of the third candle as a potential entry (light green/red arrow).
Pullback Confirmations → If price pulls back into session support/resistance and then breaks away strongly, a stronger entry signal (dark green/red arrow) is plotted.
Breakouts & Breakdowns → Additional arrows appear when price crosses decisively above resistance or below support.
Signal Hierarchy → Arrows vary by color/size:
Light = early/potential setups.
Dark/Large = stronger confirmations.
Info Panel Dashboard → RSI, MACD, Bollinger Bands, and EMAs are displayed in a compact table with both numeric values and Bullish/Bearish/Neutral states, color-coded for quick interpretation.
How the Functions and Variables Work Together
Session Levels (Support & Resistance)
The script uses time() and session inputs to identify the first candle of the chosen trading session.
Variables sessionHigh and sessionLow are stored with var so they persist until the next session.
These levels are then plotted as dynamic support/resistance lines. This approach is different from static pivots or daily highs/lows, because it adapts in real-time to the market open.
Fair Value Gap (FVG) Detection
Conditions check for three-candle imbalances ( low > high for bullish, high < low for bearish).
When detected, a potential entry is marked at the open of the third candle.
Variables fvgBull and fvgBear define this logic , making FVGs a core entry condition rather than a side overlay.
Entry Hierarchy (Light vs. Dark Arrows)
longPotentialEntry and shortPotentialEntry mark light green/red arrows as early signals.
pullbackToSupport and pullbackToResistance build on these by requiring price to return to session levels and then break away again.
This creates the dark green/red arrows for stronger entries, introducing a two-step filtering process.
Breakout & Breakdown Detection
breakAbove = ta.crossover(close, sessionHigh)
breakBelow = ta.crossunder(close, sessionLow)
These conditions confirm true breakouts or breakdowns beyond support/resistance, reducing noise.
Info Panel Construction
A table is created and updated each bar.
Functions like ta.rsi(), ta.ema(), ta.sma(), and ta.stdev() calculate RSI, MACD, EMAs, and Bollinger Bands.
Each indicator’s state is summarized into human-readable text (e.g., “Bullish,” “Bearish,” “Above,” “Oversold”) and displayed with color coding using the helper function f_stateColor().
Values are also displayed numerically (RSI, MACD histogram, EMA levels, BB width), making this a dashboard rather than just arrows on a chart.
Helper Function for States
f_stateColor(state) translates qualitative states into consistent colors (green for bullish/above, red for bearish/below, orange for neutral, purple for overbought/oversold).
This ensures that every signal in the info panel has a visual identity that traders can read instantly.
Alerts Integration
alertcondition() is tied to each major event: FVG potential entries, strong pullback confirmations, and breakout/breakdown signals.
This allows the script to be used for alerts, notifications and automation , not just visual charting.
How to Use
1. Default timeframe = 15m (adjustable).
2. The first session candle defines support & resistance.
3. Watch for arrows:
Light green (▲) below candle → Potential breakout long (FVG detected).
Dark green (▲) below candle → Strong breakout confirmation after pullback.
Light red (▼) above candle → Potential breakdown short (FVG detected).
Dark red (▼) above candle → Strong breakdown confirmation after pullback.
Larger arrows = higher confidence signals.
4. Check the Info Panel for context:
RSI → momentum
MACD → trend confirmation
Bollinger Bands → overbought/oversold
EMA20 & EMA50 → short- and medium-term trend bias
5. Always confirm with your own price action, volume, and risk management rules.
6. Easily move the Info Panel to any corner of the chart via settings to keep your view clear.
Why This Structure Is Original
Not a mashup : Instead of simply overlaying RSI, MACD, or EMAs, the script integrates them into a signal-filtering framework.
Dynamic anchoring: Session-based high/low variables make levels adaptive to intraday structure, unlike fixed pivots.
Dual entry tiering: Light vs. dark arrows are built by combining FVGs + pullback conditions, offering nuance most breakout scripts lack.
Dashboard-style panel: Variables are summarized into a real-time info box with both numbers and state labels, replacing multiple chart overlays with one compact tool.
Modular functions: Breakout, pullback, FVG detection, and indicator states are modularized with separate variables — making the script flexible, extendable, and unique in design.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice and does not guarantee profitable outcomes. Always backtest thoroughly, paper trade, and use proper risk management before trading live.
Candlestick analysis
BUY/SELL ✅ Fibonacci FULL TP 1-2-3-4 SL ATRUSE SL ATR
الفكرة العامة
تحديد الاتجاه (Bias):
يعتمد على المتوسط المتحرك 20 (SMA).
يقارن موقع الإغلاق داخل نطاق الشمعة.
يستخدم مؤشر انحراف (Linear Regression) كعامل إضافي.
إذا تحققت الشروط = إشارة شراء قوية (Bullish) أو بيع قوية (Bearish).
مستويات الدخول (ENTRY):
يتم حسابها من مناطق الـ OB (أعلى/أدنى سعر خلال عدد معين من الشموع).
يتم ضبطها باستخدام نسبة فيبوناتشي (افتراضياً 0.382).
وقف الخسارة (SL):
إما باستخدام OB (ذيل الشمعة السابقة). غير مستخسن
أو باستخدام مسافة ثابتة/ATR (حسب الإعدادات). مستخسن
أهداف الأرباح (TP1–TP4):
محسوبة كنِسب مضاعفة من قيمة المخاطرة (Risk).
مستويات TP مضبوطة بقيم فيبوناتشي (افتراضياً 1.15 – 1.85 – 2.618 – 3.618).
الرسم على الشارت:
يرسم خطوط أفقية لكل من: ENTRY – SL – TP1–TP4.
يضيف Labels ملونة (BUY باللون الأخضر، SELL بالبرتقالي).
الجدول (Table):
يظهر في الزاوية العلوية اليمنى.
يحتوي على تفاصيل الصفقة (النوع، ENTRY، SL، TP1–TP4).
التنبيهات (Alerts):
يصدر تنبيه عند ظهور إشارة شراء قوية أو بيع قوية.
General Idea
Bias Detection:
Based on the 20-period Simple Moving Average (SMA).
Compares the closing price position within the candle range.
Uses Linear Regression as an additional factor.
If conditions are met = strong Buy (Bullish) or strong Sell (Bearish) signal.
Entry Levels (ENTRY):
Calculated from OB zones (highest/lowest price within a certain number of candles).
Adjusted using Fibonacci ratio (default 0.382).
Stop Loss (SL):
Either using OB (previous candle’s wick) – not recommended.
Or using fixed distance/ATR (based on settings) – recommended.
Take Profit Targets (TP1–TP4):
Calculated as multiples of the risk value.
TP levels aligned with Fibonacci ratios (default 1.15 – 1.85 – 2.618 – 3.618).
Chart Drawing:
Draws horizontal lines for ENTRY – SL – TP1–TP4.
Adds colored labels (BUY in green, SELL in orange).
Table:
Displayed in the top-right corner.
Contains trade details (type, ENTRY, SL, TP1–TP4).
Alerts:
Sends an alert when a strong Buy or strong Sell signal appears.
Summary
This indicator:
Detects market bias (BUY/SELL).
Automatically calculates entry, stop loss, and targets.
Displays them on the chart with clear lines and colors.
Organizes the values inside a structured table.
Sends an alert with every new entry signal.
Tribute to David Paul & @LOKEN94
This is a simple remix of @LOKEN94 indicator, a tribute to David Paul. Its a more visually relaxing indicator that has the bottom and tops of the bullish and bearish backgrounds fitted to the moving averages themselves.
Im working on converting it into a strategy or adding a alert() library so you can have enough function calls to automate it through @TradersPostInc.
"I place my entrys where the masses place there stops" - David Paul. This indicator will help the consistently fearful trader progress into the consistently calm trader.
FVG (Nephew sam remake no bug)No bug nephew sam remake fvg indicator, just removed the bug that it had so it should work now. NO BUG
Strat Combo Detector (ATH)You can alter the timeframes and strat combos as described in the settings of the indicator. A tag will pop up with the strat combo on all time frames but presence of the strat combo will be specific to the timeframe chosen in the settings.
CNagda Anchor2EntryCNagda Anchor2Entry Pine Script v6 overlay indicator pulls higher-timeframe (HTF) signal events to define anchor high/low levels and then projects visual entry labels on the lower-timeframe (LTF). It also draws auto-oriented Fibonacci retracement/extension levels for context, but it does not execute orders, stops, or targets—only visual guidance.
Inputs
Key inputs include Lookback Length for HTF scanning and a Signal Timeframe used with request.security to import HTF events onto the active chart.
Entry behavior can be set to “Confirm only” or “Wait candle,” trade side can be restricted to Buy/Sell/Both, and individual strategies (Buy WAIT/S1; Sell REV/S1/S2/S3) can be toggled.
HTF logic
The script defines WAIT/BUY setup and confirmation, SELL reversal on breaking the WAIT BUY low, and several volume/candle-based patterns (Sell S1/S2/S3, Buy S1).
It captures the associated highs/lows at those events with ta.valuewhen and imports them via request.security to form anchors (anc_hi/anc_lo) and “new trigger” booleans that gate label creation on the LTF.
Flip entries
When enabled, “Flip entries” generate contrarian labels based on breaking or confirming HTF anchors: crossing above anc_hi can trigger a flip-to-sell label, and crossing below anc_lo can trigger a flip-to-buy label.
The flip mode supports Immediate (on cross) or Confirm (on sustained break) to control how strict the trigger is.
Fibonacci drawing
User-specified Fib levels are parsed from a string, safely converted to floats, and drawn as dotted horizontal lines only when they fall inside an approximate visible viewport. Orientation (up or down) is decided automatically from pending signal direction and a simple context score (candle bias, trend, and price vs. mid), with efficient redraw/clear guards to avoid clutter.
Dynamic anchors
If HTF anchors are missing or too far from current price (checked with an ATR-based threshold), the script falls back to local swing highs/lows to keep the reference range relevant. This dynamic switch helps Fib levels and labels remain close to current market structure without manual intervention.
Signal labels
Labels are created only on confirmed bars to avoid repainting noise, with one “latest” label kept by deleting the previous one. The script places BUY/SELL labels for WAIT/CONFIRM, direct HTF patterns (Buy S1, Sell S1/S2/S3), and contrarian flip events, offset slightly from highs/lows with clear coloring and configurable sizes.
Visual context
Bars are softly colored (lime tint for bullish, orange tint for bearish) for quick context, and everything renders as an overlay on the price chart. Fib labels include a Δ readout (distance from current close), and line extension length, label sizes, and viewport padding are adjustable.
How to use
Set the Signal Timeframe and Lookback Length to establish which HTF structures and ranges will drive the anchors and entry conditions. Choose entry flow (Wait vs Confirm), enable Flip if contrarian triggers are desired, select the trade side, toggle strategies, and customize Fibonacci levels plus dynamic-anchor fallback for practical on-chart guidance.
Notes
This is a visual decision-support tool; it does not place trades, stops, or targets and should be validated on charts before live use. It is written for Pine Script v6 and relies heavily on request.security for HTF-to-LTF transfer of signals and anchors.
bretton signal bot — Telegram JSON (fixed)This is a signal based script used to predict buy or sell in 1-7.5 minutes
Trend Continuation IndicatorTrendContinuation Indicator
The TrendContinuation indicator is a tool for identifying potential long and short setups in trending markets. It combines three elements: candlestick pattern recognition, RSI filtering, and a higher-timeframe EMA.
EMA filter: The EMA defines the main trend.
If price is above the EMA → only long setups are considered.
If price is below the EMA → only short setups are considered.
RSI filter: The RSI is used to avoid trades against momentum, with customizable overbought and oversold levels.
Candlestick signals: When conditions align, the indicator prints a green arrow for a possible long setup or a red arrow for a possible short setup.
Settings
RSI Length: default 14
Overbought/Oversold Levels: default 60 / 40
EMA Length: default 60
Timeframe for EMA: must always be set to a higher timeframe than the chart you are on (e.g., using a 15m EMA on a 2m chart).
ATR Candle Multiplier and Swing Low Lookback Bars: optional parameters for fine-tuning.
Important Notes
The EMA timeframe setting is critical: if it is not higher than the current chart timeframe, the indicator will not work correctly.
This indicator should not be used as a standalone system. It is intended as an additional tool that can support trade decisions when combined with other analysis methods.
Users are encouraged to test different settings and timeframes to find what works best for their own strategy.
Pattern Match & Forward Projection – Weekly (v6.0)
📊 Pattern Match & Forecast Indicator (Weekly)
This custom indicator is designed to identify recurring price patterns in historical data and then forecast potential outcomes into the future. It works by scanning past price movements over a defined lookback period and comparing them with the current market structure. When a sufficiently close match is found, it generates a forward projection that traders can use as a reference for possible scenarios.
🔧 Key Features & Parameters
Lookback period (bars/weeks): Defines how far back the script searches for similar price patterns (e.g., 750 weekly bars in this chart).
Match threshold (distance/shape similarity): Controls how closely past price patterns must resemble the current one.
Forward projection length: Determines how many bars ahead the indicator will forecast.
In this example, the projection covers the next 10 weeks 📅.
Traders can freely adjust this value (e.g., 5 weeks, 20 weeks, or more) depending on their strategy.
Return filters: Minimum % return requirement for a match to be considered valid (e.g., ≥ 1.5%).
Hit rate requirement: Sets the minimum historical success rate (e.g., ≥ 60%).
Averages & probabilities: Displays expected forward performance at different horizons (+2w, +4w, +8w, etc.).
📈 How It Helps
Detects historical analogs to current price action.
Provides forward-looking forecasts based on recurring structures.
Helps filter out weak signals by using statistical significance (hit rate + return filter).
Can be combined with other tools (Bollinger Bands, RSI, ATR) for confirmation.
⚙️ Customizable Parameters
Lookback window (number of bars to scan).
Similarity threshold (strict vs flexible pattern matching).
Projection horizon (how far ahead to forecast: 5–50 weeks or more).
Return & hit filters (to only keep high-probability setups).
Open Close MA's 📈📉⸻
📈 Open Close MA’s
This indicator helps you see the relationship between the market’s open and close prices by tracking them with Moving Averages (MA’s).
4 different Moving Averages can be selected: EMA (Exponential), SMA (Simple), HMA (Hull), and SMMA (Smoothed).
For those who aren’t sure which Moving Average is “right for them”… here’s a basic breakdown:
- Smoothed is the slowest (trendy)
- Simple is less slow
- Exponential reacts faster
- Hull is fast, yet smooth, and can be predictive
Keep in mind, the Length of any Moving Average is essential to the timeframe and strategy you are running.
Visually, this is what the indicator does:
• One line follows the average of closing prices of each candle.
• Another line follows the average of opening prices of each candle.
• When the close average is above the open average → the market is leaning bullish ⬆️.
• When the close average is below the open average → the market is leaning bearish ⬇️.
The indicator makes this easy to see by coloring the area between the two lines green (bullish) or orange (bearish). You can also turn on optional buy/sell markers whenever the two lines cross.
NOTE: Depending on the Base Timeframe field, the two lines crossing can occur in rapid succession, and should not (in and of itself) be considered a reason to enter a trade Long or Short.
⸻
Customization
• Choose between EMA, SMA, HMA, or SMMA.
• Adjust colors and transparency for bullish/bearish zones.
• Optional signal markers show crossover points.
• Base Timeframe is in minutes (default 5m), increase/decrease to match your timeframe for the most responsive Open/Close Moving Averages along those candles. For longer term trend information, increase beyond your timeframe (example: 30m setting on a 5m chart).
⸻
• Close MA (c) and Open MA (o) are calculated separately using selected MA type.
• Dynamic length (len_i) scales based on base timeframe input (default 5m), so the smoothing adapts intelligently across different chart timeframes.
• Bull/Bear bias = c > o. The fill between the two lines switches colors accordingly.
• SMMA is implemented as a recursive calculation (similar to TradingView’s RMA, but explicitly coded here).
• Buy/Sell markers are triggered on ta.crossover(c, o) and ta.crossunder(c, o).
⸻ End of Line 📉 ———
All Levels This script draws key price levels on your chart, including:
• Previous Day (PD): High, Low, Close
• Day Before Yesterday (DBY): High, Low, Close
• Pre-Market (PM): High and Low
• Today’s levels: High, Low, Open, Close
• Current bar levels: High, Low, Open, Close
Each level is displayed as a horizontal line with a label showing the level value.
It works on any timeframe, including 1-minute charts, and automatically updates as new bars form.
⸻
2. Features
1. Custom Colors
Each type of level has its own color, declared as a const color. For example:
• Previous Day High = red
• Today’s Close = gold
• Pre-Market High = fuchsia
2. Right-Extending Lines
All horizontal levels extend to the right, so you always see them on the chart.
3. Persistent Labels
Every line has a label at the right side showing its name and price. For example:
• PDH 422
• TODL 415.5
4. Dynamic Updates
The script updates automatically whenever a new bar forms, so levels stay accurate.
5. Session-Based Pre-Market
You can define the pre-market session (default “04:00–09:30 EST”). The script calculates the high and low of this session only.
6. Checkbox Inputs
You can enable/disable entire groups of levels:
• Previous Day
• Day Before Yesterday
• Pre-Market
• Today
• Current bar
15m-REMA Breakout [XAU + XAG] – MusDescription
This indicator is designed to capture high-conviction breakout opportunities on gold (XAUUSD) and silver (XAGUSD) using a zero-lag Recursive EMA (REMA) as the trend backbone, combined with volatility and body-strength filters.
It is tuned for the 15-minute timeframe, where metals often show sharp moves after consolidation.
How it works
Zero-Lag REMA → Smooth but responsive trend detection.
ATR-based Breakout Filter → Confirms that price clears recent highs/lows with volatility support.
Body Size & Buffer Rules → Blocks weak candles and fake breaks near range levels.
Trend Filter (optional) → Only allows signals in the dominant REMA slope direction.
De-duplication Logic → Avoids repeated signals on consecutive bars.
Signals
Green ▲ (Bull Breakout): Candle breaks above recent range with strength.
Red ▼ (Bear Breakout): Candle breaks below recent range with strength.
Optional Pivots: Micro pivot highs/lows for additional context.
REMA Line: Plotted in teal (uptrend) or orange (downtrend).
Inputs / Customisation
REMA period & sensitivity.
ATR lookback and multiplier.
Minimum candle body (%).
Buffer multiplier to reduce noise.
Trend filter on/off.
Toggle arrows & pivot markers.
Best Practice
Apply on XAUUSD / XAGUSD, 15-minute charts.
Use as a confirmation tool, not a standalone entry system.
Combine with higher-timeframe bias or your own risk management.
Alerts
Built-in alert conditions let you set automated notifications for bullish or bearish breakouts at bar close.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Always test on demo before applying to live trading.
XAU/USD Day Trading Alarm 15M (v6) • EMA-RSI-MACD + ATR TP/SLDay Trading Alarm for XAU/USD – 15M (EMA-RSI-MACD + ATR TP/SL)
This indicator is specifically designed for gold (XAU/USD) trading on the 15-minute timeframe.
It combines EMA trend filtering, RSI overbought/oversold signals, and MACD momentum confirmation to generate reliable entry points.
Additionally, it automatically calculates ATR-based Stop Loss (SL) and Take Profit (TP) levels according to your chosen Risk/Reward ratio, displaying them directly on the chart.
Super QQE MODThis indicator combines smoothed RSI momentum, QQE trend lines, and histograms to highlight potential trend reversals and strong momentum moves. yellow bars indicate bullish momentum building, brownish bars indicate bearish momentum. Confirm trends with the white QQE line relative to its dynamic bands. Use the zone lines as oversold/overbought references. Adjust the RSI length, QQE factor, and thresholds for your timeframe and asset volatility to filter weaker signals.
It is an advanced oscillator and trend-following indicator combining:
RSI (Relative Strength Index) – smoothed and used to track momentum.
QQE (Quantitative Qualitative Estimation) – smooths RSI volatility and generates dynamic trailing bands.
highlights key turning points
Bollinger-style thresholds – visually flag overbought/oversold conditions relative to dynamic QQE bands.
Smart Money Entry Detector (Bullish + Bearish)//@version=5
indicator("Smart Money Entry Detector (Bullish + Bearish)", overlay=true)
// === Volatility (ATR)
atr = ta.atr(14)
atrAvg = ta.sma(atr, 14)
volatilitySpike = atr > atrAvg * 1.3
// === Volume Spike
volAvg = ta.sma(volume, 20)
volumeSpike = volume > volAvg * 1.5
// === RSI Confirmation
rsi = ta.rsi(close, 14)
rsiBull = rsi > 50
rsiBear = rsi < 50
// === EMA Crossover
emaFast = ta.ema(close, 9)
emaSlow = ta.ema(close, 21)
bullishCross = ta.crossover(emaFast, emaSlow)
bearishCross = ta.crossunder(emaFast, emaSlow)
// === Bullish Order Block
isBullOB = close < open and close > open and close > close
bullLow = low
bullHigh = high
bullRetest = low <= bullHigh and low >= bullLow
// === Bearish Order Block
isBearOB = close > open and close < open and close < close
bearHigh = high
bearLow = low
bearRetest = high >= bearLow and high <= bearHigh
// === Entry Signals
bullEntry = isBullOB and bullRetest and volumeSpike and volatilitySpike and rsiBull and bullishCross
bearEntry = isBearOB and bearRetest and volumeSpike and volatilitySpike and rsiBear and bearishCross
// === Plotting
plotshape(bullEntry, location=location.belowbar, color=color.green, style=shape.triangleup, title="Bullish Smart Entry")
plotshape(bearEntry, location=location.abovebar, color=color.red, style=shape.triangledown, title="Bearish Smart Entry")
// === Alerts
alertcondition(bullEntry, title="Bullish Smart Entry", message="Bullish order block retest with confirmation!")
alertcondition(bearEntry, title="Bearish Smart Entry", message="Bearish order block retest with confirmation!")
Chandelier Exit + Zero Lag SMA Chandelier Exit + Zero Lag SMA No Consecutive Signals
Overview
This Pine Script indicator combines the Chandelier Exit (based on ATR) with the Zero Lag SMA to generate reliable buy and sell signals for scalping on BTC/USDT, optimized for the 5-minute timeframe. Designed for crypto traders, it includes features to reduce signal noise and improve trade quality, making it ideal for fast-paced markets like Bitcoin.
Key Features
Chandelier Exit: Uses ATR (period=1, multiplier=2.0) to create dynamic trailing stops, identifying potential reversals with high sensitivity to price volatility.
Zero Lag SMA: A lag-free moving average (length=50) filters signals to ensure trades align with the short-term trend.
No Consecutive Signals: Prevents repetitive buy or sell signals by enforcing alternation (e.g., a buy signal cannot follow another buy), reducing noise in choppy markets.
Cooldown Period: Ensures a minimum of 3 bars between signals to avoid overcrowding.
Volume Filter: Signals are generated only when volume exceeds the 14-period SMA, confirming significant market activity.
Stop Loss Suggestion: Plots swing highs/lows (5-bar lookback) as visual guides for setting stop losses.
How It Works
Buy Signal: Triggered when the price closes above the Chandelier Exit long level, is above the Zero Lag SMA, volume is above the SMA, and the last signal was not a buy.
Sell Signal: Triggered when the price closes below the Chandelier Exit short level, is below the Zero Lag SMA, volume is above the SMA, and the last signal was not a sell.
Visualization:
Green triangles below bars for buy signals.
Red triangles above bars for sell signals.
White line for Zero Lag SMA.
Gray circles for swing low (buy SL) and swing high (sell SL).
Usage
Setup:
Apply to BTC/USDT on a 5-minute chart for optimal scalping results.
Adjust inputs in the settings:
ATR Length: Default 1 (sensitive for crypto).
ATR Multiplier: Default 2.0 (adjust for signal frequency).
Zero Lag SMA Length: Default 50 (trend filter).
Cooldown Bars: Default 3 (space between signals).
Volume MA Length: Default 14 (volume filter sensitivity).
Trading:
Enter long on green triangles, short on red triangles.
Set stop loss at swing low (buy) or swing high (sell), shown as gray circles.
Exit on Zero Lag SMA crossover or use a fixed risk-reward ratio (e.g., 1:2).
Use low leverage (1-5x) and test on a demo account first.
Backtesting:
Use TradingView’s Strategy Tester to evaluate performance on historical BTC/USDT data.
Best in volatile sessions (e.g., Asian/European overlaps).
Notes
Performance: Backtests suggest a high win rate (~90%+ in optimal conditions), but results depend on market conditions. Always validate with paper trading.
Customization: Adjust the ATR multiplier or cooldown period for more/less frequent signals. Add RSI or other filters for enhanced precision (reach out for help!).
Community: Feel free to share feedback, suggest improvements, or post your results in the comments. Let’s refine this together!
Disclaimer
This indicator is for educational purposes only and not financial advice. Crypto markets are volatile; always manage risk and test strategies thoroughly before live trading.
Happy scalping, and thanks for trying this indicator!
2MAクロス+直近1時間足高値・安値① You can place a circle at the intersection of two SMAs. The Japanese MA value can be changed. You can also change the number of circles to go back. ② A horizontal line is drawn at the high and low of the most recent confirmed candlestick on the 1-hour time frame. This is useful for finding out the high and low of the previous 1-hour time frame on the lower time frame. ③ Both logics can be displayed or hidden.
Multi TF Line Panel (5M–45M)//@version=5
indicator("Multi TF Line Panel (5M–45M)", overlay=false)
// Symbol chart
sym = syminfo.tickerid
// Ambil data close dari beberapa TF
c5 = request.security(sym, "5", close)
c10 = request.security(sym, "10", close)
c15 = request.security(sym, "15", close)
c30 = request.security(sym, "30", close)
c45 = request.security(sym, "45", close)
// Plot garis di panel terpisah
plot(c5, color=color.lime, linewidth=2, title="Close 5M")
plot(c10, color=color.aqua, linewidth=2, title="Close 10M")
plot(c15, color=color.blue, linewidth=2, title="Close 15M")
plot(c30, color=color.orange, linewidth=2, title="Close 30M")
plot(c45, color=color.red, linewidth=2, title="Close 45M")
Fractals (TRUETRADERS)Fractals Indicator by TrueTraders
The Fractals Indicator by TrueTraders is a powerful technical analysis tool designed to help traders identify potential market reversal points. Based on the classic concept developed by Bill Williams, this enhanced version highlights local highs and lows (fractals) on the price chart, making it easier to spot key turning points in market structure.
A fractal forms when a specific five-bar pattern appears:
A bullish fractal (potential reversal to the upside) occurs when a candle with the lowest low is preceded and followed by two candles with higher lows.
A bearish fractal (potential reversal to the downside) occurs when a candle with the highest high is preceded and followed by two candles with lower highs.
Key Features:
Clear visual markers on the chart for both bullish and bearish fractals
Helps identify key support and resistance zones
Useful for spotting trend reversals and entry/exit points
Can be use
Fractals (VLAD_FX)//@version=5
indicator('Fractals (VLAD_FX)', overlay=true)
var GRP1 = "••••••• FRACTALS •••••••"
showFractals = input.bool(true, title='Show fractal points?', group=GRP1)
filterFractal = input.string(title='Filter 3/5 bar fractal', defval='3', options= , group=GRP1)
// Fractals
isRegularFractal(mode, n) =>
ret = mode == 'Buy' ? high < high and high < high : mode == 'Sell' ? low > low and low > low : false
ret
isBWFractal(mode, n) =>
ret = mode == 'Buy' ? high < high and high < high and high < high and high < high : mode == 'Sell' ? low > low and low > low and low > low and low > low : false
ret
isFractalHigh(i) =>
filterFractal == '3' ? isRegularFractal('Buy', i) : isBWFractal('Buy', i + 1)
isFractalLow(i) =>
filterFractal == '3' ? isRegularFractal('Sell', i) : isBWFractal('Sell', i + 1)
plotshape(showFractals and isFractalHigh(1), title='Fractal High', style=shape.triangledown, location=location.abovebar, color=color.new(color.red, 0), offset=filterFractal == '3' ? -1 : -2, size=size.auto)
plotshape(showFractals and isFractalLow(1), title='Fractal Low', style=shape.triangleup, location=location.belowbar, color=color.new(color.lime, 0), offset=filterFractal == '3' ? -1 : -2, size=size.auto)
//Pivots
var GRP2 = "••••••• PIVOTS •••••••"
ShowPivots = input(title='Show Pivot points?', defval=false, group=GRP2)
lb = input.int(5, title="Left Bars", minval = 1, inline="1", group=GRP2)
rb = input.int(4, title="Right Bars", minval = 1, inline="1", group=GRP2)
showHHLL = input.bool(true, title='Show HH/LL?', group=GRP2)
hhCol = input.color(color.lime, 'HH', inline="2", group=GRP2)
lhCol = input.color(color.red, 'LH', inline="2", group=GRP2)
llCol = input.color(color.red, 'LL', inline="2", group=GRP2)
hlCol = input.color(color.lime, 'HL', inline="2", group=GRP2)
var pivotHighs = array.new_float(3)
var pivotLows = array.new_float(3)
ph = ta.pivothigh(lb, rb)
ph1 = ta.valuewhen(ph, high , 1)
phSince = ta.barssince(ph)
pl = ta.pivotlow(lb, rb)
pl1 = ta.valuewhen(pl, low , 1)
hh = ph > ph1
lh = ph < ph1
ll = pl < pl1
hl = pl > pl1
_transparent = color.new(color.white, 100)
plotshape(ph and ShowPivots and hh, title='HH', style=shape.triangledown, location=location.abovebar, text="HH", textcolor=showHHLL ? hhCol : _transparent, color=hhCol, offset=-rb, size=size.auto)
plotshape(ph and ShowPivots and lh, title='LH', style=shape.triangledown, location=location.abovebar, text="LH", textcolor=showHHLL ? lhCol : _transparent, color=lhCol, offset=-rb, size=size.auto)
plotshape(pl and ShowPivots and ll, title='LL', style=shape.triangleup, location=location.belowbar, text="LL", textcolor=showHHLL ? llCol : _transparent, color=llCol, offset=-rb, size=size.auto)
plotshape(pl and ShowPivots and hl, title='HL', style=shape.triangleup, location=location.belowbar, text="HL", textcolor=showHHLL ? hlCol : _transparent, color=hlCol, offset=-rb, size=size.auto)
var lastPH = "na"
var lastPL = "na"
if ph
if hh
lastPH := 'HH'
else if lh
lastPH := 'LH'
// label.new(bar_index, high, str.tostring(lastPH), style=label.style_none, textcolor=color.white)
Simple Turnover (Enhanced v2)📊 Simple Turnover (Enhanced)
🔹 Overview
The Simple Turnover Indicator calculates a stock’s turnover by combining both price and volume, and then compares it against quarterly highs. This helps traders quickly gauge whether market participation in a move is strong enough to confirm a breakout, or weak and likely to be false.
Unlike volume alone, turnover considers both traded volume and price level, giving a truer reflection of capital flow in/out of a stock.
________________________________________
🔹 Formulae Used
1. Average Price (SMA)
AvgPrice=SMA(Close,n)
2. Average Volume (SMA)
AvgVol=SMA(Volume,n)
3. Turnover (Raw)
Turnover raw=AvgPrice × AvgVol
4. Unit Adjustment
• If Millions → Turnover = Turnover raw × 10^−6
• If Crores → Turnover = Turnover raw × 10^−7
• If Raw → Turnover = Turnover raw
5. Quarterly High Turnover (qHigh)
Within each calendar quarter (Jan–Mar, Apr–Jun, Jul–Sep, Oct–Dec), we track the maximum turnover seen:
qHigh=max (Turnover within current quarter)
________________________________________
🔹 Visualization
• Bars → Color follows price candle:
o Green if Close ≥ Open
o Red if Close < Open
• Blue Line → Rolling Quarterly High Turnover (qHigh)
________________________________________
🔹 Strategy Use Case
The Simple Turnover Indicator is most effective for confirming true vs false breakouts.
• A true breakout should be supported by increasing turnover, showing real capital backing the move.
• A false breakout often occurs with weak or declining turnover, suggesting lack of conviction.
📌 Example Strategy (3H timeframe):
1. Identify a demand zone using your preferred supply-demand indicator.
2. From this demand zone, monitor turnover bars.
3. A potential long entry is validated when:
o The current turnover bar is at least 20% higher than the previous one or two bars.
o Example setting: SMA length = 5 (i.e., turnover = 5-bar average close × 5-bar average volume).
4. This confirms strong participation in the move, increasing probability of a sustained breakout.
________________________________________
🔹 Disclaimer
⚠️ This indicator/strategy does not guarantee 100% accurate results.
It is intended to improve the probability of identifying true breakouts.
The actual success of the strategy will depend on price action, market momentum, and prevailing market conditions.
Always use this as a supporting tool along with broader trading analysis and risk management.
Stochastic Divergence📊 How to Interpret the Levels
🔻 Bearish Divergence
61.8 level → Strong bearish divergence
If the price makes a higher high but the Stochastic makes a lower high near 61.8, it’s a high-conviction short.
69.1 level → Weak bearish divergence
The same setup, but at 69.1 it's valid, although less reliable. Treat it as a secondary confirmation.
🔺 Bullish Divergence
38.2 level → Strong bullish divergence
If price makes a lower low but Stochastic makes a higher low near 38.2, it’s a high conviction long.
30.9 level → Weak bullish divergence
Same setup, but at 30.9 is weaker. Supportive, but not primary.
🔄 Continuation
Bounce at the 50 line → Continuation.
If Stoch pulls back and holds/bounces off 50, it signals trend continuation (bullish if above, bearish if below).
⚖️ Hierarchy of Strength
61.8 / 38.2 → A-Tier (strongest divergence signals)
69.1 / 30.9 → B-Tier (secondary / softer signals)
50 → Continuation (trend confirmation, not reversal)
🧠 Why This Matters
Traditional Stochastic only looks at overbought (80) and oversold (20).
By layering in Fibonacci retracement levels, you refine where divergences have teeth.
This prevents false signals at weaker spots and helps you assess divergence strength accurately.