GStrategy 1000Pepe 15mTrend Following Candlestick Strategy with EMA Filter and Exit Delay
Strategy Concept
This strategy combines candlestick patterns with EMA trend filtering to identify high-probability trade entries, featuring:
Entry Signals: Hammer and Engulfing patterns confirmed by EMA trend
Trend Filter: Fast EMA (20) vs Slow EMA (50) crossover system
Risk Management: 5% stop-loss + 1% trailing stop
Smart Exit: 2-bar delay after exit signals to avoid whipsaws
Key Components
Trend Identification:
Uptrend: Fast EMA > Slow EMA AND rising
Downtrend: Fast EMA < Slow EMA AND falling
Entry Conditions:
pinescript
// Bullish Entry (Long)
longCondition = (Hammer OR Bullish Engulfing)
AND Uptrend
AND no existing position
// Bearish Entry (Short)
shortCondition = Bearish Engulfing
AND Downtrend
AND no existing position
Exit Mechanics:
Primary Exit: EMA crossover (Fast crosses Slow)
Delayed Execution: Waits 2 full candles after signal
Emergency Exits:
5% fixed stop-loss
1% trailing stop
Visual Dashboard:
Colored EMA lines (Blue=Fast, Red=Slow)
Annotated candlestick patterns
Background highlighting for signals
Distinct markers for entries/exits
Unique Features
Pattern Recognition:
Enhanced Hammer detection (strict body/wick ratios)
Multi-candle engulfing confirmation
Trend-Confirmation:
Requires price and EMA alignment
Filters counter-trend patterns
Exit Optimization:
pinescript
// Delay implementation
if exit_signal_triggered
counter := 2 // Start countdown
else if counter > 0
counter -= 1 // Decrement each bar
exit_trade = (counter == 1) // Execute on final bar
Risk Parameters
Parameter Value Description
Stop Loss 5% Fixed risk per trade
Trailing Stop 1% Locks in profits
Exit Delay 2 bars Reduces false exits
Position Size 100% No pyramiding
Visualization Examples
🟢 Green Triangle: Bullish entry
🔴 Red Triangle: Bearish entry
⬇️ Blue X: Long exit (after delay)
⬆️ Green X: Short exit (after delay)
🎯 Pattern Labels: Identifies hammer/engulfing
Recommended Use
Timeframes: 1H-4H (reduces noise)
Markets: Trend-prone assets (FX, indices)
Best Conditions: Strong trending markets
Avoid: Choppy/Ranging markets
Candlestick analysis
Opening Range + Full-Day High/Low + Prev Day LevelsDraws a box around the first 15min range with horizontal lines extending throughout the day, with faded lines of the previous day's highs and lows, also draws arrows for 5m breakouts of those levels
DeltaStrike — Aggressive Candle Detector by Chaitu50cDeltaStrike — Aggressive Candle Detector
by Chaitu50c
DeltaStrike is a simple and effective tool designed to help traders identify the most aggressive candles on the chart in real time. It works purely on price action and internal candle dynamics, with no reliance on lagging indicators.
The indicator combines delta (directional strength), candle range, and volume to compute an overall aggressiveness score for each candle. When this score exceeds a dynamic threshold based on recent market behavior, the candle is marked as an aggressive move.
Aggressive bullish candles are plotted as green diamonds below the candle, while aggressive bearish candles are plotted as red diamonds above the candle. The goal is to help traders visually spot moments of strong directional pressure, where potential trends or reversals may emerge.
The detection logic adapts automatically to changing market volatility and volume, making it suitable for all instruments and timeframes, including index futures, equities, and forex.
An integrated dashboard on the chart displays live readings of the key components contributing to each candle’s aggressiveness score: delta ratio, range ratio, and volume ratio. This helps traders understand the internal structure of each aggressive move.
Features:
Dynamic aggressiveness detection based on delta, range, and volume
Adaptive threshold for consistent behavior across timeframes and instruments
Clean chart output with clear diamond markers only on selected candles
Live dashboard with internal metrics for advanced analysis
Simple, lightweight, and optimized for intraday and swing trading
Works with any instrument: index, equity, forex, commodity
DeltaStrike is intended as an objective visual aid to help traders focus on genuine moments of strong market intent, filtering out ordinary or passive price movement. It can be used standalone or in combination with your existing trading strategy.
[killerbee] MTF RetracementKey Features
Multi-Timeframe (MTF) Analysis: Plot the high, low, and open from up to four user-defined higher timeframes. This allows you to see the bigger picture and identify key levels that institutional traders are watching.
Dynamic Support & Resistance: Lines are drawn at these key MTF levels and extend until price breaks through them, providing a clean and dynamic view of support and resistance.
Session Highlighting: Automatically draw boxes and high/low lines for the Asia, London, and RTH (Regular Trading Hours) sessions. This helps you understand the context of price action throughout the trading day.
Customizable Opening Price Lines: Pinpoint significant opening prices with dedicated lines for events like the "Midnight Open," "8:30 Open," and "9:30 Open."
"NQ STATS TABLE": A powerful statistical table that provides real-time insights:
Break/Hit Confirmation: Instantly see when a key MTF high/low has been broken or when an opening price has been retraced to.
9 AM Directional Bias: A bullish or bearish bias based on the close of the 9 AM (New York time) hourly candle.
Historical Probabilities: The table displays historical probabilities for price to either break a previous high/low or retrace to the open, based on the current hour of the trading session.
Extensive Customization: Nearly every visual aspect of the indicator can be customized to your preference, including colors, line styles, visibility of each component, and the position of the stats table.
How to Use
Identify Key Levels: The lines from the higher timeframes (HTF1, HTF2, etc.) represent significant support and resistance. Pay close attention to these levels as price approaches them.
Look for Breaks and Retracements:
When a high or low line is broken, the line will stop extending. This can signal a shift in market structure and a potential continuation in the direction of the break.
The "Open Line" for each timeframe represents the opening price. When the line stops extending, it means price has retraced back to that open, a common occurrence in the market.
Utilize the Sessions:
The Asia, London, and RTH boxes help you frame your trading day. The highs and lows of these sessions are often critical levels of support and resistance.
Breakouts from these session ranges can lead to strong directional moves.
Leverage the STATS TABLE:
Use the "Break" and "Hit" columns to quickly confirm when key levels have been breached or revisited.
The "Direction" row gives you a quick sentiment reading based on the 9 AM candle.
The "Trades Back %" and "High/Low Forms" provide a statistical edge by showing you the historical likelihood of certain price behaviors based on the time of day. This can help you decide whether to play for a breakout or a retracement.
Liquidity Engulfing (Nephew_Sam_)🔥 Liquidity Engulfing Multi-Timeframe Detector
This indicator finds engulfing bars which have swept liquidity from its previous candle. You can use it across 6 timeframes with fibonacci entries.
⚡ Key Features
6 Customizable Timeframes - Complete market structure analysis
Smart Liquidity Detection - Finds patterns that sweep liquidity then reverse
Real-Time Status Table - Confirmed vs unconfirmed patterns with color coding
Fibonacci Integration - 5 customizable fib levels for precise entries
HTF → LTF Strategy - Spot reversals on higher timeframes, enter on lower timeframe fibs
📈 Engulfing Rules
Bullish: Current candle bullish + previous bearish + current low < previous low + current close > previous open
Bearish: Current candle bearish + previous bullish + current high > previous high + current close < previous open
Whale Activity Classic[nakano]## Whale Activity Classic
### Uncover the Hidden Intent of Volume
The **Whale Activity Classic ** indicator provides an unparalleled view into the nuanced volume dynamics within each candlestick. By analyzing sub-timeframe volume, it visually separates significant **large investor** activity from typical "Noise" volume, helping you understand the true forces driving price action.
This tool is designed to reveal the otherwise invisible movements of **large investors** and gauge overall market participation, giving you a deeper understanding than standard volume bars alone.
---
### Key Features:
* **Multi-Layered Volume Bars:**
* **Large Investor Volume (Densely Colored Bars):** Represents the aggregated volume from sub-timeframe candles where individual volume exceeded your defined threshold. Green indicates buying pressure (positive), and red indicates selling pressure (negative).
* **Normal Volume (Lightly Colored Bars):** Shows the total volume from sub-timeframe trades that fell *below* the threshold. This provides context about general market participation.
* **Comprehensive Customization:**
* **Symbol Selection:** Analyze the current chart's symbol or specify any custom symbol (e.g., crypto, stocks, forex) for in-depth analysis.
* **Lower Timeframe Analysis:** Choose your desired granularity from 1-second, 5-second, 10-second, 30-second, 1-minute, 5-minute, or 15-minute sub-timeframes.
* **Volume Thresholding:** Opt for a `Manual` fixed threshold or an `Automatic` calculation that adapts to current market conditions.
* **Noise Volume Visibility:** Toggle the display of "Normal Volume" bars to focus on **large investor** activity or view the complete picture.
* **Extensive Color Settings:** Customize the colors and transparency for all four volume types (**large investor** Positive/Negative, Normal Positive/Negative) to match your visual preferences.
---
### How to Use & Interpretation Tips:
* **Understanding Auto-Calculated Thresholds:** When `Automatic` calculation is selected, hover your cursor over any bar. The exact "Current Threshold" applied to that bar will be displayed in the status line at the top-left of the indicator panel.
* **Spotting Large Investor Intent:**
* If **Large Investor Volume (green/red bars)** is prominent while **Normal Volume (lightly colored bars)** is small, it suggests a sudden, significant move by a **large investor**, potentially against the prevailing retail sentiment.
* Conversely, if both **Large Investor Volume** and Normal Volume are large, it indicates strong trend momentum, drawing in both large institutions and retail participants.
* **Measuring Trend Strength:** Combined large **Large Investor Volume** and Normal Volume bars signify a robust trend with broad market participation.
* **Default Settings:** The automatic threshold's default settings (Period: 100, Multiplier: 25) are balanced for broad market application. However, we recommend adjusting these values to optimize performance for your specific asset and trading style.
---
### Important Notes:
* Analyzing longer chart timeframes (e.g., 1-hour, daily) with very low sub-timeframes may process a large amount of data, potentially affecting performance or causing errors. Using this indicator on **minute timeframes** is recommended.
* Always ensure your `Analysis Timeframe (Lower)` is **shorter** than your main chart's timeframe.
* Access to second-based timeframes (1S, 5S, etc.) requires a paid TradingView plan.
---
---
### 出来高の隠れた意図を解き明かす
**Whale Activity Classic ** インジケーターは、各ローソク足内で展開される微細な出来高の力関係を、かつてないほど詳細に可視化します。より短い時間足の出来高を分析することで、重要な**大口投資家**の活動と、一般的な「通常出来高(ノイズ)」を視覚的に分離し、値動きを動かす真の力を理解する手助けをします。
このツールは、通常の出来高バーでは見えない**大口投資家**の動きと、市場全体の参加状況を同時に把握するために設計されており、標準的な出来高表示だけでは得られない深い洞察を提供します。
---
### 主な機能:
* **多層的な出来高バー:**
* **大口投資家出来高(濃い色のバー):** 指定した閾値を超えた、より短い時間足の個々の出来高を合計したものです。緑色は買い圧力(プラス方向)、赤色は売り圧力(マイナス方向)を示します。
* **通常出来高(薄い色のバー):** 閾値に満たなかった取引の合計出来高を示します。これにより、一般的な市場参加の状況を把握できます。
* **包括的なカスタマイズ性:**
* **銘柄選択:** 現在のチャートの銘柄を分析することも、暗号資産、株式、FXなど、任意のカスタム銘柄を指定して詳細な分析を行うこともできます。
* **分析する時間足 (下位):** 1秒、5秒、10秒、30秒、1分、5分、15分から、分析の粒度を選択できます。
* **出来高の閾値:** 固定値を設定する「手動」モードと、現在の市場状況に適応する「自動」計算モードを選択できます。
* **通常出来高の表示:** チェックボックスで「通常出来高」バーの表示/非表示を切り替え、**大口投資家**の活動に焦点を当てるか、全体像を見るかを選択できます。
* **詳細なカラー設定:** 4種類の出来高タイプ(**大口投資家**プラス/マイナス、通常プラス/マイナス)すべての色と透明度を自由にカスタマイズできます。
---
### 使い方と分析のヒント:
* **自動計算された閾値の確認方法:** 「自動」計算を選択した場合、任意のバーにカーソルを合わせると、インジケーターパネルの左上にあるステータスラインに、そのバーに適用された正確な「現在の計算閾値」が表示されます。
* **大口投資家の意図を読み解く:**
* **大口投資家出来高(緑/赤のバー)が際立っている一方で、通常出来高(薄い色のバー)が小さい場合**、それは一般的な小売りのセンチメントとは異なる、**大口投資家**による突然の重要な動きを示唆している可能性があります。
* 逆に、**大口投資家出来高**と通常出来高の両方が大きい場合、それは大規模な機関投資家と個人投資家の両方を巻き込んだ、強いトレンドが発生していることを示します。
* **トレンドの勢いを測る:** **大口投資家出来高**と通常出来高のバーの両方が大きい場合、それは活発な市場参加を伴う、堅調なトレンドを示します。
* **デフォルト設定について:** 自動閾値のデフォルト設定(期間:100、倍率:25)は、幅広い市場に適用できるようバランスが取れています。ただし、ご自身の分析対象となる資産や取引スタイルに合わせて、これらの値を調整することをお勧めします。
---
### 重要な注意事項:
* メインチャートの時間足を長く(例:1時間足、日足)しすぎると、非常に細かい下位の時間足で大量のデータを処理することになり、パフォーマンスが低下したり、エラーが発生する可能性があります。このインジケーターは**分足での使用を推奨**します。
* 「分析する時間足 (下位)」は、必ずメインチャートの時間足より**短いもの**を選択してください。
* 秒足(1S、5Sなど)での分析には、TradingViewの有料プランへの加入が必要です。
---
Candle Close Location MarkerThis script customizes the appearance of candlesticks by highlighting whether the candle closed in the upper, middle, or lower part of its range — using a small orange marker inside each candle.
It also includes a traditional volume histogram with two simple moving averages (SMA 20 and SMA 50), helping traders detect volume trends and potential reversals.
📌 Useful for identifying strength of momentum and visualizing market sentiment clearly.
Features:
• ✅ Colored candles: green for bullish, black for bearish
• ✅ Orange square shows the position of the close (top, middle, or bottom of the candle)
• ✅ Volume bars with SMA 20 (orange) and SMA 50 (blue)
• ✅ Works on all timeframes
Developed by:
Version: 1.0
Language: Pine Script v5
Smart Bar Counter with Alerts🚀 Smart Bar Counter with Alerts 🚀
-----------------------------------------------------
Overview
-----------------------------------------------------
Ever wanted to count a specific number of bars from a key point on your chart—such as after a Break of Structure (BOS), the start of a new trading session, or from any point of interest— without having to stare at the screen?
This "Smart Bar Counter" indicator was created to solve this exact problem. It's a simple yet powerful tool that allows you to define a custom "Start Point" and a "Target Bar Count." Once the target count is reached, it can trigger an Alert to notify you immediately.
-----------------------------------------------------
Key Features
-----------------------------------------------------
• Manual Start Point: Precisely select the date and time from which you want the count to begin, offering maximum flexibility in your analysis.
• Custom Bar Target: Define exactly how many bars you want to count, whether it's 50, 100, or 200 bars.
• On-Chart Display: A running count is displayed on each bar after the start time, allowing you to visually track the progress.
• Automatic Alerts: Set up alerts to be notified via TradingView's various channels (pop-up, mobile app, email) once the target count is reached.
-----------------------------------------------------
How to Use
-----------------------------------------------------
1. Add this indicator to your chart.
2. Go to the indicator's Settings (Gear Icon ⚙️).
- Select Start Time: Set the date and time you wish to begin counting.
- Number of Bars to Count: Input your target number.
3. Set up the Alert ( Very Important! ).
- Right-click on the chart > Select " Add alert ."
- In the " Condition " dropdown, select this indicator: Smart Bar Counter with Alerts .
- In the next dropdown, choose the available alert condition.
- Set " Options " to Once Per Bar Close .
- Choose your desired notification methods under " Alert Actions ."
- Click " Create ."
-----------------------------------------------------
Use Cases
-----------------------------------------------------
• Post-Event Analysis: Count bars after a key event like a Break of Structure (BOS) or Change of Character (CHoCH) to observe subsequent price action.
• Time-based Analysis: Use it to count bars after a market open for a specific session (e.g., London, New York).
• Strategy Backtesting: Useful for testing trading rules that are based on time or a specific number of bars.
-----------------------------------------------------
Final Words
-----------------------------------------------------
Hope you find this indicator useful for your analysis and trading strategies! Feel free to leave comments or suggestions below.
Power of Three FractalsIntroducing Power of Three Fractals—an advanced, all-in-one TradingView toolkit designed to bring higher timeframe context directly onto your primary chart. This isn't just another candle overlay; it's a sophisticated analytical suite built for the serious price action trader. Developed with the core principles of "smart money" concepts, this indicator helps you see the market in a new dimension.
Key Features:
Floating Candlestick Display:
Forget cluttered chart backgrounds. Power of Three Fractals displays your chosen higher timeframe candles as a clean, stylized series of candlesticks in a dedicated space on the right side of your chart, allowing you to analyze HTF structure without losing focus on live price action.
Intelligent Adaptive Timeframe:
This is a game-changer. If you set the indicator to show 4H candles but switch your main chart to the Daily, it won't produce an error. Instead, it automatically adapts, recognizing the invalid selection and seamlessly switching to display the next logical timeframe (e.g., Weekly candles). This provides a flawless analytical experience as you move through timeframes.
Precision High/Low Anchors:
Dotted Lines: Instantly see which lower timeframe (LTF) candle created the high and low of the current HTF candle. This is perfect for visualizing manipulation wicks and the true Power of Three delivery.
Solid Lines: Automatically identify the absolute highest high and lowest low across the entire displayed range of HTF candles. The script then draws a solid line back to the exact LTF candle that formed these critical points, defining your true trading range. This feature intelligently hides itself if the current candle is making the high/low to avoid unnecessary clutter.
Automated Liquidity Sweep Detection:
This powerful, built-in algorithm automatically identifies one of the most critical price action events: a liquidity sweep. When a newer HTF candle takes the low of the oldest displayed candle and then closes back above it, the indicator instantly alerts you.
It draws a dashed line from the initial low to the end of the range and places a bold 'x' marker below the specific candle that performed the sweep, giving you a clear, unmissable signal of this key market event.
Integrated HTF Countdown Timer:
Stay perfectly in sync with the market. A clean, floating timer in the bottom-right corner displays a live countdown to the close of your selected higher timeframe candle, complete with a header so you always know which timeframe you're tracking.
Fully Customizable Aesthetics:
Tailor the indicator to your personal chart theme. You have full control over the colors of bullish/bearish candles, wicks, and all connecting lines, allowing for a seamless visual integration.
Who Is This Indicator For?
The Power of Three Fractals indicator is built for the discerning trader who understands that context is key. It is ideal for:
Day Traders & Scalpers needing constant awareness of higher timeframe control.
Swing Traders looking to time entries based on HTF structure and LTF shifts.
Price Action & "Smart Money Concept" Traders who utilize concepts like liquidity sweeps, order blocks, and fractals.
What You Get:
Access to the Power of Three Fractals indicator on TradingView.
All future updates, bug fixes, and feature enhancements.
Stop trading in the dark. Elevate your analysis, gain a critical edge, and make more informed trading decisions with the Power of Three Fractals indicator.
Disclaimer: The Power of Three Fractals is an analytical tool and should not be considered financial advice or a signal service. All trading involves risk, and past performance is not indicative of future results. Please use this tool as part of a comprehensive trading plan with proper risk management.
Candle Body Strength CounterThis indicator measures the total bullish and bearish candle body strength over a user-defined lookback period. For each bar, it sums the absolute body sizes of bullish candles (where close > open) and bearish candles (where close < open) within the lookback window. The result is two lines: one for bullish body strength and one for bearish body strength, making it easy to spot shifts in market momentum and bias.
Adjustable lookback period (default: 20 bars)
Green line: cumulative bullish body strength
Red line: cumulative bearish body strength
Use this tool to quickly assess which side (bulls or bears) has been stronger over your chosen timeframe.
Math by Thomas Liquidity PoolDescription
Math by Thomas Liquidity Pool is a TradingView indicator designed to visually identify potential liquidity pools on the chart by detecting areas where price forms clusters of equal highs or equal lows.
Bullish Liquidity Pools (Green Boxes): Marked below price where two adjacent candles have similar lows within a specified difference, indicating potential demand zones or stop loss clusters below support.
Bearish Liquidity Pools (Red Boxes): Marked above price where two adjacent candles have similar highs within the difference threshold, indicating potential supply zones or stop loss clusters above resistance.
This tool helps traders spot areas where smart money might hunt stop losses or where price is likely to react, providing valuable insight for trade entries, exits, and risk management.
Features:
Adjustable box height (vertical range) in points.
Adjustable maximum difference threshold between candle highs/lows to consider them equal.
Boxes automatically extend forward for visibility and delete when price sweeps through or after a defined lifetime.
Separate visual zones for bullish and bearish liquidity with customizable colors.
How to Use
Add the Indicator to your chart (preferably on instruments like Nifty where point-based thresholds are meaningful).
Adjust Inputs:
Box Height: Set the vertical size of the liquidity zones (default 15 points).
Max Difference Between Highs/Lows: Set the max price difference to consider two candle highs or lows as “equal” (default 10 points).
Box Lifetime: How many bars the box stays visible if not swept (default 120 bars).
Interpret Boxes:
Green Boxes (Bullish Liquidity Pools): Areas of potential demand and stop loss clusters below price. Watch for price bounces or accumulation near these zones.
Red Boxes (Bearish Liquidity Pools): Areas of potential supply and stop loss clusters above price. Watch for price rejections or distribution near these zones.
Trading Strategy Tips:
Use these zones to anticipate where stop loss hunting or liquidity sweeps may occur.
Combine with your Order Block, Fair Value Gap, and Market Structure tools for higher probability setups.
Manage risk by avoiding entries into price regions just before large liquidity pools get swept.
Automatic Cleanup:
Boxes delete automatically once price breaks above (for bearish zones) or below (for bullish zones) the zone or after the set lifetime.
Bounce Zone📘 Bounce Zone – Indicator Description
The "Bounce Zone" indicator is a custom tool designed to highlight potential reversal zones on the chart based on volume exhaustion and price structure. It identifies sequences of candles with low volume activity and marks key price levels that could act as "bounce zones", where price is likely to react.
🔍 How It Works
Volume Analysis:
The indicator calculates a Simple Moving Average (SMA) of volume (default: 20 periods).
It looks for at least 6 consecutive candles (configurable) where the volume is below this volume SMA.
Color Consistency:
The candles must all be of the same color:
Green candles (bullish) for potential downward bounce zones.
Red candles (bearish) for potential upward bounce zones.
Zone Detection:
When a valid sequence is found:
For green candles: it draws a horizontal line at the low of the last red candle before the sequence.
For red candles: it draws a horizontal line at the high of the last green candle before the sequence.
Bounce Tracking:
Each horizontal line remains on the chart until it is touched twice by price (high or low depending on direction).
After two touches, the line is automatically removed, indicating the zone has fulfilled its purpose.
📈 Use Cases
Identify areas of price exhaustion after strong directional pushes.
Spot liquidity zones where institutions might step in.
Combine with candlestick confirmation for reversal trades.
Useful in both trending and range-bound markets for entry or exit signals.
⚙️ Parameters
min_consecutive: Minimum number of consecutive low-volume candles of the same color (default: 6).
vol_ma_len: Length of the volume moving average (default: 20).
🧠 Notes
The indicator does not repaint and is based purely on historical candle and volume structure.
Designed for manual strategy confirmation or support for algorithmic setups.
Year/Quarter Open LevelsDeveloped by ADEL CEZAR and inspired by insights from ERDAL Y, this indicator is designed to give traders a clear edge by automatically plotting the Yearly Open and Quarterly Open levels — two of the most critical institutional reference points in price action.
These levels often act as magnets for liquidity, bias confirmation zones, and support/resistance pivots on higher timeframes. With customizable settings, you can display multiple past opens, fine-tune label positions, and align your strategy with high-timeframe structure — all in a lightweight, non-intrusive design.
If you follow Smart Money Concepts (SMC), ICT models, or build confluence using HTF structures and range theory, this script will integrate seamlessly into your workflow.
David_FairPriceCandlestick_calculatedDescription:
This indicator displays the "Typical Price" for each candle as a visual marker (cross) directly on the chart. The Typical Price is calculated as the average of the High, Low, and Close values of each bar:
(High + Low + Close) / 3
The marker provides a quick visual reference to the fair or average price level within every single candle.
Unlike a Point of Control (POC) or volume-based indicators, this script works purely with price data and is independent of volume or order flow.
Use cases:
Identify where most trading activity may have been concentrated within the candle (for price-based strategies)
Support as a reference line for mean-reversion or fair value concepts
Works on all timeframes and instruments
Customization:
You can easily change the marker style (cross, dot, triangle, etc.) and color within the script.
Lucy – 3-Bar Reversal with EMA50 Trend Filter📛 Lucy – 3-Bar Reversal with EMA50 Trend Filter
Purpose:
To detect and highlight bullish and bearish 3-bar reversal patterns on the chart, but only when they align with the dominant trend, defined by the EMA 50.
✅ How It Works
🟢 Bullish 3-Bar Reversal (Buy Setup):
Bar 1 is bearish (close < open)
Bar 2 makes a lower low than Bar 1
Bar 3 is bullish (close > open) and closes above Bar 2’s high
Price must be above EMA 50 (trend filter)
✅ Result: Shows a green triangle below the bar
🔴 Bearish 3-Bar Reversal (Sell Setup):
Bar 1 is bullish (close > open)
Bar 2 makes a higher high than Bar 1
Bar 3 is bearish (close < open) and closes below Bar 2’s low
Price must be below EMA 50
✅ Result: Shows a red triangle above the bar
📊 What It Plots:
🔼 Green triangle below bullish signal bar
🔽 Red triangle above bearish signal bar
🟠 Orange line = EMA50 (trend filter)
🔔 Built-in Alerts:
You’ll get an alert if:
A bullish reversal pattern forms above EMA50
A bearish reversal pattern forms below EMA50
🧠 Use Cases:
Great for trend-following traders who want clean, price-action entries
Works well on intraday (15m/1h) or swing (4h/daily) timeframes
Can be used for manual entries, or converted to strategy for automation
Whale Activity[nakano]#### **Title**
Whale Activity
#### **Summary**
This indicator visualizes the micro-level power dynamics occurring inside each candlestick. It analyzes the volume of a user-defined lower timeframe (e.g., 1-second) within each bar of the main chart (e.g., 5-minute) and separately plots the total "buying pressure" (bullish volume) and "selling pressure" (bearish volume) that exceeded a significant volume threshold.
It's a tool designed to help you trace the footprints of "whales" (large-scale investors) that are often hidden in standard volume bars.
#### **Key Features**
* **Bi-directional Volume Bars:**
* **Upward Green Bars:** Represent the sum of volume from bullish (up) lower-timeframe candles that exceeded the volume threshold, signifying buying pressure.
* **Downward Red Bars:** Represent the sum of volume from bearish (down) lower-timeframe candles that exceeded the threshold, signifying selling pressure.
* **Complete Customization:**
* **Symbol to Analyze:** Freely select any instrument from any market (Crypto, Stocks, Forex, etc.).
* **Analysis Timeframe (Lower):** Choose the granularity of your analysis (1S, 5S, 10S, 1M, etc.) from a dropdown menu.
* **Volume Threshold (Lower TF):** Set a minimum volume to filter out market noise and focus only on significant trades.
#### **How to Use & Interpretation Tips**
* **See Through "Deceptive Volume":**
If a 5-minute candle has high total volume, but this indicator shows small green and red bars, it suggests the volume was comprised of many insignificant trades with no clear intent from large players ("whales").
* **Identify Dominant Pressure:**
Conversely, a large, protruding green bar with a small red bar indicates strong, persistent buying pressure and potential accumulation. The same applies to selling pressure.
* **Threshold Adjustment is Key:**
The "Volume Threshold" is critical and varies greatly between assets. A value of `1.0` might be suitable for BTC, while a stock like AAPL might require `100000` (shares). Adjust this value to fit the instrument you are analyzing to unlock the full potential of this tool.
#### **Disclaimer**
* Using this indicator on high chart timeframes (e.g., 1H, 1D) requires fetching a very large amount of data from the lower timeframe, which may lead to performance issues or script errors. It is recommended for use on intraday timeframes (e.g., 1M, 5M, 15M).
* Always ensure the selected "Analysis Timeframe (Lower)" is shorter than or equal to your main chart's timeframe.
---
#### **タイトル**
Whale Activity
#### **概要 (Summary)**
このインジケーターは、ローソク足の内部で起きている微細な力関係を可視化します。指定した時間足(例:5分足)の中に含まれる、さらに短い時間足(例:1秒足)の出来高を分析し、閾値を超えた「買い圧力(陽線出来高)」と「売り圧力(陰線出来高)」をそれぞれ合計して、上下のバーで表示します。
通常の出来高バーでは見えない「クジラ(大口投資家)」の動きの痕跡を探るためのツールです。
#### **主な機能 (Key Features)**
* **上下の出来高バー:**
* **緑のバー(上向き):** 閾値を超えた陽線(買い)の出来高の合計値を表します。
* **赤のバー(下向き):** 閾値を超えた陰線(売り)の出来高の合計値を表します。
* **完全なカスタマイズ性:**
* **分析する銘柄:** 暗号資産、株式、FXなど、あらゆる銘柄を自由に選択して分析できます。
* **分析する時間足 (下位):** 1秒、5秒、10秒など、分析の粒度をドロップダウンから選択できます。
* **出来高の閾値 (下位TF):** 市場のノイズを除去し、「意味のある」と判断する出来高の基準値を自由に設定できます。
#### **使い方・分析のヒント (How to Use & Interpretation Tips)**
* **「見せかけの出来高」を見破る:**
例えば、5分足の出来高が大きくても、このインジケーターのバーが両方とも小さい場合、それは閾値以下の小さな取引の集合であり、大口の明確な意図はないかもしれません。
* **優勢な力の特定:**
逆に、緑のバーだけが突出している場合、誰かが継続的に買い集めている強いシグナルと解釈できます。売りも同様です。
* **閾値の調整が鍵:**
「出来高の閾値」は、分析する銘柄や時間帯によって大きく異なります。BTCなら`1`、AAPL株なら`100000`のように、適切な値に調整することで、初めてこのツールは真価を発揮します。
#### **注意点 (Disclaimer)**
* チャートの時間足を長くする(例: 1時間足、日足)と、計算するデータ量が膨大になり、パフォーマンスが低下したり、エラーが発生する可能性があります。分足での使用を推奨します。
* 「分析する時間足 (下位)」は、必ずチャート本体の時間足よりも短いものを選択してください。
Recent Internal Bar StrengthThis indicator is designed to assist price action traders by highlighting the Internal Bar Strength (IBS) of recent bars, offering a quantitative measure of each bar’s closing position within its own high–low range.
IBS is computed by dividing the difference between the bar’s closing price and its low by the total price range of that bar (i.e., the difference between its high and low). The resulting value lies between 0 and 1: the closer the closing price is to the high, the nearer the IBS approaches 1; conversely, the closer it is to the low, the nearer the IBS approaches 0. This metric may be interpreted as an indicator of directional bias within the bar itself, indirectly reflecting the strength or weakness of short-term market momentum.
In implementation, the IBS value is expressed as a percentage and visually encoded according to preset thresholds. Specifically, bullish bars with an IBS exceeding the upper threshold (default: 69) are rendered in blue-green, while bearish bars with an IBS falling below the lower threshold (default: 31) are rendered in orange. All other bars are displayed in a neutral gray. This visual scheme allows traders to quickly discern bars exhibiting pronounced internal strength or weakness, thereby facilitating more informed assessments of potential price behavior in the near term.
The indicator provides two types of information concurrently. First, it displays a user-defined number of IBS labels for recently closed bars, enabling retrospective analysis of recent price action and its continuity or variation. Second, it presents the real-time IBS value for the currently forming bar, allowing traders to monitor the bar’s evolving position within its range as it develops.
By visualizing IBS directly on the chart, this indicator offers a concise and coherent tool for observing the structural dynamics of individual bars. It aids in the quantitative interpretation of intrabar momentum, enriching the trader’s capacity to read price behavior with greater clarity and precision.
Ichimoku Multi-Timeframe Status[nakano]### Ichimoku Multi-Timeframe Status
---
#### Overview
This indicator is a sophisticated multi-timeframe analysis tool specializing in the "Sanyaku Kouten" (Three Bullish Signals) and "Sanyaku Gyakuten" (Three Bearish Signals) of the Ichimoku Kinko Hyo.
The status panel, displayed in the bottom-right corner of the screen, allows you to simultaneously monitor the Ichimoku conditions across up to eight different timeframes. This enables you to grasp the trend direction from short-term to long-term at a glance and helps you not to miss entry opportunities.
Through extensive trial, error, and debugging, the signal determination logic has been crafted to achieve a high degree of precision.
---
#### Key Features
1. **Multi-Timeframe Status Panel**
* **Monitor Multiple Timeframes at Once**: Displays the status of up to seven different timeframes (defaulting to 1m, 5m, 15m, 1h, 4h, 1D, and 1W) in a single list, in addition to the current chart's timeframe.
* **Detailed Status Display**: For each timeframe, it clearly displays whether the "Tenkan-sen," "Kumo (Cloud)," and "Chikou Span" components are in a "Bullish," "Bearish," or "— (Neutral)" state, color-coded for intuitive understanding.
* **Overall Judgment**: It comprehensively evaluates the state of each component to display a final signal of "Sanyaku Kouten" or "Sanyaku Gyakuten" in the panel.
2. **High-Precision Signal Logic**
* **Cloud Breakout**: Adopts a stricter logic, judging "Bullish" or "Bearish" breakouts only when the **real body** of the candlestick has completely broken out of the Kumo, not just the wicks.
* **Lagging Span (Chikou Span)**: Determines if the Chikou Span has clearly broken above/below the **real body** of the past candlestick. By consistently comparing it to the top/bottom of the real body, regardless of whether the candle is bullish or bearish, it captures more accurate signals.
* **Display Accuracy**: The common one-period display lag seen in many Ichimoku indicators for the Chikou Span and Kumo has been precisely corrected in both calculation and plotting.
3. **Alert Functionality**
* You can create TradingView alerts that trigger the moment a "Sanyaku Kouten" or "Sanyaku Gyakuten" is confirmed on the current timeframe. This allows you to receive notifications of opportunities without being tied to your chart.
4. **High Customizability**
* **Toggle Displays**: The status panel and the "Bullish"/"Bearish" labels on the chart can be easily toggled on or off from the settings menu. (Signal labels are off by default).
* **Complete Color Settings**: You can freely set the colors for all plotted elements, including the Tenkan-sen, Kijun-sen, Chikou Span, Kumo border lines, and Kumo background (for up and down clouds), allowing you to match your personal chart theme.
---
#### How to Use
1. **Add the indicator to your chart.**
2. **Open the settings menu.**
* **Display Settings**: Toggle the visibility of the on-chart signal labels and the status panel.
* **Timeframe Settings**: Freely configure up to seven timeframes you wish to monitor in the status panel.
* **Ichimoku Parameters**: Adjust the periods for the Tenkan-sen, Kijun-sen, etc., to fit your analysis.
* **Line Color Settings**: Customize the colors of the Ichimoku lines and the Kumo to your preference.
3. **Setting Up Alerts**
* Open the TradingView alert creation dialog.
* For "Condition," select this indicator (`Ichimoku Multi-Timeframe Status `).
* Choose either the "Sanyaku Kouten" or "Sanyaku Gyakuten" alert condition and configure your notification settings.
I hope this tool serves as a valuable aid in your market analysis and trading.
---
---
---
### Ichimoku Multi-Timeframe Status
---
#### 概要
このインジケーターは、一目均衡表の「三役好転・三役逆転」に特化した高機能なマルチタイムフレーム分析ツールです。
画面の右下に表示されるステータスパネルにより、最大8つの異なる時間足における一目均衡表の状況を同時に監視できます。これにより、短期から長期までのトレンドの方向性を一目で把握し、エントリーチャンスを逃しません。
多くの試行錯誤とデバッグを経て、シグナル判定のロジックは高い精度を持つように作り込まれています。
---
#### 主な機能
1. **マルチタイムフレーム・ステータスパネル**
* **複数時間足の一括監視**: 現在のチャートの足に加えて、最大7つの異なる時間足(デフォルトでは1分、5分、15分、1時間、4時間、日足、週足)の状況を一覧表示します。
* **詳細な状態表示**: 各時間足について、「転換線」「雲」「遅行スパン」の各要素が「好転」「逆転」「−(どちらでもない)」のいずれの状態にあるかを色付きで分かりやすく表示します。
* **総合判断**: 各要素の状態を総合的に判断し、最終的なシグナルとして「三役好転」または「三役逆転」をパネルに表示します。
2. **精度の高いシグナル判定ロジック**
* **雲抜け**: ローソク足のヒゲではなく、**実体が完全に雲を抜けた**場合のみ「好転」「逆転」と判定する、より厳密なロジックを採用しています。
* **遅行スパン**: 遅行スパンが、過去のローソク足の**実体**を明確に上抜け/下抜けしたかを判定します。陰線・陽線に関わらず、常に実体の上限/下限と比較するため、より正確なシグナルを捉えます。
* **表示の正確性**: 多くのインジケーターで見られる遅行スパンや雲の1期間の表示ズレを、計算と描画の両面で正確に補正しています。
3. **アラート機能**
* 現在のチャートの時間足で「三役好転」または「三役逆転」が成立した瞬間に、TradingViewのアラートを発生させることができます。これにより、チャンスを逃さず通知を受け取ることが可能です。
4. **高いカスタマイズ性**
* **表示の切り替え**: ステータスパネルや、チャート上に表示される「好転」「逆転」のラベルは、設定画面から表示/非表示を簡単に切り替えられます。(シグナルラベルはデフォルトで非表示)
* **完全なカラー設定**: 転換線、基準線、遅行スパン、雲の縁取り線、雲の背景色(上昇/下降)など、描画されるすべての要素の色を自由に設定でき、ご自身のチャートテーマに合わせることが可能です。
---
#### 使い方
1. **インジケーターをチャートに追加します。**
2. **設定画面を開きます。**
* **表示設定**: チャート上のシグナルラベルや、ステータスパネルの表示/非表示を切り替えます。
* **時間足設定**: ステータスパネルで監視したい時間足を最大7つまで自由に設定します。
* **一目均衡表パラメータ**: ご自身の分析に合わせて、転換線や基準線などの期間設定を変更できます。
* **ラインカラー設定**: チャートに表示される一目均衡表の各ラインや雲の色を、お好みの色にカスタマイズします。
3. **アラートの設定**
* TradingViewのアラート作成画面を開きます。
* 「条件」でこのインジケーター(`Ichimoku Multi-Timeframe Status `)を選択します。
* 「三役好転」または「三役逆転」のいずれかのアラート条件を選択し、通知設定を行ってください。
環境認識の補助ツールとして、皆様のトレードの一助となれば幸いです。
Forex Session Levels + Dashboard (AEST)This is a script showing all the key levels you will ever need for the breakout and retest strategy.
Follow my IG:
@liviupircalabu10
HTF 3rd Weekly High/LowThis indicator plots horizontal lines for the high and low of a selected past weekly candle, allowing traders to visualize higher time frame (HTF) structure on lower time frame charts (e.g., 1H, 4H, etc.).
Features:
Custom Weekly Range Selection: Use the dropdown to choose which weekly candle to reference — from the current week (0) to up to five weeks back.
Clean Horizontal Lines: High and low levels of the selected week are drawn as persistent horizontal lines.
Automatic Text Labels: Labels like Week-3H and Week-3L are shown on the right side of the chart, matching the week selected.
Customization:
Line colors
Line width and style (solid, dotted, dashed)
Text label offset
Automatic Refresh: Levels and labels are redrawn at the start of each new week to stay current with your selection.
Trend Persistence Counter (TPC) by riskcipher🧭 Trend Persistence Counter (TPC) – A Simple Price Action Trend Duration Tool
Trend Persistence Counter (TPC) is a lightweight indicator that counts how long a trend persists after a breakout.
It is entirely based on price action, without using any moving averages or smoothing. The goal is to give a simple, rule-based view of trend continuity.
🧠 How It Works (Logic Overview)
This indicator switches between two modes: bullish and bearish.
If close > previous high, the counter enters bullish mode, and starts at +1
While in bullish mode:
If close >= previous low → continue the uptrend → +1 each bar
If close < previous low → trend ends → reset to 0, switch to bearish mode
If close < previous low, the counter enters bearish mode, and starts at -1
While in bearish mode:
If close <= previous high → continue the downtrend → -1 each bar
If close > previous high → trend ends → reset to 0, switch to bullish mode
This provides a bar-by-bar count of trend persistence based on whether price holds structure.
🎯 Use Cases
Track how long a trend continues after a breakout
Quickly detect when trend structure breaks
Help visually filter “strong” vs “weak” moves
Build logic-based alerts (e.g., trend continues for N bars)
🔍 Why Use This Instead of Traditional Indicators?
This is not meant to replace moving averages or trend filters.
But it offers some advantages for those who prefer structure-based logic:
Feature TPC
Based on Price Action ✅ Yes
Uses Lagging Filters ❌ No moving average or smoothing
Trend Duration Measurement ✅ Counts valid consecutive moves
Complexity ⚪ Very simple and transparent
It’s a simple concept and easy to understand, but still useful when combined with other tools or visualized on its own.
⚙️ Technical Notes
Works on any timeframe or instrument
The value is positive during bullish persistence, negative during bearish
Value resets to 0 when trend structure breaks
All logic is calculated bar-by-bar, in real time
✅ Example Usage Ideas
Highlight candles when TPC value crosses a certain threshold (e.g., strong breakout continuation)
Use the zero-cross as a potential reversal warning
Filter trend signals in your existing strategies
Line Strategy v6Line Indicator for TradingView
This Pine Script indicator identifies the largest candles on both 5-minute and 1-hour timeframes within the last 240 five-minute bars. It provides visual markers and detailed information to help traders spot significant price movements.
Key Features
Dual Timeframe Analysis:
Identifies largest candle on 5-minute timeframe
Identifies largest candle on 1-hour timeframe (aggregated from 12 five-minute candles)
Visual Markers:
Blue label marks the highest-range 5-minute candle
Purple background highlights the highest-range hourly candle period
Information Table:
Shows price ranges for both timeframes
Displays precise timestamps for identified candles
Color-coded for quick reference
Progress Indicator:
Shows how many bars have been collected (out of 240 required)
How It Works
Data Collection:
Stores high, low, timestamp, and bar index of the last 240 five-minute candles
Automatically updates with each new bar
5-Minute Analysis:
Scans all 5-minute candles to find the one with the largest price range (high - low)
Marks this candle with a blue label showing its range
Hourly Analysis:
Groups 12 five-minute candles to form each hourly candle
Finds the hourly candle with the largest price range
Highlights the entire hour period with a purple background
Information Display:
Creates a table in the top-right corner showing:
Range values for both timeframes
Timestamps of identified candles
Time period of the largest hourly candle
Usage Instructions
Apply the indicator to any 5-minute chart
Wait for the indicator to collect 240 bars (about 20 trading hours)
Results will appear automatically:
Blue label on the largest 5-minute candle
Purple background on the largest hourly candle period
Information table with detailed metrics
Customization Options
You can easily adjust these aspects by modifying the code:
Colors of markers and table cells
Transparency levels of background highlights
Precision of range values displayed
Position of the information table
The indicator is optimized for performance and works in both historical and real-time modes.
HA Reversal StrategyCertainly! Here's a detailed **description (elaboration)** for the **"HA Candle Test"** (i.e., the Heikin Ashi strategy script I just gave you):
---
### 📌 **Script Name**: HA Candle Test
### 📖 **Description**:
This script visualizes **Heikin Ashi candles** and identifies **trend reversal signals** using classic momentum candle behavior — particularly the appearance of **no-wick candles**, which are known to reflect strong directional pressure in Heikin Ashi charts.
It aims to **capture high-probability trend reversals** with minimal noise, relying on the natural smoothing behavior of Heikin Ashi candles.
---
### ✅ **Buy Signal Conditions**:
* At least **two consecutive red Heikin Ashi candles** (indicating a short-term downtrend).
* Followed by a **green Heikin Ashi candle** that has **no lower wick** (i.e., open == low).
* This suggests that **buyers have taken full control**, with no push from sellers — a potential start of an uptrend.
📍 **Interpreted as**: “Market was selling off, but now buyers stepped in strongly — time to consider buying.”
---
### ✅ **Sell Signal Conditions**:
* At least **two consecutive green Heikin Ashi candles** (short-term uptrend).
* Followed by a **red Heikin Ashi candle** that has **no upper wick** (i.e., open == high).
* This implies **sellers are dominating**, with no attempt from buyers to push higher — possible start of a downtrend.
📍 **Interpreted as**: “Market was rallying, but sellers just took over decisively — time to consider selling.”
---
### 📊 **Visual Aids Included**:
* Plots **Heikin Ashi candles** on your main chart for clarity.
* Uses **Buy** and **Sell** label markers (green & red) at signal points.
* Compatible with any timeframe — higher timeframes typically yield stronger signals.
---
### 💡 **Suggested Use**:
* Combine with **support/resistance**, **volume**, or **trend filters** for more robust setups.
* Works well on **1H, 4H, and Daily charts** in trending markets.
* Can be used manually or turned into an automated strategy for backtesting or alerts.
---
Would you like this script packaged as a **strategy()** for backtesting, or would you like me to add **alerts** so you can get notified in real-time when signals appear?