Min Forrige Daily CandleBruges til at se forrige daily candle. Daily high, low og close. Kan bruges til teknisk analyse.
Corak carta
Retracement Bar🔍 Retracement Bar – RB
The Retracement Bar (RB) indicator is designed to highlight potential reversal zones by identifying candles where price shows a clear rejection from the extremes. It helps traders spot moments where institutional inventory rebalancing may be occurring — often a precursor to a strong move in the opposite direction.
RB highlights bars that:
Have a relatively small real body compared to the total candle range.
Show a long wick (upper or lower) that exceeds a user-defined percentage of the candle range.
Suggest a potential rejection of price — upward or downward — based on candle structure.
When these conditions are met, a triangle symbol is plotted:
🔻 Red triangle above a candle suggests a possible short opportunity.
🔺 Green triangle below a candle suggests a possible long opportunity.
This indicator does not repaint and triggers only at candle close.
📈 Example – Long Entry
Signal: A green triangle appears below a candle (suggesting rejection of lower prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter long if price breaks above the high of the RB candle.
Alternatively, wait for a pullback and enter based on confirmation (e.g., bullish engulfing, hammer, trendline bounce).
Place a stop-loss just below the low of the RB candle.
Set a target:
Based on a 2:1 risk-reward ratio.
Or use the next resistance/Fibonacci level.
📉 Example – Short Entry
Signal: A red triangle appears above a candle (suggesting rejection of higher prices).
Steps:
Wait for the current RB candle to close.
On the next candle:
Enter short if price breaks below the low of the RB candle.
Or wait for confirmation (e.g., bearish engulfing, shooting star, breakdown from a level).
Place a stop-loss just above the high of the RB candle.
Set a target:
2:1 risk-reward ratio.
Or the next support/Fibonacci zone.
✅ Recommended Filters for Better Results:
Confluence with support/resistance zones.
Trend alignment or reversal context.
Additional confirmation from price action patterns or oscillators.
Volume analysis for entry strength.
🙏 Acknowledgment
Special thanks to Rob Hoffman for inspiring this concept through his original Inventory Retracement Bar (IRB) idea — this indicator is a reinterpretation meant to visually and practically support discretionary price action traders.
Gold_Bulls | TP1+TP2 + Trailing SL + Clean Entry//@version=5
indicator("Gold_Bulls | TP1+TP2 + Trailing SL + Clean Entry", overlay=true)
// === INPUTS ===
lookbackDays = input.int(4, "Lookback Days (5m candles)")
pivotLen = input.int(5, "Pivot Strength")
rr1 = input.float(1.0, "TP1 Risk:Reward")
rr2 = input.float(1.5, "TP2 Risk:Reward")
trailATRmult = input.float(1.2, "Trailing SL ATR Multiplier")
// === TIME FILTER ===
inLastDays = time > (timenow - lookbackDays * 24 * 60 * 60 * 1000)
// === PIVOT S/R ===
pivotHigh = ta.pivothigh(high, pivotLen, pivotLen)
pivotLow = ta.pivotlow(low, pivotLen, pivotLen)
resistance = not na(pivotHigh) and inLastDays ? pivotHigh : na
support = not na(pivotLow) and inLastDays ? pivotLow : na
plotshape(resistance, location=location.abovebar, style=shape.triangledown, color=color.purple, size=size.tiny)
plotshape(support, location=location.belowbar, style=shape.triangleup, color=color.blue, size=size.tiny)
// === TRACK LAST LEVEL ===
var float lastSupport = na
var float lastResistance = na
if not na(support)
lastSupport := support
if not na(resistance)
lastResistance := resistance
// === ATR for Trailing SL ===
atr = ta.atr(14)
// === VARIABLES ===
var float entryBuy = na
var float slBuy = na
var float tp1Buy = na
var float tp2Buy = na
var float trailBuy = na
var float entrySell = na
var float slSell = na
var float tp1Sell = na
var float tp2Sell = na
var float trailSell = na
// === CONDITIONAL ENTRY ===
buyCond = na(entryBuy) and close > lastResistance and ta.barssince(close > lastResistance) == 0
sellCond = na(entrySell) and close < lastSupport and ta.barssince(close < lastSupport) == 0
// === BUY ENTRY ===
if buyCond
entryBuy := close
slBuy := ta.lowest(low, 6)
risk = entryBuy - slBuy
tp1Buy := entryBuy + risk * rr1
tp2Buy := entryBuy + risk * rr2
trailBuy := entryBuy - atr * trailATRmult
if not na(entryBuy)
trailBuy := math.max(trailBuy, close - atr * trailATRmult)
if close < trailBuy or close > tp2Buy
entryBuy := na
slBuy := na
tp1Buy := na
tp2Buy := na
trailBuy := na
// === SELL ENTRY ===
if sellCond
entrySell := close
slSell := ta.lowest(low, 6) // as per your request
risk = entrySell - slSell
tp1Sell := entrySell - risk * rr1
tp2Sell := entrySell - risk * rr2
trailSell := entrySell + atr * trailATRmult
if not na(entrySell)
trailSell := math.min(trailSell, close + atr * trailATRmult)
if close > trailSell or close < tp2Sell
entrySell := na
slSell := na
tp1Sell := na
tp2Sell := na
trailSell := na
// === PLOTS ===
plotshape(buyCond, location=location.belowbar, style=shape.labelup, color=color.green, text="BUY")
plot(entryBuy, title="Buy Entry", color=color.green)
plot(slBuy, title="Buy SL", color=color.orange)
plot(tp1Buy, title="Buy TP1", color=color.lime)
plot(tp2Buy, title="Buy TP2", color=color.teal)
plot(trailBuy, title="Buy Trailing SL", color=color.yellow)
plotshape(sellCond, location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL")
plot(entrySell, title="Sell Entry", color=color.red)
plot(slSell, title="Sell SL", color=color.orange)
plot(tp1Sell, title="Sell TP1", color=color.green)
plot(tp2Sell, title="Sell TP2", color=color.teal)
plot(trailSell, title="Sell Trailing SL", color=color.yellow)
// === ALERTS ===
alertcondition(buyCond, title="BUY Signal", message="📈 BUY Signal Triggered!")
alertcondition(sellCond, title="SELL Signal", message="📉 SELL Signal Triggered!")
Fair Value Gap [Custom]📌 FVG Indicator – Smart Money Concepts Tool
This script is based on Smart Money Concepts (SMC) and automatically detects and marks Fair Value Gaps (FVG) on the chart, helping traders identify unbalanced price areas left behind by institutional moves.
🧠 What is an FVG?
An FVG (Fair Value Gap) is the price gap formed when the market moves rapidly, leaving behind a candle range where no trading occurred — typically between Candle 1’s high and Candle 3’s low (in a three-candle pattern). These gaps often signal imbalance, created during structural breaks or liquidity grabs, and may act as retrace zones or entry points.
🛠 Features:
✅ Automatically detects and highlights FVG zones (high-low range)
✅ Differentiates between open (unfilled) and closed (filled) FVGs
✅ Adjustable timeframe settings (works best on 1H–4H charts)
✅ Option to toggle display of filled FVGs
✅ Great for identifying pullback entries, continuation zones, or reversal setups
💡 Recommended Use:
After BOS/CHoCH, watch for price to return to the FVG for entry
Combine with Order Blocks and liquidity zones for higher accuracy
Best used as part of an ICT or SMC-based trading system
Daily High-Low RangeThis Pine Script calculates the daily range (High - Low) for each trading day to measure intraday volatility.
The orange line shows the actual daily high-low range.
The purple line represents the 10-day simple moving average of the daily range, smoothing out fluctuations for trend observation.
This indicator helps identify whether intraday volatility is increasing or decreasing over time and can be used to assess market momentum or risk.
이 Pine Script는 각 거래일의 고가와 저가의 차이 (일중 변동폭)을 계산하여 일중 변동성을 시각화합니다.
주황색 선은 매일의 고가-저가 범위를 나타냅니다.
보라색 선은 일중 변동폭의 10일 단순 이동평균(SMA)으로, 변동성의 추세를 부드럽게 보여줍니다.
이 지표를 통해 최근 시장의 변동성이 커지고 있는지 줄어들고 있는지를 파악할 수 있으며, 시장 리스크 또는 모멘텀 판단에 활용될 수 있습니다.
Price Deviation from MA5 (%)This Pine Script calculates and visualizes the percentage deviation of the current price from the 5-day simple moving average (SMA5).
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
Custom Median MAThe 50-day moving average (50-DMA) is a popular technical analysis indicator used to identify the intermediate-term trend of a financial asset. It is calculated by averaging the closing prices of the asset over the past 50 trading days. As a lagging indicator, it smooths out price fluctuations and helps traders and investors identify potential support and resistance levels.
When the price is consistently above the 50-DMA, it often signals an uptrend or bullish market sentiment. Conversely, if the price remains below the 50-DMA, it may indicate a downtrend or bearish sentiment. Crossovers involving the 50-DMA are also closely watched. For instance, a "golden cross" occurs when a shorter-term moving average (e.g., 20-day) crosses above the 50-DMA, suggesting potential upward momentum. A "death cross" is the opposite and can signal a downward trend.
The 50-DMA is widely used because it strikes a balance between short-term sensitivity and long-term stability. It is applicable across various markets and timeframes, including stocks, indices, and cryptocurrencies.
5/21 EMA Crossover AlertThis is a basic indicator which shows when the 5 EMA crosses through the 21 indicating a possible buy or sell signal. remember, this is only an indicator—indicators indicate and the mroe indicators you have, the more confirmation you may find...all to say, don't just rely on any one "holy grail" indicator.
Zen Open - 18 Bar v2Zen Open – 18 Bar Box (RTH Study Tool)
📄 Description:
This script highlights the first 18 bars of each Regular Trading Hours (RTH) session with a visual box and optional range label. It is intended as a study aid for traders analyzing early session structure.
Features:
• Draws a box around the first 18 bars of the RTH session
• Displays the total range as a label (optional)
• Fully customizable box color and transparency
Intended Use:
This is an educational and visual analysis tool to help traders research how the RTH open influences the rest of the session.
Tight opening range may suggest range expansion
Wide opening range may indicate reduced movement or reversal risk
This script does not generate trading signals, does not offer financial advice, and does not promote any service. It is provided for discretionary study and chart analysis only.
DIP BUYING by HAZEREAL BUY THE DIP - Educational Price Movement Indicator
This technical indicator is designed for educational purposes to help traders identify potential price reversal opportunities in equity markets, particularly focusing on NASDAQ-100 index tracking instruments and technology sector ETFs.
Key Features:
Monitors price movements relative to recent highs over customizable lookback periods
Identifies two distinct price decline thresholds: standard (5%+) and extreme (12.3%+)
Visual signals with triangular markers and background color zones
Real-time data table showing current metrics and status
Customizable alert system with webhook-ready JSON formatting
Clean overlay design that doesn't obstruct price action
How It Works:
The indicator tracks the highest price within a specified lookback period and calculates the percentage decline from that high. When price drops below the minimum threshold, it generates visual buy signals. The extreme threshold triggers enhanced alerts for more significant market movements.
Best Use Cases:
Educational analysis of market volatility patterns
Identifying potential support levels during market corrections
Studying historical price behavior around significant declines
Risk management and position sizing education
Important Note: This is a technical analysis tool for educational purposes only. All trading decisions should be based on comprehensive analysis and appropriate risk management. Past performance does not guarantee future results.
Micro Trend Start Signal (Up & Down)To compliment fast trends in the market, this strategy should be tried and tested on the 1 minute strategy. The 2nd alerts work also very well.
Candlesticks MTF + Prev Daily RangeCandlesticks MTF + Previous Daily Range
This TradingView script displays higher timeframe candlesticks on a lower timeframe chart and optionally projects the previous day's high, low, and close levels. The user can define the timeframe from which the candles are taken, typically a higher timeframe like daily. A specified number of historical candles are drawn on the chart using boxes for candle bodies and lines for wicks. The color of each candle indicates its direction: bullish candles use a "long" color (default teal), and bearish candles use a "short" color (default red).
An optional feature allows the projection of the previous daily range. When enabled, the script draws horizontal lines extending across the chart to mark the high, low, and close of the second most recent higher timeframe candle. These lines are color-coded for easy visual identification and can help identify potential support and resistance zones.
All visual elements, including the number of candles, their width, and the colors of candles and projection lines, can be customized through the settings. The script dynamically updates in real time, clearing outdated boxes and lines to avoid visual clutter. This makes it a useful tool for traders who want to incorporate multi-timeframe analysis and key price levels directly into their intraday charting.
Silver Bullet🎯 Silver Bullet Macro Time & Bias Framework
The Silver Bullet script is a complete framework for identifying high-probability trading windows and directional bias, inspired by ICT concepts.
✅ Key Features:
• Macro Sessions Detection – Automatically identifies key time windows (ICT Killzones or custom hours) on any timeframe.
• Dynamic Session Boxes – Visual boxes marking each session’s high/low range.
• Bias Calculation – Determines Long or Short bias using price action within the session.
• Fibonacci Levels – Automatically draws Fibonacci retracements and extensions relative to session ranges.
• Adaptive Labels & Tables – Clear labels showing session range, bias, entry, target, and stop levels.
• Customizable Timezones & Styles – Supports all chart timezones, different text sizes, and flexible display positions.
⸻
📈 Optimized for the 5-Minute Chart, but can be applied to other intraday timeframes.
🌐 Learn more & contact support: www.macrobullet.trade
🦄 Unicorn Entry Checklist🦄 *Unicorn Entry Checklist* is a visual decision-making tool for SMC/ICT traders who want to validate confluence before entering a trade.
It provides a structured approach based on Smart Money Concepts including:
✅ Liquidity Grab
✅ MSS with Displacement
✅ BB + FVG/IFVG
✅ Killzone Timing
✅ SMT / 3Drive / StopHunt
✅ Accumulation / Reaccumulation Zones
🎯 Use it to confirm high-probability entries and avoid weak setups.
Built for discretionary traders who want clarity and consistency on their charts.
Clean visual table with live checklist and auto-scoring.
Developed by *@dragosburdulea*
Renko UT Bot Strategy v6 - ADX FilterDescription:
This script implements a Renko-based trailing stop strategy using the UT Bot method, now enhanced with an optional ADX and DI+/- filter to help avoid choppy, low-momentum market conditions. Trades are triggered only when price and EMA cross the adaptive trailing stop and ADX/DI conditions are also met.
USE:
Start the indicator on a Renko chart and optimize settings for prefered choosen chart
Key Features:
Adaptive ATR trailing stop based on Renko logic
EMA/Trailing Stop crossovers for entries
Adjustable ADX and DI+/- filter (no signals if conditions aren’t met)
Visual stop line and trade labels on the chart
Customizable inputs for ATR, EMA, and filter levels
Disclaimer:
This strategy is provided for educational and research purposes only. It has not been tested in live trading or with real money. The past performance of this script does not guarantee future results. Trading involves substantial risk, and you can lose all or more of your investment.
Before considering any real-money use, please test the strategy thoroughly on a demo account or in TradingView’s paper trading environment.
This script is not financial advice. Consult with a licensed financial advisor before making trading decisions.
Author PDK1977
Sistema de Trading Juan José - Cruce de EMAs + SMA + RSICruce de EMas + SMA +RSI para determinar los puntos de entrada y salida
9 EMA Angle + Price % Filter//@version=5
indicator("9 EMA Angle + Price % Filter", overlay=true)
length = 9
emaLine = ta.ema(close, length)
// === INPUTS ===
angleThreshold = input.float(20, "EMA Angle Threshold (°)")
pricePercentThreshold = input.float(80, "Price % Above/Below EMA")
// === PRICE DISTANCE FROM EMA IN % ===
percentAbove = close >= emaLine ? ((close - emaLine) / emaLine) * 100 : 0
percentBelow = close < emaLine ? ((emaLine - close) / emaLine) * 100 : 0
// === ANGLE CALCULATION ===
lookbackBars = input.int(5, "Bars for Angle Calculation")
p1 = emaLine
p2 = emaLine
deltaY = p1 - p2
deltaX = lookbackBars
angleRadians = math.atan(deltaY / deltaX)
angleDegrees = angleRadians * 180 / math.pi
// === CONDITIONS ===
isFlat = percentAbove < pricePercentThreshold and percentBelow < pricePercentThreshold and angleDegrees > -angleThreshold and angleDegrees < angleThreshold
isPriceAbove = percentAbove >= pricePercentThreshold
isPriceBelow = percentBelow >= pricePercentThreshold
isAngleUp = angleDegrees >= angleThreshold
isAngleDown = angleDegrees <= -angleThreshold
// === EMA COLOR LOGIC ===
emaColor = isFlat ? color.black :
isAngleUp or isPriceAbove ? color.green :
isAngleDown or isPriceBelow ? color.red : color.gray
// === PLOT EMA ===
plot(emaLine, "9 EMA", color=emaColor, linewidth=2)
9 EMA Angle Color Indicator//@version=5
indicator("9 EMA Angle Color Indicator", overlay=true)
// === INPUTS ===
emaLength = input.int(9, title="EMA Length")
angleThreshold = input.float(20.0, title="Angle Threshold (Degrees)", minval=0.1)
lookbackBars = input.int(5, title="Bars to Calculate Angle", minval=1)
// === EMA CALCULATION ===
emaValue = ta.ema(close, emaLength)
// === ANGLE CALCULATION (in degrees) ===
// Use simple slope * 100 and arc tangent conversion to degrees
slope = (emaValue - emaValue ) / lookbackBars
angle = math.atan(slope) * (180 / math.pi)
// === COLOR LOGIC ===
var color emaColor = color.black
// Initial color: black when angle is within range
emaColor := color.black
// Price and angle-based color change
if angle > angleThreshold and close > emaValue
emaColor := color.green
else if angle < -angleThreshold and close < emaValue
emaColor := color.red
else
emaColor := color.black
// === PLOT EMA ===
plot(emaValue, color=emaColor, linewidth=2, title="9 EMA Colored")