Nadaraya-Watson Backtest with FiltersBuilding upon 'Non-Repainting Nadaraya-Watson Envelope ' to include optional entry and exit filters to backtest strategy and increase potential profitability.
Filters include:
- Target Profit
- Target Stop Loss Percent
- Enter Long Positions
- Enter Short Positions
- Require Engulfing Candle Entry
- Use 200 SMA Filter
- Use MACD Filter
- Use "Maximum Bars in Trade"
Индикаторы и стратегии
High Volume Time (HVT) Auto-DisplayThis Indicator displays the upcoming HVT for the NasDaq on a table. The HVT is also displayed on the chart in real-time in order to help accentuate the best times to trade and a clear picture for the daily directional move. This times were found manually and bear as much significance as I bring it to have. These are not guaranteed times for the market to move, but rather High Probability Times based on my own backtesting on NQ.
SMT Divergence [TakingProphets]The SMT (Smart Money Technique) Divergence indicator identifies potential market manipulation and smart money footprints by comparing price action between correlated instruments. It uses a dual-detection system to catch both frequent local SMTs and larger structural SMTs:
• Primary detection uses a shorter lookback period (default 5) to identify common SMT patterns
• Secondary detection uses a longer lookback period (default 8) to catch larger structural SMTs
• Automatically filters significant moves to prevent noise
• Labels are placed clearly outside of price action for better visibility
• Toggle between showing all SMTs or only significant liquidity sweeps
Compare any two instruments to spot divergences in their price action. Particularly useful for:
- Futures vs Spot markets
- Related currency pairs
- Index vs its components
- Any correlated instruments
Default settings are optimized for intraday trading but can be adjusted for different timeframes.
Note: This indicator works best when comparing closely correlated instruments and should be used alongside other technical analysis tools.
RSI + Bollinger Bands + OBV [blondepanther]This custom indicator combines the power of Relative Strength Index (RSI), Bollinger Bands (BB), and On-Balance Volume (OBV) to help identify undervalued and overbought conditions in any market.
Early MACD Reversal IndicatorThis indicator should provide early warnings of potential price reversal based on the difference between the MACD and its signal line. The keys of the reversal come from creating a histogram of the difference between the two lines and further monitoring the first indications of breadth decrease. The first change when trending up will paint a red vertical line and downward triangle to indicate potential trend reversal to the low side. The opposite with a green vertical line and upward triangle signals potential upside movement soon.
Enjoy!
10AM-2PM EST NY Kill Zone Killzone for NewYork Session from 10AM-2PM typically the best time to trade during just NewYork since the NY opening is chaotic and the end of NY is slow and low volume.
Reversal Opportunity📌 Indicator Description – Reversal Opportunity 🎯
🔍 General Overview
The Reversal Opportunity indicator is designed to identify ideal conditions for Reversal Trading, but it does not provide trade entry signals. Instead, it helps traders determine whether the market conditions are favorable for a potential reversal.
It is specifically designed for traders who execute Reversal trades (Long or Short) and want a clear indication of whether the market is currently suitable for such setups.
💡 What does this indicator do?
- Identifies strong momentum before a reversal (a sharp upward or downward move).
- Detects momentum slowdown (decreasing volume and smaller candles).
- Checks if the RSI is at an extreme level (above 70 or below 30), indicating potential overbought or oversold conditions.
- Displays a table at the top center of the screen with the following key data:
- Are the conditions for a reversal met?
- Is there a slowdown in momentum?
- Is RSI at an extreme level?
- Was there strong uptrend momentum before a possible Short Reversal?
- Was there strong downtrend momentum before a possible Long Reversal?
⚙️ How Does the Indicator Work?
The indicator displays a table in the center of the screen, updating every 5 candles to indicate whether the market conditions are ideal for a reversal trade.
📊 Main Status Row:
- ✔ Ideal Reversal Setup → Conditions for a reversal trade are met (not a trade recommendation).
- ✖ Not Ideal → Reversal conditions are not met; it may be better to wait.
📌 Key Criteria Displayed in the Table:
1. ⚠️ Momentum Slowdown
- Yes → Momentum is weakening (a good sign for reversal trades).
- No → The market is still moving strongly, and a reversal might not be ready yet.
2. 📈 RSI Extreme
- Yes → RSI is above 70 (overbought) or below 30 (oversold), indicating a potential reversal.
- No → RSI is still in a normal range, suggesting that waiting for further confirmation might be wise.
3. 📊 Uptrend Momentum Before Reversal
- Yes → There was a strong uptrend over multiple consecutive candles, potentially setting up for a Short Reversal.
- No → No strong upward momentum was detected, meaning conditions for a Short Reversal may not be ideal.
4. 📉 Downtrend Momentum Before Reversal
- Yes → There was a strong downtrend over multiple consecutive candles, potentially setting up for a Long Reversal.
- No → No strong downward momentum was detected, meaning conditions for a Long Reversal may not be ideal.
🛠️ How to Use the Indicator?
- If "✔ Ideal Reversal Setup" appears, there is a high probability of a market reversal – use your personal entry strategy for further confirmation.
- If Momentum Slowdown = Yes, RSI Extreme = Yes, and strong momentum occurred beforehand, this is an ideal setup for a reversal trade.
- If any conditions are missing ("No"), it may be better to wait for further confirmation instead of entering too early.
- The indicator does NOT provide trade entries! Use your existing trading system for confirmation before entering a trade.
👥 Who Is This Indicator For?
- Reversal traders (entering against the current trend after a strong move).
- Intraday traders looking for reversal trades at extreme market levels.
- Technical traders who rely on Price Action and Volume for trade setups.
⚠️ Disclaimer:
This indicator does not recommend trade entries but provides insight into market conditions. The trader is responsible for risk management and decision-making.
It is best used in combination with additional confirmations such as reversal candles, Order Flow, Bookmap, or Volume Profile to improve accuracy.
🚀 The indicator is ready to use – add it to TradingView and get instant feedback on whether the market is ideal for a Reversal trade!
ELHAI Futures Trend Checker (ES, NQ, YM)The ELHAI Futures Trend Checker is a powerful TradingView indicator designed for futures traders who want to monitor the trend synchronization of the three major U.S. futures indices:
✅ E-mini S&P 500 (ES1!)
✅ E-mini Nasdaq 100 (NQ1!)
✅ E-mini Dow Jones (YM1!)
This indicator checks whether all three futures indices are bullish or bearish during each candle formation. If one of them is out of sync (e.g., two indices are bullish while one is bearish), the indicator triggers an alert and highlights the background in red, helping traders identify potential market indecision or divergence.
Key Features
📌 Designed for Futures Traders – Focuses on ES, NQ, and YM futures contracts.
📌 Live Market Monitoring – Works in real-time and updates dynamically with each tick.
📌 Bullish/Bearish Trend Confirmation – Detects when all three indices are in sync.
📌 Mismatch Detection – Alerts you when at least one index is out of trend.
📌 Custom Alerts – Set up TradingView alerts to be notified instantly when a trend mismatch occurs.
📌 Visual Background Highlight – A red background warns of a market divergence.
How It Works
The script retrieves open and close prices for ES, NQ, and YM.
Determines whether each futures index is bullish (close > open) or bearish (close < open).
If all three indices are bullish or all are bearish, it remains neutral.
If one index is different, an alert is triggered and the background turns red.
How to Use
Apply the indicator to your TradingView chart.
Choose any timeframe – Works well on intraday, daily, or higher timeframes.
Enable alerts: Go to Alerts → Create Alert, select "Futures Trend Mismatch", and set your preferred alert frequency.
Use alongside other indicators like moving averages, RSI, or MACD for better trade confirmation.
Best Use Cases
✔ Day traders & scalpers – Quickly spot market divergence in live trading.
✔ Swing traders – Identify when futures markets lose synchronization.
✔ Trend followers – Confirm if all major futures markets are aligned before making a move.
Final Notes
This indicator was built for Elhai to provide real-time trend analysis across major U.S. futures indices. Use it as a confirmation tool to improve market timing and decision-making.
Multiple EMA IndicatorÜstsel Hareketli ortalama göstergelerin konumlarına ve kesişimlerine göre alım ve satım sinyalleri oluşturur.
EUR/USD vs USD/CHF SpreadA typical Pine Script for spread trading would include:
Fetching Data: Getting the real-time price of EUR/USD and USD/CHF.
Calculating the Synthetic EUR/CHF Price: Since EUR/USD * USD/CHF ≈ EUR/CHF, we use this relation to analyze deviations.
Computing the Spread: Taking the difference between EUR/USD and the synthetic EUR/CHF price.
Z-Score Normalization: Measuring how far the spread deviates from the mean (Mean Reversion).
Overlay and Visuals: Plotting the spread and key levels to visualize trading signals.
200-Day SMA Slope Oscillator SmoothA smooth oscillator that oscillates between positive and negative values.
The oscillator tracks the change in the 200-day SMA and smooths the transitions to give you a cleaner, more gradual movement.
We use the slope to determine the value of the oscillator. If the slope is positive, the oscillator will show a positive value;If the slope is negative, it'll be a negative value.
Candlestick Pattern DetectorThis script is a **candlestick pattern detector** for **TradingView**, written in **Pine Script v5**.
### **Functionality:**
- Identifies key **candlestick patterns**:
- **Bullish Engulfing**
- **Bearish Engulfing**
- **Hammer**
- **Shooting Star**
- **Morning Star**
- **Evening Star**
- **Enhances signal strength** using:
- **Gap Up / Gap Down** confirmation
- **High Volume Detection**
- **Support & Resistance Levels**
- **Marks patterns on the chart** with visual labels in English and Hebrew.
- Uses **green, red, blue, and orange markers** for different signals.
- **Includes alert conditions** to notify users when patterns appear.
This indicator helps traders **spot strong reversal and continuation signals** quickly based on **price action and volume dynamics**. 🚀
200-Day MA Slope Oscillator Explanation:
ma200: The 200-day simple moving average of the closing price.
slope: The difference between the current value of the 200-day MA and its value 1 bar ago.
oscillator: We use the slope to determine the value of the oscillator. If the slope is positive, the oscillator will show a positive value;If the slope is negative, it'll be a negative value.
plot(): This plots the oscillator on a separate pane.
Mando's Fuk Around & Find Out Ultra🚗💨 **LADIES AND GENTLEMEN, BOYS AND GIRLS, TRADERS OF ALL AGES!** 💨🚗
What if I told you I had a script so **powerful**, so **reliable**, and so downright **game-changing** that you’d be FUK’ing AROUND and FINDING OUT with the kind of confidence only *elite traders* could dream of?! 💥
This isn’t just a Pine Script—OH NO, MY FRIENDS—it’s the **Ferrari of trading tools**, the **Rolls Royce of divergence detection**, the **Lamborghini of buy-sell logic**! 🎯 This beauty isn’t just a script; it’s your personal pit crew, screaming at you when the market’s ready to roar and whispering sweet nothings when it’s time to hold back.
### **LET’S TALK FEATURES, SHALL WE?**
🎯 **One Buy Per Sell Logic:**
Say goodbye to the chaotic noise of multiple buy signals cluttering your chart. THIS BAD BOY enforces strict **1 FUK AROUND per FIND OUT logic** like the pro-level pit boss it is. No duplicates, no confusion—just clear, calculated decisions.
🎨 **Custom MACD Divergence Signals:**
You like **blue diamonds**? You get blue diamonds! You like **yellow diamonds**? Just ONE of those bad boys per bullish divergence cycle. This script doesn’t just show you divergences; it hand-picks the most actionable ones and throws them at you like confetti on a championship podium. 🏆
📡 **Bullish MACD Cluster Alerts:**
You think one bullish divergence is exciting? WHAT IF TWO APPEAR WITHIN 5 CANDLES?! 🚨 BOOM! Instant cluster alert! This script watches for the rare, high-octane signals that other traders only dream of spotting.
💎 **Visually Stunning:**
This isn’t just functional; it’s a WORK OF ART. Crisp **blue and yellow diamonds**, perfectly aligned triangles for buys and sells, and your favorite custom names—"FUK AROUND" for buys and "FIND OUT" for sells. Tell me that doesn’t look good on your chart! 😍
---
### **BUT WAIT! THERE’S MORE!**
Do you want speed? This script’s optimized for **real-time decision-making**. Do you want reliability? This baby has been fine-tuned with military precision through YOUR feedback. Do you want bragging rights? Traders will look at your chart and say, **“Whoa! What is THAT?”**
This is the script that takes your trading strategy from a *Honda Civic* to a **V12 MONSTER ON THE AUTOBAHN.** 💨
---
### **ACT NOW!**
No gimmicks, no fluff. This script is the **golden ticket to clean, actionable signals**, and all YOU have to do is take it, save it, and slap it onto your chart like a turbocharged spoiler. Your charts deserve this. YOU deserve this.
Don’t trade blind. Don’t settle for mediocrity. **FUK AROUND AND FIND OUT with the best script you’ll ever use.** 🚀💰
Are you ready? LET’S DO THIS! 🔥
Granville + MACD Strategy### 買いの場合
- グランビルの法則を利用して、相場の反転を確認
- MACDラインがシグナルラインをゴールデンクロスを確認
- MACDが直近のMACDの高値をブレイクを確認
- MACDが戻ってきて、シグナルラインとクロスするのを確認
- ここまでの条件がそろえばエントリーする
- TP,SLの設定
- TPは、最初のグランビルの法則で反転を確認したときの値幅の1.618倍
- SLは、最初のグランビルの法則で反転を確認した時の安値
1-Min Trend Confirmation Strategy with buy and sell signal TP/SLBuy and sell signal generate above or below 50 SMA with a cross of 8 SMA, 13 SMA.
Buy signal above 50 SMA when 8 and 13 SMA crosses. And sell signal below 50 SMA when 8 and 13 SMA crosses.
Confirmation using 10 min chart 50 SMA, 8 and 13 SMA crosses, CCI above 100 to buy, and CCI below -100 to sell. And force index; positive to buy and negative to sell.
__________________Risk 8.5 points
--------------------------Reward 6 points
__________________Chart ES Mini
Order Block, FVG, Breaker Block Detector//@version=5
indicator("Order Block, FVG, Breaker Block Detector", overlay=true)
// Input parametreleri
lookback = input.int(5, title="Order Block Lookback Period")
fvg_lookback = input.int(3, title="FVG Lookback Period")
// Order Block Tespiti
var float order_block_high = na
var float order_block_low = na
if barstate.isconfirmed
// Yükseliş Order Block
if close > ta.highest(high, lookback)
order_block_high := ta.lowest(low, lookback)
order_block_low := na
// Düşüş Order Block
else if close < ta.lowest(low, lookback)
order_block_low := ta.highest(high, lookback)
order_block_high := na
// Order Block Çizimi
plotshape(series=not na(order_block_high), location=location.belowbar, color=color.green, style=shape.labelup, text="OB-H")
plotshape(series=not na(order_block_low), location=location.abovebar, color=color.red, style=shape.labeldown, text="OB-L")
// Fair Value Gap (FVG) Tespiti
var float fvg_high = na
var float fvg_low = na
if barstate.isconfirmed and bar_index >= fvg_lookback
// FVG için üç mumluk yapı kontrolü
if low > high and high < low
fvg_high := high
fvg_low := low
else
fvg_high := na
fvg_low := na
// FVG Çizimi
plotshape(series=not na(fvg_high), location=location.abovebar, color=color.blue, style=shape.labeldown, text="FVG")
plotshape(series=not na(fvg_low), location=location.belowbar, color=color.blue, style=shape.labelup, text="FVG")
// Breaker Block Tespiti
var float breaker_high = na
var float breaker_low = na
if barstate.isconfirmed
// Yükseliş Breaker Block
if close > order_block_high and not na(order_block_high)
breaker_high := order_block_high
breaker_low := na
// Düşüş Breaker Block
else if close < order_block_low and not na(order_block_low)
breaker_low := order_block_low
breaker_high := na
// Breaker Block Çizimi
plotshape(series=not na(breaker_high), location=location.belowbar, color=color.orange, style=shape.labelup, text="BB-H")
plotshape(series=not na(breaker_low), location=location.abovebar, color=color.orange, style=shape.labeldown, text="BB-L")
ICT NY Open & CloseHorarios apertura y cierre ICT
Horarios para analisis dependiendo de la tendencia semanal
Refined Machine Learning Adaptive SuperTrend [AlgoAlpha]The Machine Learning Adaptive SuperTrend is an advanced and dynamic trend-following indicator designed to adapt to changing market conditions using machine learning principles. Unlike traditional SuperTrend indicators, this version incorporates K-Means clustering to intelligently classify volatility levels into three categories: High , Medium , and Low . By dynamically adjusting its sensitivity based on real-time market volatility, this indicator provides more accurate and reliable signals for identifying trends and potential reversals.
Key Features:
Dynamic Volatility Clustering :
Uses K-Means clustering to classify volatility into three distinct levels (High, Medium, Low) based on historical ATR (Average True Range) data.
Automatically adapts to evolving market conditions, ensuring robust performance in both trending and ranging markets.
Adaptive SuperTrend :
Combines the classified volatility levels with the classic SuperTrend formula to generate highly responsive trend signals.
The SuperTrend factor and ATR length are dynamically adjusted based on the current volatility cluster, reducing noise and false signals.
Smoothed ATR Calculation :
Employs an EMA-smoothed ATR to filter out erratic price movements and provide a cleaner representation of true market volatility.
Visual Enhancements :
Customizable transparency settings allow you to emphasize strong trends while de-emphasizing weaker ones.
Clear visual cues (bullish/bearish colors and trend direction labels) make it easy to interpret signals at a glance.
Alerts and Notifications :
Includes built-in alerts for trend shifts (bullish/bearish) and volatility changes (High/Medium/Low), helping traders stay ahead of market moves.
Performance Optimization :
Optimized clustering logic ensures efficient execution without exceeding memory limits, even with large datasets.