HTF CandlestickHTF Candlestick
This indicator that visualizes a specific candle from a user-defined timeframe (1D, 1H, etc.) and its associated properties on the chart. Below is a detailed explanation:
1 - Inputs and Initialization:
timeframeInput: Allows the user to select the desired timeframe (e.g., daily).
pos: Adjusts the horizontal position of the drawn candle on the chart.
2 - Custom Data Type (type bar):
The bar type stores data for the open, high, low, and close (OHLC) values, as well as the start time of the candle.
It also includes graphical elements like body, wick, and start lines.
3 - Logic:
A variable b is initialized to represent the custom candle.
The script checks for changes in the selected timeframe and creates a new bar when the timeframe changes.
4 - Methods:
update(): Updates the OHLC values of the bar if a new high or low occurs.
display(): Draws the candle on the chart, including:
The candle body.
The wick (shadow).
Labels showing the open, high, and low values.
Horizontal and vertical dotted lines for visual aid.
5 - Candle Redrawing:
The script clears all graphical elements (lines, labels, boxes) for the current candle on the last bar of the chart (barstate.islast) and redraws them using the display() method.
6 - Table Display:
A small table is displayed at the right-hand side of the chart showing:
The selected timeframe.
The opening value of the candle.
The difference between the close and open prices, highlighted with the appropriate color.
Kod Açıklaması
Bu Pine Script, kullanıcı tarafından seçilen bir zaman dilimine (1D, 1H vb.) ait bir mum çubuğunu ve onun özelliklerini grafik üzerinde görselleştiren özel bir indikatördür. İşte detaylı açıklaması:
1- Girdiler ve Başlangıç:
timeframeInput: Kullanıcının istediği zaman dilimini seçmesine olanak tanır (ör. günlük).
pos: Çizilen mumun grafikte yatay pozisyonunu ayarlamak için kullanılır.
2 - Özel Veri Tipi (type bar):
bar türü, açılış, yüksek, düşük ve kapanış (OHLC) değerlerini ve mumun başlangıç zamanını saklar.
Ayrıca, grafik öğeleri için body, wick ve start gibi alanlar içerir.
3- Mantık:
b değişkeni, seçilen mum çubuğunu temsil etmek için tanımlanmıştır.
Seçilen zaman diliminde bir değişiklik olup olmadığını kontrol eder ve değişiklik olduğunda yeni bir bar oluşturur.
4 - Metotlar:
update(): Daha yüksek bir zirve veya daha düşük bir dip meydana gelirse, mumun OHLC değerlerini günceller.
display(): Grafik üzerinde mum çubuğunu çizer. Bu işlem şunları içerir:
Mum gövdesi.
Fitil (gölge).
Açılış, yüksek ve düşük değerlerini gösteren etiketler.
Görsel yardım için yatay ve dikey kesik çizgiler.
5- Mum Yeniden Çizimi:
Grafik üzerindeki tüm grafiksel elemanları (çizgiler, etiketler, kutular) temizler ve mevcut mumun son çubuğunda (barstate.islast) bunları yeniden çizer.
6 - Tablo Görüntüsü:
Grafik üzerinde sağ tarafta küçük bir tablo gösterilir. Bu tabloda:
Seçilen zaman dilimi.
Mumun açılış değeri.
Kapanış ve açılış fiyatları arasındaki fark, uygun renkte vurgulanarak gösterilir.
Bu kod, kullanıcıya belirli bir zaman dilimindeki mum çubuğunun görsel bir analizini ve temel bilgilerini sağlar.
Candlestick analysis
Monthly DividerThis Trading View indicator visually marks the beginning of each month starting from January 2024. It draws vertical lines on the chart at the start of each month and labels them with the corresponding month abbreviation (e.g., "Jan", "Feb"). Users can customize the color and thickness of the lines through the indicator settings, allowing for personalized chart aesthetics. This tool is ideal for traders and analysts who want to easily identify month transitions and enhance their technical analysis.
Quarterly Divider The "Quarterly Divider" script draws vertical lines at the start of each quarter (January, April, July, October) on the Trading View chart. It also labels each line with the corresponding quarter (Q1, Q2, Q3, Q4) at the bottom of the line, making it easy to visualize the start of each trading quarter. The color and thickness of the lines are customizable
NB. works effectively is used on the weekly timeframe
Order Block plusIndicator Description: “Order Block Plus”
This indicator is designed for traders who aim to identify the strength and position of supply and demand zones on the chart and receive key signals for entry or exit. Below is a detailed explanation of its functionality:
Features and Applications:
1. Identifying Supply and Demand Zones:
• Supply (Resistance) and Demand (Support) zones are visually displayed on the chart.
• Each zone is marked with a specific color (Yellow for supply, Blue for demand) for easy identification.
2. Breakout and Reversal Signals:
• The indicator detects Breakout and Reversal patterns and highlights them with alerts.
• Example: Detecting price breaking above or below key levels.
3. Candlestick Pattern Support:
• Identifies powerful patterns such as Bullish Engulf, Bearish Engulf, Three White Soldiers, and Three Black Crows.
4. Displaying Zone Strength:
• The indicator shows the strength of supply and demand zones using text displayed inside each zone.
5. Alerts:
• Provides alerts for zone breakouts, breakdowns, and new zone formations.
• Example: Alerts for breaking a demand or supply zone.
How to Use:
1. Adding to the Chart:
• The indicator can be applied to any time frame and is suitable for Forex, stocks, or cryptocurrency charts.
2. Identifying Trading Opportunities:
• Demand zones indicate strong support levels where prices are likely to rise.
• Supply zones indicate resistance levels where prices are likely to fall.
3. Examining Zone Strength:
• The strength of each zone is displayed with text inside the zone.
Indicator Settings:
• Zone Colors:
• The default colors for supply and demand zones are yellow and blue, but they can be customized.
• Alerts:
• Configurable alerts for breakouts or reversals.
Advantages:
• Automatic detection of key price levels.
• Accurate and timely alerts for trades.
• Customizable for professional traders.
Note: This indicator is designed for technical analysis and should be used alongside a suitable trading strategy.
BEP BOLLINGER with Entry & TargetBEP BOLLINGER with Entry & Target Indicator
INPUT
ITM CE
ITM PE
ATM CE
ATM PE
This custom Pine Script indicator provides traders with a powerful tool to analyze options trading setups, specifically for Call and Put options (CE & PE). By integrating Bollinger Bands with a set of configurable parameters, it calculates key entry, stop loss, and take profit levels, while factoring in risk and reward for each trade. Ideal for options traders, this indicator supports precise risk management and enhances your ability to plan and execute trades based on calculated entry points and profit targets.
Key Features:
CE & PE Symbol Selection: Allows users to input two pairs of Call and Put option symbols for premium calculation.
Premium Calculation: Automatically calculates and plots the average premium for each pair of options.
Risk & Reward Zones: Visualizes risk zones and reward zones based on user-defined entry price, stop loss, and risk/reward ratio.
Leverage and Stop Loss Calculation: Computes the optimal leverage and adjusts stop loss based on acceptable loss percentage.
Break-Even Point: Identifies the break-even point considering trading fees and leverage.
Take Profit Levels: Calculates and visualizes multiple take profit levels with different risk/reward ratios.
Multi-Timeframe Analysis: Incorporates higher timeframe analysis to determine entry and stop loss levels for better decision-making.
Dynamic Alerts: Provides alerts when the price hits the stop loss, take profit levels, or reaches the break-even point.
Visual Tools: Draws lines and shaded areas for entry, stop loss, take profit, and risk/reward zones to aid in visual decision-making.
Customizable Settings:
Risk Management: Adjust stop loss, leverage, and risk/reward ratios to suit your trading strategy.
Trading Direction: Choose between Long or Short positions based on market outlook.
Fee Calculations: Input your buy and sell fees to accurately calculate break-even and profit zones.
Color Customization: Personalize the color of premium lines, offset levels, and risk/reward zones.
Alerts:
Alerts can be set for Stop Loss, Take Profit, and Break-Even, ensuring you're notified in real-time when important price levels are reached.
This tool is perfect for traders looking to integrate risk management and precise trade setup analysis into their options trading strategy.
Buy/Sell Break and RetestThis script is a Pine Script indicator for TradingView titled **"Buy/Sell Break and Retest"**. Here's a description of its functionality:
### Purpose:
The script identifies potential **buy** and **sell entry levels** based on break-and-retest patterns in the market. It works by analyzing higher timeframe data (e.g., 1-hour) and marking entries on a lower timeframe (e.g., 1-minute).
### Key Features:
1. **Configurable Timeframes**:
- `Analysis Timeframe`: Used for identifying break-and-retest signals (default: 1-hour).
- `Entry Timeframe`: Used for marking and plotting entries (default: 1-minute).
2. **Buy and Sell Signals**:
- A **sell entry** is triggered when a bearish candle (close < open) is identified in the analysis timeframe.
- A **buy entry** is triggered when a bullish candle (close > open) is identified in the analysis timeframe.
3. **Retest Logic**:
- For sell signals: The retest is validated when the price breaks below the identified sell level.
- For buy signals: The retest is validated when the price breaks above the identified buy level.
4. **Visual Indicators**:
- Entry levels are marked with labels:
- **Buy Entry**: Green labels are placed at bullish candle opens.
- **Sell Entry**: Red labels are placed at bearish candle closes.
- Plots the levels for easy reference:
- **Sell Level**: Displayed as red circles on the chart.
- **Buy Level**: Displayed as green circles on the chart.
5. **Dynamic Updates**:
- Levels are cleared when invalidated by the price action.
### Use Case:
This indicator helps traders spot break-and-retest opportunities by:
- Allowing higher timeframe analysis to determine trend direction and key levels.
- Providing actionable buy and sell entry points on lower timeframes for precision.
Let me know if you'd like further clarification or improvements!
BuyTheDips Trade on Trend and Fixed TP/SL
This strategy is designed to trade in the direction of the trend using exponential moving average (EMA) crossovers as signals while employing fixed percentages for take profit (TP) and stop loss (SL) to manage risk and reward. It is suitable for both scalping and swing trading on any timeframe, with its default settings optimized for short-term price movements.
How It Works
EMA Crossovers:
The strategy uses two EMAs: a fast EMA (shorter period) and a slow EMA (longer period).
A buy signal is triggered when the fast EMA crosses above the slow EMA, indicating a potential bullish trend.
A sell signal is triggered when the fast EMA crosses below the slow EMA, signaling a bearish trend.
Trend Filtering:
To improve signal reliability, the strategy only takes trades in the direction of the overall trend:
Long trades are executed only when the fast EMA is above the slow EMA (bullish trend).
Short trades are executed only when the fast EMA is below the slow EMA (bearish trend).
This filtering ensures trades are aligned with the prevailing market direction, reducing false signals.
Risk Management (Fixed TP/SL):
The strategy uses fixed percentages for take profit and stop loss:
Take Profit: A percentage above the entry price for long trades (or below for short trades).
Stop Loss: A percentage below the entry price for long trades (or above for short trades).
These percentages can be customized to balance risk and reward according to your trading style.
For example:
If the take profit is set to 2% and the stop loss to 1%, the strategy operates with a 2:1 risk-reward ratio. BINANCE:BTCUSDT
Bearish Wick Reversal█ STRATEGY OVERVIEW
The "Bearish Wick Reversal Strategy" identifies potential bullish reversals following significant bearish price rejection (long lower wicks). This counter-trend approach enters long positions when bearish candles show exaggerated downside wicks relative to closing prices, then exits on bullish confirmation signals. Includes optional EMA trend filtering for improved reliability.
█ What is a Bearish Wick?
A price rejection pattern where:
Bearish candle (close < open) forms with extended lower wick
Wick represents failed selloff: Low drops significantly below close
Measured as: (Low - Close)/Close × 100 (Negative percentage indicates downward extension)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Bearish candle forms with close < open
Lower wick exceeds user-defined threshold (Default: -1% of close price)
The signal occurs within the specified time window
If enabled, the close price must also be above the 200-period EMA (Exponential Moving Average)
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: Volatile instruments with frequent price rejections
Key Risk: False signals in sustained bearish trends
Optimization Tip: Test various thresholds
Filter Impact: EMA reduces trades but improves win rate and reduces drawdown
Gap Down Reversal Strategy█ STRATEGY OVERVIEW
The "Gap Down Reversal Strategy" capitalizes on price recovery patterns following bearish gap-down openings. This mean-reversion approach enters long positions on confirmed intraday recoveries and exits when prices breach previous session highs. This strategy is NOT optimized.
█ What is a Gap Down Reversal?
A gap down reversal occurs when:
An instrument opens significantly below its prior session's low (price gap)
Selling pressure exhausts itself during the session
Buyers regain control, pushing price back above the opening level
Creates a candlestick with:
• Open < Prior Session Low (true gap)
• Close > Open (bullish reversal candle)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Previous candle closes BELOW its opening price (bearish candle)
Current session opens BELOW prior candle's low (gap down)
Current candle closes ABOVE its opening price (bullish reversal)
Executes market order at session close
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: High volatility instruments with frequent gaps
Key Risk: False reversals in sustained downtrends
Optimization Tip: Test varying gap thresholds (1-3% ranges)
Change Candle Color When 5 EMA Not ConnectedThis custom TradingView indicator changes the color of candlesticks to yellow whenever the 5-period Exponential Moving Average (EMA) is not "connected" to the current candle.
How It Works:
The 5 EMA is calculated based on the closing prices of the last 5 candles.
A candle is considered "not connected" to the EMA if:
The high and low of the current candle are both either above or below the 5 EMA, implying a significant deviation from the EMA.
When this condition is met, the candle color is changed to yellow to highlight this disconnection.
The default behavior of the script is to not display the 5 EMA line, keeping the chart uncluttered while focusing on the candlestick colors.
Usage:
This indicator is useful for scalping or short-term trading strategies, as it helps identify when the price has moved significantly away from the 5 EMA. A yellow candle could signal potential overextension or a possible reversal if the price is far from the EMA. Traders can use this as part of their risk management or entry/exit decision-making process.
Customization:
The indicator doesn't display the 5 EMA line, but you can modify the script to show it if needed by uncommenting the plot(ema5) line.
You can adjust the period of the EMA by modifying the ema5 period in the code, though the default setting is 5 periods.
SSL Channel MTFSSL Channel with MTF support, This eliminates the noise of a basic SSL Channel script which is based on ErwinBeckers SSL Channel. So i have used a Multi Time Frame approach to have a clear confirmation of trend and reduce Noise and False signals unlike basic SSL Channel.
This script can be used to determine.
Support/Resistance
High/Low Breakout
Trend Direction
MA candles for Entry
The high and low sma are plotted as SSL CHANNEL when ever the high and low sma cross each other a direction change is observed.
The direction of SSL channel determines the trend of the price. The length of the channel can be changed as required a low value has a high noise and direction can be determined with low accuracy. Increasing the length of SSL channel has high accuracy trend confirmation.
The MTF SSL Channel uses plot from higher timeframe this helps in using SSL Channel as a Price Action Tool. Price when ever crosses over or below the channel determines a breakout. Price tries to move between the High SMA line and Low SMA Line of the SSL Channel rejection, breakouts can be easily observed on a lower timeframe using SSL Channel Plot from a higher timeframe.
I have used 5min/15min chart with MTF SSL from a 1Hr/4Hr and a length of 5 instead of 10. This helps quick direction changes over a period of 1hr to 4hr. Price is trapped within the High SMA and Low SMA lines of SSL Channel. In addition to SSL High Low and average mid line is plotted to additional reference.
Buy Sell Signals are plotted based on crossover of SMA High and Low.
Candle are Plotted Using a SMA with length of 5. This Candle Plot can be used to make an entry based on direction confirmation of SSL. keep in mind the direction of SSL Plot and the candle must be same. Preferably Entry can made above or below the midline of SSL Channel. The Candle Plot eliminates the Noise of traditional Japanese Candlesticks.
Additionally MACD Crossover and MACD Trend line confirmations can be used to confirm a Buy Sell and Entry signals
Alerts are also plotted accordingly.
ILD inverse liquidity Divergence StrategyDetermine Bias (Bullish):
H4 chart shows an uptrend with higher highs and higher lows.
Identify a swing high where resting liquidity (buy-side) is likely above.
Look for SMT Divergence (Lower Timeframes):
On M15, EUR/USD makes a higher high while GBP/USD fails to, signaling potential manipulation.
Spot an Inverse Fair Value Gap (IFVG):
Price has impulsively moved up, leaving a fair value gap below.
Wait for a Retracement (Entry):
Price retraces into the IFVG near a Fibonacci 61.8% retracement level.
Enter long here with a SL below the gap.
Set Risk-to-Reward:
SL = 10 pips below the entry.
TP = 20 pips above (1:2 R:R), targeting a resting liquidity zone above a recent swing high.
Monitor and Exit:
Price moves into the liquidity zone, hits TP, and completes the trade.
Candle Close Distance AlertThreshold-Based Distance:
You define a threshold percentage (threshold_percent) to specify what "far" means (e.g., 2%).
The script calculates the absolute distance between:
Close and Open
Close and High
Close and Low
If any of these distances exceed the specified threshold, the condition is triggered.
Visual Markers:
Green markers (triangle up) indicate the close is far from the open.
Red markers (triangle down) indicate the close is far from the high.
Blue markers (triangle down) indicate the close is far from the low.
These markers make it easy to spot significant price movements on the chart.
Customizable Alerts:
If enabled, alerts are triggered when any of the conditions are met.
Alerts are designed to notify you in real time if a candle closes far from the open, high, or low.
Closing Prices for Indices AMMOthe "Closing Prices for Indices" indicator displays the daily closing prices of four major stock indices: FTSE 100, DAX 40, Dow Jones Industrial Average, and NASDAQ Composite. The indicator updates the prices based on their respective market closing times:
FTSE 100 and DAX 40: Updates at 4:30 PM UK time.
Dow Jones and NASDAQ Composite: Updates at 9:00 PM UK time.
Key features:
Customizable Labels: Option to display labels showing the closing prices directly on the chart.
Color-Coded Lines: Plots each index's closing price using distinct, customizable colors for easy differentiation.
User-Friendly Settings: Includes options for customizing line and label colors.
This indicator is perfect for traders and analysts looking to monitor and compare key index closing prices visually on their charts.
CHAKRA RISS ENGULFING CANDLESTICK STRATEGYChakra RISS Engulfing Candlestick Strategy
Type: Technical Indicator & Strategy
Platform: TradingView
Script Version: Pine Script v6
Overview:
The Chakra RISS Engulfing Candlestick Strategy combines a momentum-based approach using the Relative Strength Index (RSI) with Engulfing Candlestick Patterns to generate buy and sell signals. The strategy filters trades based on price movement relative to a 50-period Simple Moving Average (SMA), making it a trend-following strategy.
The indicator uses color-coded bars to visually represent market conditions, helping traders easily identify bullish and bearish trends. The strategy is designed to be dynamic, adapting to changing market conditions and filtering out noise using key technical indicators.
How It Works:
RSI-Based Color Conditions:
Green Bars: When the RSI crosses above a specified UpLevel (default: 50), indicating a bullish momentum and signaling potential buy conditions.
Red Bars: When the RSI crosses below a specified DownLevel (default: 50), indicating a bearish momentum and signaling potential sell conditions.
Buy Signal:
Triggered when the following conditions are met:
RSI crosses from below the UpLevel (default: 50) to above it, signaling increasing bullish momentum.
The close price is above the 50-period Simple Moving Average (SMA), confirming an uptrend.
The Buy Signal is plotted below the bar with a green arrow and a "BUY" label.
Sell Signal:
Triggered when the following conditions are met:
RSI crosses from above the DownLevel (default: 50) to below it, signaling increasing bearish momentum.
The close price is below the 50-period Simple Moving Average (SMA), confirming a downtrend.
The Sell Signal is plotted above the bar with a red arrow and a "SELL" label.
Stop Loss and Take Profit:
For long trades (buy signals), the stop loss is placed below the previous bar's low, and the take profit is set at 3% above the entry price.
For short trades (sell signals), the stop loss is placed above the previous bar's high, and the take profit is set at 3% below the entry price.
Dynamic Bar Coloring:
The bar colors change dynamically based on RSI levels:
Green Bars: Indicating a potential uptrend (bullish).
Red Bars: Indicating a potential downtrend (bearish).
These visual cues help traders quickly identify market trends and potential reversals.
Trend Filtering:
The 50-period Simple Moving Average (SMA) is used to filter trades based on the overall market trend:
Buy signals are only considered when the price is above the moving average, indicating an uptrend.
Sell signals are only considered when the price is below the moving average, indicating a downtrend.
Alerting System:
Alerts can be set for both buy and sell signals. These alerts notify traders in real-time when potential trades are generated, allowing them to act promptly.
Alerts can be configured to send notifications through email, SMS, or a webhook for integration with other services like IFTTT or Zapier.
Key Features:
RSI and Moving Average-Based Signals: Combines RSI with a moving average for more accurate trade signals.
Stop Loss and Take Profit: Dynamic risk management with custom stop loss and take profit levels based on previous high and low prices.
Buy and Sell Alerts: Provides real-time alerts when a buy or sell signal is triggered.
Trend Confirmation: Uses the 50-period Simple Moving Average to filter signals and confirm the direction of the trend.
Visual Bar Color Changes: Makes it easy to identify bullish or bearish trends with color-coded bars.
Usage:
This strategy is suitable for traders who prefer a trend-following approach and want to combine momentum indicators (RSI) with price action (Engulfing Candlestick patterns). It is particularly useful in volatile markets where quick identification of trend changes can lead to profitable trades.
Best Used For: Day trading, swing trading, and trend-following strategies.
Timeframes: Works well on various timeframes, from 1-minute charts for scalping to daily charts for swing trading.
Markets: Can be applied to any market with sufficient liquidity (stocks, forex, crypto, etc.).
Settings:
UpLevel: The RSI level above which the market is considered bullish (default: 50).
DownLevel: The RSI level below which the market is considered bearish (default: 50).
SMA Length: The period of the Simple Moving Average used to filter trades (default: 50).
Risk Management: Customizable stop loss and take profit settings based on price action (default: 3% above/below the entry price).
EMA with Bar Count
---
### **Key Features and Functionalities**
#### 1. **Multi-Timeframe Exponential Moving Averages (EMA)**
- The script calculates and plots EMAs for various timeframes (e.g., 1 minute, 5 minutes, 60 minutes, daily, and custom intervals).
- Users can customize the length and resolution of each EMA using inputs.
- Different colors are assigned to each EMA for easy identification on the chart.
#### 2. **Background Coloring**
- Optional background coloring (`bgcolor`) indicates whether the current price is above or below the 1-hour 20 EMA.
- Green indicates the price is above, and red indicates the price is below the EMA.
#### 3. **Bar Count Labeling**
- The script tracks bar counts and displays labels at specific intervals (e.g., every 3 bars).
- Label size and text color can be customized through user inputs.
#### 4. **Inside and Outside Bar Detection**
- Detects and highlights "Inside Bars" and "Outside Bars" on the chart.
- **Inside Bar**: The current bar's high and low are within the previous bar's range.
- **Outside Bar**: The current bar's range exceeds the previous bar's range.
- These patterns are marked with shapes for visual identification.
#### 5. **Bullish/Bearish Candle Streaks**
- Identifies and marks streaks of three consecutive bullish or bearish candles.
- **Bullish Streaks**: Marked with green shapes above the bar.
- **Bearish Streaks**: Marked with red shapes above the bar.
#### 6. **Time-Based Marking**
- The script includes an option to highlight specific time intervals (e.g., 7:30 AM) with a colored vertical line or background shading.
- Configurable time inputs allow flexibility.
#### 7. **Micro Gap Detection**
- Highlights gaps between the opening price of the current bar and the closing price of the previous bar.
- Blue shapes indicate bullish gaps.
- Purple shapes indicate bearish gaps.
#### 8. **TR (Trading Range) Detection**
- Identifies bars with significant overlap based on a user-defined threshold.
- Displays "TR" labels when overlap conditions are met.
#### 9. **Bar Coloring**
- Optionally colors bars based on specific conditions:
- Green: Bullish breakout (high and low higher than the previous bar, closing above the midpoint).
- Red: Bearish breakout (high and low lower than the previous bar, closing below the midpoint).
#### 10. **50% Midpoint Line**
- Displays a horizontal line at the 50% midpoint of the bar's range, customizable for the current or last bar only.
#### 11. **Pattern Detection**
- Recognizes specific candlestick patterns (e.g., IOI, OII, IOO).
- Provides alerts for detected patterns or predefined thresholds.
#### 12. **Alerts**
- Configurable alerts for:
- Specific patterns (e.g., IOI, OII, IOO).
- Bar range exceeding a user-defined threshold.
- Bullish or bearish streaks.
#### 13. **Gap Detector**
- Identifies gaps between bars and marks them with shaded boxes.
- Bullish gaps are shaded green, while bearish gaps are shaded red.
#### 14. **Advanced Customization**
- Extensive user inputs allow traders to tailor the indicator to their trading style.
- Includes support for various levels of detail (e.g., debug mode, label visibility, etc.).
#### 15. **ZigZag and Wedge Patterns**
- Optional zigzag lines to connect swing highs and lows.
- Detects wedge patterns using customizable settings for pivot points and angle differences.
---
### **Use Case Scenarios**
1. **Trend Identification**: Use multi-timeframe EMAs to confirm overall market direction.
2. **Range Trading**: Trade within ranges using detected inside and outside bars as key levels.
3. **Breakout Trading**: Use patterns like IOI and OII to anticipate breakouts.
4. **Scalping**: Exploit bullish and bearish streaks or micro gaps for quick trades.
5. **Pattern-Based Alerts**: Set up alerts for specific market conditions or candlestick patterns.
### **Why This Indicator Is Useful**
- Combines multiple trading tools into a single, customizable script.
- Saves time by automating complex calculations and pattern detections.
- Improves decision-making with clear visual cues and configurable alerts.
Let me know if you'd like any additional explanations or adjustments!
TTrades Fractal ModelFractal Model by TTrades
Crafted with TTrades, the Fractal Model empowers traders with a refined approach to Algorithmic Price Delivery. Specifically designed for those aiming to capitalize on expansive moves, this model anticipates momentum shifts, swing formations, orderflow continuations, as well as helping analysts highlight key areas to anticipate price deliveries.
Description:
The Fractal Model° is rooted in the cyclical nature of price movements, where price alternates between large and small ranges. Expansion occurs when price moves consistently in one direction with momentum. By combining higher Timeframe closures with the confirmation of the change in state of delivery (CISD) on the lower Timeframe, the model reveals moments when expansion is poised to occur.
EBL - Enhanced BOS LogicEBL - Enhanced BOS Logic
The EBL (Enhanced Break of Structure Logic) script is a powerful tool for traders who want to identify and act on key structural shifts in the market. By combining visual cues, such as horizontal lines and dynamic arrows, the script highlights critical points of interest where market behavior may indicate significant bullish or bearish momentum.
What Makes EBL Unique?
Break of Structure (BOS) Identification:
The script dynamically detects when price breaks above or below significant highs and lows, marking these levels as key BOS points.
Once a BOS level is confirmed, it is displayed on the chart as a horizontal line, allowing traders to easily identify areas of potential support and resistance.
Real-Time Validation and Invalidations:
Bullish BOS levels remain active until a bearish candle closes below the initiating bullish candle.
Similarly, bearish BOS levels remain active until a bullish candle closes above the initiating bearish candle.
If a BOS level is invalidated, both the corresponding line and its arrow are automatically removed to maintain chart clarity.
Visual Clarity with Arrows and Lines:
Customizable triangle arrows (green for bullish and red for bearish) appear alongside lines to signal entry opportunities.
Traders can adjust line length, colors, and visibility of arrows to fit their charting style.
Alerts for Confirmation:
Receive alerts when bullish or bearish structures are confirmed, ensuring you never miss a signal even when away from your chart.
How the Script Works
Detection of Bullish and Bearish Structures:
The script identifies a "Bullish Break" when the price closes above the high of a bullish candle followed by a bearish one.
A "Bearish Break" is detected when the price closes below the low of a bearish candle followed by a bullish one.
Line and Arrow Placement:
Horizontal lines are drawn at the high or low of the respective BOS level.
Triangular arrows are plotted just below or above the respective levels to indicate potential trade opportunities.
Automatic Cleanup:
When a line is invalidated by opposing market movement, both the line and its connected arrow are automatically removed from the chart.
How to Use EBL
Settings:
Adjust line colors (green for bullish, red for bearish) to suit your charting theme.
Customize arrow visibility or hide lines if you prefer a less cluttered chart.
Set the horizontal line length to match your desired timeframe and analysis depth.
Trading Concepts:
Trend Reversal Zones: Use invalidated BOS levels as signals for possible trend reversals.
Momentum Trading: Follow confirmed BOS levels to identify areas where price momentum is likely to continue.
Dynamic Support and Resistance: Leverage the lines to identify evolving support and resistance zones.
Alerts:
Enable alerts to receive notifications when bullish or bearish trends are confirmed, allowing you to stay informed without constant monitoring.
Conceptual Basis
This script is based on the widely used market structure concept, which is fundamental to price action trading. By tracking the highs and lows created by bullish and bearish movements, the EBL script provides an objective and systematic approach to identifying and trading key structural points in the market.
With the EBL - Enhanced BOS Logic, traders can visually and systematically track market structure, identify potential trade setups, and maintain a cleaner chart with automated line and arrow management. This script is ideal for trend-following, scalping, and swing trading strategies across all markets and timeframes.
Futures Engulfing Candle Size Strategy (Ticks, TP/SL)The Futures Candle Size Strategy is designed to identify and trade significant price movements in the futures market based on candle size. It is optimized for futures instruments like ES, NQ, or CL, where precise tick-level calculations are essential. The strategy includes a customizable take profit and stop loss in ticks and operates only within a specified time window (e.g., 7:00 AM to 9:15 AM CST).
Key Features:
Candle Size Threshold: Trades are triggered when the candle's high-to-low range exceeds the defined threshold in ticks.
Time Filter: Limits trades to the most active market hours, specifically between 7:00 AM and 9:15 AM CST.
Take Profit and Stop Loss: Customizable exit levels in ticks to manage risk and lock in profits.
Long and Short Trades: Automatically places buy or sell orders based on the candle's direction (bullish or bearish).
Alerts: Sends alerts whenever a trade is triggered, helping you stay informed in real-time.
How It Works:
The strategy calculates the size of each candle in ticks and compares it to the user-defined threshold.
If the candle size meets or exceeds the threshold within the specified time range, it triggers a long or short trade.
The trade automatically exits when the price hits the take profit or stop loss levels.
Bearish Gap Down DetectionThis indicator is designed to identify bearish gap downs in price action and visually mark them on your chart. A gap down occurs when today's opening price is below the previous day's low, and the closing price remains below that low, signaling a potential bearish continuation or reversal.
Features:
Precise Gap Down Detection: Identifies only confirmed bearish gap downs, avoiding false signals.
Clear Visual Markers: Marks detected gap downs with a red downward triangle above the bar for easy identification.
Minimalist Design: Focuses solely on gap down detection, without any reliance on moving averages or additional noise.
Use Cases:
Trend Reversals: Spot potential downward trends as they develop.
Momentum Confirmation: Use alongside other indicators or strategies to confirm bearish momentum.
Swing Trading Opportunities: Ideal for traders looking to capitalize on significant price movements.
How It Works:
The script detects a gap down when:
Today's opening price is below the previous day's low.
Today's closing price stays below the previous day's low.
When these conditions are met, the indicator plots a red triangle above the price bar, signaling a bearish gap down.
Best Practices:
Apply this script to daily or higher timeframes for more reliable results.
Combine it with other indicators, such as support/resistance levels or volume analysis, for enhanced decision-making.
TD Supply & Demand Points ```
TD Supply & Demand Points Indicator
This technical indicator helps identify potential supply and demand zones using price action pattern recognition. It scans for specific candle formations that may indicate institutional trading activity and potential reversal points.
Features:
• Two pattern detection modes:
Level 1: Basic 3-candle pattern for faster signals
Level 2: Advanced 5-candle pattern for higher probability setups
• Clear visual markers:
- Red X above bars for supply points
- Green X below bars for demand points
- Automatic offset adjustment based on pattern level
Pattern Definitions:
Level 1 (3-candle pattern):
Supply: Middle candle's high is higher than both surrounding candles
Demand: Middle candle's low is lower than both surrounding candles
Level 2 (5-candle pattern):
Supply: Sequence showing distribution with higher highs followed by lower highs
Demand: Sequence showing accumulation with lower lows followed by higher lows
Usage Tips:
• Use Level 1 for more frequent signals and Level 2 for stronger setups
• Look for confluence with key support/resistance levels
• Consider overall market context and trend
• Can be used across multiple timeframes
• Best combined with volume and price action analysis
Settings:
Pattern Level: Toggle between Level 1 (3-candle) and Level 2 (5-candle) patterns
Note: This indicator is designed to assist in identifying potential trading opportunities but should be used as part of a comprehensive trading strategy with proper risk management.
Version: 5.0
```
I've written this description to be:
1. Clear and concise
2. Technically accurate
3. Helpful for both new and experienced traders
4. Professionally formatted for TradingView
5. Focused on the key features and practical usage
Would you like me to modify any part of it or add more specific details about certain aspects?
Three Candle Breakout Marker**Title: Three Candle Breakout Marker**
**Description:**
The **Three Candle Breakout Marker** is a powerful trading indicator designed for traders who want to identify significant price movements based on recent price action. This script marks candles that break above the highest high or below the lowest low of the previous three candles, providing clear visual signals for potential trading opportunities.
### Key Features:
- **Visual Indicators**: The indicator uses upward blue triangles to signify when a candle closes above the highest high of the last three candles, indicating a bullish breakout. Conversely, it uses downward orange triangles to mark when a candle closes below the lowest low of the last three candles, signaling a bearish breakout.
- **Customizable Alerts**: Traders can easily customize this indicator to suit their trading strategies by adjusting colors and sizes for better visibility on their charts.
- **Enhanced Chart Analysis**: With optional horizontal lines drawn at the breakout levels, traders can quickly assess key support and resistance areas, enhancing their decision-making process.
### How to Use:
1. **Add to Chart**: Simply add the indicator to your TradingView chart for any asset or timeframe you are analyzing.
2. **Identify Breakouts**: Look for blue triangles above candles for bullish breakout signals and orange triangles below candles for bearish breakout signals.
3. **Combine with Other Tools**: Use this indicator in conjunction with other technical analysis tools and indicators to confirm signals and improve your trading strategy.
### Conclusion:
The **Three Candle Breakout Marker** is an essential tool for traders looking to capitalize on momentum shifts in the market. By clearly marking breakout points, it helps traders make informed decisions and enhances their ability to react swiftly to changing market conditions.
Feel free to explore and customize this indicator to fit your trading style! Happy trading!
Wick Volume AlertThis indicator is intended to find a possible price reversal and is well suited for scalping in the smaller timeframes from 1 to 15min chart. It is important to use it in conjunction with other indicators such as order blocks or price levels.
The advantage over other Wick indicators is that volume is also taken into account.
Unfortunately, the markers on the chart do not work properly as they do not attach themselves when moving vertically. I would be happy if someone could fix the problem, as I am not a professional in Pine scripting.