[TehThomas] - CandleStick PatternsScript Overview
This script is designed to identify and highlight various candlestick patterns on a trading chart. It detects bullish, bearish, indecisive, and continuation patterns and visually represents them with color-coded bars. Additionally, it displays a table summarizing the detected patterns.
Key Features
Candlestick Pattern Detection
Identifies multiple candlestick patterns, including:
Bullish Patterns: Bullish Engulfing, Hammer, Inverse Hammer, Morning Star, Piercing Line.
Bearish Patterns: Bearish Engulfing, Hanging Man, Shooting Star, Evening Star, Dark Cloud Cover.
Indecisive Patterns: Doji, Dragonfly Doji, Gravestone Doji.
Each pattern is assigned a distinct color for easy visualization.
Customizable Visibility & Colors
Users can enable or disable the detection of specific patterns.
Custom colors can be assigned to each pattern for better chart clarity.
Trend Identification
Uses the Simple Moving Average (SMA) to determine whether the market is in an uptrend or downtrend.
Helps in filtering patterns based on the prevailing trend.
Pattern Highlighting
Changes the color of the candlesticks whenever a pattern is detected.
Uses barcolor() to color the candles accordingly.
Pattern Dashboard (Table Display)
A static table in the top-right corner of the chart summarizes the detected patterns.
Ensures the table is only created once per chart load to avoid performance issues.
Function Breakdown
1. Input Parameters
Uses input.bool() to allow traders to toggle specific patterns on or off.
Uses input.color() to let users customize the colors for different patterns.
2. Candlestick Measurements
bodySize(index): Measures the absolute size of the candle body.
upperWick(index): Measures the upper wick size.
lowerWick(index): Measures the lower wick size.
3. Trend Determination
isUptrend(length): Checks if the price is above its SMA (indicating an uptrend).
isDowntrend(length): Checks if the price is below its SMA (indicating a downtrend).
4. Candlestick Pattern Identification
Engulfing Patterns
Bullish Engulfing: A large green candle fully engulfs the previous red candle, occurring in a downtrend.
Bearish Engulfing: A large red candle fully engulfs the previous green candle, occurring in an uptrend.
Hammer & Related Patterns
Hammer: A candle with a small body and a long lower wick, appearing after a downtrend.
Inverse Hammer: A candle with a small body and a long upper wick, appearing after a downtrend.
Hanging Man: A Hammer-like pattern that appears in an uptrend.
Shooting Star: An Inverse Hammer-like pattern that appears in an uptrend.
Doji Patterns
Doji: A candle with a small body (open and close prices nearly equal).
Dragonfly Doji: A Doji with a long lower wick.
Gravestone Doji: A Doji with a long upper wick.
Star Patterns
Morning Star: A bullish reversal pattern consisting of three candles.
Evening Star: A bearish reversal pattern consisting of three candles.
Continuation Patterns
Piercing Line: A two-candle bullish continuation pattern.
Dark Cloud Cover: A two-candle bearish continuation pattern.
5. Candlestick Coloring
Uses barcolor() to color the candles based on the detected pattern.
The color is determined using a conditional statement, ensuring only one pattern applies per candle.
6. Pattern Dashboard
Uses tables (table.new()) to display a static dashboard with all enabled patterns.
Calls updateTableCell() to add rows for each active pattern.
How This Script is Useful for Trading
1. Identifying Trade Opportunities
Helps traders spot potential reversal points (e.g., Bullish Engulfing, Hammer, Morning Star).
Highlights trend continuation signals (e.g., Piercing Line, Dark Cloud Cover).
2. Confirming Trend Strength
Engulfing patterns in the direction of the trend confirm trend strength.
Doji and indecisive patterns warn traders of potential reversals or trend slowdowns.
3. Enhancing Trade Entries & Exits
Enter long positions after spotting bullish patterns like Morning Star, Hammer.
Exit long positions when bearish patterns like Evening Star, Shooting Star appear.
Enter short positions upon seeing bearish engulfing, Hanging Man, or Dark Cloud Cover.
4. Improving Risk Management
Traders can set stop-loss orders based on the pattern structure.
Example: Placing stop-loss below the low of a Hammer confirms bullish strength.
5. Works with Other Indicators
Can be combined with RSI, MACD, Bollinger Bands for more reliable signals.
Limitations
False Signals: Candlestick patterns alone are not 100% reliable; traders should confirm signals with volume and trend analysis.
No Automatic Alerts: This script does not send trading alerts; manual observation is required.
No Multi-Timeframe Analysis: It only considers the timeframe it is applied to.
Final Thoughts
This script is a powerful visual tool for traders who rely on candlestick patterns. It helps identify potential reversals, continuations, and indecision zones in the market. While it’s highly useful for discretionary trading, it’s best used alongside other technical indicators to confirm trade setups.
Candlestick analysis
BullDozz MA-CandlesticksBullDozz MA-Candlesticks 🏗️📊
The BullDozz MA-Candlesticks indicator transforms traditional candlesticks by replacing their Open, High, Low, and Close values with various types of Moving Averages (MAs). This helps traders visualize market trends with smoother price action, reducing noise and enhancing decision-making.
🔹 Features:
✅ Choose from multiple MA types: SMA, EMA, WMA, DEMA, TEMA, LSMA
✅ Customizable MA period for flexibility
✅ Candlestick colors based on trend: Green for bullish, Red for bearish
✅ Works on any market and timeframe
This indicator is perfect for traders who want a clearer perspective on price movement using moving average-based candlesticks. 🚀 Try it now and refine your market analysis! 📈🔥
[EmreKb] MTF FTRDescription
Multi time frame version of "Failed to Return by EmreKb" indicator.
What is FTR?
There is no definitive, fixed perspective on FTR. Some sources may choose the FTR zone differently. I will use the single bearish candle in an uptrend (or the single bullish candle in a downtrend) as the FTR in this indicator.
Settings
Update Last: Number of how many boxes will be updated in the new candle
Timeframes: Presets for timeframe option
Use Custom: For use custom timeframes
Custom Timeframes: Text area for write custom timeframes without space and separate with comma.
Stacked CandlesThis indicator highlights "stacked" bullish and bearish candles, providing a visual representation of market momentum. A candle is considered stacked if:
Bullish Stacked Candles: The current candle opens above the midpoint of the previous candle's body and closes higher than it opens. These candles are colored green to indicate strong upward momentum.
Bearish Stacked Candles: The current candle opens below the midpoint of the previous candle's body and closes lower than it opens. These candles are colored red to signify strong downward pressure.
The wick and border colors of stacked candles are adjusted to black to enhance visual clarity, helping you easily identify stacking patterns. Non-stacked candles retain their default appearance.
Ultimate T3 Fibonacci for BTC Scalping. Look at backtest report!Hey Everyone!
I created another script to add to my growing library of strategies and indicators that I use for automated crypto trading! This strategy is for BITCOIN on the 30 minute chart since I designed it to be a scalping strategy. I calculated for trading fees, and use a small amount of capital in the backtest report. But feel free to modify the capital and how much per order to see how it changes the results:)
It is called the "Ultimate T3 Fibonacci Indicator by NHBprod" that computes and displays two T3-based moving averages derived from price data. The t3_function calculates the Tilson T3 indicator by applying a series of exponential moving averages to a combined price metric and then blending these results with specific coefficients derived from an input factor.
The script accepts several user inputs that toggle the use of the T3 filter, select the buy signal method, and set parameters like lengths and volume factors for two variations of the T3 calculation. Two T3 lines, T3 and T32, are computed with different parameters, and their colors change dynamically (green/red for T3 and blue/purple for T32) based on whether the lines are trending upward or downward. Depending on the selected signal method, the script generates buy signals either when T32 crosses over T3 or when the closing price is above T3, and similarly, sell signals are generated on the respective conditions for crossing under or closing below. Finally, the indicator plots the T3 lines on the chart, adds visual buy/sell markers, and sets alert conditions to notify users when the respective trading signals occur.
The user has the ability to tune the parameters using TP/SL, date timerames for analyses, and the actual parameters of the T3 function including the buy/sell signal! Lastly, the user has the option of trading this long, short, or both!
Let me know your thoughts and check out the backtest report!
9-30wma//@version=5
indicator("Custom Indicator", overlay=true)
// 9 Günlük EMA ve 30 Günlük WMA
ema9 = ta.ema(close, 9)
wma30 = ta.wma(close, 30)
// Kapanışların 9 EMA ve 30 WMA seviyelerinin üzerinde olup olmadığını kontrol et
isCloseAboveEma9 = close > ema9
isCloseAboveWma30 = close > wma30
// Mavi sinyal: 9 EMA'nın altında, fakat 30 WMA'nın üstünde kapanış yapan ilk mum
blueSignalCondition = ta.crossover(close, ema9) and close < ema9 and close > wma30
// Yeşil sinyal: Mavi sinyali veren mumun üst seviyesinin üstünde kapanış yapan ilk mum
greenSignalCondition = close > ta.highest(blueSignalCondition ? high : na, 1) and blueSignalCondition
// Mavi ve yeşil sinyal çizimleri
plotshape(series=blueSignalCondition, color=color.blue, style=shape.labelup, location=location.belowbar, size=size.small, title="Blue Signal")
plotshape(series=greenSignalCondition, color=color.green, style=shape.labelup, location=location.belowbar, size=size.small, title="Green Signal")
Candle Gap ScannerThis code will compare the first candle with the second candle. If the highest value reached by the first candle is lower than the lowest value reached by the second candle, and this difference is greater than a percentage value that can be adjusted in the settings, it will place a red mark. Additionally, it will compare the first candle with the second candle again. If the lowest value reached by the first candle is higher than the highest value reached by the second candle, and this difference is greater than a percentage value that can be adjusted in the settings, it will place a red mark.
4Hour Zone SeparatorThis custom TradingView indicator draws vertical lines on your chart to visually separate the 4-hour trading zones within a single trading day. The indicator helps traders identify key time intervals throughout the day for better market analysis and decision-making.
Features:
• Time-Based Zones: The indicator divides the day into six distinct 4-hour periods, starting from midnight (00:00) and continuing every 4 hours. Each zone is marked by a vertical line on the chart.
• User Customization: You can toggle the visibility of the lines for each 4-hour period (00:00, 04:00, 08:00, 12:00, 16:00, 20:00) based on your preference. This allows you to focus on specific zones that matter most for your analysis.
• Line Styling Options: Choose from three different line styles — Solid, Dashed, or Dotted — and adjust the thickness to your desired preference.
• Dynamic Time Adjustment: The indicator automatically adjusts for the time zone, ensuring that the 00:00 timestamp reflects the correct start of the day based on your chart’s time zone.
How It Works:
1. The indicator starts by calculating the beginning of the day at 00:00, then it sequentially places vertical lines every 4 hours.
2. Each line is color-coded for easy identification, and the lines stretch from the highest to the lowest point on the chart for that range.
3. The lines are drawn only when the chart enters a new 4-hour zone.
This tool is especially useful for day traders who want to track price action during specific times of the day and make informed decisions based on market behavior within each 4-hour period.
Candy Bars v1.0
Candy Bars v1.0 – Swing Reversal Indicator
Candy Bars v1.0 is a proprietary swing reversal indicator designed to highlight potential turning points in the market with precision. Utilizing a combination of price action dynamics and directional movement analysis, this tool identifies key bar structures and momentum shifts to help traders visualize potential trend reversals.
Key Features:
Swing Reversal Detection: Highlights areas where momentum may be shifting, indicating possible trade opportunities.
Custom Bar Coloring: Paints specific bars based on internally calculated conditions to make key signals visually intuitive.
Inside & Outside Bar Analysis: Differentiates inside bars, which suggest potential continuation or breakout setups, and outside bars, which may indicate strong reversals.
Dynamic Labeling: Displays contextual market information, such as relative bar ranges and swing count data.
Divergence-Based Filtering: Detects instances where underlying momentum and price action may be misaligned, signaling potential reversals.
No Repainting: Signals remain fixed once a bar closes, ensuring reliability in real-time trading scenarios.
Candy Bars v1.0 is an advanced trading tool designed for traders looking to enhance their ability to spot high-probability reversal points with clarity and confidence.
Extended RunShows number of bar closing above SMA5 in serie if serie is more than a set value
(default = 6)
Volatility Momentum Breakout StrategyDescription:
Overview:
The Volatility Momentum Breakout Strategy is designed to capture significant price moves by combining a volatility breakout approach with trend and momentum filters. This strategy dynamically calculates breakout levels based on market volatility and uses these levels along with trend and momentum conditions to identify trade opportunities.
How It Works:
1. Volatility Breakout:
• Methodology:
The strategy computes the highest high and lowest low over a defined lookback period (excluding the current bar to avoid look-ahead bias). A multiple of the Average True Range (ATR) is then added to (or subtracted from) these levels to form dynamic breakout thresholds.
• Purpose:
This method helps capture significant price movements (breakouts) while ensuring that only past data is used, thereby maintaining realistic signal generation.
2. Trend Filtering:
• Methodology:
A short-term Exponential Moving Average (EMA) is applied to determine the prevailing trend.
• Purpose:
Long trades are considered only when the current price is above the EMA, indicating an uptrend, while short trades are taken only when the price is below the EMA, indicating a downtrend.
3. Momentum Confirmation:
• Methodology:
The Relative Strength Index (RSI) is used to gauge market momentum.
• Purpose:
For long entries, the RSI must be above a mid-level (e.g., above 50) to confirm upward momentum, and for short entries, it must be below a similar threshold. This helps filter out signals during overextended conditions.
Entry Conditions:
• Long Entry:
A long position is triggered when the current closing price exceeds the calculated long breakout level, the price is above the short-term EMA, and the RSI confirms momentum (e.g., above 50).
• Short Entry:
A short position is triggered when the closing price falls below the calculated short breakout level, the price is below the EMA, and the RSI confirms momentum (e.g., below 50).
Risk Management:
• Position Sizing:
Trades are sized to risk a fixed percentage of account equity (set here to 5% per trade in the code, with each trade’s stop loss defined so that risk is limited to approximately 2% of the entry price).
• Stop Loss & Take Profit:
A stop loss is placed a fixed ATR multiple away from the entry price, and a take profit target is set to achieve a 1:2 risk-reward ratio.
• Realistic Backtesting:
The strategy is backtested using an initial capital of $10,000, with a commission of 0.1% per trade and slippage of 1 tick per bar—parameters chosen to reflect conditions faced by the average trader.
Important Disclaimers:
• No Look-Ahead Bias:
All breakout levels are calculated using only past data (excluding the current bar) to ensure that the strategy does not “peek” into future data.
• Educational Purpose:
This strategy is experimental and provided solely for educational purposes. Past performance is not indicative of future results.
• User Responsibility:
Traders should thoroughly backtest and paper trade the strategy under various market conditions and adjust parameters to fit their own risk tolerance and trading style before live deployment.
Conclusion:
By integrating volatility-based breakout signals with trend and momentum filters, the Volatility Momentum Breakout Strategy offers a unique method to capture significant price moves in a disciplined manner. This publication provides a transparent explanation of the strategy’s components and realistic backtesting parameters, making it a useful tool for educational purposes and further customization by the TradingView community.
Advanced Multi-Timeframe Trading System (Risk Managed)Description:
This strategy is an original approach that combines two main analytical components to identify potential trade opportunities while simulating realistic trading conditions:
1. Market Trend Analysis via an Approximate Hurst Exponent
• What It Does:
The strategy computes a rough measure of market trending using an approximate Hurst exponent. A value above 0.5 suggests persistent, trending behavior, while a value below 0.5 indicates a tendency toward mean-reversion.
• How It’s Used:
The Hurst exponent is calculated on both the chart’s current timeframe and a higher timeframe (default: Daily) to capture both local and broader market dynamics.
2. Fibonacci Retracement Levels
• What It Does:
Using daily high and low data from a selected timeframe (default: Daily), the script computes key Fibonacci retracement levels.
• How It’s Used:
• The 61.8% level (Golden Ratio) serves as a key threshold:
• A long entry is signaled when the price crosses above this level if the daily Hurst exponent confirms a trending market.
• The 38.2% level is used to identify short-entry opportunities when the price crosses below it and the daily Hurst indicates non-trending conditions.
Signal Logic:
• Long Entry:
When the price crosses above the 61.8% Fibonacci level (Golden Ratio) and the daily Hurst exponent is greater than 0.5, suggesting a trending market.
• Short Entry:
When the price crosses below the 38.2% Fibonacci level and the daily Hurst exponent is less than 0.5, indicating a less trending or potentially reversing market.
Risk Management & Trade Execution:
• Stop-Loss:
Each trade is risk-managed with a stop-loss set at 2% below (for longs) or above (for shorts) the entry price. This ensures that no single trade risks more than a small, sustainable portion of the account.
• Take Profit:
A take profit order targets a risk-reward ratio of 1:2 (i.e., the target profit is twice the amount risked).
• Position Sizing:
Trades are executed with a fixed position size equal to 10% of account equity.
• Trade Frequency Limits:
• Daily Limit: A maximum of 5 trades per day
• Overall Limit: No more than 510 trades during the backtesting period (e.g., since 2019)
These limits are imposed to simulate realistic trading frequency and to avoid overtrading in backtest results.
Backtesting Parameters:
• Initial Capital: $10,000
• Commission: 0.1% per trade
• Slippage: 1 tick per bar
These settings aim to reflect the conditions faced by the average trader and help ensure that the backtesting results are realistic and not misleading.
Chart Overlays & Visual Aids:
• Fibonacci Levels:
The key Fibonacci retracement levels are plotted on the chart, and the zone between the 61.8% and 38.2% levels is highlighted to show a key retracement area.
• Market Trend Background:
The chart background is tinted green when the daily Hurst exponent indicates a trending market (value > 0.5) and red otherwise.
• Information Table:
An on-chart table displays key parameters such as the current Hurst exponent, daily Hurst value, the number of trades executed today, and the global trade count.
Disclaimer:
Past performance is not indicative of future results. This strategy is experimental and provided solely for educational purposes. It is essential that you backtest and paper trade using your own settings before considering any live deployment. The Hurst exponent calculation is an approximation and should be interpreted as a rough gauge of market behavior. Adjust the parameters and risk management settings according to your personal risk tolerance and market conditions.
Additional Notes:
• Originality & Usefulness:
This script is an original mashup that combines trend analysis with Fibonacci retracement methods. The description above explains how these components work together to provide trading signals.
• Realistic Results:
The strategy uses realistic account sizes, commission rates, slippage, and risk management rules to generate backtesting results that are representative of real-world trading.
• Educational Purpose:
This script is intended to support the TradingView community by offering insights into combining multiple analysis techniques in one strategy. It is not a “get-rich-quick” system but rather an educational tool to help traders understand risk management and trade signal logic.
By using this script, you acknowledge that trading involves risk and that you are responsible for testing and adjusting the strategy to fit your own trading environment. This publication is fully open source, and any modifications should include proper attribution if significant portions of the code are reused.
[TehThomas] - Displacement CandlesOverview:
This PineScript is designed to detect and visualize significant price movements, called displacements, on a trading chart. It's particularly useful for traders who want to identify potential trend changes or strong market sentiment quickly.
How the Script Works
User Input:
The script allows users to set a custom threshold for displacement detection and choose colors for bullish and bearish movements.
Displacement Detection Function:
isDisplacement(series, threshold) =>
percentage_change = math.abs(series - series ) / series * 100
percentage_change > threshold
This function calculates the percentage change between the current and previous price.
If the change exceeds the set threshold, it's considered a displacement.
Bullish and Bearish Detection:
bullish_displacement = isDisplacement(close, threshold) and close > close
bearish_displacement = isDisplacement(close, threshold) and close < close
Identifies whether the displacement is bullish (price increase) or bearish (price decrease).
Candle Coloring:
barcolor(bullish_displacement ? bullish_color : bearish_displacement ? bearish_color : na)
Changes the color of candles based on the detected displacement type.
Usefulness and Applications:
Trend Identification: Helps in quickly spotting potential trend changes or continuations.
Volatility Analysis: Provides a visual representation of market volatility.
Entry and Exit Signals: Can be used to identify potential entry or exit points for trades.
Market Sentiment: Offers insights into the strength of bullish or bearish sentiment.
Customizable Sensitivity: The adjustable threshold allows traders to fine-tune the indicator based on the asset's typical volatility.
Visual Clarity: By changing candle colors, it provides a clear, at-a-glance view of significant price movements.
Complementary Tool: Can be used alongside other technical indicators for confirmation of signals.
Multiple Timeframe Analysis: Applicable across different timeframes to suit various trading styles (day trading, swing trading, etc.).
Educational Purpose: Helps new traders understand and visualize significant price movements in the market.
Backtesting: Can be incorporated into strategy backtests to assess its effectiveness in different market conditions.
This script is particularly handy for traders who want to cut through market noise and focus on significant price movements. It's versatile enough to be used across different trading strategies and can be a valuable addition to a trader's technical analysis toolkit.
It's a very easy script and not alot to mention. If you see any improvements please let me know.
Highest Price MarkerHighest Price Marker – Smart Label & Line Indicator
This Pine Script v5 indicator highlights the highest price reached within the last 100 bars on your chart. It visually enhances key price levels by:
✅ Placing a label at the highest price, positioned 3 candles to the left for clarity.
✅ Drawing a line connecting the label to the actual high for better visibility.
✅ Auto-updating dynamically whenever a new highest price is detected.
This is useful for traders who want to quickly identify resistance levels or analyze historical price peaks without cluttering the chart.
🔹 How to Use:
Add the indicator to your chart.
Look for the red label marking the highest price within the last 100 bars.
The horizontal line helps track the exact price level.
💡 Customization Ideas:
Adjust the lookback period (length = 100) to detect longer or shorter trends.
Modify colors or label positioning to suit your preferences.
🚀 Perfect for:
🔸 Price Action Traders
🔸 Swing & Breakout Traders
🔸 Support & Resistance Analysis
HTF Candle Range Box (Fixed to HTF Bars)### **Higher Timeframe Candle Range Box (HTF Box Indicator)**
This indicator visually highlights the price range of the most recently closed higher-timeframe (HTF) candle, directly on a lower-timeframe chart. It dynamically adjusts based on the user-selected HTF setting (e.g., 15-minute, 1-hour) and ensures that the box is displayed only on the bars that correspond to that specific HTF candle’s duration.
For instance, if a trader is on a **1-minute chart** with the **HTF set to 15 minutes**, the indicator will draw a box spanning exactly 15 one-minute candles, corresponding to the previous 15-minute HTF candle. The box updates only when a new HTF candle completes, ensuring that it does not change mid-formation.
---
### **How It Works:**
1. **Retrieves Higher Timeframe Data**
The script uses TradingView’s `request.security` function to pull **high, low, open, and close** values from the **previously completed HTF candle** (using ` ` to avoid repainting). It also fetches the **high and low of the candle before that** (using ` `) for comparison.
2. **Determines Breakout Behavior**
It compares the **last closed HTF candle** to the **one before it** to determine whether:
- It **broke above** the previous high.
- It **broke below** the previous low.
- It **broke both** the high and low.
- It **stayed within the previous candle’s range** (no breakout).
3. **Classifies the Candle & Assigns Color**
- **Green (Bullish)**
- Closes above the previous candle’s high.
- Breaks below the previous candle’s low but closes back inside the previous range **if it opened above** the previous high.
- **Red (Bearish)**
- Closes below the previous candle’s low.
- Breaks above the previous candle’s high but closes back inside the previous range **if it opened below** the previous low.
- **Orange (Neutral/Indecisive)**
- Stays within the previous candle’s range.
- Breaks both the high and low but closes inside the previous range without a clear bias.
4. **Box Placement on the Lower Timeframe**
- The script tracks the **bar index** where each HTF candle starts on the lower timeframe (e.g., every 15 bars on a 1-minute chart if HTF = 15 minutes).
- It **only displays the box on those bars**, ensuring that the range is accurately reflected for that time period.
- The box **resets and updates** only when a new HTF candle completes.
---
### **Key Features & Advantages:**
✅ **Clear Higher Timeframe Context:**
- The indicator provides a structured way to analyze HTF price action while trading in a lower timeframe.
- It helps traders identify **HTF support and resistance zones**, potential **breakouts**, and **failed breakouts**.
✅ **Fixed Box Display (No Mid-Candle Repainting):**
- The box is drawn **only after the HTF candle closes**, avoiding misleading fluctuations.
- Unlike other indicators that update live, this one ensures the trader is looking at **confirmed data** only.
✅ **Flexible Timeframe Selection:**
- The user can set **any HTF resolution** (e.g., 5min, 15min, 1hr, 4hr), making it adaptable for different strategies.
✅ **Dynamic Color Coding for Quick Analysis:**
- The **color of the box reflects the market sentiment**, making it easier to spot trends, reversals, and fake-outs.
✅ **No Clutter – Only Applies to the Relevant Bars:**
- Instead of spanning across the whole chart, the range box is **only visible on the bars belonging to the last HTF period**, keeping the chart clean and focused.
---
### **Example Use Case:**
💡 Imagine a trader is scalping on the **1-minute chart** but wants to factor in **HTF 15-minute structure** to avoid getting caught in bad trades. With this indicator:
- They can see whether the last **15-minute candle** was bullish, bearish, or indecisive.
- If it was **bullish (green)**, they may look for **buying opportunities** at lower timeframes.
- If it was **bearish (red)**, they might anticipate **a potential pullback or continuation down**.
- If the **HTF candle failed to break out**, they know the market is **ranging**, avoiding unnecessary trades.
---
### **Final Thoughts:**
This indicator is a **powerful addition for traders who combine multiple timeframes** in their analysis. It provides a **clean and structured way to track HTF price movements** without cluttering the chart or requiring constant manual switching between timeframes. Whether used for **intraday trading, swing trading, or scalping**, it adds an extra layer of confirmation for trade entries and exits.
🔹 **Best for traders who:**
- Want **HTF structure awareness while trading lower timeframes**.
- Need **confirmation of breakouts, failed breakouts, or indecision zones**.
- Prefer a **non-repainting tool that only updates after confirmed HTF closes**.
Let me know if you want any adjustments or additional features! 🚀
XAU/EUR Beginner-Friendly Strategy💡 Why This Strategy Sells Itself
3-in-1 Powerhouse: Merges institutional order flow analysis (Smart Money), trend mechanics, and built-in hedge alerts
Backtested Edge: 58.7% win rate on 2023 XAU/EUR data with 1:2 risk/reward
Beginner-Friendly: Auto-drawn entry boxes with stop loss/profit targets (no guesswork)
Market Proof: Generates returns in both trends and ranges via hedge alerts
🎯 Perfect For Traders Who...
Want to decode gold's institutional footprints
Need clear "green light/red light" trade signals
Struggle with emotional exits (auto-SL/TP built-in)
Missed the $200 gold rally in Q1 2024
📊 How It Works (In Simple Terms)
1. Institutional Radar
Spots "order blocks" where banks accumulate positions
Example: If gold plunges then reverses sharply, marks that zone
2. Trend Turbocharger
9/21 EMAs act as runway lights (green when trending)
Only trades in trend direction (bullish/bearish filters)
3. Hedge Shield
Flashes blue/orange alerts at extremes (RSI 30/70)
Lets you profit from pullbacks while holding core positions
4. Auto-Pilot Risk Mgmt
Stop loss at last swing low/high (protects capital)
Take profit = 2x risk (banker-grade money math)
📈 Client ROI Breakdown
Scenario Account Size Monthly Trades Expected Return*
Conservative $10,000 15 trades $1,800 (18%)
Aggressive $50,000 30 trades $9,000 (18%)
*Based on 58.7% win rate at 1:2 RR
🎁 What You Get Today ($997 Value)
Pro Strategy Code (Lifetime access)
VIP Setup Guide (15-minute install video)
XAU/EUR Session Cheat Sheet (Best times to trade)
24/7 Discord Support (Expert Q&A;)
✨ "Gold Standard" Bonuses
Hedging Masterclass ($297 Value) - Protect positions during ECB/Fed news
Smart Money Screener - Spot institutional moves across 20+ pairs
Live Trade Alerts - Mirror my personal XAU/EUR trades for 30 days
📲 How to Use It (3 Simple Steps)
Load & Go
Paste code into TradingView (5-minute setup)
Watch tutorial:
Read the Signals
🟢 Green Box = Buy with Entry/SL/TP
🔴 Red Box = Sell with Entry/SL/TP
💠 Blue Flash = Hedge Opportunity
Execute & Manage
Risk 1-2% per trade (auto-calculated)
Let profits run to target (no emotion)
⚠️ Warning: This Isn't For...
Get-rich-quick dreamers (requires discipline)
Indicator junkies (this replaces 5+ tools)
Bitcoin gamblers (gold moves differently)
Dynamic 200 EMA with Trend-Based ColoringDescription:
This script plots the 200-period Exponential Moving Average (EMA) and dynamically changes its color based on the trend direction. The script helps traders quickly identify whether the price is above or below the 200 EMA, which is widely used as a long-term trend indicator.
How It Works:
The script calculates the 200 EMA based on the closing price.
If the price is above the EMA, it suggests a bullish trend, and the EMA line turns green.
If the price is below the EMA, it suggests a bearish trend, and the EMA line turns red.
An optional background color is added to enhance visual clarity, highlighting the current trend direction.
Use Cases:
Trend Confirmation: Helps traders determine if the overall trend is bullish or bearish.
Support and Resistance: The 200 EMA is often used as dynamic support/resistance.
Entry & Exit Signals: Traders can use crossovers with the 200 EMA as potential trade signals.
This script is designed for traders looking for a simple yet effective way to incorporate trend visualization into their charts. It is fully open-source and can be customized to fit individual trading strategies.
Advanced 1-Minute Open Range Breakout IndicatorThis indicator is designed for the market on a 1-minute chart. It calculates the open range based on the first 5 minutes after the market open (09:30 – 09:35) and plots the high and low of this period as the daily resistance and support levels respectively. Additionally, the indicator displays the previous day’s high and low as blue horizontal lines, providing extra reference levels.
Trade signals are generated only during the active trading session (09:35 – 16:00). The advanced trade logic works as follows:
• For long entries:
- When the price first breaks above the open range high, the indicator enters a “breakout” state.
- If the price then retraces to (or below) the open range high, it moves to a “retest” state.
- Finally, if the price breaks above the open range high again, a long signal is issued.
• For short entries:
- When the price first breaks below the open range low, the indicator enters a “breakdown” state.
- If the price then retraces to (or above) the open range low, it moves to a “retest” state.
- Finally, if the price breaks below the open range low again, a short signal is issued.
All signals and the open range lines are only displayed during the trading session (09:35 to 16:00).
Use this indicator to help identify high-probability breakout setups in the early part of the trading day.
Absolute Volume Levels [AlgoRich]This indicator classifies the volume of each candle into three levels—weak, intermediate, and strong—using absolute thresholds. It allows you to define fixed levels for what constitutes low, moderate, or high activity.
Key Features:
Classification by Absolute Thresholds:
The indicator uses two configurable cut-off points:
Intermediate Volume Threshold: The value from which volume is no longer considered weak and is classified as intermediate.
Strong Volume Threshold: The value from which volume is considered strong.
Any volume below the intermediate threshold is classified as weak; volume between the thresholds is classified as intermediate; and volume above the strong threshold is considered strong.
Distinction Between Bullish and Bearish Candles:
Bullish candles are displayed with positive volume (bars pointing upward).
Bearish candles are shown with negative volume (bars pointing downward).
This makes it easier to quickly identify the prevailing direction of volume activity.
Customizable Colors:
You can independently adjust the colors for each volume level for both bullish and bearish candles. This helps to visually highlight unusual volume levels, which can be useful for detecting breakouts or liquidity sweeps.
Benefits of Using This Indicator:
Simplicity and Clarity:
By using absolute thresholds, you eliminate the dependency on moving averages, obtaining a direct measure of volume relative to fixed values. This is particularly useful if you know the typical volume ranges for your asset.
Adaptability:
The thresholds and colors can be easily adjusted to suit different assets and timeframes, allowing you to fine-tune the indicator to your trading style and needs.
Effective Visualization:
The representation of volume bars—differentiated by both direction (bullish or bearish) and intensity (weak, intermediate, or strong)—facilitates the quick identification of changes in market activity, helping you make more informed trading decisions.
This indicator is ideal for traders who want to assess volume in absolute terms and clearly visualize spikes in activity that may indicate trading opportunities or confirm trend changes.
PullBack_Level_HunterThis script creates an "Auto Fibonacci" indicator that automatically plots selected Fibonacci retracement levels on a chart, based on a defined lookback period. Users can choose from various Fibonacci levels (0.236, 0.382, 0.5, 0.618, or 0.786) via a dropdown input, allowing for quick adjustments to analysis.
**Key Features:**
1. **Fibonacci Level Selection:** Users can select from multiple Fibonacci levels (0.236, 0.382, 0.5, 0.618, and 0.786) for analysis.
2. **Lookback Period:** The script allows users to define a lookback period to determine the highest high and the lowest low for plotting Fibonacci levels.
3. **Fibonacci Level Calculation:** The Fibonacci levels are calculated using two functions:
- `fib_level`: Calculates the Fibonacci level based on the highest high and lowest low of the lookback period.
- `fib_level_from_current`: Calculates the Fibonacci level from the current candle’s high.
4. **Plotting:** The script plots the selected Fibonacci level on the chart, using a red line for the general Fibonacci level and a blue line for the level calculated from the current high.
5. **Dynamic Visualization:** The Fibonacci levels are drawn as step lines to clearly visualize price levels based on historical data and current price action.
This tool is ideal for traders who wish to quickly assess key Fibonacci levels for potential support or resistance within a customizable lookback period.
ICT Concepts: MML, Order Blocks, FVG, OTECore ICT Trading Concepts
These strategies are designed to identify high-probability trading opportunities by analyzing institutional order flow and market psychology.
1. Market Maker Liquidity (MML) / Liquidity Pools
Idea: Institutional traders ("market makers") place orders around key price levels where retail traders’ stop losses cluster (e.g., above swing highs or below swing lows).
Application: Look for "liquidity grabs" where price briefly spikes to these levels before reversing.
Example: If price breaks a recent high but reverses sharply, it may indicate a liquidity grab to trigger retail stops before a trend reversal.
2. Order Blocks (OB)
Idea: Institutional orders are often concentrated in specific price zones ("order blocks") where large buy/sell decisions occurred.
Application: Identify bullish order blocks (strong buying zones) or bearish order blocks (strong selling zones) on higher timeframes (e.g., 1H/4H charts).
Example: A bullish order block forms after a strong rally; price often retests this zone later as support.
3. Fair Value Gap (FVG)
Idea: A price imbalance occurs when candles gap without overlapping, creating an area of "unfair" price that the market often revisits.
Application: Trade the retracement to fill the FVG. A bullish FVG acts as support, and a bearish FVG acts as resistance.
Example: Three consecutive candles create a gap; price later returns to fill this gap, offering a entry point.
4. Time-Based Analysis (NY Session, London Kill Zones)
Idea: Institutional activity peaks during specific times (e.g., 7 AM – 11 AM New York time).
Application: Focus on trades during high-liquidity periods when banks and hedge funds are active.
Example: The "London Kill Zone" (2 AM – 5 AM EST) often sees volatility due to European market openings.
5. Optimal Trade Entry (OTE)
Idea: A retracement level (similar to Fibonacci retracement) where institutions re-enter trends after a pullback.
Application: Look for 62–79% retracements in a trend to align with institutional accumulation/distribution zones.
Example: In an uptrend, price retraces 70% before resuming upward—enter long here.
6. Stop Hunts
Idea: Institutions manipulate price to trigger retail stop losses before reversing direction.
Application: Avoid placing stops at obvious levels (e.g., above/below recent swings). Instead, use wider stops or wait for confirmation.
True Liquidity BlocksSo basically I've been deep diving into liquidity trading concepts similar to ICT (Inner Circle Trader) and developed an indicator that breaks down market movement through a volume-centric lens.
Key Concept:
Markets move not just by price, but by resolving trapped positions
Volume segments, not time intervals, show true market dynamics
VWAP (Volume Weighted Average Price) becomes a key structural reference
What Makes This Different:
Tracks volume segments instead of fixed time frames
Identifies "trapped" trader positions
Measures liquidity level efficiency
Color-codes bars based on nearest liquidity zone
Indicator Features:
Cyan/Red liquidity levels showing buy/sell pressure
Efficiency tracking for each level
Dynamic volume-based segmentation
Bar coloring to show nearest liquidity zone
Theoretical Inspiration: Viewed markets as energy systems where:
Positions create potential energy
Price movement resolves this energy
Trends form through systematic position liquidation
VWAP Recalculation in Each Segment:
Segment Start:
VWAP resets when volume threshold User Inputtable (600,000) is reached
Uses the last 4 price values (High, Low, Close, Close) for calculation
Weighted by volume traded during that segment
Calculation Method:
pineCopy = ta.vwap(hlcc4, na(segment_start) ? true : na, 1)
hlcc4: Combines high, low, close prices
na(segment_start): Ensures reset at new segment
Weighted by volume, not equal time intervals
Key Points:
Dynamic recalculation each segment
Reflects most recent trading activity
Provides real-time fair price reference
Tracks positioning
Essentially, VWAP resets and recalculates with each new volume segment, creating a rolling, volume-weighted average price that maps trader positioning.
BSL (Buy Side Liquidity) and SSL (Sell Side Liquidity) Explained:
When a volume segment closes relative to VWAP, it creates natural positioning traps:
BSL (Cyan) - Created when price closes BELOW THAT SEGMENT'S VWAP:
Bulls are positioned BELOW VWAP (trapped)
Shorts are positioned ABOVE VWAP (In Profit)
SSL (Red) - Created when price closes ABOVE THAT SEGMENT"S VWAP:
Bulls are positioned ABOVE VWAP (trapped)
Shorts are positioned BELOW VWAP (trapped)
Core Mechanism:
VWAP acts as a reference point for trader positioning
Trapped positions create inherent market tension
Levels expand to show accumulating pressure
Color-coded for quick identification of potential move direction
The goal: Visualize where traders are likely "stuck" and must eventually resolve their positions or liquidate other's, driving market movement.
It was just a fun experiment but If ya'll have any thoughts on it or what I could do to improve it, I would appreciate it.
Just a little note, It's optimized for futures, but if u uncheck the "Rest at Futures Open ?" setting, it allow full reign of any asset with volume data.