Elephant Bars
**Elephant Bars Indicator**
This indicator identifies and highlights candlesticks that are significantly larger than the recent average candlestick size. It helps traders quickly spot strong price movements.
- **Percentage Threshold:** The candlestick must be this much larger than the average of the last 5 candles (default is 50%).
- **Body Percentage Threshold:** The candle body must be at least this percentage of the total candle size (default is 80%).
- **Border Color:** Sets the color of the highlighted candle's border.
- **Border Thickness:** Sets the thickness of the border around the highlighted candle.
**How It Works:**
1. The script calculates the size of the current candlestick and its body.
2. It computes the average size of the last 5 candlesticks.
3. The indicator highlights candles that are both significantly larger than the average size and have a body that is a substantial portion of the total candle size.
This indicator is particularly useful for identifying potential breakout or reversal points, as large candlesticks often signify strong market sentiment.
Feel free to tweak the description to better fit your needs! 🚀
نماذج فنيه
The Curved Market Structure [BigBeluga]Curved Market Structure
The Curved Market Structure indicator offers an innovative twist on traditional market structure tools by using curved lines instead of horizontal ones, enabling faster breakout detection for traders.
🔵Key Features:
Curved Market Structure Levels: The indicator identifies high and low pivots and plots curved lines connecting these points, adapting to market dynamics and providing a more intuitive view of potential breakout zones.
Breakout Detection: Breakouts above or below the curved levels are marked with triangle symbols (▲ or ▼), making it easy to spot critical price movements.
Dynamic Target Levels: After a breakout, the indicator plots three target levels, which serve as potential price objectives. Each target is marked with a number and a star (e.g., 1★) upon being reached.
Customizable Line Length and Angle: Users can adjust the length and angle of the curved lines to fit their trading style and timeframe, making the tool versatile and adaptable.
Market Structure Trend Filtering: To maintain a clean chart, the indicator plots curved levels only from high pivots during uptrends and low pivots during downtrends.
🔵How It Works:
The indicator identifies high and low pivots using user-defined parameters (left and right bars).
Curved lines are drawn from these pivot points, showing the structure of the market and potential breakout zones.
When a breakout occurs, the indicator highlights the direction with triangle symbols and dynamically plots three price targets.
Upon reaching these targets, the level is marked with its respective number and a star, helping traders track price progression effectively.
The lines and targets are adjusted based on market conditions, ensuring real-time relevance and accuracy.
🔵Use Cases:
Spotting key breakout zones to identify entry and exit points more effectively.
Setting dynamic target levels for take-profit or stop-loss planning.
Filtering market noise and maintaining a cleaner chart while analyzing trends.
Enhancing traditional market structure analysis with an intuitive curved visualization.
This indicator is ideal for traders who want a modern, dynamic, and visually appealing way to track market structure and breakouts while maintaining chart clarity.
ENIGMA Signals with Retests Select higher Time FrameENIGMA Signals with Retests – Script Description
The "ENIGMA Signals with Retests" script is a unique indicator designed for traders who prefer precision trading based on price action retests of key levels derived from higher timeframes. This tool is ideal for those employing multi-timeframe analysis strategies, helping them detect high-probability trade entries when the price interacts with significant support and resistance levels.
What Does This Script Do?
This indicator identifies key levels from a higher timeframe selected by the user (e.g., 4-hour or daily), then tracks price action on lower timeframes to provide actionable buy and sell signals when the price retests these levels. It visually plots the key levels on the chart and triggers alerts for potential trade opportunities when conditions are met.
How It Works
Key Level Detection:
The script uses custom functions to detect recent swing highs and swing lows on the selected higher timeframe (such as 4H or Daily). These levels represent potential areas of support and resistance where price reactions are likely to occur.
Multi-Timeframe Analysis:
The indicator leverages the request.security() function to retrieve price data from the user-defined higher timeframe and plots horizontal lines on the chart for the most recent swing highs and lows.
Retest-Based Signals:
Once the key levels are plotted, the script continuously monitors the price on the lower timeframe:
A Buy Signal is triggered when the price closes below a key high level and then moves back above it, indicating a potential bullish retest.
A Sell Signal is triggered when the price closes above a key low level and then moves back below it, indicating a potential bearish retest.
These retest signals are displayed as green and red arrows on the chart, helping traders identify optimal entry points.
Alerts for Retests:
The script includes built-in alert conditions that notify traders when a valid retest signal occurs. This allows traders to react promptly without constantly monitoring the chart.
How to Use the Script
Select Your Key Timeframe:
From the input settings, choose a higher timeframe that suits your trading style (e.g., 4H for intraday trading or Daily for swing trading).
Adjust Visual Preferences:
Customize the line style (solid, dashed, or dotted) and length of the plotted levels.
Toggle labels for the levels on or off as per your preference.
Trade Execution:
Once a retest signal appears on the lower timeframe, consider entering a trade in the direction of the signal. The buy signal suggests a potential long entry, while the sell signal indicates a potential short entry.
Set Alerts:
Use the alert conditions provided to get notified whenever a valid retest occurs. This helps in reducing screen time and improving trading efficiency.
Underlying Concepts
This script is grounded in the principles of support and resistance, retests, and breakout trading. By focusing on multi-timeframe key levels, it aligns with widely used trading concepts like:
Breakout and Retest: Entering trades after a confirmed breakout and successful retest of a significant level.
Swing Highs and Lows: Recognizing swing points to identify strong price reaction zones.
Multi-Timeframe Confluence: Enhancing trade probability by ensuring that the signals on lower timeframes correspond with key levels from higher timeframes.
Why This Script Is Unique
Unlike many generic trend-following or scalping indicators, "ENIGMA Signals with Retests" offers:
Precision Signals: It only provides signals when specific retest conditions are met, reducing false signals and noise.
Multi-Timeframe Customization: Users can tailor the higher timeframe to their strategy, making it versatile for various trading styles.
Alert Functionality: Alerts are integrated, allowing traders to stay updated without constantly monitoring the charts.
This script is perfect for traders looking for a systematic way to trade retests of key levels across multiple timeframes. Whether you're a scalper, day trader, or swing trader, "ENIGMA Signals with Retests" can help improve your precision and timing in the market.
EBL - Enigma BOS LogicThe EBL - Enigma BOS Logic indicator is designed to detect key trend reversal points with precision by leveraging a unique concept based on two-candle price action analysis. Inspired by the balance of pairs in creation, this indicator identifies trend changes by focusing on significant bullish and bearish candle pairs, storing key levels, and waiting for confirmation to provide actionable trade signals. It goes beyond conventional trend-following indicators by offering real-time alerts and clear visual cues for traders.
How It Works
Bullish Setup:
The indicator identifies a bullish candle followed by a bearish candle. It then stores the high of the bullish candle as a potential reversal level.
A bullish confirmation occurs when a future bullish candle closes above the stored high. When this happens:
A green arrow is plotted below the confirming candle.
A horizontal green line is drawn at the stored high level, extending forward by a user-defined number of bars.
An alert is triggered to notify the trader of a confirmed bullish trend.
Bearish Setup:
The indicator identifies a bearish candle followed by a bullish candle. It stores the low of the bearish candle as a potential reversal level.
A bearish confirmation occurs when a future bearish candle closes below the stored low. When this happens:
A red arrow is plotted above the confirming candle.
A horizontal red line is drawn at the stored low level, extending forward by a user-defined number of bars.
An alert is triggered to notify the trader of a confirmed bearish trend.
Touch or Cross Alerts:
In addition to initial trend confirmation, the indicator tracks price movements relative to the drawn horizontal lines.
If the price returns to touch or cross a previously drawn horizontal line, an alert is triggered, indicating a potential re-entry or retracement opportunity.
Customization Options
To make the indicator versatile and adaptable for different trading styles, several customization options are provided:
Line Colors: Traders can customize the colors of the bullish and bearish lines.
Show/Hide Arrows and Lines: Users can choose whether to display the arrows and horizontal lines on the chart.
Line Length: The length of the horizontal lines (number of bars they extend into the future) is user-defined, offering flexibility based on trading timeframes and preferences.
Use Cases
Trend Reversal Detection: EBL is ideal for identifying key trend reversals, allowing traders to enter trades with a high probability of success.
Breakout Confirmation: The indicator provides visual and alert-based confirmation of breakouts beyond critical support or resistance levels.
Re-entry Opportunities: With alerts for price touching or crossing horizontal lines, traders can spot potential re-entry points during retracements.
Conceptual Foundation
The methodology behind this indicator is rooted in the principle that markets often move in pairs of bullish and bearish forces. By tracking the interaction between consecutive bullish and bearish candles and waiting for clear confirmations, this indicator ensures that only high-probability trend changes are signaled. This reduces noise and enhances trading accuracy, making it suitable for scalping, day trading, and swing trading across various timeframes.
How to Use
Apply the indicator to any chart and timeframe of your choice.
Set your preferred customization options, including line colors, arrow display, and line length.
Watch for arrows and listen for alerts to identify confirmed trend changes.
Pay attention to touch or cross alerts on horizontal lines, as these can signal potential re-entry or secondary trade opportunities.
Combine with other analysis: While EBL is powerful on its own, combining it with support/resistance analysis, moving averages, or volume indicators can further enhance its effectiveness.
This indicator is a powerful tool for traders seeking precision in identifying trend changes and actionable trade signals. Its unique logic, real-time alerts, and clear visual cues make it a valuable addition to any trader’s toolkit.
BarbellFX ORBThe Opening Range Breakout (ORB) strategy is a popular day trading method that focuses on the first few minutes or hours of trading. Here's how it works:
The opening range is defined as a specific time period after the market opens (commonly the first 15-30 minutes)
Traders identify the high and low prices during this opening range
These prices become support and resistance levels
Trading signals are generated when the price breaks above or below these levels:
A breakout above the opening range high suggests going long
A break below the opening range low suggests going short
nifty supertrend tritonTrend based Strategy based on EMA , ATR and supertrend . Currently being used and testing on Nifty and Banknifty with adjusted parameters .
Do backtest before taking any trade
Williams POIV By King OsamaWilliams POIV Indicator
By King Osama
The Williams POIV (Price and Open Interest From COT Data) is a technical indicator designed to combine price movement with open interest data to provide valuable insights into market strength and sentiment. By integrating price changes and open interest (a measure of market participation), the indicator aims to detect shifts in market dynamics and highlight potential turning points.
The Williams POIV works by calculating the relationship between price changes and the true range, combined with open interest data, to generate a composite value that reflects the accumulation or distribution of market positions. This gives traders a deeper understanding of market trends and potential reversals.
Key Features:
Price and Open Interest Integration: Merges price movements with open interest data to assess market strength.
Market Sentiment Insights: Helps identify periods of accumulation or distribution, offering a clearer picture of market conditions.
Trend Analysis: Can be used to spot divergences and potential trend reversals.
This indicator is ideal for traders looking to analyze the interplay between price movements and open interest, offering enhanced insight into market trends and price action.
JJ Highlight Time Ranges with First 5 Minutes and LabelsTo effectively use this Pine Script as a day trader , here’s how the various elements can help you manage trades, track time sessions, and monitor price movements:
Key Components for a Day Trader:
1. First 5-Minute Highlight:
- Purpose: Day traders often rely on the first 5 minutes of the trading session to gauge market sentiment, watch for opening price gaps, or plan entries. This script draws a horizontal line at the high or low of the first 5 minutes, which can act as a key level for the rest of the day.
- How to Use: If the price breaks above or below the first 5-minute line, it can signal momentum. You might enter a long position if the price breaks above the first 5-minute high or a short if it breaks below the first 5-minute low.
2. Session Time Highlights:
- Morning Session (9:15–10:30 AM): The market often shows its strongest price action during the first hour of trading. This session is highlighted in yellow. You can use this highlight to focus on the most volatile period, as this is when large institutional moves tend to occur.
- Afternoon Session (12:30–2:55 PM): The blue highlight helps you track the mid-afternoon session, where liquidity may decrease, and price action can sometimes be choppier. Day traders should be more cautious during this period.
- How to Use: By highlighting these key times, you can:
- Focus on key breakouts during the morning session.
- Be more conservative in your trades during the afternoon, as market volatility may drop.
3. Dynamic Labels:
- Top/Bottom Positioning: The script places labels dynamically based on the selected position (Top or Bottom). This allows you to quickly glance at the session's start and identify where you are in terms of time.
- How to Use: Use these labels to remind yourself when major time segments (morning or afternoon) begin. You can adjust your trading strategy depending on the session, e.g., being more aggressive in the morning and more cautious in the afternoon.
Trading Strategy Suggestions:
1. Momentum Trades:
- After the first 5 minutes, use the high/low of that period to set up breakout trades.
- Long Entry: If the price breaks the high of the first 5 minutes (especially if there's a strong trend).
- Short Entry: If the price breaks the low of the first 5 minutes, signaling a potential downtrend.
2. Session-Based Strategy:
- Morning Session (9:15–10:30 AM):
- Look for strong breakout patterns such as support/resistance levels, moving average crossovers, or candlestick patterns (like engulfing candles or pin bars).
- This is a high liquidity period, making it ideal for executing quick trades.
- Afternoon Session (12:30–2:55 PM):
- The market tends to consolidate or show less volatility. Scalping and mean-reversion strategies work better here.
- Avoid chasing big moves unless you see a clear breakout in either direction.
3. Support and Resistance:
- The first 5-minute high/low often acts as a key support or resistance level for the rest of the day. If the price holds above or below this level, it’s an indication of trend continuation.
4. Breakout Confirmation:
- Look for breakouts from the highlighted session time ranges (e.g., 9:15 AM–10:30 AM or 12:30 PM–2:55 PM).
- If a breakout happens during a key time window, combine that with other technical indicators like volume spikes , RSI , or MACD for confirmation.
---
Example Day Trader Usage:
1. First 5 Minutes Strategy: After the market opens at 9:15 AM, watch the price action for the first 5 minutes. The high and low of these 5 minutes are critical levels. If the price breaks above the high of the first 5 minutes, it might indicate a strong bullish trend for the day. Conversely, breaking below the low may suggest bearish movement.
2. Morning Session: After the first 5 minutes, focus on the **9:15 AM–10:30 AM** window. During this time, look for breakout setups at key support/resistance levels, especially when paired with high volume or momentum indicators. This is when many institutions make large trades, so price action tends to be more volatile and predictable.
3. Afternoon Session: From 12:30 PM–2:55 PM, the market might experience lower volatility, making it ideal for scalping or range-bound strategies. You could look for reversals or fading strategies if the market becomes too quiet.
Conclusion:
As a day trader, you can use this script to:
- Track and react to key price levels during the first 5 minutes.
- Focus on high volatility in the morning session (9:15–10:30 AM) and **be cautious** during the afternoon.
- Use session-based timing to adjust your strategies based on the time of day.
AI indicatorThis script is a trading indicator designed for future trading signals on the TradingView platform. It uses a combination of the Relative Strength Index (RSI) and a Simple Moving Average (SMA) to generate buy and sell signals. Here's a breakdown of its components and logic:
1. Inputs
The script includes configurable inputs to make it adaptable for different market conditions:
RSI Length: Determines the number of periods for calculating RSI. Default is 14.
RSI Overbought Level: Signals when RSI is above this level (default 70), indicating potential overbought conditions.
RSI Oversold Level: Signals when RSI is below this level (default 30), indicating potential oversold conditions.
Moving Average Length: Defines the SMA length used to confirm price trends (default 50).
2. Indicators Used
RSI (Relative Strength Index):
Measures the speed and change of price movements.
A value above 70 typically indicates overbought conditions.
A value below 30 typically indicates oversold conditions.
SMA (Simple Moving Average):
Used to smooth price data and identify trends.
Price above the SMA suggests an uptrend, while price below suggests a downtrend.
3. Buy and Sell Signal Logic
Buy Condition:
The RSI value is below the oversold level (e.g., 30), indicating the market might be undervalued.
The current price is above the SMA, confirming an uptrend.
Sell Condition:
The RSI value is above the overbought level (e.g., 70), indicating the market might be overvalued.
The current price is below the SMA, confirming a downtrend.
These conditions ensure that trades align with market trends, reducing false signals.
4. Visual Features
Buy Signals: Displayed as green labels (plotshape) below the price bars when the buy condition is met.
Sell Signals: Displayed as red labels (plotshape) above the price bars when the sell condition is met.
Moving Average Line: A blue line (plot) added to the chart to visualize the SMA trend.
5. How It Works
When the buy condition is true (RSI < 30 and price > SMA), a green label appears below the corresponding price bar.
When the sell condition is true (RSI > 70 and price < SMA), a red label appears above the corresponding price bar.
The blue SMA line helps to visualize the overall trend and acts as confirmation for signals.
6. Advantages
Combines Momentum and Trend Analysis:
RSI identifies overbought/oversold conditions.
SMA confirms whether the market is trending up or down.
Simple Yet Effective:
Reduces noise by using well-established indicators.
Easy to interpret for beginners and experienced traders alike.
Customizable:
Parameters like RSI length, oversold/overbought levels, and SMA length can be adjusted to fit different assets or timeframes.
7. Limitations
Lagging Indicator: SMA is a lagging indicator, so it may not capture rapid market reversals quickly.
Not Foolproof: No trading indicator can guarantee 100% accuracy. False signals can occur in choppy or sideways markets.
Needs Volume Confirmation: The script does not consider trading volume, which could enhance signal reliability.
8. How to Use It
Copy the script into TradingView's Pine Editor.
Save and add it to your chart.
Adjust the RSI and SMA parameters to suit your preferred asset and timeframe.
Look for buy signals (green labels) in uptrends and sell signals (red labels) in downtrends.
JJ Open High and Open Low FinderThis script identifies candles where the open price matches the high price (Open High) and where the open price matches the low price (Open Low). It highlights these candles with labels directly on the chart, making it easy for traders to spot these conditions in real-time.
Features :
- Red "OH" label below candles for Open High.
- Green "OL" label above candles for Open Low.
Use this tool to enhance your trading insights.
** Disclaimer **: This script is for educational purposes only and should not be considered financial advice.
Wick Strategy AnalyzerOverview
This indicator analyzes candle wick patterns and evaluates their outcomes over a user-definable range (default is 1 year). Labels are rendered on the chart to mark events that meet the specified wick condition.
Features
Customizable Bar Range - users can specify the range of bars to include in the analysis. Default is 365 bars back from the most recent bar (bar 0)
Visual Indicators - labels are rendered to mark conditions & outcomes.
Wick Condition Met - an Orange label below the wick candle displaying the wick’s percentage size.
Outcome Labels - rendered above the candle after wick condition met candles
P (Green): Pass
F (Red): Fail
N (Navy): Neutral
I (Blue): Indicates the current candle has not yet closed, so the outcome is undetermined.
Input Parameters
Wick Threshold - minimum wick size required to qualify as a wick condition.
Success Margin - Defines the margin for classifying outcomes as Pass, Fail, or Neutral. E.g., a success margin of 0.01 requires the next candle's close to exceed the wick candle's close by 1% in order to be a Pass.
Bar Offset Start - starting offset from the last bar for analysis. A value of -1 will include all bars.
Bar Offset End - ending offset from the last bar for analysis. Bars outside this range are excluded.
Example Scenario
Goal: Analyze how candles with a wick size of at least 3.5% perform within a success margin of 1% over the past 540 days.
Setup:
Set Wick Threshold to 0.035
Set Success Margin to 0.01
Set Bar Range Start to 0
Set Bar Range End to 540.
Expected Output
Candles with a wick of at least 3.5% are labeled.
Outcome labels (P, F, or N) indicate performance.
Midnight Open RangeMidnight Open Range with Breakouts & Targets
This indicator helps traders identify and analyze the Midnight Open Range (12:00 AM to 12:30 AM ET) for potential trading opportunities. Key features include:
1. Automatic detection and plotting of the Midnight Open Range
2. Display of multiple historical ranges (customizable)
3. Breakout signals for range violations
4. Multiple target levels based on the range size
5. Customizable colors and styles for easy visual analysis
Perfect for traders looking to capitalize on overnight price action and early morning trends. Ideal for forex, futures, and 24-hour markets.
Note: For best results, use on lower timeframes (5-minute or less) with 24-hour chart data.
Enhanced VIP-like IndicatorSettings Breakdown Tutorial: Optimizing a Trading Strategy
This guide explains the key trading strategy settings and how to customize them based on your trading style and goals. Each parameter is essential for tailoring the strategy to market conditions and your risk appetite.
1. Short Moving Average Length (Default: 9)
• Purpose: Tracks short-term trends using a small number of candles.
• Settings Tips:
• Smaller Values (e.g., 9): Quickly react to price changes, useful for fast-moving markets.
• Larger Values (e.g., 12-15): Generate smoother signals for less volatile trades.
2. Long Moving Average Length (Default: 21)
• Purpose: Identifies long-term trends.
• Settings Tips:
• Higher Values (e.g., 50): Spot broader trends at the expense of slower signals.
• Trend Analysis: The interaction of short and long MAs helps determine bullish or bearish trends (e.g., bullish when short MA crosses above long MA).
3. Higher Timeframe MA Length (Default: 200)
• Purpose: Filters long-term trends on a higher timeframe (e.g., daily).
• Settings Tips:
• 200 Periods: Standard for defining bullish (price above) or bearish (price below) markets.
• Adjustable: Use 100 for faster responses or stick with 200 for reliability.
4. Higher Timeframe (Default: 1 Day)
• Purpose: Defines the timeframe for the higher moving average.
• Settings Tips:
• Shorter Timeframes (e.g., 4 Hours): More frequent trading signals.
• Daily Timeframe: Best for swing trading and identifying macro trends.
5. RSI Length (Default: 14)
• Purpose: Measures momentum over a specific number of candles.
• Settings Tips:
• Lower Values (e.g., 7): More sensitive to price changes, ideal for quick trades.
• Higher Values (e.g., 20): Smooth signals for more stable markets.
6. RSI Overbought (70) and Oversold (30) Levels
• Purpose: Marks thresholds for overbought and oversold conditions.
• Settings Tips:
• Stricter Levels (e.g., 80/20): Fewer, higher-quality signals.
• Looser Levels (e.g., 65/35): More frequent signals, suitable for active trading.
7. Pivot Left Bars (5) and Pivot Right Bars (5)
• Purpose: Confirms pivot points (support/resistance) based on surrounding candles.
• Settings Tips:
• Higher Values (e.g., 10): Stronger but less frequent pivot points.
• Lower Values: More responsive, for traders seeking quick pivots.
8. Take Profit Percentage (Default: 2%)
• Purpose: Defines the profit level to exit trades.
• Settings Tips:
• Higher Values (e.g., 5%): For swing traders holding positions longer.
• Lower Values (e.g., 1%): For scalpers focusing on quick trades.
9. Minimum Volume (Default: 1,000,000)
• Purpose: Ensures sufficient liquidity for trading.
• Settings Tips:
• Lower Values: For lower-volume markets.
• Higher Values: Reduces risk in high-liquidity assets.
10. Stop Loss Percentage (Default: 1%)
• Purpose: Sets the maximum acceptable loss per trade.
• Settings Tips:
• Lower Values (e.g., 0.5%): Reduces risk, suited for conservative trading.
• Higher Values (e.g., 2%): Allows more price fluctuation, ideal for volatile markets.
11. Entry Conditions
• Options:
• MA Crossover & RSI: Combines trend-following and momentum for well-rounded signals.
• Pivot Breakout: Focuses on support/resistance breakouts for high-impact trades.
• Settings Tips:
• Trend-Following Traders: Use MA Crossover & RSI.
12. Exit Conditions
• Options:
• Opposite Signal: Exits when the trade’s opposite condition occurs (e.g., bullish to bearish).
• Fixed Take Profit/Stop Loss: Exits based on predefined profit/loss thresholds.
• Settings Tips:
• Opposite Signal: Ideal for trend-following strategies.
Summary
Customizing these settings aligns the strategy with your trading goals. Test configurations in a demo environment before live trading to refine the approach and optimize results. Always balance profit potential with risk management.
• Fixed Levels: Better for strict risk management.
• Breakout Traders: Opt for Pivot Breakout.
MADĀlgo_Guppy IndicatorThe Guppy Multiple Moving Average (GMMA) is a technical indicator that aims to anticipate a potential breakout in the price of an asset. The term gets its name from Daryl Guppy, an Australian financial columnist and book author who developed the concept in his book, "Trading Tactics."
The GMMA uses the exponential moving average (EMA) to capture the difference between price and value in a stock. A convergence in these factors is associated with a significant trend change. Guppy maintains that the GMMA is not a lagging indicator but a prior warning of a developing change in price and value.
Ref: www.investopedia.com
Angkol StrategyKey Components:
Time Zones:
Kill Zone: A specific time window during which the strategy tracks price action for potential signals.
You can modify the start and end time of this kill zone with a time zone offset for your preferred market hours (e.g., New York).
Entry Restriction Zone: A time window during which entry signals are restricted (i.e., no entries are allowed). You can modify the start and end time for this restriction.
Trade Biases:
Sell Bias: Occurs when the price breaks the previous day's kill zone high.
Buy Bias: Occurs when the price breaks the previous day's kill zone low.
Trade Signals:
Bearish Signal (Sell): Triggered when:
A Bearish Engulfing pattern occurs (where the current bar closes lower than it opens and it engulfs the previous bar).
A Bearish Order Block forms (where the previous candle is bullish and the current one closes below the previous low).
The price breaks the previous day’s kill zone high.
The signal is outside the entry restriction window.
Bullish Signal (Buy): Triggered when:
A Bullish Engulfing pattern occurs (where the current bar closes higher than it opens and it engulfs the previous bar).
A Bullish Order Block forms (where the previous candle is bearish and the current one closes above the previous high).
The price breaks the previous day’s kill zone low.
The signal is outside the entry restriction window.
Plotting:
Kill Zone Background: The chart’s background turns blue during the kill zone to visually highlight the target time window.
Buy/Sell Signals: Buy and sell signals are marked on the chart using small upward and downward labels.
Previous Day's High/Low: The high and low from the previous day’s kill zone are plotted on the chart for reference.
Alerts:
Alerts for Buy and Sell Signals: Alerts are triggered when either buy or sell signals are generated, based on your conditions.
Customization:
Time Zone Offset: Adjusts the entire strategy to the desired time zone (e.g., New York time).
Kill Zone: You can adjust the start and end times of the kill zone, reflecting the active market session.
Entry Restriction Window: You have control over the start and end times of the entry window, ensuring no trades are executed during this period.
Goal:
Your strategy aims to capture buy or sell opportunities after the price breaks key levels (previous day’s high/low) within specific time windows (the kill zone and entry restriction zone). You focus on order block and engulfing candle patterns to validate entries.
B20 by Nulytrading The "B20" defines the intraday trend. It displays 20 candles on the M15 timeframe from 7:00 AM to 12:00 PM. When the price breaks above the highest point or below the lowest point of these 20 candles, it is called a "B20 breakout." The price tends to move toward Fibonacci extension levels of 1.618, 2.618, and 4.238, also referred to as B1, B2, and B3 levels. These levels represent reaction zones, support, and resistance areas, helping to determine take-profit points. Additionally, this indicator assists in identifying bottoms and tops, reducing the risk of significant losses. Currently, this indicator is best used exclusively with the XAUUSD (gold) pair. Combine it with key levels, trendlines, and order clusters to enhance its effectiveness.
Biên 20 xác định xu hướng trong ngày. Hiển thị 20 nến khung m15 từ 7h sáng đến 12h trưa. Khi giá phá vỡ điểm cao nhất hoặc thấp nhất của trong 20 cây nến đó, gọi là phá vỡ biên. Giá có xu hướng tiến đến các mốc fibo mở rộng 1,618 và 2,618 và 4,238. Còn gọi là mốc B1, B2, B3. Các B này hiển thị vùng phản ứng, kháng hỗ. Xác định điểm take profit. Và còn giúp bạn bắt đáy, đỉnh đỡ cháy hơn, hiện chỉ báo này chỉ nên sử dụng với sản phẩm XAUUSD (vàng). Kết hộ với key level, trendline, bộ tố lệnh để tăng hiệu quả.
Simple Reversal Point - v2感谢原作者 @Dreadblitz , 我在其脚本之上进行了优化
原脚本链接:
1. 不使用当前k线以避免重绘或者警告频繁触发且与绘图不一致的情况
2. 增加连续三根k线的触发反转条件
3. 使信号交替进行, 不会出现连续的信号
Thanks to the original author @Dreadblitz I optimized it on top of his script
Original script link:
1. Do not use the current K-line to avoid redrawing or warnings that are triggered frequently and are inconsistent with the drawing.
2. Add triggering reversal conditions for three consecutive K lines
3. Make the signals alternate and there will be no continuous signals.
Danish Algo - BTC V- 1.2.1 //@version=6
strategy('Danish Algo - BTC V- 1.2.1 ', overlay = true)
// Input periods for top and bottom signals
bottom_period = input(14, title = 'Bottom Period')
top_period = input(14, title = 'Top Period')
// Default target points at 500, but adjustable
target_points = input(500, title = 'Target Points (Default 500)')
stop_loss_points = input(0, title = 'Additional SL Points (0 for 2-candle SL only)') // Additional points for SL adjustment
// Calculate bottom and top conditions
bottom_condition = low < ta.lowest(low , bottom_period) and low <= ta.lowest(low , bottom_period)
top_condition = high > ta.highest(high , top_period) and high >= ta.highest(high , top_period)
// Signal times since last condition met
bottom_signal = ta.barssince(bottom_condition)
top_signal = ta.barssince(top_condition)
// BUY-SELL Conditions
Buy = ta.crossover(bottom_signal, top_signal)
Sell = ta.crossunder(bottom_signal, top_signal)
// Define stop loss and target levels based on 2 candles back high/low
buy_sl = Buy ? low - stop_loss_points : na // Buy पर 2 candles पीछे का low SL के साथ custom adjustment
buy_target = Buy ? close + target_points : na // Fixed 500 points TP for Buy (adjustable)
sell_sl = Sell ? high + stop_loss_points : na // Sell पर 2 candles पीछे का high SL के साथ custom adjustment
sell_target = Sell ? close - target_points : na // Fixed 500 points TP for Sell (adjustable)
// Signal cancellation logic
if Buy and strategy.position_size < 0 // Close Sell if Buy signal appears
strategy.close('Sell')
if Sell and strategy.position_size > 0 // Close Buy if Sell signal appears
strategy.close('Buy')
// Strategy Entry and Exit for Buy
if Buy
strategy.entry('Buy', strategy.long)
strategy.exit('Sell Target/SL', 'Buy', stop = buy_sl, limit = buy_target)
// Strategy Entry and Exit for Sell
if Sell
strategy.entry('Sell', strategy.short)
strategy.exit('Buy Target/SL', 'Sell', stop = sell_sl, limit = sell_target)
// Plot Buy/Sell Signals on chart
plotshape(Buy, title = 'BUY', location = location.belowbar, color = color.new(color.green, 0), style = shape.labelup, text = 'BUY', textcolor = color.new(color.black, 0))
plotshape(Sell, title = 'SELL', location = location.abovebar, color = color.new(color.red, 0), style = shape.labeldown, text = 'SELL', textcolor = color.new(color.black, 0))
// Background Color for Buy and Sell Zones
bgcolor(Buy ? color.new(color.blue, 85) : Sell ? color.new(color.red, 85) : na)
// Alert Conditions for Buy and Sell
alertcondition(Buy, title = 'Buy Signal', message = 'Buy signal detected')
alertcondition(Sell, title = 'Sell Signal', message = 'Sell signal detected')
Monthly Vertical Lines//@version=5
indicator("Monthly Vertical Lines", overlay=true)
month_change = (month != month ) // Detects a new month
if month_change
line.new(x1=bar_index, y1=na, x2=bar_index, y2=na, extend=extend.both, color=color.gray, style=line.style_dotted, width=1)
Monthly Vertical Lines//@version=5
indicator("Monthly Vertical Lines", overlay=true)
month_change = (month != month ) // Detects a new month
if month_change
line.new(x1=bar_index, y1=na, x2=bar_index, y2=na, extend=extend.both, color=color.gray, style=line.style_dotted, width=1)
CandelaCharts - Swing Failure Pattern (SFP)# SWING FAILURE PATTERN
📝 Overview
The Swing Failure Pattern (SFP) indicator is designed to identify and highlight Swing Failure Patterns on a user’s chart. This pattern typically emerges when significant market participants generate liquidity by driving price action to key levels. An SFP occurs when the price temporarily breaks above a resistance level or below a support level, only to quickly reverse and return within the previous range. These movements are often associated with stop-loss hunting or liquidity grabs, providing traders with potential opportunities to anticipate reversals or key market turning points.
A Bullish SFP occurs when the price dips below a key support level, triggering stop-loss orders, but then swiftly reverses upward, signaling a potential upward trend or reversal.
A Bearish SFP happens when the price spikes above a key resistance level, triggering stop-losses of short positions, but then quickly reverses downward, indicating a potential bearish trend or reversal.
The indicator is a powerful tool for traders, helping to identify liquidity grabs and potential reversal points in real-time. Marking bullish and bearish Swing Failure Patterns on the chart, it provides clear visual cues for spotting market traps set by major players, enabling more informed trading decisions and improved risk management.
📦 Features
Bullish/Bearish SFPs
Styling
⚙️ Settings
Length: Determines the detection length of each SFP
Bullish SFP: Displays the bullish SFPs
Bearish SFP: Displays the bearish SFPs
Label: Controls the size of the label
⚡️ Showcase
Bullish
Bearish
Both
📒 Usage
The best approach is to combine a few complementary indicators to gain a clearer market perspective. This doesn’t mean relying on the Golden Cross, RSI divergences, SFPs, and funding rates simultaneously, but rather focusing on one or two that align well in a given scenario.
The example above demonstrates the confluence of a Bearish Swing Failure Pattern (SFP) with an RSI divergence. This combination strengthens the signal, as the Bearish SFP indicates a potential reversal after a liquidity grab, while the RSI divergence confirms weakening momentum at the key level. Together, these indicators provide a more robust setup for identifying potential market reversals with greater confidence.
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish signal is triggered when a Bearish SFP is formed.
Bullish Signal
A bullish signal is triggered when a Bullish SFP is formed.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
SMA(20,50,100,200) - cryptoMittalSMA(20,50,100,200) - cryptoMittal. Aims to provide simple moving averages for various candle spans
Non-Lagging Indicator: EMA + TSI BY UTTAM PARAMANIK//@version=5
indicator("Non-Lagging Indicator: EMA + TSI", overlay=true)
// Parameters for the EMA
fastLength = input.int(9, title="Fast EMA Period", minval=1)
slowLength = input.int(21, title="Slow EMA Period", minval=1)
// Parameters for the TSI
tsiFastLength = input.int(13, title="TSI Fast Length", minval=1)
tsiSlowLength = input.int(25, title="TSI Slow Length", minval=1)
tsiSignalLength = input.int(7, title="TSI Signal Length", minval=1)
// EMA Calculation
fastEMA = ta.ema(close, fastLength)
slowEMA = ta.ema(close, slowLength)
// TSI Calculation
delta = close - close
doubleSmoothDelta = ta.ema(ta.ema(delta, tsiFastLength), tsiSlowLength)
doubleSmoothAbsDelta = ta.ema(ta.ema(math.abs(delta), tsiFastLength), tsiSlowLength)
tsi = 100 * doubleSmoothDelta / doubleSmoothAbsDelta
tsiSignal = ta.ema(tsi, tsiSignalLength)
// Plot EMAs
plot(fastEMA, color=color.blue, title="Fast EMA")
plot(slowEMA, color=color.orange, title="Slow EMA")
// Plot TSI and Signal
plot(tsi, color=color.green, title="True Strength Indicator")
plot(tsiSignal, color=color.red, title="TSI Signal")
// Buy and Sell Conditions
buyCondition = ta.crossover(fastEMA, slowEMA) and ta.crossover(tsi, tsiSignal)
sellCondition = ta.crossunder(fastEMA, slowEMA) and ta.crossunder(tsi, tsiSignal)
// Plot Buy and Sell Signals
plotshape(buyCondition, color=color.green, style=shape.labelup, location=location.belowbar, text="BUY")
plotshape(sellCondition, color=color.red, style=shape.labeldown, location=location.abovebar, text="SELL")