POC-Candle-EMA-ATR-LongShadow-50percCandleThis is a script for those who trade based on volume and smart money strategies.
Some of the features of this script:
- Display "Time Price Opportunity Chart". These points help traders to identify price opportunities over time and have a better analysis of the market.
- Mark candles that have traded more volume than previous candles.
- Mark candles whose body is at least and not more than 50% of the total candle size, these candles can be found more easily in smart money strategies.
- Mark spike candles to find FVG faster
- Mark candles that have a shadow of at least more than 380 points and can be good reversal points.
- EMA indicator to check the market trend
- DonchianChannel indicator to check the price trend on the chart
Regards
Candlestick analysis
Anchor Buy Sell LevelsDaily Validity:
The indicator generates a single horizontal line (either a Buy Level or a Sell Level) that remains valid throughout the entire trading day.
Source of the Signal:
The level (buy or sell) is determined using candles that were generated before the day in question.
Selection Logic:
When determining the level, the indicator checks past candles in descending order (from the most recent backward).
The very first candle encountered that meets the respective logic (either the buy or sell condition) sets the level.
Buy and Sell Logic:
Buy Signal: Generated when a candle’s close is lower than both the previous candle’s close and the next candle’s close (i.e., a local minimum). The Buy Level is drawn at the low of that qualifying candle.
Sell Signal: Generated when a candle’s close is higher than both the previous candle’s close and the next candle’s close (i.e., a local maximum). The Sell Level is drawn at the high of that qualifying candle.
One Signal per Day:
For any given day, the indicator will display either a Buy Level or a Sell Level—not both. The decision is based on which qualifying candle (and its corresponding condition) is found first when scanning the historical data in descending order.
Multi-Indicator Dashboard//@version=5
indicator("Multi-Indicator Dashboard", overlay=true)
// ----------
// Inputs
// ----------
// EMAs
ema9Length = input.int(9, "EMA 9 Length", minval=1)
ema15Length = input.int(15, "EMA 15 Length", minval=1)
ema20Length = input.int(20, "EMA 20 Length", minval=1)
ema50Length = input.int(50, "EMA 50 Length", minval=1)
ema100Length = input.int(100, "EMA 100 Length", minval=1)
ema200Length = input.int(200, "EMA 200 Length", minval=1)
// Bollinger Bands
bbLength = input.int(20, "Bollinger Length", minval=1)
bbStdDev = input.int(2, "Bollinger StdDev", minval=1)
// SMA
sma44Length = input.int(44, "SMA 44 Length", minval=1)
// ----------
// Calculations
// ----------
// EMAs with Color Conditions
ema9 = ta.ema(close, ema9Length)
ema15 = ta.ema(close, ema15Length)
ema20 = ta.ema(close, ema20Length)
ema50 = ta.ema(close, ema50Length)
ema100 = ta.ema(close, ema100Length)
ema200 = ta.ema(close, ema200Length)
// Bollinger Bands
basis = ta.sma(close, bbLength)
dev = ta.stdev(close, bbLength)
upperBB = basis + bbStdDev * dev
lowerBB = basis - bbStdDev * dev
// VWAP
vwap = ta.vwap(close)
// SMA 44
sma44 = ta.sma(close, sma44Length)
// ----------
// Plotting
// ----------
// Dynamic Color 9 EMA
plot(ema9, "EMA 9", color=ema9 > ema9 ? color.new(#00FF00, 0) : color.new(#FF0000, 0), linewidth=2)
// Other EMAs (Static Colors)
plot(ema15, "EMA 15", color=color.new(#FFA500, 0)) // Orange
plot(ema20, "EMA 20", color=color.new(#FF69B4, 0)) // Hot Pink
plot(ema50, "EMA 50", color=color.new(#0000FF, 0)) // Blue
plot(ema100, "EMA 100", color=color.new(#800080, 0)) // Purple
plot(ema200, "EMA 200", color=color.new(#FF0000, 0)) // Red
// Bollinger Bands
plot(basis, "BB Basis", color=color.new(#787B86, 50))
plot(upperBB, "Upper BB", color=color.new(#2962FF, 50), style=plot.style_linebr)
plot(lowerBB, "Lower BB", color=color.new(#2962FF, 50), style=plot.style_linebr)
// VWAP
plot(vwap, "VWAP", color=color.new(#00CED1, 0), linewidth=2)
// SMA 44
plot(sma44, "SMA 44", color=color.new(#FFD700, 0)) // Gold
EMA 5 Alert Candle ShortThe 5 EMA (Exponential Moving Average) Strategy is a simple yet effective trading strategy that helps traders identify short-term trends and potential entry and exit points. This strategy is widely used in intraday and swing trading, particularly in forex, stocks, and crypto markets.
Components of the 5 EMA Strategy
5 EMA: A fast-moving average that reacts quickly to price movements.
15-minute or 1-hour timeframe (commonly used, but adaptable to other timeframes).
Candlestick Patterns: To confirm entry signals.
How the 5 EMA Strategy Works
Buy (Long) Setup:
Price Above the 5 EMA: The price should be trading above the 5 EMA.
Pullback to the 5 EMA: A minor retracement or consolidation near the 5 EMA.
Bullish Candlestick Confirmation: A bullish candle (e.g., engulfing or pin bar) forms near the 5 EMA.
Entry: Enter a long trade at the close of the bullish candle.
Stop Loss: Place below the recent swing low or 5-10 pips below the 5 EMA.
Take Profit: Aim for a risk-reward ratio of at least 1:2 or trail the stop using a higher EMA (e.g., 10 or 20 EMA).
Sell (Short) Setup:
Price Below the 5 EMA: The price should be trading below the 5 EMA.
Pullback to the 5 EMA: A small retracement towards the 5 EMA.
Bearish Candlestick Confirmation: A bearish candle (e.g., engulfing or pin bar) near the 5 EMA.
Entry: Enter a short trade at the close of the bearish candle.
Stop Loss: Place above the recent swing high or 5-10 pips above the 5 EMA.
Take Profit: Aim for a 1:2 risk-reward ratio or use a trailing stop.
Additional Filters for Better Accuracy
Higher Timeframe Confirmation: Check the trend on a higher timeframe (e.g., 1-hour or 4-hour).
Volume Confirmation: Enter trades when volume is increasing.
Avoid Sideways Market: Use the strategy only when the market is trending.
Advantages of the 5 EMA Strategy
✔️ Simple and easy to use.
✔️ Works well in trending markets.
✔️ Helps traders capture short-term momentum.
Disadvantages
❌ Less effective in choppy or sideways markets.
❌ Requires discipline in following stop-loss rules.
Fair Value Gap FinderFunctionality
Detection of Fair Value Gaps:
A bullish Fair Value Gap (FVG Up) is identified when the low of two candles before the current bar (low ) is greater than the high of the current bar (high ).
A bearish Fair Value Gap (FVG Down) is identified when the high of two candles before the current bar (high ) is lower than the low of the current bar (low ).
Color Coding:
Bullish Fair Value Gaps are highlighted in green to indicate potential areas of support.
Bearish Fair Value Gaps are highlighted in red to indicate potential areas of resistance.
Visualization Using Rectangles:
If an FVG is detected, the script creates a rectangle spanning a fixed number of bars (right=bar_index+5) to visualize the price inefficiency.
The rectangle extends from the upper to the lower boundary of the gap and has a semi-transparent fill (bgcolor=color.new(color, 90)) for better readability.
Implementation Details
Variable Initialization: The script defines floating-point variables (fvgUpTop, fvgUpBottom, fvgDownTop, fvgDownBottom) to store the price levels of identified gaps.
Conditional Assignments: When an FVG is detected, the corresponding top and bottom boundaries are assigned to the respective variables.
Box Creation: The box.new function is used to draw a rectangle on the chart, marking the FVG zones for better visualization.
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue clos
Order Block Signals - Exclusive & Dynamicchhayanidhaval
high bracke then buy low brack then sell 1:1 tp
Cruce EMA 9/21 marcysrjcruce de emas, 9 21 simplificado con avisos. para mejorar la visalizacion del grafico sin que se interrumpa nada
3cfThis indicator identifies and signals the points of swing highs and swing lows on the price chart using an algorithm based on market structure. Local highs and lows are highlighted with a colored dot, making it easier to perform technical analysis and recognize trend reversals.
The indicator analyzes a predefined number of bars (e.g., 5 candles) to determine relative highs and lows:
Swing High (Local High) → The current candle has a higher high compared to the previous and subsequent candle.
Swing Low (Local Low) → The current candle has a lower low compared to the previous and subsequent candle.
When a candle meets one of these conditions, a visual dot is placed to indicate the potential reversal point.
A股趋势跟踪买卖点策略//@version=6
indicator("A股趋势跟踪买卖点策略", overlay=true)
// ===== 参数设置 =====
// 趋势参数
trendLength = input.int(50, title="趋势周期", minval=20, maxval=100)
atrLength = input.int(14, title="ATR周期", minval=5, maxval=30)
trendFilter = input.float(1.5, title="趋势过滤倍数", minval=1.0, maxval=3.0, step=0.1)
// 相对强度参数
rsPeriod = input.int(30, title="相对强度周期", minval=10, maxval=100)
rsThreshold = input.float(70, title="相对强度阈值", minval=50, maxval=90)
// 成交量参数
volumeMultiplier = input.float(1.5, title="成交量放大阈值", minval=1.0, maxval=3.0, step=0.1)
// 风险管理参数
stopLossMultiplier = input.float(1.0, title="止损ATR倍数", minval=0.5, maxval=2.0, step=0.1)
profitTargetPct = input.float(20.0, title="止盈目标百分比", minval=10.0, maxval=50.0, step=0.5) / 100
// ===== 核心逻辑 =====
// 1. 趋势判断
atr = ta.atr(atrLength)
trendUp = close > ta.sma(close, trendLength) + atr * trendFilter
trendDown = close < ta.sma(close, trendLength) - atr * trendFilter
// 2. 相对强度(RS)计算
marketIndex = request.security("SH000001", timeframe.period, close) // 上证指数
stockReturn = (close - close ) / close
marketReturn = (marketIndex - marketIndex ) / marketIndex
relativeStrength = (stockReturn - marketReturn) * 100
rsValid = relativeStrength >= rsThreshold
// 3. 成交量放大条件
volumeAvg = ta.sma(volume, 50)
volumeSpike = volume > volumeAvg * volumeMultiplier
// 4. 买入条件:趋势向上 + 相对强度强 + 成交量放大
buyCondition = trendUp and rsValid and volumeSpike
// 5. 卖出条件:趋势向下或触发止盈止损
var float entryPrice = na
var bool positionActive = false
if buyCondition and not positionActive
entryPrice := close
positionActive := true
takeProfitLevel = entryPrice * (1 + profitTargetPct)
stopLossLevel = entryPrice * (1 - stopLossMultiplier * atr / entryPrice)
sellCondition = positionActive and (trendDown or close >= takeProfitLevel or close <= stopLossLevel)
// ===== 可视化 =====
// 绘制趋势线
plot(ta.sma(close, trendLength), color=color.blue, title="趋势线")
// 绘制相对强度
hline(rsThreshold, "RS阈值", color=color.orange)
plot(relativeStrength, color=color.purple, title="相对强度")
// 绘制买卖信号
plotshape(series=buyCondition, title="买入信号", location=location.belowbar,
color=color.green, style=shape.labelup, text="买入",
textcolor=color.white, size=size.normal)
plotshape(series=sellCondition, title="卖出信号", location=location.abovebar,
color=color.red, style=shape.labeldown, text="卖出",
textcolor=color.white, size=size.normal)
// ===== 警报 =====
alertcondition(buyCondition, title="买入信号",
message="趋势向上 + 相对强度强 + 成交量放大")
alertcondition(sellCondition, title="卖出信号",
message="趋势向下或触发止盈止损")
Mansi Rahi Financial Freedom RSI DH✅ Avoids strict crossovers (which rarely happen)
✅ Checks if RSI enters the required range instead of requiring a crossover
✅ Prevents excessive signals by ensuring RSI was not already in the same range
This should now display buy/sell signals correctly on a 1-hour chart.
Bauhaus Reversal MasterWelcome to the Bauhaus Reversal Master!
A Pine Script (v6) creation for TradingView that detects market reversals using classic candlestick patterns. Think of yourself as a chart detective—this script does the heavy lifting by spotting signals, labeling them, and running an automated trading strategy with built-in risk management.
🔍 What Does This Script Do?
Identifies Candlestick Patterns: Recognizes formations like Hammer Time, Falling Star, Bullish Munch, and more.
Confirms the Trend: Uses stochastic to ensure patterns appear in extreme zones (overbought/oversold), increasing reliability.
Automates Trading: Places buy/sell orders with predefined risk parameters.
Labels the Chart: Displays clear tags (e.g., "HAM" or "STAR") for instant visualization.
Manages Risk: Calculates risk and reward based on market volatility (ATR-based).
It’s like having a trading assistant with precision and style! 🎯
🛠 How It Works: Step by Step
1️⃣ Setup (Control Panel)
Capital Allocation: Bets 10% per trade (adjustable).
Commission: Default 0.1% per trade (modifiable for your broker).
Custom Options:
ATR Period: Measures volatility (default 14 bars).
Profit & Loss: Multipliers for Take Profit (1.5x ATR) & Stop Loss (1x ATR).
Trend Lookback: Number of candles analyzed (default 14).
Reversal Threshold: Overbought/Oversold levels (default 80).
Smoothing Factor: Helps reduce noise (default 20).
2️⃣ Candlestick Patterns (The Stars of the Show)
📈 Bullish Patterns (Buy Signals)
Hammer Time: Long lower wick in a downtrend.
Inverted Hammer: Long upper wick in a downtrend.
Bullish Munch: A big green candle swallowing a red one.
Tweezer Bottom: Two candles with identical lows, one red, one green.
📉 Bearish Patterns (Sell Signals)
Hanging Man: A hammer-like candle but in an uptrend.
Falling Star: Long upper wick in an uptrend.
Bearish Gobble: A big red candle engulfing a green one.
Tweezer Top: Two candles with identical highs, one green, one red.
✅ Each pattern can be toggled ON/OFF.
3️⃣ Trend Confirmation (The Filter)
Uses stochastic (kTrend) to detect extreme market conditions:
Overbought (>80) → Bearish Zone
Oversold (<20) → Bullish Zone
Averages it (smoothK) to filter out false signals.
Buys only in bearish zones, sells only in bullish zones.
4️⃣ Candlestick Math (For Nerds 🤓)
Breaks each candle into:
Body
Upper Wick
Lower Wick
Measures proportions of each to detect valid patterns.
5️⃣ Risk & Reward (Your Money’s Bodyguard)
Uses ATR (atrVal) to set dynamic profit & loss levels:
Buy Trade:
Take Profit = Price + (ATR × 1.5)
Stop Loss = Price - (ATR × 1)
Sell Trade:
Take Profit = Price - (ATR × 1.5)
Stop Loss = Price + (ATR × 1)
Ensures a Risk/Reward Ratio favoring larger wins over losses.
6️⃣ Execution (Let’s Trade!)
Spots a bullish pattern? Places a Buy Order (GoLong).
Detects a bearish pattern? Places a Sell Order (GoShort).
Exits automatically at Take Profit or Stop Loss.
7️⃣ Chart Labels (Visual Cues)
Displays clear signals:
Bullish: "HAM" (hammer), "INV" (inverted hammer), "BULL" (bullish engulfing), "TWZB" (tweezer bottom) → Green Labels
Bearish: "STAR" (shooting star), "HANG" (hanging man), "BEAR" (bearish engulfing), "TWZT" (tweezer top) → Red Labels
📊 Why Use This Script?
✅ Automated Trading – Execute trades on TradingView effortlessly.✅ Visual Insights – Labels help identify patterns instantly.✅ Backtesting – Simulate past performance (e.g., starting with $10,000).✅ Customizable – Modify settings for risk, market type (stocks, forex, crypto), and strategy.
💡 Pro Tips for Users
Test Before Trading – Run TradingView’s backtest to evaluate performance.
Adjust Risk Settings – Increase Stop Loss or lower Take Profit in volatile markets.
Choose the Right Timeframe – Works best on H1 (1-hour) and H4 (4-hour) charts.
Match Commissions – Set the commission rate to match your broker’s fees.
Use Additional Analysis – Patterns aren’t 100% reliable; combine this with your own insights.
MACD with Strong Buy/Sell (by phucpham0303)MACD nâng cấp lên version 6 cùng tín hiệu Strong Buy, Strong Sell.
Kết hợp thêm chỉ báo BB hoặc RSI để tăng hiệu quả.
Price Alert Indicator with TableIndicator Description: Price Alert Indicator with Table
The Custom Price Alert Indicator with Table is a TradingView script designed to help traders monitor and react to significant price levels during the Asian and London trading sessions. This indicator provides visual alerts and displays relevant session data in a user-friendly table format.
Key Features:
User-Defined Session Times:
Users can specify the start and end hours for both the Asian (default: 8 AM to 2 PM) and London (default: 2 PM to 8 PM) trading sessions in their local time zone.
This flexibility allows traders from different regions to customize the indicator according to their trading hours.
Real-Time Highs and Lows:
The indicator calculates and tracks the high and low prices for the Asian and London sessions in real-time.
It continuously updates these values as new price data comes in.
Touch Notification Logic:
Alerts are triggered when the price touches the session high or low points.
Notifications are designed to avoid repetition; if the London session touches the Asian high or low, subsequent touches are not alerted until the next trading day.
Interactive Table Display:
A table is presented in the bottom right corner of the chart, showing:
The Asian low and high prices
The London low and high prices
Whether each price level has been touched.
Touched levels are visually highlighted in green, making it easy for traders to identify relevant price actions.
Daily Reset of Notifications:
The notification statuses are reset at the end of the London session each day, preparing for the next day’s trading activity.
Use Cases:
Traders can utilize this indicator to stay informed about pivotal price levels during important trading sessions, aiding in decision-making and strategy development.
The clear visual representation of price levels and touch statuses helps traders quickly assess market conditions.
This indicator is particularly beneficial for day traders and those who focus on price movements around key high and low points during the trading day.
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue close
Limit Bars By. Crypto_MatchЭтот индикатор находит и отображает уровни цен, где минимумы или максимумы текущей свечи совпадают с максимальными или минимальными ценами свечей в пределах 10 баров, при этом пользователь может настроить диапазон, стиль, цвет и толщину линий.
Sunday Open & Intraday Rectangles (Customizable Colors)sunday open...london open candlle and 13:00 open candlee
Trishul Buy Sell Updated ⚡️ Join My Only Official Telegram Groups:
🔹 WealthRiseIndia 🇮🇳 t.me
#NIFTY #banknifty #STOCKONRADAR #StockToWatch #stocktrading #investing #longtermstocks #stockmarket #todaystock #wealthriseindia #StocksInFocus #StockMarketNews #traderRudr
EMA 200 Price Deviation AlertsThis script is written in Pine Script v5 and is designed to monitor the difference between the current price and its 200-period Exponential Moving Average (EMA). Here’s a quick summary:
200 EMA Calculation: It calculates the 200-period EMA of the closing prices.
Threshold Input: Users can set a threshold (default is 65) that determines when an alert should be triggered.
Price Difference Calculation: The script computes the absolute difference between the current price and the 200 EMA.
Alert Condition: If the price deviates from the 200 EMA by more than the specified threshold, an alert condition is activated.
Visual Aids: The 200 EMA is plotted on the chart for reference, and directional arrows are drawn:
A sell arrow appears above the bar when the price is above the EMA.
A buy arrow appears below the bar when the price is below the EMA.
This setup helps traders visually and programmatically identify significant price movements relative to a key moving average.
SBS LineHelps in intraday ,swing and longterm trading .
Helps in intraday ,swing and longterm trading .
Helps in intraday ,swing and longterm trading .
Helps in intraday ,swing and longterm trading .
Helps in intraday ,swing and longterm trading .
Gift's 50-Year Expert Signal Indicator + EnhancementsBuilt on decades of market savvy, this indicator blends classic trend-following with cutting-edge enhancements to spot high-probability trades and manage risk like a pro. From crypto pumps to stock swings, it’s your all-terrain companion for 2025’s fast-paced trading world—complete with divergence detection, dynamic sizing, and trailing stops.