2-Year MA + Adjustable MA + Offset MidlineProvides a very accurate macro channel to gauge tops and bottoms for Bitcoin.
Cycles
BG CloseCandleThis simple yet effective strategy script allows you to schedule automated entries (Buy or Sell) at three customizable times throughout the trading day. Each session can be individually enabled, with its own execution time and trade direction.
You can define:
• Entry time (Hour & Minute) for each session
• Whether each session should execute a Buy or a Sell order
• Your preferred Take Profit and Stop Loss levels (in ticks)
• Lot size per order
The strategy is designed specifically for the 1-minute timeframe, offering the most precise execution of time-based entries. It resets automatically each day and limits the number of trades to a maximum of three per session.
📌 I personally use this strategy on the Nasdaq 100 E-mini Futures (NQ) for intraday setups and session-based candle closes.
Perfect for testing market behavior at defined moments — ideal for overnight, premarket, or close-of-candle strategies.
Thank you for your interest, and wishing you profitable trading
X HL QA market structure tool designed to frame price action within a defined context of prior session dynamics. It accomplishes this by anchoring a set of reference levels to the high, low, and open prices of a user-specified higher timeframe (e.g., 4H, 1D, etc.) and projecting those levels onto the current chart for ongoing analysis.
At its core, the indicator establishes a reference range—derived from the previous completed instance of the selected timeframe—and overlays this on the current timeframe. This range serves as a foundational structure for price interpretation in the current session.
Building upon this framework, the script constructs a set of symmetrical quadrants (or deviation zones) both inside and outside of the prior range. These include:
The midpoint (EQ) of the prior range
Levels at ±0.25x, ±0.75x, ±1.0x, ±1.5x, and ±2.0x the range height
These levels act as contextual zones that traders can use to interpret price behavior—whether it's consolidating within the prior range, approaching fair value (EQ), or expanding into directional continuation or reversal zones beyond the range.
The script operates in both real-time and historical contexts. On live bars, it dynamically updates the key levels to provide an evolving view of current price positioning. Simultaneously, it supports the display of historical levels for past sessions, enabling robust backtesting and comparative analysis of price behavior relative to previous quadrant structures.
Ultimately, this tool serves as a positional map, helping traders assess where price is trading relative to significant levels from the prior session, offering insights into potential support/resistance, overextension, or mean reversion scenarios.
Key Technical Features
Multi-Timeframe Support:
request.security() is used to pull data from a user-defined higher timeframe regardless of the current chart interval.
Visual Flexibility:
Toggle between "line" and "channel" mode.
Line color, width, and visibility are all user-controlled.
Anchoring Options:
Deviation levels can be calculated from either the previous period's open or its EQ (midpoint), giving flexibility depending on analytical preference.
Efficient Labeling:
Labels are only rendered on the last bar and are automatically cleared and redrawn to prevent duplication.
Label style, size, text color, and background color are all user-configurable.
Trading Application
This indicator is especially suited for:
1. Mean Reversion Strategies
When price moves beyond +1.0 or +1.5 deviations from the EQ or open, it may signal overextension and a potential snap back to the midpoint or range.
2. Breakout Confirmation
Sustained price action beyond ±1.0 levels may indicate trend strength or continuation beyond historical balance zones.
3. Contextual Range Awareness
EQ and Open provide structure from which traders can judge whether price is in a state of balance or imbalance.
Labels offer at-a-glance interpretation of key levels across any chosen timeframe.
4. Fractal and Multi-Session Analysis
Analysts can layer daily, weekly, and monthly versions of this indicator to observe confluence or divergence of higher timeframe structure.
unprofitable stratThe indicator is a comprehensive trend-following indicator for TradingView. It's designed to identify and trade in the direction of the market's primary trend while using a dynamic, volatility-based system for exits. It filters out counter-trend noise and provides a clear visual dashboard of market conditions.
Core Trading Strategy
The indicator's logic is based on a two-part confirmation system to ensure trades are only taken in favorable conditions.
Master Trend Filter: The indicator first determines the "master trend" by checking if the price is above or below a long-term (200-period) Exponential Moving Average (EMA). It will only look for BUY signals when the price is above this EMA (in a master bullish trend) and only look for SELL signals when the price is below it. This prevents fighting the main market current.
Entry Trigger: Once the master trend is confirmed, the indicator doesn't enter immediately. It waits for a secondary confirmation: a breakout above a recent swing high (for a BUY) or a breakdown below a recent swing low. This ensures that short-term momentum has aligned with the long-term trend before a signal is generated.
Dynamic Exit Strategy
Exits are not based on a fixed target. Instead, the indicator uses a professional-grade ATR-based Trailing Stop Loss.
This "smart" stop loss automatically trails behind a profitable trade. It moves up to lock in gains during a BUY trade but never moves down.
The distance of the stop from the price is determined by the Average True Range (ATR), meaning it gives the trade more room to breathe in volatile markets and tightens up to protect profits in calm markets.
An "EXIT" signal appears on the chart when the price finally pulls back and hits this trailing stop line.
Visual Features on the Chart
The indicator provides several visual aids to make the trading process clear and intuitive.
Custom-Plotted Candles: The indicator draws its own candlesticks that are colored based on the trade status:
Blue: An active BUY trade is in progress.
Purple: An active SELL trade is in progress.
Gray: The indicator is flat with no active trade.
Signal Labels: Clear "BUY", "SELL", and "EXIT" labels are plotted directly on the chart at the moment they occur.
Trailing Stop Line: A bright orange line appears and follows the price during a trade, showing you the exact level of your trailing stop loss.
Multi-Timeframe Table: An optional dashboard in the top-right corner displays the master trend status ("Bullish" or "Bearish") on the 1m, 5m, 15m, 1-hour, and 4-hour timeframes simultaneously.
Trend Background: An optional feature allows you to color the entire chart background light blue or purple to match the master trend direction.
Price Density Strategy ScoreBased on the rules we defined, a composite score (-3 to +3) is calculated and displayed as colored bars below the chart:
Dark green (+3): Strong buy signal
Light green (+1, +2): Mildly bullish
Gray (0): Neutral
Light red (-1, -2): Mildly bearish
Dark red (-3): Strong sell signal
根据我们定义的规则,计算一个综合分数(-3 到 +3),并在图表下方用不同颜色的柱状图显示出来:
深绿色 (+3):强力买入信号
浅绿色 (+1, +2):温和看涨
灰色 (0):中性
浅红色 (-1, -2):温和看跌
深红色 (-3):强力卖出信号
MACD Triple divergence signalsThis script is a basic combination of several scripts that I found very useful. It's a MACD divergence on steroids. Instead of using only one plot as a source for detecting divergence, I use all of the plots.
The idea is that if more divergence signals appear—especially after a prolonged downtrend or uptrend—they can be interpreted as a strong divergence signal.
The third divergence signal is taken from the MACD signal line. It has a longer-term lookback range, which could provide a more reliable divergence signal.
The default minimum lookback range is 15, much greater than the usual value of 5. This makes it more suitable for long-term trading or for lower timeframes (lower than 4H) to reduce noise from excessive signals. For timeframes higher than 4H, the setting can be reduced to around 10 or even 5.
For the 1W (weekly) timeframe, try using a value of 3.
I also added a band to give a clear visual of overbought and oversold areas. It works similarly to Bollinger Bands (BB). You can spot when the price is ranging or when a stop-loss hunt occurs (i.e., the price breaks the band).
Please do your homework—backtest it yourself to find which timeframe suits you best. You can also tweak the settings if you find the default values too aggressive or too mild.
I’ve found that MACD is more reliable on timeframes greater than 1H. Personally, I use it on the 4H and 1D timeframes.
in bahasa:
MACD dengan 3 sinyal divergence, kalau muncul lebih banyak, bisa jadi sinyal lebih menyakinkan.
Minimum lookback range default-nya 15 agar tidak muncul terlalu banyak sinyal. 15 lebih panjang, lebih ok. Kalau main di higher timeframe seperti 1D, bisa 5-10, kalau weeky timeframe = 3.
Untuk band, cek ketika plot-nya keluar dari band, itu bisa jadi jackpot, apalagi kalau plot-nya membentuk double bottom.
Backtest sendiri, siapa tahu kalian bisa dapet setting sendiri.
MACD with upper and lower band will give you a clear visual of price movements
More divergence signals are generated and when the price breaks out of the oversold band = jackpot.
2-Year MA + Scaled + % OffsetGives you a reliable channel to gauge macro tops and bottoms for Bitcoin.
Step 1: Draw Thursday HighScript Description: Thursday High Marker
This is an automated charting tool designed to identify the high of each Thursday and display it as a key reference level for future trading sessions.
Core Functionality:
The script's logic is simple and precise. It waits for the trading session on Thursday to complete. At the very beginning of Friday, it looks back, finds the highest price from Thursday, and draws a clean, white horizontal line at that level.
Key Features:
Automatic: You don't need to do anything. The script finds and draws the level on its own every week.
Forward-Looking: The line extends to the right indefinitely, allowing you to see how future price action interacts with this key level.
Self-Cleaning: To keep your chart uncluttered, the script automatically deletes the previous week's line when it draws the new one.
Lightweight: It performs a single, simple task, so it doesn't slow down your chart.
Purpose in Trading:
Traders use this kind of indicator to track significant weekly price points. The high of a late-week session like Thursday is often considered an important liquidity level. A break above this line can signal bullish strength or a "liquidity sweep," making it a valuable point of interest for making trading decisions on Friday and into the following week.
JS Elite XAUUSD Scalper v1.0📈 Elite XAUUSD Scalper v1.0 – A Premium Scalping Strategy for Gold
The Elite XAUUSD Scalper v1.0 is a high-performance scalping strategy designed to capture quick price movements in the XAUUSD (Gold) market. Built with precision and optimized for intraday trading, this strategy uses a combination of Fast & Slow EMAs, ATR (Average True Range), and advanced Order Block & Liquidity Sweep logic to identify profitable opportunities in real-time.
Key Features:
Multiple Confluences: The strategy utilizes the HTF Trend Filter, RSI, Volume Analysis, and Order Blocks to ensure that trades are placed with the highest probability of success.
Real-time Entry & Exit Signals: Automated long and short entries with Take-Profit (TP), Stop-Loss (SL), and Partial TP levels for precise risk management.
Trailing Stop: Automatically trails stop-loss to lock in profits as the price moves in your favor, ensuring that you can ride the trend while protecting your gains.
Alerts: Get notified of long and short signals in real-time via TradingView alerts. Never miss a trade!
Strategy Logic:
Trend Filter: The strategy incorporates a higher time-frame (HTF) trend filter, which ensures that trades are taken only in the direction of the overall trend.
Scalping Precision: The Fast EMA (4) and Slow EMA (14) ensure timely entry and exit points, while the ATR (2) adds an extra layer of risk management, ensuring your stops are intelligently placed.
Risk-to-Reward: Set to a 2:1 reward-to-risk ratio, with an option for partial take-profit at 1.2x RR, allowing you to lock in gains while letting the trade run.
Order Block & Liquidity Sweep: Identifies price levels with high institutional interest, ensuring your trades align with market liquidity.
Ideal For:
Intraday Traders: This strategy is perfect for traders looking to capitalize on fast, small price movements in XAUUSD (Gold).
Scalpers & Swing Traders: It’s designed to handle quick moves while minimizing drawdown and securing profits during market swings.
Why Choose Elite XAUUSD Scalper v1.0?
Customizable: Adjust the strategy's risk parameters, trailing stop, and partial TP to suit your trading style and risk tolerance.
Highly Accurate: Combining the Fast & Slow EMAs, ATR, and order block logic, this strategy increases the accuracy of your trades, helping you stay ahead of market movements.
Automated: Set it and forget it — the strategy takes care of entries, exits, and risk management, freeing you to focus on other markets or activities.
🚀 Start Trading with Elite XAUUSD Scalper v1.0 Today!
Unlock the power of high-frequency scalping with the Elite XAUUSD Scalper v1.0. Get access to the strategy and start trading smarter today.
💬 Disclaimer
This strategy is for educational purposes only. Past performance is not indicative of future results. Use this strategy at your own risk and ensure that you fully understand its features and risks before trading with real capital.
Cumulative Price🎯 Cumulative Price - Usage Framework
🧭 Purpose
Cumulative Price offers a simple contextualization of price action within a daily session.
It resets to zero daily, tracking the cumulative range of price movement in ticks — a concept similar to cumulative delta, but focused purely on price activity, not volume.
🧠 Core Concept
The oscillator shows results from effort accumulate over time. Instead of measuring who is buying or selling, it reveals how far is pushing relative to zero.
🔔 Signal Types
⚖️ Zero Signal
Triggered when the oscillator crosses above or below the zero line.
📌 Interpreted as:
Price is testing fairness or market agreement.
This level is a balancing point — price may accept it (continue) or reject it (reverse).
🚩 Peak Signal
Triggered when the oscillator reaches a new extreme, defined by ATR-based thresholds.
📌 Interpreted as:
Price is undergoing strong effort — likely accumulation or distribution.
Could signal a transition, consolidation, or imminent breakout/reversal.
🧩 How to Use
Approach both signals with thoughtful market questioning:
🧐 Something significant is happening — what is it?
📈 How intense is the move? Does it align with volatility or deviate from it?
🌐 Where does this action sit in broader market context?
🧪 Analytical Tips
Zero Signals are useful for:
Identifying reversion points or fairness tests.
Monitoring price acceptance around the session midpoint.
Peak Signals help:
Spot early accumulation/distribution behavior.
Anticipate volatility expansion or fade exhaustion.
💡 Additional Thoughts
This tool does not dictate trades. Instead, it provides context.
Combine it with tools like Cumulative Delta for a layered analysis of price result and volume effort.
Use it to frame narratives, not absolutes. Ask:
"If this is happening here, what does that say about intent?"
Cumulative Volume Delta with MAfor higher timeframes , i use 9 or 11 ema , and 5 seconds on 1 day. moving average of the cvd not the raw volume . i use it with the impulse macd and find momentum trades or selloffs when moving averages cross .
X PD&FVVisualizes the price's premium or discount relative to a moving average benchmark, highlighting mean-reversion and trend-continuation opportunities. While the underlying math is simple, the application is nuanced and can enhance decision-making in both trending and ranging market conditions.
Core Logic:
This tool calculates a custom **spread value**, defined as the distance between the current price and a chosen exponential moving average (EMA). Specifically:
When the current price is **above** the EMA, the spread is calculated as `low - EMA`.
When the price is **below** the EMA, the spread is calculated as `high - EMA`.
This approach creates a dynamic spread that reflects deviation from the EMA, with histogram bars:
Green when the spread is positive (suggesting a price premium),
Red when the spread is negative (suggesting a discount).
A secondary EMA (default 9-period) is applied to the spread itself, plotted as a smoother line over the histogram. This "EMA of spread" line can be interpreted as a moving reference level for detecting directional shifts in momentum.
Interpretation:
Zero Line = Fair Value: The horizontal zero axis represents equilibrium relative to the moving average. Movement toward or away from this line signals potential shifts in market bias.
Trend Following Use: In trending markets, traders can:
Buy when the spread dips below its EMA (discount within uptrend),
Sell when the spread rises above its EMA (premium within downtrend).
Mean Reversion Use: A return to the zero line (fair value) often acts as an **inflection point**, which traders can monitor for either:
Trend continuation (bounce away from zero), or
Reversal (cross through zero).
Customization:
EMA length (default 50) is adjustable to fit different timeframes or asset volatility.
BGSwing StrategyThis Pine Script® strategy detects bullish and bearish liquidity levels (SSL/BSL) based on swing points and executes trades based on breakout-failure logic.
✨ Features:
• Automatically identifies Swing Highs (BSL) and Swing Lows (SSL)
• Configurable strategy execution on Break & Fail (Break and Close Back)
• Optional buy/sell direction filtering
• Customizable Take Profit & Stop Loss (in points)
• Visual liquidity levels drawn as horizontal lines
• Optional signal labels displayed directly on the chart
⚙️ Parameters:
• Liquidity Strength: defines the number of bars for valid highs/lows
• Direction Filter: Buy only / Sell only / Both
• Line style, width, and color customization
• Option to auto-delete old liquidity levels
Ideal for traders using price action and smart money concepts who want clean entry logic and visual confirmation.
Enjoy and use responsibly. 📈
Altcoins + ETH (brez stablecoinov) / BTCWhen chart hits cca 0.3 of value it's sign the beginning ALT season.
[T] FVG Candles with Distance PriorityThis script will mark out historical FVG candles that are closest to where price is currently.
It will draw a box around the candle body at high/low and midpoint (CE) and extend the boxes right to current price.
The distance priority setting will mark historical FVGs closest to where price is currently at; for the max defined number of boxes.
The levels do not have an option to be marked as mitigated - as this indicator is intended for HTF charts, where these levels are considered "permanent" support and resistance levels.
VWAP + HL + EMAsVWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
VWAP
Yesterday’s High and Low
Today’s High and Low
EMAs (20, 50, 100, 200)
My script//@version=5
indicator("NQ Fib + True Open Strategy ", overlay=true, max_lines_count=500)
// === Inputs ===
fibLevel1 = input.float(0.79, "79% Fib Level", minval=0, maxval=1, step=0.01)
fibLevel2 = input.float(0.85, "85% Fib Level", minval=0, maxval=1, step=0.01)
trueOpenTime = input.session("0930-1000", "True Open Time (EST)")
useVolumeFilter = input(true, "Use Volume Filter")
minVolumeRatio = input.float(1.5, "Volume Spike Ratio", minval=1, step=0.1)
trendLength = input.int(5, "Trend Leg Length", minval=1)
// === Trend Detection ===
upTrend = ta.highest(high, trendLength) > ta.highest(high, trendLength) and
ta.lowest(low, trendLength) > ta.lowest(low, trendLength)
downTrend = ta.lowest(low, trendLength) < ta.lowest(low, trendLength) and
ta.highest(high, trendLength) < ta.highest(high, trendLength)
// === Fibonacci Levels ===
swingHigh = ta.highest(high, 10)
swingLow = ta.lowest(low, 10)
priceRange = swingHigh - swingLow
fib79 = swingLow + priceRange * fibLevel1
fib85 = swingLow + priceRange * fibLevel2
// === True Open Price ===
isTrueOpenTime = time(timeframe.period, trueOpenTime)
var float trueOpenPrice = na
if isTrueOpenTime
trueOpenPrice := open
// === Volume Filter ===
volumeAvg = ta.sma(volume, 20)
validVolume = not useVolumeFilter or (volume >= volumeAvg * minVolumeRatio)
// === Entry Conditions ===
nearFib79 = math.abs(close - fib79) <= ta.atr(14) * 0.25
nearFib85 = math.abs(close - fib85) <= ta.atr(14) * 0.25
nearOpenPrice = not na(trueOpenPrice) and math.abs(close - trueOpenPrice) <= ta.atr(14) * 0.25
buySignal = upTrend and (nearFib79 or nearFib85) and nearOpenPrice and validVolume
sellSignal = downTrend and (nearFib79 or nearFib85) and nearOpenPrice and validVolume
// === Plots ===
plot(fib79, "79% Fib", color.new(color.blue, 0), linewidth=1)
plot(fib85, "85% Fib", color.new(color.purple, 0), linewidth=1)
plot(trueOpenPrice, "True Open Price", color.new(color.orange, 0), linewidth=2)
plotshape(buySignal, "Buy", shape.triangleup, location.belowbar, color.new(color.green, 0), size=size.small)
plotshape(sellSignal, "Sell", shape.triangledown, location.abovebar, color.new(color.red, 0), size=size.small)
HMA Crossover + ATR + Curvature (Long & Short)📏 Hull Moving Averages (Trend Filters)
- fastHMA = ta.hma(close, fastLength)
- slowHMA = ta.hma(close, slowLength)
These two HMAs act as dynamic trend indicators:
- A bullish crossover of fast over slow HMA signals a potential long setup.
- A bearish crossunder triggers short interest.
⚡️ Curvature (Acceleration Filter)
- curv = ta.change(ta.change(fastHMA))
This calculates the second-order change (akin to the second derivative) of the fast HMA — effectively the acceleration of the trend. It serves as a filter:
- For long entries: curv > curvThresh (positive acceleration)
- For short entries: curv < -curvThresh (negative acceleration)
It helps eliminate weak or stagnating moves by requiring momentum behind the crossover.
📈 Volatility-Based Risk Management (ATR)
- atr = ta.atr(atrLength)
- stopLoss = atr * atrMult
- trailStop = atr * trailMult
These define your:
- Initial stop loss: scaled to recent volatility using ATR and atrMult.
- Trailing stop: also ATR-scaled, to lock in gains dynamically as price moves favorably.
💰 Position Sizing via Risk Percent
- capital = strategy.equity
- riskCapital = capital * (riskPercent / 100)
- qty = riskCapital / stopLoss
This dynamically calculates the position size (qty) such that if the stop loss is hit, the loss does not exceed the predefined percentage of account equity. It’s a volatility-adjusted position sizing method, keeping your risk consistent regardless of market conditions.
📌 Execution Logic
- Long Entry: on bullish HMA crossover with rising curvature.
- Short Entry: on bearish crossover with falling curvature.
- Exits: use ATR-based trailing stops.
- Position is closed when trend conditions reverse (e.g., bearish crossover exits the long).
This framework gives you:
- Trend-following logic (via HMAs)
- Momentum confirmation (via curvature)
- Volatility-aware execution and exits (via ATR)
- Risk-controlled dynamic sizing
Want to get surgical and test what happens if we use curvature on the difference between HMAs instead? That might give some cool insights into trend strength transitions.
MSFT Bias at NYSE Open (9:30 ET)have an 85% bias accuracy rate with this indicator. wait for market open
MetaSigmaMetaSigma is a cutting-edge indicator designed for traders who thrive on contrarian strategies. Built on the core principle of mean reversion, MetaSigma identifies statistically significant price extremes and signals potential turning points before the market corrects itself.
Mutant Cycle - Volatility DriverMutant cycle _ volatility Driver
Punti di volatilità settimanali massimo e minimi forti