AP RSI Divergence IndicatorThe RSI Divergence Indicator detects and highlights Regular and Hidden Divergences between price and the Relative Strength Index (RSI). It helps traders identify potential trend reversals and continuation patterns by analyzing pivot points in both price action and RSI movement.
Penunjuk dan strategi
Wave N + KDJ + Volumi + SMC + IchimokuWave N + KDJ + Volume + SMC + Ichimoku Indicator
Overview
This script is a multi-layered technical indicator designed to provide traders with enhanced market insights by combining five key methodologies:
• Wave N Pattern (Price Action)
• KDJ Oscillator (Momentum)
• Volume Filtering (Confirmation)
• Smart Money Concepts (Order Blocks) (Institutional Activity)
• Ichimoku Cloud (Trend and Support/Resistance)
By integrating these components, the indicator identifies high-probability trading signals, early warnings of trend shifts, and institutional price zones to improve decision-making in volatile markets.
⸻
How It Works
1️⃣ Wave N Pattern (Price Action Structure)
The Wave N pattern is a classic price action formation that helps spot potential trend reversals and continuations:
• A Bullish Wave N is detected when a higher low and a higher high structure appears.
• A Bearish Wave N is detected when a lower high and a lower low structure forms.
2️⃣ KDJ Oscillator (Momentum & Trend Strength)
The KDJ Indicator is a variation of the Stochastic Oscillator that adds a third line, J, to amplify sensitivity to trend movements.
• J > 50 indicates bullish momentum.
• J < 50 indicates bearish momentum.
• The script includes an early warning signal when J crosses 50, suggesting a possible trend shift.
3️⃣ Volume Filtering (Trade Confirmation)
To avoid false signals, the script integrates volume confirmation:
• A signal is valid only if the volume is above the 20-period EMA of volume.
• This ensures that trade signals are supported by strong market participation.
4️⃣ Smart Money Concepts (Order Blocks)
Order Blocks represent areas of institutional interest, where large traders accumulate or distribute positions.
• The script detects bullish order blocks (potential support) and bearish order blocks (potential resistance).
• These areas help identify optimal entry and exit points.
5️⃣ Ichimoku Cloud (Trend & Dynamic Support/Resistance)
The Ichimoku Cloud is used to confirm trend direction:
• Baseline (Kijun-sen) acts as a key trend filter.
• Senkou Span A & B form the cloud (Kumo), indicating dynamic support/resistance.
• Buy signals require price to be above the baseline, while sell signals require price to be below the baseline.
⸻
Trading Signals & Visual Elements
✅ BUY Signal (Green Arrow)
Occurs when:
• A Bullish Wave N forms
• J > 50 (Bullish KDJ Signal)
• Volume is above EMA threshold
• Price is above the Ichimoku Baseline
❌ SELL Signal (Red Arrow)
Occurs when:
• A Bearish Wave N forms
• J < 50 (Bearish KDJ Signal)
• Volume is above EMA threshold
• Price is below the Ichimoku Baseline
⚠️ Early Warning (Trend Shift Signal)
• An early warning appears when J crosses 50, indicating a possible upcoming trend shift.
• The line color changes based on the potential move:
• Green/Blue → Possible Uptrend
• Red/Orange → Possible Downtrend
⸻
Why This Indicator is Unique?
Unlike simple trend-following indicators, this script:
• Combines Price Action, Momentum, Volume, and Institutional Order Flow for a multi-dimensional approach.
• Filters out weak signals using volume confirmation and Ichimoku.
• Provides early warnings before major trend shifts.
• Visualizes Smart Money Order Blocks, giving traders an edge in spotting institutional zones.
⸻
Best Timeframes & Markets
📊 Recommended Timeframes:
• 1H & 1D (works best on medium/long-term trends)
💹 Markets:
• Crypto, Forex, and Stocks
This indicator is designed for traders who value confluence and strong confirmation in their strategies. Whether you are a trend trader, swing trader, or institutional flow analyst, this tool can help refine your decision-making process.
🚀 Optimize your trades with Wave N + KDJ + Volume + SMC + Ichimoku! 🚀
4 EMA with Two Timeframes and Supertrend by Natee L.Key Features:
Customizable Timeframes:
The script has two inputs (timeframe_1 and timeframe_2) where you can select the timeframes for the two sets of EMAs. For example, you could choose:
timeframe_1 = "60" for 1-hour (60-minute) EMAs.
timeframe_2 = "240" for 4-hour (240-minute) EMAs.
Four EMAs for Each Timeframe:
It calculates 4 EMAs for both the first timeframe (timeframe_1) and the second timeframe (timeframe_2).
Plotting:
The EMAs for timeframe 1 are plotted in solid colors (blue, red, green, and purple).
The EMAs for timeframe 2 are plotted with a transparent effect (using color.new), so they are visually distinct but less dominant than the first timeframe's EMAs.
How to Use:
The timeframe_1 and timeframe_2 inputs allow you to select any timeframes you prefer (e.g., "15", "30", "60", "D", "W", etc.).
The EMAs for both selected timeframes will be plotted, allowing for easy comparison between the two timeframes on the same chart.
Explanation of the Updates:
Supertrend Calculation:
The Supertrend is calculated using the ta.supertrend function, which requires two parameters:
multiplier: The multiplier used for the Average True Range (ATR) calculation.
atr_period: The period for the ATR (usually set to 14).
The supertrend variable represents the value of the Supertrend, and direction is a boolean value indicating whether the trend is up (green) or down (red).
Supertrend Plot:
The Supertrend is plotted on the chart using the plot() function. The color is determined by the direction variable:
Green if the trend is up.
Red if the trend is down.
The Supertrend line is drawn with a linewidth of 2 for visibility.
Inputs:
atr_period: The period used for the ATR calculation, typically 14.
multiplier: The multiplier for the ATR to determine the offset for the Supertrend line.
How It Works:
The 4 EMAs are calculated for both timeframes (timeframe_1 and timeframe_2), just like before.
The Supertrend is calculated based on the ATR and the multiplier parameters, and it's plotted on the main chart.
The Supertrend changes color based on the trend direction (green for an uptrend, red for a downtrend).
Customization:
You can adjust the ATR period and multiplier as needed via the input fields.
You can also adjust the timeframes (timeframe_1 and timeframe_2) for the EMAs.
This script now combines the 4 EMAs and Supertrend indicators for two different timeframes, giving you a powerful tool for trend analysis and crossover strategies.
SMA 150 & SMA 200Simple SMA150 (blue) and SMA200 (red). Use this to identify if the stock is at which stage.
Comprehensive Stock Indicator (Updated)Input Flexibility,Key Technical Indicators,Volume Spike Detection,rade Signal Logic:
Buy (Long),Sell (Short,Chart Visualizations,Manual Sentiment Input,
SuperTrend Bar Counter - DolphinTradeBot
OVERVIEW
This indicator calculates the lengths of upward and downward trends based on the specified SuperTrend settings and timeframe. It then takes the average length of the entered number of swings and compares the current trend durations with these averages. The main goal is to anticipate potential reversals in advance.
HOW IS IT WORK ?
The indicator actually contains two different but conceptually similar metrics.
The first part; shows how long the Supertrend stays in an upward or downward trend in real time. Additionally, it analyzes how close the current value is to the average of the Supertrend bar count for the given input.
The second part; aims to provide a different perspective on general trend analysis. It calculates the average duration of upward and downward trends in bars based on the SuperTrend indicator settings within a specified period and timeframe. If, contrary to expectations, downward trends last longer than upward trends, the background is colored green, indicating a prediction that the trend will continue upward.
Explanation of the second part logic: As you know, moving averages or similar approaches that follow the price are often correct when looking back retrospectively, but they cannot serve as leading indicators in real-time trading.That's why, when performing trend analysis, I wanted to introduce a completely different perspective based on price movement, yet still grounded in price action itself.
This phenomenon is partly due to the nature of the SuperTrend itself. After strong price movements, SuperTrend tends to reverse direction much more quickly during pullbacks. Following a strong upward move, a downward trend is detected much earlier and tends to last longer. The indicator provides an alternative perspective by analyzing which directional movement occurs more rapidly and uses this insight for trend prediction.
HOW TO USE ?
It can be used to identify potential price reversals or to assess whether the price is generally cheap or expensive.
In the settings section, you can adjust the SuperTrend parameters and timeframes for the values displayed in the table.
In the second part, you can configure the values used for general trend analysis.
NOTE
Things to be aware of: As the chart's timeframe decreases, pulling data from higher timeframes becomes more difficult. For example, when the chart is set to a 5-minute timeframe, it may fail to retrieve swing periods from the daily timeframe. Similarly, on a 4-hour chart, when calculating the average swing, there might be enough data for only 5 periods instead of 20.
Please keep in mind that this indicator was created solely to provide an idea. It should only be considered as a perspective or a supporting tool that influences your decision by no more than 5% at most.
Mogwai Momentum with MACDtest script for you guys to test feedback would be helpful.
this is using the mogwai reversal method with the MACD. currently working on one that uses boiling bands too with the Stochastic os
Volume MA with Cross AlertsVolume MA with Cross AlertsVolume MA with Cross AlertsVolume MA with Cross AlertsVolume MA with Cross AlertsVolume MA with Cross AlertsVolume MA with Cross Alerts
Simple Sessions========== TLDR ==========
The "Simple Sessions" indicator plots vertical lines and labels at the open and close of the US (New York), Asia (Tokyo), and Europe (London), daily session. The existing session indicators I could find all changed the background color of the chart for the entire session or added extra information to the chart that cluttered up my view. This is meant to be a less noisy and easy to interpret indication that the session you trade has started or is ending.
========== Features ==========
- Show or hide vertical lines for session opens and closes
- Show or hide labels for session opens and closes
- Show or hide each session individually
- Show or hide just the session close indications
- Change the color used for each session open and close
- Change the labels text, size, and text color
========== Limitations ==========
The session start and end times are hard coded in for their time zones and can't be changed:
- US (New York) - 9:30 - 16:00
- Asia (Tokyo) - 9:00 - 15:00
- Europe (London) - 8:30 - 16:30
========== Use Cases ==========
- Easily see when each session started and ended without the chart being too noisy
- Make it easier to identify price action patterns and trade setups that may occur on the open of each session
=============================
If you'd like more features or options feel free to request them in the comments.
Volumen vs MA(5)//@version=5
indicator("Volumen vs MA(5)", overlay=false)
volumeMA5 = ta.sma(volume, 5)
isVolumeAbove = volume > volumeMA5
// Plotear volumen en verde si cumple la condición, gris si no
plot(volume, "Volumen Alto", color=isVolumeAbove ? color.green : color.gray, style=plot.style_columns)
plot(volumeMA5, "MA(5)", color=color.red)
Correlation Table 4K Monitor - VerticalStrumento avanzato per l'analisi delle correlazioni in tempo reale su TradingView. Consente di monitorare fino a 32 asset (forex, materie prime, coppie esotiche) tramite una tabella verticale con codifica colore: verde per correlazione positiva, rosso per negativa e bianco per neutralità. Calcola la correlazione rispetto allo strumento principale del grafico utilizzando una formula basata sulla covarianza, con periodo regolabile (default 50 candele) e risultati espressi in percentuale da -100% a +100%.
Personalizzabile nei simboli, nel periodo di calcolo e nell’intensità dei colori. Ideale per diversificazione del portafoglio, conferma di trend, strategie di hedging e analisi intermarket. I dati si aggiornano in tempo reale in base al timeframe selezionato. Sconsigliato per timeframe inferiori a 15 minuti a causa del rumore statistico, con suggerimento di aumentare i periodi di calcolo (es. 80-100) per maggiore precisione.
LIT - Timings with ChecklistLIT - Timings with Checklist
Description:
Enhance your trading analysis with "LIT - Timings with Checklist," a powerful Pine Script (v5) indicator that combines session range visualization with an interactive trading checklist. Designed for clarity on dark backgrounds, this tool is perfect for traders who want to track key market sessions and maintain a disciplined approach to their strategy.
Features:
Session Ranges:
Visualize key trading sessions: Asian Range (17:00-01:00), London (03:00-04:00), and New York (08:00-09:00) with customizable boxes and lines.
Extend Asian Range lines into a user-defined period (default: 01:00-05:00) for deeper analysis.
Highlight session highs, lows, and midpoints with adjustable colors, widths, and transparency.
Additional timing markers (FF, MMM1, MMM2, LC) and Daily Open line for precise market event tracking.
Interactive Checklist:
A top-right checklist with checkboxes to track critical trading conditions, such as "Has Asia Session ended?" and "Have you identified potential POI's?"
Displays ✅ (green) for "Yes" and ❌ (red) for "No" against a dark gray background with white text and orange header for easy readability.
Customization:
Toggle visibility of lines, backgrounds, and midpoints for each session.
Adjust session times, line styles (solid, dashed, dotted), widths (1-4), and colors to suit your chart.
Checklist updates dynamically as you check/uncheck items—no dropdowns, just simple binary choices.
Usage:
Ideal for intraday traders using a dark-themed chart. Add the indicator, configure session times and colors, and use the checklist to ensure you’ve covered essential analysis steps. Perfect for strategies relying on session ranges, inducement zones, and points of interest (POIs).
Note: Optimized for intraday timeframes (up to 240 minutes). Ensure your chart background is dark for the best visual experience.
HALFRTREND + EMA// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dynamictradingstrategies
//@version=5
strategy("HALFRTREND + EMA", overlay = true)
amplitude1 = input(title='Amplitude 1', defval=2)
channelDeviation1 = input(title='Channel Deviation 1', defval=2)
showArrows1 = input(title='Show Arrows 1', defval=true)
showChannels1 = input(title='Show Channels 1', defval=true)
var int trend1 = 0
var int nextTrend1 = 0
var float maxLowPrice1 = nz(low , low)
var float minHighPrice1 = nz(high , high)
var float up1 = 0.0
var float down1 = 0.0
float atrHigh1 = 0.0
float atrLow1 = 0.0
float arrowUp1 = na
float arrowDown1 = na
atr21 = ta.atr(100) / 2
dev1 = channelDeviation1 * atr21
highPrice1 = high
lowPrice1 = low
highma1 = ta.sma(high, amplitude1)
lowma1 = ta.sma(low, amplitude1)
if nextTrend1 == 1
maxLowPrice1 := math.max(lowPrice1, maxLowPrice1)
if highma1 < maxLowPrice1 and close < nz(low , low)
trend1 := 1
nextTrend1 := 0
minHighPrice1 := highPrice1
minHighPrice1
else
minHighPrice1 := math.min(highPrice1, minHighPrice1)
if lowma1 > minHighPrice1 and close > nz(high , high)
trend1 := 0
nextTrend1 := 1
maxLowPrice1 := lowPrice1
maxLowPrice1
if trend1 == 0
if not na(trend1 ) and trend1 != 0
up1 := na(down1 ) ? down1 : down1
arrowUp1 := up1 - atr21
arrowUp1
else
up1 := na(up1 ) ? maxLowPrice1 : math.max(maxLowPrice1, up1 )
up1
atrHigh1 := up1 + dev1
atrLow1 := up1 - dev1
atrLow1
else
if not na(trend1 ) and trend1 != 1
down1 := na(up1 ) ? up1 : up1
arrowDown1 := down1 + atr21
arrowDown1
else
down1 := na(down1 ) ? minHighPrice1 : math.min(minHighPrice1, down1 )
down1
atrHigh1 := down1 + dev1
atrLow1 := down1 - dev1
atrLow1
ht1 = trend1 == 0 ? up1 : down1
var color buyColor1 = color.blue
var color sellColor1 = color.red
htColor1 = trend1 == 0 ? buyColor1 : sellColor1
htPlot1 = plot(ht1, title='HalfTrend 1', linewidth=2, color=htColor1)
atrHighPlot1 = plot(showChannels1 ? atrHigh1 : na, title='ATR High 1', style=plot.style_circles, color=color.new(sellColor1, 0))
atrLowPlot1 = plot(showChannels1 ? atrLow1 : na, title='ATR Low 1', style=plot.style_circles, color=color.new(buyColor1, 0))
fill(htPlot1, atrHighPlot1, title='ATR High Ribbon 1', color=color.new(sellColor1, 90))
fill(htPlot1, atrLowPlot1, title='ATR Low Ribbon 1', color=color.new(buyColor1, 90))
buySignal1 = not na(arrowUp1) and trend1 == 0 and trend1 == 1
sellSignal1 = not na(arrowDown1) and trend1 == 1 and trend1 == 0
plotshape(showArrows1 and buySignal1 ? atrLow1 : na, title='Arrow Up 1', style=shape.triangleup, location=location.absolute, size=size.tiny, color=color.new(buyColor1, 0))
plotshape(showArrows1 and sellSignal1 ? atrHigh1 : na, title='Arrow Down 1', style=shape.triangledown, location=location.absolute, size=size.tiny, color=color.new(sellColor1, 0))
//// EMA
EMA_l = input.int(defval = 50, title = "EMA LENGTH")
EMA = ta.ema(close,EMA_l)
////
LO = input.bool(defval = true)
SO = input.bool(defval = true)
///////////// buy and short signals
buy = trend1 == 0 and trend1 == 1 and close > EMA
short = trend1 == 1 and trend1 == 0 and close < EMA
sell = trend1 == 1 and trend1 == 0
cover = trend1 == 0 and trend1 == 1
if LO
if buy and hour > 9 and hour <=14
strategy.entry("long", direction = strategy.long, comment = "LONG")
if sell
strategy.close("long", comment = "BUY EXIT")
if SO
if short and hour > 9 and hour <=14
strategy.entry("short", direction = strategy.short, comment = "SHORT")
if cover
strategy.close("short", comment = "SHORT EXIT")
plot(EMA, color = EMA > EMA ? color.green : color.red)
if(hour>=14)
strategy.close_all()
RSI Candlesticks + SMAs + DonchianThis script plots RSI as candlesticks instead of a line, showing RSI movement with open, high, low, and close values for accurate representation. Additionally, it overlays two SMAs and Donchian Channels to help analyze RSI trends and breakout levels. Overbought (70) and oversold (30) levels are also marked. 🚀
MACD Crossover Alerts//@version=5
indicator("MACD Crossover Alerts", overlay=false)
// MACD Calculation
= ta.macd(close, 12, 26, 9)
// Crossover Conditions
bearishCross = ta.crossover(signalLine, macdLine) // MACD crosses below signal line (Sell Alert)
bullishCross = ta.crossunder(signalLine, macdLine) // MACD crosses above signal line (Buy Alert)
// Alert Functions
alertcondition(bearishCross, title="MACD Bearish Crossover", message="MACD crossover down! Possible Sell Signal!")
alertcondition(bullishCross, title="MACD Bullish Crossover", message="MACD crossover up! Possible Buy Signal!")
// Plot MACD & Signal Line
plot(macdLine, color=color.blue, title="MACD Line")
plot(signalLine, color=color.red, title="Signal Line")
// Background Color Alerts
bgcolor(bearishCross ? color.red : bullishCross ? color.green : na, transp=90)
Engulfing Candle Detector//@version=5
indicator("Engulfing Candle Detector", overlay=true)
// Bullish Engulfing Pattern
bullishEngulfing = close > open and nz(close ) < nz(open ) and close > nz(open ) and open < nz(close )
// Bearish Engulfing Pattern
bearishEngulfing = close < open and nz(close ) > nz(open ) and close < nz(open ) and open > nz(close )
// Plot Bullish Engulfing Signal
plotshape(series=bullishEngulfing, location=location.belowbar, color=color.green, style=shape.labelup, title="Bullish Engulfing")
// Plot Bearish Engulfing Signal
plotshape(series=bearishEngulfing, location=location.abovebar, color=color.red, style=shape.labeldown, title="Bearish Engulfing")
// Highlight Bullish Engulfing Candle
bgcolor(bullishEngulfing ? color.green : na, transp=85)
// Highlight Bearish Engulfing Candle
bgcolor(bearishEngulfing ? color.red : na, transp=85)
Two EMA 21 with High and LowBuy if 2 candles close above green and sell 2 candles close below the red. use 3 minutes chart
RSI Divergence IndicatorThe RSI Divergence Indicator detects and highlights Regular and Hidden Divergences between price and the Relative Strength Index (RSI). It helps traders identify potential trend reversals and continuation patterns by analyzing pivot points in both price action and RSI movement.
4 EMA with Day Timeframe and Current Timeframe4 EMA (Exponential Moving Averages): You would plot four EMAs with different periods.
Day Timeframe (D1): It will use the daily timeframe (you can access it as a higher timeframe in the script).
Current Timeframe: The indicator will use the current chart's timeframe.
EMA 9 & 21 with VWAPMy strategy for scalping eurusd .
when ema 9 is Upper than ema21 and vwap is below them is for long position
and
when ema 9 is below than ema 21 and vwap is upper them is for short position .
Enjoy