Liquidity alertThis indicator gives you alerts when session liquidity is sweped. Nothing more, nothing less
รูปแบบชาร์ต
Pattern Detection//@version=5
indicator("Pattern Detection", overlay=true)
// Xác định Swing High / Low (đỉnh & đáy)
swingHigh(src, length) =>
ta.highest(src, length) == src
swingLow(src, length) =>
ta.lowest(src, length) == src
// === MÔ HÌNH DOUBLE TOP ===
doubleTop = swingHigh(high, 10) and ta.highest(high, 5) == high
if doubleTop
label.new(x=time, y=high, text="DT", color=color.red, textcolor=color.white, size=size.small)
// === MÔ HÌNH HEAD & SHOULDERS ===
leftShoulder = swingHigh(high, 20)
head = swingHigh(high, 10) and high > ta.highest(high, 20)
rightShoulder = swingHigh(high, 20) and ta.highest(high, 10) < high
headShoulders = leftShoulder and head and rightShoulder
if headShoulders
label.new(x=time, y=high, text="H&S", color=color.orange, textcolor=color.white, size=size.small)
// === MÔ HÌNH CUP & HANDLE ===
cupFormation = swingLow(low, 20) and ta.lowest(low, 10) == low
handleFormation = swingHigh(high, 5) and high < ta.highest(high, 10)
cupHandle = cupFormation and handleFormation
if cupHandle
label.new(x=time, y=low, text="C&H", color=color.green, textcolor=color.white, size=size.small)
// === MÔ HÌNH TAM GIÁC (Triangle) ===
triangleUp = swingHigh(high, 10) and ta.highest(high, 5) < high
triangleDown = swingLow(low, 10) and ta.lowest(low, 5) > low
if triangleUp
label.new(x=time, y=high, text="▲", color=color.blue, textcolor=color.white, size=size.small)
if triangleDown
label.new(x=time, y=low, text="▼", color=color.blue, textcolor=color.white, size=size.small)
Lida MACD Overlaykottonchan
これらのインジケーターの特徴:
リンダの設定に基づく期間設定(Fast=3, Slow=10, Signal=16)
MACDラインとシグナルラインの表示
クロスオーバーポイントの視覚化(TradingViewバージョン)
ヒストグラムは除外(リンダの手法に従って)
使用方法:
エントリーポイントはMACDがシグナルラインをクロスする地点
プルバックを待ってからエントリー
MACDラインが直近の高値/安値を突破することを確認
フィボナッチ拡張で利確目標を設定(別途設定が必要)
注意点:
このインジケーターは取引の一部としてのみ使用し、他の分析ツールと組み合わせることを推奨
バックテストを行い、自身の取引スタイルに合わせて期間を調整することも検討
Indicador de Precios Diarios y Semanales 1.0Pit Strategy
Acordate de que esto es solo una Guia para que podas definir los precios altos y bajos del dia y la semana, para que te puedas guiar
dine1197 15m Trend Strategy for XAUUSD This is the best strategy for trading on XAUUSD at 15 Minutes timeframe for which you get a signal as per the trend.
Crypto Intraday Futures Strategy//@version=5
strategy("Crypto Intraday Futures Strategy", overlay=true, margin_long=100, margin_short=100, commission_type=strategy.commission.percent, commission_value=0.05, default_qty_type=strategy.percent_of_equity, default_qty_value=100)
// Input parameters
fast_length = input.int(9, "Fast EMA Length")
slow_length = input.int(21, "Slow EMA Length")
rsi_length = input.int(14, "RSI Length")
overbought = input.int(70, "Overbought Level")
oversold = input.int(30, "Oversold Level")
stop_loss = input.float(1.0, "Stop Loss (%)") / 100
take_profit = input.float(2.0, "Take Profit (%)") / 100
session_close = input.session("2300-0000", "Session Close Time")
// Calculate indicators
fast_ema = ta.ema(close, fast_length)
slow_ema = ta.ema(close, slow_length)
rsi = ta.rsi(close, rsi_length)
// Time condition for session close
is_session = time(timeframe.period, session_close)
close_time = not is_session and is_session
// Trading conditions
ema_bullish = ta.crossover(fast_ema, slow_ema)
ema_bearish = ta.crossunder(fast_ema, slow_ema)
rsi_bullish = rsi < oversold
rsi_bearish = rsi > overbought
// Entry conditions
long_condition = ema_bullish and rsi_bullish
short_condition = ema_bearish and rsi_bearish
// Exit conditions
stop_level = strategy.position_avg_price * (1 - stop_loss)
take_level = strategy.position_avg_price * (1 + take_profit)
// Execute strategy
if close_time
strategy.close_all()
if long_condition and not close_time
strategy.entry("Long", strategy.long)
strategy.exit("Exit Long", "Long", stop=stop_level, limit=take_level)
if short_condition and not close_time
strategy.entry("Short", strategy.short)
strategy.exit("Exit Short", "Short", stop=stop_level, limit=take_level)
// Plotting
plot(fast_ema, color=color.blue, title="Fast EMA")
plot(slow_ema, color=color.orange, title="Slow EMA")
hline(overbought, "Overbought", color=color.red)
hline(oversold, "Oversold", color=color.green)
Candle Stick PatternsThis is a simple code to identify the most useful candlestick patterns on your chart.
The following patterns are supported:
bullish_harami
bearish_harami
bullish_engulfing
bearish_engulfing
hammer
hanging_man
gapping_up_doji
gapping_down_doji
takuri_line
dark_cloud_cover
piercing
homing_pigeon
descending_hawk
tweezers_bottom
tweezers_top
inverted_hammer
shooting_star
morning_star
evening_star
When you add the script to your chart, by default the bullish harami pattern will be visible.
To add your favourite pattern, go to the settings and tick the pattern of your choice.
CMP vs ATH PercentageThis indicator helps traders and investors track how the current market price (CMP) compares to the all-time high (ATH) price of an asset. It calculates the percentage difference between the CMP and ATH and displays it visually on the chart. A label is placed on the latest bar, showing key information like:
ATH (All-Time High Price)
CMP (Current Market Price)
Percentage Comparison (CMP as a percentage of ATH)
Additionally, the indicator plots a horizontal line at the ATH level to provide a clear visual reference for the price history.
Use Cases:
Identify price levels relative to historical highs.
Gauge whether the price is nearing or far from its ATH.
Quickly assess how much the price has recovered or declined from the ATH.
Customization:
You can modify the label's style, color, or text formatting according to your preferences. This indicator is useful for long-term analysis, especially when tracking stocks, indices, or other financial instruments on a weekly timeframe.
Note:
This indicator is designed to work on higher timeframes (e.g., daily or weekly) where ATH levels are more meaningful.
Gap-Adjusted ChartEffect: Shifts prices to eliminate gaps, but distorts actual price levels (use for visual analysis only)
Session Gap RemoverIt calculates the gap between the current session’s open and the previous session’s close.
Accumulates these gaps over time and subtracts them from all subsequent prices.
This creates a continuous chart without gaps but distorts absolute price levels (use for technical analysis, not actual trading).
RSI + Bollinger Bands + MA200 This indicator incorporates momentum indicators of the RSI and Bollinger Bands and shows overbought and oversold areas when both indicators conditions have been met and lastly the 200ma gives the long term direction of the instrument.
Trading Sessions with EMAs Trading Sessions with EMAs created by -binod
this is a trading indicator. It includes all sessions such as the Tokyo session, the Asian session, and the New York session, it also has four EMAs included.
Day of Week Performance█ OVERVIEW
The Day of Week Performance indicator is designed to visualise and compare the cumulative percentage change for each day of the week. This indicator explores one of the many calendar based anomalies in financial markets.
In financial analysis, a calendar based anomaly refers to recurring patterns or tendencies associated with specific time periods, such as days of the week. By calculating the cumulative percentage change for each day (Monday through Friday) and displaying the results both graphically and in a summary table, this indicator helps identify whether certain days consistently outperform others.
█ FEATURES
Customisable time window via Time Settings.
Calculates cumulative percentage change for each day (Monday to Friday) separately.
Option to use Sunday instead of Friday for CFDs and Futures analysis.
Distinct visual representation for each day using unique colours.
Customisable table settings including position and font size.
Built-in error checks to ensure the indicator is applied on a Daily timeframe.
█ HOW TO USE
Add the indicator to a chart set to a Daily timeframe.
Select your desired Start Time and End Time in the Time Settings.
Toggle the performance table on or off in the Table Settings.
Adjust the table’s location and font size as needed.
Use the "Use Sunday instead of Friday" option if your market requires it.
View the cumulative performance plotted in distinct colours.
Colour Scheme:
Monday: Blue
Tuesday: Red
Wednesday: Green
Thursday: Orange
Friday: Purple
MACD Scalping Strategy (30m & 1m)Long/short scalping strategy
use the 30m MACD to understand trend and 1m MACD crosses to scalp long/short
Vertical Lines & MACD High/Low amThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.ammmmmmmmmmm
Vertical Lines & MACD High/Low pmThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.
Candle Pattern ArrowsThis Pine Script code is designed to identify specific candlestick patterns and draw boxes on the chart to highlight them. Here's a detailed explanation:
1. Purpose: The script detects two specific candlestick patterns:
- A red candle followed by two green candles with no price overlap between the first and third candles.
- A green candle followed by two red candles with no price overlap between the first and third candles.
2. Conditions:
- For the first pattern, the script checks if:
- The candle two bars ago is red (close < open ).
- The next two candles are green (close > open and close > open).
- There is no price overlap between the first and third candles (high < low ).
- For the second pattern, the script checks if:
- The candle two bars ago is green (close > open ).
- The next two candles are red (close < open and close < open).
- There is no price overlap between the first and third candles (low > high ).
3. Drawing Boxes:
- When the first pattern is detected, a red box is drawn:
- The box starts from the red candle and extends 10 bars to the right.
- The height of the box spans from the highest price of the red candle (high ) to the lowest price of the third candle (low ).
- When the second pattern is detected, a green box is drawn:
- The box starts from the green candle and extends 10 bars to the right.
- The height of the box spans from the lowest price of the green candle (low ) to the highest price of the third candle (high ).
4. Box Appearance:
- The boxes have semi-transparent borders and backgrounds to ensure visibility of the underlying candles.
- The border color is set with 50% transparency, and the background color is set with 90% transparency.
5. Positioning:
- The bar_index variable is used to accurately position the boxes on the chart.
- The starting point of the box is set to the bar index of the initial candle (bar_index - 2), and it extends 10 bars to the right.
6. Customization:
- The colors and transparency levels of the boxes can be customized by adjusting the rgb and transp values in the box.new function.
7. Historical Data:
- The script works based on historical data and does not predict future patterns.
- The boxes are drawn only after the three-candle pattern is fully formed.
This script is useful for traders who want to visually identify specific candlestick patterns on their charts, helping them make more informed trading decisions.
Power of Stocks with RSI and ATR Dynamic SL updated via DeepSeekPower of Stocks with RSI and ATR Dynamic SL updated via DeepSeek, with the alert candle is yellow coloured with better visibility.
EBL - Enigma BOS Logic: A Comprehensive Multi-Timeframe Trend anThe EBL (Enigma BOS Logic) script is designed for traders seeking an advanced and versatile tool for identifying market trends, breakouts, and critical price levels. This indicator leverages multi-timeframe analysis, trend filtering, and customizable guidance line settings to provide an all-in-one solution for informed trading decisions.
What Does EBL Do?
EBL identifies critical breakout levels (BOS - Break of Structure) on up to three selected timeframes and dynamically plots them as horizontal guidance lines. It combines these levels with trend analysis and user-defined filters to show only the most relevant data. The script offers flexibility to adapt to different trading styles, whether you're a scalper, day trader, or swing trader.
Key Features:
Multi-Timeframe Analysis:
Users can select three distinct timeframes (e.g., 4H, 30m, 15m).
Execution timeframe (e.g., 1m or 5m) overlays the lines from the selected higher timeframes for real-time precision.
Customizable Guidance Lines:
Define line length (horizontal bars) and choose whether lines extend to the current price.
Individual color settings for bullish and bearish lines.
Trend Detection Filter:
Automatically determines the overall market trend based on the 50-period SMA on each selected timeframe.
Displays only bullish lines during uptrends and bearish lines during downtrends.
Time-Limited Display:
Option to show only lines from the last three days, reducing clutter and focusing on recent price action.
Alerts:
Trigger alerts when price breaks above or below critical levels on any selected timeframe.
Users can choose to receive alerts only for specific timeframes.
How Does It Work?
Break of Structure (BOS):
The script captures key high and low levels on each selected timeframe.
Levels are dynamically updated as the market evolves.
Trend Filtering:
Trend direction is determined for each timeframe based on whether the close is above or below its 50-period SMA.
The overall trend combines signals from all three timeframes, providing a balanced and holistic view of the market.
User Control:
Customize everything: timeframes, colors, line behavior, and alert conditions.
Adjust filters to focus on your preferred time horizon (e.g., last 3 days).
How to Use:
Select up to three timeframes based on your trading strategy (e.g., 4H for macro view, 30m for intermediate trends, and 15m for precision).
Enable or disable the trend filter to control whether lines reflect the market's directional bias.
Configure alerts for breakout levels that align with your strategy.
Use the execution timeframe to see how higher timeframe levels interact with real-time price action.
Who Is It For?
This indicator is ideal for:
Trend Traders who want a clear view of directional bias across multiple timeframes.
Breakout Traders who need to identify key resistance and support levels dynamically.
Scalpers and Day Traders who require real-time precision by overlaying higher timeframe levels on lower execution timeframes.
Underlying Concepts:
Break of Structure (BOS): Highlights significant market pivot points, essential for identifying breakout opportunities.
Multi-Timeframe Confluence: Combines insights from various timeframes to create a balanced understanding of price behavior.
Trend Filtering: Ensures clarity by only displaying levels that align with the overall market direction.
EBL - Enigma BOS Logic is not just another breakout indicator. It is a comprehensive tool that combines multi-timeframe analysis, trend detection, and user-centric customization to empower traders with actionable insights. Whether you're analyzing macro trends or executing precision trades, EBL adapts to your strategy and provides clarity in the chaos of the market.
Smoothed Heiken Ashi Strategy Trend ZonesSmoothed Heiken Ashi Strategy Trend Zones - Description
Overview:
The Smoothed Heiken Ashi Strategy Trend Zones is an enhanced trend-following indicator designed to help traders identify bullish and bearish trend shifts using a smoothed Heiken Ashi methodology. By applying a multi-layered EMA smoothing technique, this script reduces market noise and provides clearer trade signals.
Key Features:
✅ Smoothed Heiken Ashi Candles
A 4-layer EMA smoothing method is used to refine Heiken Ashi calculations.
Filters out price fluctuations for better trend clarity.
✅ Buy & Sell Signals
🔼 Buy Signal – Triggered when a bullish Heiken Ashi trend shift occurs.
🔽 Sell Signal – Activated when a bearish Heiken Ashi trend shift is detected.
📢 Alerts – Custom TradingView alerts notify traders when a new signal appears.
How to Use:
📉 Optimized for Short-Term & Intraday Trading
Best suited for 5-minute and higher timeframes (scalping & trend-following).
Works well in trending markets and can be used with other indicators (RSI, volume analysis) for trade confirmation or reversals.
📌 Customization
Modify the smoothing length to adjust trend sensitivity.
Combine with support/resistance levels along with VWAP to strengthen indicator signals for refined entries and exits.
Final Note:
This indicator is ideal for traders looking for a simplified trend-following approach with clear buy/sell signals.
Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.