Prometheus Cauchy ProbabilityThe Cauchy probability distribution is a distribution that is better suited to be used on non normal data, such as stock returns. Markets characterized by volatility and fat-tails can be better modeled like this.
This script provides two values to a user. The blue line represents the probability for the underlying to rise. The purple line represents its probability to fall. Rise and fall by how much? By default a prediction of 0.5% is set, but users can adjust it. The script automatically calculates based on how many bars would be in an entire day. For example there are 390 minutes from 9:30am to 4:00pm est. time so the script uses 390 bars. Users have the option to set a custom bars back length.
Developer’s note. This script works best with extended market hours on. Every example shown will have it on. The more price and volatility the better!
Code breakdown:
cauchy_cdf(x, x0, gamma)=>
1 / math.pi * math.atan((x - x0) / gamma) + 0.5
This function is what calculates the Cauchy cumulative density function.
// Calculate x and gamma
x = close * (1 + pred)
x0 = hi
gamma := ta.stdev(close, Len, false)
y = cauchy_cdf(x, x0, gamma)
//down
x_lo = close * (1 - pred)
x0_lo = lo
y_lo = cauchy_cdf(x_lo, x0_lo, gamma)
x represents the target price. x0 represents the current highest price of the day. Gamma is the standard deviation of prices over the desired length. x_lo, x0_lo, are variables to determine the probability of falling. Inputting these values into the function we get back our chance of rising and falling. Our blue and purple line.
Trade Examples:
Step 1: After a move down there is some choppiness, the values are close to each other and moving sharply.
Step 2: The chance to rise (Blue Line) strongly moves above the chance to fall (Purple Line), uptrend ensues.
Step 3: Small breaks below the purple line show breaks in the overall trend.
Step 4: Strong move down in price, and up in purple line end up trend.
Step 1: Strong cross in purple and blue line, marking the start of a downtrend.
Step 2: Small breaks above the purple line show breaks in the overall trend.
Step 3: Strong move up in price, and up in the blue line end downtrend.
Day trading example:
Custom input:
Step 1: Pre market weakness ends with a move up in the blue line and price.
Step 2: Consolidation in the uptrend with a small downtrend and above the purple line.
Step 3: Strong move up in price, and up in the blue line end consolidation and resumes strong uptrend.
This example is with custom input: 100 bars back, and 1% prediction.
Step 1: Downtrend starts after a big move up.
Step 2: Big crossover in blue and purple line. Uptrend starts.
Step 3: Lines get close signaling choppiness.
Step 4: Purple crosses over blue ending uptrend.
No indicator is 100% accurate, we encourage traders to use them along with their own discretion. Please use these tools with your own decision making. Comments about desired features and updates are encouraged!
Padrões gráficos
Linear and Logarithmic Fibonacci Levels and (Price&Time) FansIntroduction
The Fibonacci Retracement tool is a go-to for traders looking to spot potential support and resistance levels. By measuring the distance between swing highs and lows, you can apply Fibonacci ratios like 0.236, 0.382, and 0.618 to predict key market levels.
Traditionally, these levels are set by dividing this distance into equal parts—known as Linear Levels. A more refined approach, Logarithmic Price and Time Levels, divides the distance into proportionally equal segments. Plus, this indicator now includes Fibonacci fans, adding another layer of analysis by projecting potential price levels using trendlines based on Fibonacci ratios.
This tool makes it easier to identify both Linear and Logarithmic levels while also leveraging Fibonacci fans for a more complete market view.
Applications
Logarithmic Levels and Fibonacci fans are ideal for volatile markets. In crypto, they’re especially effective for BTCUSDT (check out the wick from January 23, 2024). They also help spot accumulation and distribution patterns in high-volume altcoins like FETUSDT . In traditional markets, they’re useful for tracking stocks like TSLA and NVDA with extreme price swings, as well as indices in inflation-affected markets like XU100 , or recession-hit currency pairs like JPYUSD .
How to Use
This indicator is intuitive and similar to TradingView’s Fibonacci Tool. Select your reference levels (Level 1 and Level 0), then tweak the settings to customize your analysis, including adding Fibonacci fans for extra insights.
Why It’s Different
Unlike TradingView’s tool, which forces you to switch to a logarithmic scale (messing with other indicators and trend lines), this indicator lets you view both Linear and Logarithmic levels—and Fibonacci fans on Price and Time Series—without changing your chart’s scale. The original Fibonacci Code was derived from zekicanozkanli, modified and upgraded to plot fib front and back fans as well. Due to TV Max Plot restrictions I need to publish just Front and Back and Front Fibs separately.
Gap Percentage Highlighter (1Day)b]🇬🇧 ENGLISH
The "Gap Percentage Highlighter" script is a useful tool for traders who want to visually highlight and analyze price gaps on their charts.
Features:
Identification of Price Gaps (Gaps):
The script automatically highlights candles where the opening price significantly differs from the previous day's closing price.
Percentage Display of the Gap:
The percentage change between the closing price and the opening price is displayed directly on the chart.
Customizable Gap Size:
Users can set the minimum size of the price gap in percentage terms through a simple input field, determining when the script marks a gap as significant.
Visual Highlighting:
Gap-ups (positive gaps) are highlighted in green, and gap-downs (negative gaps) are highlighted in red, making them easy to identify.
Use Case:
This script is ideal for traders who utilize gaps in their analyses to identify potential market movements. It allows for quick and visual identification of significant price gaps directly on the chart and offers the flexibility to adjust the definition of "significant" to match individual needs.
Disclaimer:
This script is for educational purposes only. Trading involves risks and is not suitable for every investor.
(c) BS IMPACT SCALE GmbH
🇩🇪 GERMAN
Das "Gap Percentage Highlighter" Skript ist ein nützliches Tool für Trader, die Kurslücken (Gaps) auf ihren Charts visuell hervorheben und analysieren möchten.
Funktionen:
Identifizierung von Kurslücken (Gaps):
Das Skript hebt automatisch Kerzen hervor, bei denen der Eröffnungskurs vom Schlusskurs der vorherigen Kerze auf Tagesbasis signifikant abweicht.
Prozentuale Anzeige der Kurslücke:
Die prozentuale Veränderung zwischen Schlusskurs und Eröffnungskurs wird direkt auf dem Chart angezeigt.
Anpassbare Gap-Größe:
Nutzer können über ein einfaches Eingabefeld die minimale Größe der Kurslücke in Prozent festlegen, ab der das Skript die Lücke als relevant markiert.
Visuelle Hervorhebung:
Gap-Ups (positive Lücken) werden in Grün und Gap-Downs (negative Lücken) in Rot hinterlegt, sodass sie leicht identifiziert werden können.
Anwendungsbereich:
Dieses Skript ist ideal für Trader, die Gaps in ihren Analysen nutzen, um potenzielle Marktbewegungen zu identifizieren. Es ermöglicht eine schnelle und visuelle Erkennung von signifikanten Kurslücken direkt auf dem Chart und bietet die Flexibilität, die Definition von "signifikant" an die eigenen Bedürfnisse anzupassen.
Haftungsausschluss:
Dieses Skript dient ausschließlich zu Bildungszwecken. Trading beinhaltet Risiken und ist nicht für jeden Anleger geeignet.
(c) BS IMPACT SCALE GmbH
Anomaly Detection with Standard Deviation [CHE]Anomaly Detection with Standard Deviation in Trading
Application for Traders
Traders can use this indicator to identify potential turning points in the market. Anomalies above the upper threshold may indicate overbought conditions, suggesting a possible reversal or sell opportunity. Conversely, anomalies below the lower threshold might signal oversold conditions, presenting a potential buying opportunity. By combining these signals with other technical analysis tools, traders can make more informed decisions and refine their trading strategies.
Introduction
Welcome to this presentation on Anomaly Detection using Standard Deviation in the context of trading. This method helps traders identify unusual price movements that may indicate potential trading opportunities. We will walk through the concept, explain how to set up the indicator, and discuss how traders can utilize it effectively.
Concept Overview
Anomaly Detection using Standard Deviation is a statistical method that identifies price points in a financial market that deviate significantly from the norm. The method relies on calculating the moving average and the standard deviation of a chosen price indicator over a specified period. By defining thresholds (e.g., 3 standard deviations above and below the mean), the method flags these deviations as anomalies, which can signal potential trading opportunities.
1. Selecting the Data Source
Description: The first step in setting up the indicator is choosing the price data that will be analyzed. Common options include the closing price, opening price, highest price, lowest price, or a combination of these (such as the average of the open, high, low, and close prices, known as OHLC4).
Importance: The choice of data source affects the sensitivity and relevance of the detected anomalies.
2. Setting the Calculation Period
Description: The calculation period refers to the number of time units (such as days, hours, or minutes) used to compute the moving average and standard deviation. A typical default period might be 20 units.
Importance: A shorter period makes the indicator more responsive to recent changes, while a longer period smooths out short-term fluctuations and highlights more significant trends.
3. Determining the Number of Displayed Lines and Labels
Description: Traders can configure how many anomaly lines and labels are displayed on the chart at any given time. This is crucial for maintaining a clear and readable chart, especially in volatile markets.
Importance: Limiting the number of displayed anomalies helps avoid clutter and focuses attention on the most recent or relevant data points.
4. Calculating the Mean and Standard Deviation
Description: The mean (or moving average) represents the central tendency of the price data, while the standard deviation measures the dispersion or volatility around this mean.
Importance: These statistical measures are fundamental to determining the thresholds for what constitutes an "anomaly."
5. Defining Anomaly Thresholds
Description: Anomaly thresholds are typically set at 3 standard deviations above and below the mean. Prices that exceed these thresholds are considered anomalies, signaling potential overbought (above the upper threshold) or oversold (below the lower threshold) conditions.
Importance: These thresholds help traders identify extreme market conditions that might present trading opportunities.
6. Identifying Anomalies
Description: The indicator checks whether the high or low prices exceed the defined thresholds. If they do, these price points are flagged as anomalies.
Importance: Identifying these points can alert traders to unusual market behavior, prompting them to consider buying, selling, or holding their positions.
7. Visualizing the Anomalies
Description: The indicator plots the thresholds on the chart as lines, with anomalies highlighted through additional visual cues, such as labels or lines.
Importance: This visualization makes it easy for traders to spot significant deviations from the norm, which might warrant further analysis or immediate action.
8. Managing Displayed Anomalies
Description: To keep the chart organized, the indicator automatically removes the oldest lines and labels when the number exceeds the user-defined limit.
Importance: This feature ensures that the chart remains clear and focused on the most relevant data points, preventing information overload.
Conclusion
The Anomaly Detection with Standard Deviation indicator is a powerful tool for identifying significant deviations in market behavior. By customizing parameters such as the calculation period and the number of displayed anomalies, traders can tailor the indicator to suit their specific needs, leading to more effective trading decisions.
Best regards
Chervolino
AB_Bnf_Selling_5minThe Mathematical Level Reversal Strategy is designed to identify potential reversal points in the market using mathematical levels combined with price action on a 5-minute chart. This strategy is particularly effective for intraday traders who seek to capitalize on precise entry and exit points based on calculated levels rather than traditional indicators like moving averages or Bollinger Bands.
Creators' Mathematical Levels Explanation
Mathematical levels are predetermined price points calculated based on various factors such as previous high/low points, Fibonacci retracements, or other arithmetic calculations. These levels are used to anticipate areas where the price might reverse or experience significant support or resistance.
higher threshold: A predefined level where the price is expected to experience resistance, leading to a potential reversal downward.
Lower Threshold: A predefined level where the price might find support, leading to a potential upward reversal.
In this strategy, we focus on price movements around the upper mathematical level, where prices are likely to reverse downwards.
Strategy Logic
Setup:
The strategy is applied on a 5-minute chart.
Mathematical levels are calculated based on your preferred method, such as Fibonacci levels, pivot points, or custom calculations. For this strategy, let's assume we are using a specific predefined upper level.
Sell Signal Criteria:
A 5-minute candle must cross above the predefined upper mathematical level or close entirely above it (open and close both above the level).
The following candle must break below the low of the candle that crossed the upper level and close below that low. This confirms a bearish reversal.
Once these conditions are met, a sell signal is triggered.
Stop Loss:
The stop loss is placed at the high of the candle that crossed above the upper mathematical level.
This level represents the point where the trade setup would be invalidated.
Take Profit:
Target 1: The first take profit is set at a level that offers a 1:5 risk-to-reward ratio.
Target 2: An alternative take profit level is set at a 1:3 risk-to-reward ratio, providing flexibility based on market conditions.
Trade Management:
Once a trade is initiated, no new trades will be taken until the current trade hits either the stop loss or the first take profit level. This prevents overlapping signals and helps in managing risk effectively.
Originality and Usefulness
This strategy offers a unique approach by using mathematical levels instead of traditional indicators. It provides traders with a clear framework for identifying and executing high-probability reversal trades, particularly in intraday markets.
Originality:
The strategy's originality lies in its reliance on mathematical levels combined with a multi-candle confirmation pattern. This approach reduces the chances of false signals and offers a robust method for identifying potential reversals.
Usefulness:
The strategy is particularly useful for traders who prefer a more quantitative approach, relying on calculated price levels rather than indicators. The clear rules for entry, stop loss, and take profit make it easier to execute consistently.
The inclusion of both 1:5 and 1:3 risk-to-reward targets allows for flexibility depending on market conditions, ensuring that traders can adapt to varying levels of volatility.
Chart Signals and Examples
To demonstrate the effectiveness of this strategy, let's look at a few hypothetical examples on a 5-minute chart:
Example 1: Clear Reversal Signal
The price steadily rises and crosses above the predefined upper mathematical level. The next candle breaks below the low of this candle and closes lower, triggering a sell signal.
A red dotted line is drawn at the stop loss level (the high of the candle that crossed the upper level).
Two green dashed lines are drawn to indicate the first and second take profit levels.
Example 2: No Signal Due to Ongoing Trade
After an initial sell signal is triggered, the price fluctuates but does not hit either the stop loss or the first take profit target. During this period, the strategy refrains from issuing any new signals, adhering to the trade management rule.
Example 3: Trade Reaches Target 1
In another scenario, the price moves sharply in favor of the trade after the signal is triggered. The first take profit level is hit, securing a profit. The trade is then considered closed, and the strategy is ready to issue a new signal when conditions are met.
ChartArt-Bankniftybuying5minName: ChartArt-BankNifty Buying Strategy (5-Minute)
Timeframe: 5-Minute Candles
Asset: BankNifty (Indian Stock Market Index)
Trading Hours: 9:30 AM - 2:45 PM IST (Indian Standard Time)
This strategy is designed for BankNifty intraday traders who want to capitalize on short-term price movements within a defined trading window. It combines technical indicators like Simple Moving Averages (SMA), Relative Strength Index (RSI), and candlestick patterns to identify potential buy signals during intraday downtrends. The strategy employs specific entry, stop-loss, and target conditions to manage trades effectively and minimize risk.
Technical Indicators Used
Simple Moving Averages (SMA):
EMA7: 7-period SMA on closing price.
EMA5: 5-period SMA on closing price.
Purpose: Used to identify the intraday trend by comparing short-term moving averages. The strategy focuses on situations where the market is in a minor downtrend, indicated by EMA5 being below EMA7.
Relative Strength Index (RSI):
RSI14: 14-period RSI, a momentum oscillator that measures the speed and change of price movements.
SMA14: 14-period SMA of the RSI.
Purpose: RSI is used to identify potential reversal points. The strategy looks for situations where the RSI is below its own moving average, suggesting weakening momentum in the downtrend.
Candlestick Patterns:
Relaxed Hammer or Doji (2nd Candle): A pattern where the second candle in a 3-candle sequence shows a potential reversal signal (Hammer or Doji), indicating indecision or a potential turning point.
Bearish 1st Candle: The first candle is bearish, setting up the context for a potential reversal.
Bullish 3rd Candle: The third candle must be bullish with specific characteristics (closing near the high, surpassing the previous high), confirming the reversal.
Strategy Conditions
Time Condition:
The strategy is only active during specific hours (9:30 AM to 2:45 PM IST). This ensures that trades are only taken during the most liquid hours of the trading day, avoiding potential volatility or lack of liquidity towards market close.
Intraday Downtrend Condition:
EMA5 < EMA7: Indicates that the market is in a minor downtrend. The strategy looks for reversal opportunities within this trend.
RSI Condition:
RSI14 <= SMA14: Indicates that the current RSI value is below its 14-period SMA, suggesting potential weakening momentum, which can precede a reversal.
Candlestick Patterns:
1st Candle: Must be bearish, setting up the context for a potential reversal.
2nd Candle: Must either be a Hammer or Doji, indicating a potential reversal pattern.
3rd Candle: Must be bullish, with specific characteristics (closing near the high, breaking the previous high, etc.), confirming the reversal.
RSI Crossover Condition:
A crossover of the RSI over its SMA in the last 5 periods is also checked, adding further confirmation to the reversal signal.
Entry and Exit Rules
Entry Signal:
A buy signal is generated when all the conditions (time, intraday downtrend, bearish 1st candle, hammer/doji 2nd candle, bullish 3rd candle, and RSI condition) are met. The trade is entered at the high of the bullish third candle.
Stop Loss:
The stop loss is calculated based on the difference between the entry price and the low of the second candle. If this difference is greater than 90 points, the stop loss is placed at the midpoint of the second candle's range (average of high and low). Otherwise, it is placed at the low of the second candle.
Target 1:
The first target is set at 1.8 times the difference between the entry price and the stop loss. When this target is hit, half of the position is exited to lock in partial profits.
Target 2:
The second target is set at 3 times the difference between the entry price and the stop loss. The remaining position is exited at this point, or if the price hits the stop loss.
Originality and Usefulness
This strategy is original in its combination of multiple technical indicators and candlestick patterns to identify potential reversals in a specific intraday timeframe. By focusing on minor downtrends and utilizing a 3-candle reversal pattern, the strategy seeks to capture quick price movements with a structured approach to risk management.
Key Benefits:
High Precision: The strategy’s multi-step filtering process (time condition, trend confirmation, candlestick pattern analysis, and momentum evaluation via RSI) increases the likelihood of accurate trade signals.
Risk Management: The use of a dynamic stop-loss based on candle characteristics, combined with partial profit-taking, allows traders to lock in profits while still giving the trade room to develop further.
Structured Approach: The strategy provides a clear, rule-based system for entering and exiting trades, which can help remove emotional decision-making from the trading process.
Charts and Signals
The strategy produces signals in the form of labels on the chart:
Buy Signal: A green label is plotted below the candle that meets all entry conditions, indicating a potential buy opportunity.
Stop Loss (SL): A red dashed line is drawn at the stop-loss level with a label indicating "SL".
Target 1 (1st TG): A blue dashed line is drawn at the first target level with a label indicating "1st TG".
Target 2 (2nd TG): Another blue dashed line is drawn at the second target level with a label indicating "2nd TG".
These visual aids help traders quickly identify entry points, stop loss levels, and target levels on the chart, making the strategy easy to follow and implement.
Backtesting and Optimization
Backtesting: The strategy can be backtested on TradingView using historical data to evaluate its performance. Traders should consider testing across different market conditions to ensure the strategy's robustness.
Optimization: Parameters such as the RSI period, moving averages, and target multipliers can be optimized based on backtesting results to refine the strategy further.
Conclusion
The ChartArt-BankNifty Buying Strategy offers a well-rounded approach to intraday trading, focusing on capturing reversals in minor downtrends. With a strong emphasis on technical analysis, precise entry and exit rules, and robust risk management, this strategy provides a solid framework for traders looking to engage in intraday trading on BankNifty.
Combined Bitcoin CME Gaps and Weekend DaysScript Description: Combined Bitcoin CME Gaps and Weekend Days
Author: NeoButane (Bitcoin CME Gaps), JohnIsTrading (Day of Week),
Contributor : MikeTheRuleTA (Combined and optimizations)
This Pine Script indicator provides a combined view of Bitcoin CME gaps and customizable weekend day backgrounds on your chart. It’s designed to help traders visualize CME gaps along with customizable weekend day highlights.
Features:
CME Gaps Visualization:
Enable CME Gaps: Toggle the display of CME gaps on your chart.
Show Real vs. CME Price: Choose whether to display chart prices or CME prices for gap analysis.
Weekend Gaps Only: Filter to show only weekend gaps for a cleaner view (note: this may miss holidays).
CME Gaps Styling:
Weekend Background Highlighting:
Enable Weekend Background: Toggle the weekend day background highlight on or off.
Timezone Selection: Choose the relevant timezone for accurate weekend highlighting.
Customizable Weekend Colors: Define colors for Saturday and Sunday backgrounds.
How It Works:
CME Gaps: The script identifies gaps between CME and chart prices when the CME session is closed. It plots these gaps with customizable colors and line widths.
You can choose to see gaps based on CME prices or chart prices and decide whether to include only weekends.
Weekend Backgrounds: The script allows for background highlighting of weekends (Saturday and Sunday) on your chart. This can be enabled or disabled and customized with specific colors.
The timezone setting ensures that the background highlights match your local time settings.
Inputs:
CME Gaps Settings:
Enable CME Gaps
Show Real vs. CME Price
Only Show Weekend Gaps
CME Gaps Style:
Gap Fill Color Up
Gap Fill Color Down
Gap Fill Transparency
Weekend Settings:
Enable Weekend Background
Timezone
Enable Saturday
Saturday Color
Enable Sunday
Sunday Color
Usage:
Add this script to your TradingView chart to overlay CME gaps and weekend highlights.
Adjust the settings according to your preferences for a clearer view of gaps and customized weekend backgrounds.
This indicator provides a comprehensive tool for tracking CME gaps and understanding weekend market behaviors through visual enhancements on your trading charts.
Multi-Timeframe 325 SMA TouchMulti-Timeframe 325 SMA Touch Indicator
This versatile indicator detects and visualizes when the price touches (crosses over or under) the 325-period Simple Moving Average (SMA) across multiple timeframes. It's designed to help traders identify potential support and resistance levels across various time horizons.
Key Features:
Monitors 7 different timeframes: 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours, 12 hours, and 1 day.
Customizable: Each timeframe can be toggled on or off individually.
Visual cues: Unique shapes and colors for each timeframe make it easy to distinguish touches on different time scales.
Adjustable SMA length: While defaulted to 325 periods, the SMA length can be modified to suit your strategy.
Current timeframe SMA: Displays the 325 SMA on the chart for additional context.
How it Works:
The indicator checks for price touches on the 325 SMA for each selected timeframe. When a touch occurs, it plots a distinct shape below the price bar:
30 minutes: Blue circle
1 hour: Green square
2 hours: Red triangle (up)
4 hours: Purple diamond
6 hours: Teal triangle (down)
12 hours: Orange X
1 day: White circle
The 325 SMA for the current chart timeframe is also plotted as a yellow line for reference.
Use Cases:
Identify potential support and resistance levels across multiple timeframes
Spot confluences where touches occur on multiple timeframes simultaneously
Enhance your multi-timeframe analysis for more informed trading decisions
Use as a filter or confirmation tool in your existing trading strategy
Customization:
You can easily customize the indicator by adjusting the SMA length or toggling specific timeframes on/off to focus on the time horizons most relevant to your trading style.
Big Bar Followed by Doji/PinbarUsed find doji/pinbars after a Big candle showing the potential Morning/Evening star formation after x amount of consecutive up moves.
1. Doji Threshold (dojiThreshold)
What is a Doji?: A doji is a candlestick pattern where the opening and closing prices are very close to each other. It represents indecision in the market.
Threshold Explanation: The dojiThreshold is used to define what qualifies as a doji by comparing the size of the candle's body (the difference between the opening and closing prices) to the total range of the candle (the difference between the high and low prices).
How it works:
The formula in the script checks if the absolute difference between the close and open is less than or equal to a percentage of the entire candle's range.
Example: If the dojiThreshold is set to 0.1 (or 10%), this means that for a candle to be considered a doji, the size of the body (the difference between the open and close) must be 10% or less of the total candle's range (the difference between the high and low prices).
In other words, if the body is small enough (based on the threshold), the candle is considered a doji.
2. Pinbar Body Size (pinbarBodySize)
What is a Pinbar?: A pinbar (short for "pinocchio bar") is a candlestick pattern with a small body and a long wick (or shadow) on one side, indicating a potential reversal. The longer wick represents a rejection of a certain price level.
Body Size Explanation: The pinbarBodySize defines the maximum proportion of the candle's total range that the body can occupy for the candle to be considered a pinbar.
How it works:
The script compares the size of the body to the total range of the candle.
Example: If pinbarBodySize is set to 0.3 (or 30%), the body of the candle must be 30% or less of the total range for it to be considered a pinbar. This ensures that the candle has a small body and, therefore, a relatively long wick on one side.
The script then checks whether the longer wick is on the upper or lower side of the candle to determine if it's a valid pinbar pattern.
Summary:
Doji: The dojiThreshold parameter sets how close the open and close prices need to be relative to the candle's range for the candle to be considered a doji.
Pinbar: The pinbarBodySize parameter sets the maximum size of the body relative to the candle's total range to qualify it as a pinbar.
Both of these thresholds are adjustable in the script, allowing you to fine-tune what qualifies as a doji or pinbar based on your trading style and the market conditions you're analyzing.
9:20 5 Min Candle Levels with AlertsThe 9:20 AM 5-Minute Candle refers to the candlestick that represents the price action of a financial asset between 9:20 AM and 9:25 AM on a trading day. This candle is observed on a 5-minute chart and captures all the market activity during this specific time window.
Description:
Timeframe: 9:20 AM to 9:25 AM (5-minute interval).
Opening Price: The price at 9:20 AM when the 5-minute period begins.
Closing Price: The price at 9:25 AM when the 5-minute period ends.
High: The highest price achieved during these five minutes.
Low: The lowest price reached during these five minutes.
Body: The distance between the opening and closing prices. A longer body indicates stronger buying or selling pressure, while a shorter body reflects more market indecision.
Wick (Shadow): The lines extending above and below the body, representing the range between the high and low prices during this period. Long wicks suggest higher volatility, while shorter wicks indicate more stable price movements.
Significance:
Bullish Candle: If the closing price is higher than the opening price, it suggests positive momentum and buying interest within this 5-minute period.
Bearish Candle: If the closing price is lower than the opening price, it signals negative momentum and selling pressure.
Market Sentiment: The 9:20 AM 5-minute candle can provide insight into the early sentiment of the market, often influencing the trading strategy for the rest of the day.
Volatility Indicator: The length of the wicks can help traders assess the volatility and potential risk during these five minutes.
This candle is particularly important for day traders and scalpers who rely on short-term price movements to make trading decisions.
Mystic Pulse [CHE]Mystic Pulse - A Non-Lagging Trend Indicator
Introduction
In the world of trading, identifying trends accurately and timely is crucial for successful decision-making. The saying "The Trend is Your Friend" encapsulates this principle, emphasizing the importance of riding the prevailing market trend. The Mystic Pulse indicator is designed to help traders do exactly that—detect trends early and follow them with confidence.
This presentation will walk you through how the Mystic Pulse indicator functions, its advantages, and how it can be a powerful tool in your trading arsenal.
Key Features of Mystic Pulse
Non-Lagging Signals: Unlike traditional indicators that often lag the market, Mystic Pulse generates trend signals in real-time, ensuring you are always in sync with the current market direction.
Adaptive Smoothing: The indicator employs a smoothing factor that dynamically adjusts based on recent price action, reducing noise and focusing on significant market movements.
Directional Movement Analysis: By calculating the directional movement index (DI+ and DI-) with a unique smoothing approach, the indicator identifies whether bulls or bears are in control.
Trend Counting Logic: The indicator counts consecutive positive and negative trend signals, providing a clear visual representation of the market’s direction.
Customizable Candle Colors: For better visual clarity, the indicator allows for customization of candle colors, highlighting neutral, bullish, or bearish candles based on trend strength.
Understanding the Indicator
1. Directional Movement and ADX Calculation
The Mystic Pulse uses a modified ADX calculation known as ZLAG ADX. It assesses true range, directional movement (both positive and negative), and smoothes these values over a specified length. This helps in capturing the essence of market trends without lag:
True Range (TR): Measures market volatility by comparing the high-low range to the previous close.
Directional Movement: Determines whether bulls (DI+) or bears (DI-) are gaining strength.
These components are then smoothed using a custom formula that adapts to recent price movements, ensuring that the signals remain relevant and timely.
2. Trend Counting Mechanism
The heart of Mystic Pulse is its trend counting logic:
Positive Trend Count: Increases when DI+ shows strengthening bullish signals.
Negative Trend Count: Increases when DI- indicates stronger bearish control.
Total Trend Count: Reflects the dominant trend by comparing positive and negative counts.
This counting mechanism ensures that the indicator is always aware of the current market bias, updating in real-time.
3. Visualization and Signal Generation
The indicator provides visual cues through color-coded plots:
Green Plot: Indicates an ongoing uptrend (positive trend count is higher).
Red Plot: Signals a downtrend (negative trend count is higher).
Neutral Candles: Optionally highlighted when neither bulls nor bears dominate, offering a clearer view of indecisive market conditions.
Application and Strategy
The Mystic Pulse indicator is ideal for traders who prefer trend-following strategies. Here's how you can apply it effectively:
Entry Points: Enter trades when the trend count strongly favors one direction, indicated by consecutive green (bullish) or red (bearish) plots.
Exit Points: Consider exiting when the opposite trend starts to gain traction, signaled by a change in the dominant color.
Risk Management: Use the neutral candle display to avoid trades in uncertain market conditions, thereby reducing risk.
Conclusion
The Mystic Pulse indicator is a sophisticated tool that helps traders stay aligned with market trends, offering non-lagging, adaptive signals. Its design reflects the trading philosophy "The Trend is Your Friend," enabling you to follow the market's lead with confidence.
By incorporating this indicator into your trading strategy, you can enhance your ability to identify and capitalize on emerging trends, minimizing lag and maximizing potential returns.
Q&A
If you have any questions or would like to see a live demonstration of the Mystic Pulse in action, feel free to ask.
Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (CHE) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Best regards Chervolino
T-Wave Pattern IdentifierA T-wave might describe a pattern where the price movement forms a "T" shape on the chart, which could involve:
Strong Vertical Movement (The Stem of the T):
This could represent a sharp, decisive move in one direction (up or down), often occurring in a single candle or a few candles. This movement could be seen as the "stem" of the T.
For example, a sudden spike up in price followed by a horizontal consolidation.
Horizontal Movement (The Cross of the T):
Following the sharp move, the price might consolidate sideways, forming a horizontal base or resistance/support level, which creates the top cross of the "T."
This could indicate a pause or a consolidation phase after a significant move, where the price moves within a narrow range.
Contexts Where a T-Wave Pattern Might Be Useful:
Breakout Scenarios: If a T-wave forms after a significant upward or downward movement, it could suggest a potential continuation in the direction of the initial move, especially if the price breaks out of the consolidation range.
Reversal Signals: Alternatively, the T-wave could act as a reversal pattern if the price fails to continue in the direction of the initial move and instead breaks out in the opposite direction.
T-Wave Logic Example:
Stem (Vertical Movement):
Identify a candle or series of candles with a significant price move (e.g., a large-bodied candle with a relatively small wick). This shows momentum in one direction.
Cross (Horizontal Movement):
Following the vertical move, identify a consolidation phase where the price moves sideways in a relatively tight range. This could be visualized as a series of small candles with overlapping highs and lows.
Envelope with Kernel Selection [CHE] Envelope with Kernel Selection Indicator Overview
The "Envelope with Kernel Selection " is a versatile technical analysis tool designed to help traders identify market trends and trading signals. This indicator allows traders to spot signals in two primary ways: through the plotshape markers, which indicate specific price crossovers, and via the background color, which visually represents the current market trend.
Key Features and Advantages:
1. Dual Signal Mechanism:
- Plotshape Markers: The indicator uses visual markers (arrows) on the chart to highlight when the price crosses above or below the envelope bands. These markers act as clear trade signals, helping traders identify potential buy or sell opportunities.
- Background Color for Trend Identification: In addition to plotshape markers, the indicator can also use the chart's background color to indicate overall market direction. A green background suggests a bullish trend, while a red background indicates a bearish trend. This dual signal mechanism provides traders with both precise entry/exit points and an easy-to-read trend indicator.
2. Customizable Background Color Feature:
- Background Color Toggle: The background color feature can be turned on or off using the `bgColorEnabled = input.bool(true, "Background Color On / Off")` setting. When this setting is enabled (`true`), the background color dynamically changes based on the market's trend, offering an additional visual cue. If the setting is disabled (`false`), the background color remains neutral, allowing traders to focus solely on the plotshape signals or other chart elements.
- Visual Clarity: When enabled, the background color helps traders quickly gauge the market's trend without analyzing detailed chart patterns, making it easier to identify whether the market is in a bullish or bearish phase.
3. Customizable Kernel Selection for Enhanced Smoothing:
- Diverse Kernel Options: The indicator provides six different kernel functions (Linear, Exponential, Epanechnikov, Triangular, Cosine, Gauss) for smoothing price data. Traders can select the kernel that best suits their analysis style, allowing for precise adjustment to market conditions.
- Improved Trend Accuracy: By choosing the appropriate kernel function, traders can either focus on short-term price movements or capture broader trends more effectively, thus improving the accuracy of their market analysis.
4. Non-Repainting Signals for Reliability:
- Consistency in Signals: The indicator’s non-repainting nature ensures that once a signal (such as a crossover or trend change) is generated, it does not change with future price movements. This consistency is crucial for making reliable trading decisions, especially when backtesting or executing strategies based on historical data.
- Dependable Trading: Traders can rely on the signals provided by this indicator to remain consistent, which enhances confidence in decision-making and reduces the risk of false signals.
5. Dynamic Trend Bands:
- Adaptive Support and Resistance: The indicator calculates and displays upper and lower trend bands around a midline based on the selected kernel function. These bands act as dynamic support and resistance levels, guiding traders in identifying potential reversal zones.
- Versatility in Various Market Conditions: The bands can be adjusted for different market volatilities using the bandwidth setting, making the indicator suitable for both trending and ranging markets.
6. Clear Visual Indicators for Crossovers:
- Easy-to-Spot Trade Signals: The indicator uses arrows to mark when the price crosses the upper or lower bands. A green arrow indicates a potential buy signal, while a red arrow indicates a potential sell signal. These visual markers simplify the identification of entry and exit points.
- Enhanced Precision: By clearly marking crossover points, the indicator helps traders execute trades with greater precision, reducing the likelihood of missed opportunities.
---
In summary, the "Envelope with Kernel Selection " offers traders a powerful combination of visual signals through plotshape markers and background color changes. Its customizable kernel selection, non-repainting nature, and dynamic trend bands make it a comprehensive and reliable tool for market analysis and trading. Whether you prefer clear trade signals or broader trend identification, this indicator provides the flexibility and accuracy needed to make informed trading decisions.
Best regards
Chervolino
Double Bottom and Top Hunter### Türkçe Açıklama:
Bu strateji, grafikte ikili dip ve ikili tepe formasyonlarını tespit ederek otomatik alım ve satım işlemleri gerçekleştirir. İkili dip, fiyatın belirli bir dönem içinde iki kez en düşük seviyeye ulaşması ile oluşur ve bu durumda strateji long (alım) işlemi açar. İkili tepe ise fiyatın belirli bir dönem içinde iki kez en yüksek seviyeye ulaşması ile oluşur ve bu durumda strateji short (satış) işlemi açar.
- **Dönem Uzunluğu ve Geriye Dönük Kontrol:** Strateji, varsayılan olarak 100 periyotluk bir zaman dilimini temel alır ve bu süre boyunca en düşük ve en yüksek fiyat seviyelerini belirler. Geriye dönük kontrol süresi de 100 periyot olarak ayarlanmıştır.
- **İşlem Açma Koşulları:** İkili dip tespit edildiğinde long pozisyon, ikili tepe tespit edildiğinde short pozisyon açılır.
- **İşlem Kapatma Koşulları:** İkili dipte, en yüksek seviyeye (HH) ulaşıldıktan sonra fiyatın daha düşük bir seviye (LL) yapması durumunda pozisyon kapanır. İkili tepede ise tam tersi bir durumda, pozisyon kapanır.
- **Zigzag Çizimi:** İkili dip ve tepe formasyonları, grafik üzerinde yeşil (dipler) ve kırmızı (tepeler) zigzag çizgileri ile gösterilir.
Bu strateji, özellikle 1, 3 ve 5 dakikalık kısa zaman dilimlerinde yüksek başarı oranına sahiptir ve piyasadaki kısa vadeli trend dönüşlerini yakalamada etkili bir araçtır.
### English Explanation:
This strategy automatically executes buy and sell orders by detecting double bottom and double top formations on the chart. A double bottom occurs when the price reaches a low level twice within a specific period, prompting the strategy to open a long (buy) position. Conversely, a double top forms when the price reaches a high level twice, leading the strategy to open a short (sell) position.
- **Period Length and Lookback Control:** By default, the strategy is based on a 100-period length, during which it identifies the lowest and highest price levels. The lookback control period is also set to 100 periods.
- **Entry Conditions:** A long position is opened when a double bottom is detected, while a short position is opened when a double top is identified.
- **Exit Conditions:** In the case of a double bottom, the position is closed after the price reaches a higher high (HH) and then makes a lower low (LL). For a double top, the opposite occurs before closing the position.
- **Zigzag Plotting:** The double bottom and top formations are visually represented on the chart with green (bottoms) and red (tops) zigzag lines.
This strategy is particularly successful in short timeframes such as 1, 3, and 5 minutes and is an effective tool for capturing short-term trend reversals in the market.
Configurable Level Trading StrategyThe Dynamic Level Reversal Strategy is a trading approach designed to capitalize on price movements between key support and resistance levels. This strategy leverages configurable levels the trader determines, allowing for flexibility and adaptation to different market conditions.
Key Features:
Configurable Levels:
The strategy uses three key levels: Level 1 (Support), Level 2 (Middle), and Level 3 (Resistance). These levels can be adjusted directly within the script settings, making the strategy adaptable to various trading scenarios.
Buy and Sell Signals:
A buy signal is triggered when the price touches Level 1 and shows signs of reversal. The trader enters a position and sets an initial stop-loss just below Level 1.
As the price moves upward, the stop-loss is dynamically adjusted to just below Level 2 and Level 3, locking in profits while managing risk.
A sell signal is generated if the price reverses and crosses below the current stop-loss level, ensuring the trader exits the position with minimized losses.
Iterative Process:
The strategy allows for iterative trades, where the trader re-enters positions at Level 1 or Level 2 if the price revisits these levels, continually adjusting stop-losses and take-profit targets as the price oscillates between the defined levels.
Ideal Use Cases:
Range-Bound Markets: The strategy is particularly effective in markets where the price tends to oscillate between well-defined support and resistance levels.
Volatile Markets: The dynamic adjustment of stop-loss levels helps protect against sudden price reversals, making it suitable for volatile market conditions.
How to Use:
Set the desired levels (Level 1, Level 2, Level 3) based on your market analysis.
The script will automatically generate buy and sell signals, and adjust stop-loss levels as the price moves through the levels.
Monitor the signals and execute trades according to the strategy's guidelines.
Weekly Profiles [TFO]This Weekly Profiles indicator was built to overlay historical data to show how prior weeks of price action have unfolded under specified input conditions.
When "Show Historical Weekly Profiles" is enabled, the indicator draws out how prior weeks have traded. This is done by tracking weekly price movements, measuring the percent change from each week's respective weekly open price, and translating that percent change to the current week's open price to visually describe how price fluctuated in those previous weeks.
With "Show Weekly Profile Table" enabled, we can observe some basic statistics on the weekly profiles that have been collected, such as the average range and which days have made the high/low of the week from the given dataset.
There are also options to refine the dataset by specifying which days have made the high/low of the week, which will only show profiles that meet said criteria. For instance, by enabling "Low of Week" and selecting "Monday", the indicator will show every weekly profile that made its low on a Monday. In the following chart, we can again use the table to observe that we currently have 14 such weeks on NQ1! (from the data available on our current chart timeframe and TradingView plan), whose average range is 3.65% from the week's low to the week's high, and from those 14 weeks, the high of the week was made on a Friday 10 times or 71% of the time.
The "Profile Resolution" option specifies the interval at which to show changes in price (given that it is greater than or equal to the current chart timeframe). In the below chart, the Profile Resolution is set to 4 hours. As such, it simplifies the profiles by tracking the close price of each 4 hour candle (again as a percent change from each profile's respective open price). The larger Profile Resolution can make it easier to observe commonalities between profiles, such as the below chart of NQ1! that highlights a noticeable price decrease during the New York morning session across several of the available weekly profiles.
There is also an option to "Highlight Closest Profiles" which does exactly that. Essentially, all weekly profiles are given a score according to how close the current week's price action is matching each profile up until the current point in time. For example, if one were observing this indicator on a Wednesday afternoon, each profile would be scored according to how close price is to each profile, starting from the weekly open, up until the Wednesday afternoon of each profile. Everything after that point in time is disregarded since it hasn't happened yet and can't be measured. With this in mind, profiles with greater similarity to the current week are highlighted with deeper colors, and profiles with lesser similarity are given lighter, more transparent colors.
The "Randomize Colors" option will use various colors for the weekly profiles for easier visual differentiation (especially where there are several profiles crowding each other), as opposed to otherwise having one color for all profiles. Lastly, there are basic styling options to control the table position, table size, and the line width of all weekly profiles.
Basic FVGBasic Fair Value Gap (FVG) Indicator
The Basic Fair Value Gap (FVG) Indicator is a tool designed for traders using the TradingView platform to identify and visualize Fair Value Gaps (FVGs) on any given chart.
Key Features:
Bullish and Bearish FVG Detection: The indicator automatically detects and highlights both bullish and bearish Fair Value Gaps on the chart. Bullish gaps are highlighted in blue, while bearish gaps are marked in red, with customizable transparency for clear visibility.
Customizable Parameters:
Max Bars Back: Users can set the maximum number of bars to look back in order to find potential FVGs.
Box Length: The length of the FVG box can be adjusted to fit the user's preference, allowing for better visual management on different timeframes.
Tick Buffer for Close Validation: The indicator only considers an FVG filled if the price closes beyond the gap by a customizable tick buffer, ensuring precise gap closure recognition.
Automatic Removal of Filled Gaps: Once an FVG is filled (i.e., the price closes beyond the gap by the defined tick buffer), the corresponding FVG box is automatically removed from the chart. This keeps the chart clean and focused on active gaps.
Real-Time Updates: The indicator updates in real-time, ensuring that traders have the most current information about potential gaps in price, which could signify strong support or resistance levels.
Trading Desk - OPEN SOURCEThe Trading Desk - is a powerful tool designed to identify key market stages based on Break of Structure (BOS) patterns. This indicator tracks Bullish and Bearish Market Breaks (MBs) to determine four crucial market stages: Accumulation, Distribution, Reaccumulation, and Redistribution.
Accumulation: Identified when a series of Bullish MBs dominate the market, signaling a potential upward trend.
Distribution: Triggered by dominant Bearish MBs, indicating a possible market decline.
Reaccumulation: Occurs after a sequence of Bullish MBs is followed by up to three Bearish MBs, suggesting a continuation of the upward trend after a temporary pullback.
Redistribution: Appears when a sequence of Bearish MBs is followed by up to three Bullish MBs, indicating a potential continuation of the downward trend after a brief upward correction.
The indicator also includes a dynamic table displayed at the top right of the chart, showing the current market stage in real-time. This helps traders quickly assess the market environment and make informed trading decisions.
Ideal for: Traders looking to understand market structure and identify trend continuation or reversal phases.
Pivot Market StructureThis Indicator helps identify the current market structure.
The Swing Market Structure is identified based on thresholds (either on percentages or absolute values) to tell if a pullback is value (=deep enough). If a level is broken, the furthest opposite point becomes the new low/high, respectively.
For the active movement (identified high + low), various retracement levels can be configured and shown.
As most granular structure, the Fractal Market Structure helps identify strong structure breaks within the most recent bars.
Note: If certain timeframes don´t show a market structure breakdown, reduce the threshold until valid pullbacks can be found.
Daily Open [Kintsugi Trading]Daily Open
The "Daily Open" indicator by Kintsugi Trading is designed to give traders clear and immediate access to daily open prices, enhancing their ability to spot key market levels and make informed trading decisions. The indicator dynamically changes the color of the plotted line based on the current price's relationship to the opening price of the regular market session. This visual aid helps traders quickly assess whether the current price is trading above or below the opening price of the session.
Key Features:
Daily Open Visualization: Automatically plots the daily open price on your chart, providing a clear reference point for daily price action.
Configurable Market Open Time: The indicator allows users to input the start time of the regular market session (default is set to 9:30 AM).
Color-Coded: The indicator dynamically adjusts the color of the daily open line and price labels based on whether the price is above or below the open, giving you quick visual cues about market sentiment.
Customization Options: Users can modify the line's appearance, including the color and style, to better fit their chart preferences.
Ideal For:
This indicator is particularly useful for day traders and those looking to closely monitor price action in relation to the market's opening level. It serves as a quick reference point for identifying potential bullish or bearish sentiment throughout the trading day.
Good luck with your trading!
GAP Finder with Dollar Difference by RadionovCrypto**GAP UP Detection:**
- The current candle’s low must be higher than the previous candle’s high (high ).
**GAP DOWN Detection:**
- The current candle’s high must be lower than the previous candle’s low (low ).
**Visualization:**
- If a GAP UP is detected, a symbol appears below the candle with the text "GAP UP," and a label displays the dollar difference between the candles.
- If a GAP DOWN is detected, a symbol appears above the candle with the text "GAP DOWN," and a label displays the dollar difference between the candles.
**Explanation:**
- GAP UP is identified when the entire candle (body and wicks) is above the previous candle’s high.
- GAP DOWN is identified when the entire candle (body and wicks) is below the previous candle’s low.
This ensures that only situations where the new candle is completely outside the previous candle are considered as a GAP.
When a GAP is found, a label with the dollar difference between the candles appears on the chart, making it easy to track the gap’s value.
The indicator is particularly useful at the opening of trading sessions in stock markets. It’s optimal to search for GAPs at session transitions on a 5-minute timeframe.
I hope it adds clarity and precision to your trading strategy.
Enjoy trading.
Best regards,
**Radionov Crypto**
---
GAP UP Detection:
Мінімум (low) поточної свічки повинен бути вище за максимум (high ) попередньої свічки.
GAP DOWN Detection:
Максимум (high) поточної свічки повинен бути нижче за мінімум (low ) попередньої свічки.
Візуалізація:
Якщо було знайдено GAP UP, на графіку з'являється символ нижче свічки з текстом "GAP UP" та етикетка з різницею у доларах між цінами свічок.
Якщо було знайдено GAP DOWN, на графіку з'являється символ вище свічки з текстом "GAP DOWN" та етикетка з різницею у доларах між цінами свічок.
Пояснення:
GAP UP визначається, коли ціла свічка (тіло і тінь) знаходиться вище за максимум попередньої свічки.
GAP DOWN визначається, коли ціла свічка (тіло і тінь) знаходиться нижче за мінімум попередньої свічки.
Це забезпечує, що тільки ті випадки, де нова свічка повністю знаходиться поза попередньою свічкою, будуть враховані як GAP.
Якщо було знайдено GAP, на графіку з’являється етикетка з різницею у доларах між свічками, що дозволяє легко відстежувати значення розриву.
Індикатор зручно використовувати на стиках торгівельних сессій на фондових ринках. Оптимально шукати GAP саме на стиках сессій на таймфреймі 5 хвилин.
Сподіваюся, що він додасть до вашої торгівельної стратегії соковитості й точності.
Приємного користування.
Із повагою,
Radionov Crypto
[TR] Engulf Patterns by SM
Engulf Pattern by SM
Overview:
The " Engulf Pattern by SM" script is designed to identify bullish and bearish engulfing candlestick patterns on TradingView charts. Engulfing patterns are significant in technical analysis as they often indicate potential reversals in market trends.
Features:
- Bullish Engulfing Pattern Detection: The script identifies bullish engulfing patterns, which occur when a larger bullish candle completely engulfs the body of the previous smaller bearish candle.
- Bearish Engulfing Pattern Detection: Similarly, it detects bearish engulfing patterns, where a larger bearish candle engulfs the body of the preceding smaller bullish candle.
- Body Size Filtering: The script includes a feature to filter patterns based on the size of the candle bodies, allowing for more precise marking of significant patterns.
- Visual Markers: The script plots visual markers on the chart to highlight the detected engulfing patterns, making it easy for traders to spot them.
How It Works:
1. Bullish Engulfing Pattern:
- The script checks for a smaller bearish candle followed by a larger bullish candle.
- The body of the bullish candle must completely cover the body of the bearish candle.
- The size of the bullish candle's body must meet a specified threshold to be considered significant.
2. Bearish Engulfing Pattern:
- The script looks for a smaller bullish candle followed by a larger bearish candle.
- The body of the bearish candle must completely engulf the body of the bullish candle.
- The size of the bearish candle's body must meet a specified threshold to be considered significant.
Usage:
- Add the Script: Apply the " Engulf Pattern by SM" script to your TradingView chart.
- Configure Settings: Customize the script settings to suit your trading strategy, including visual marker styles and body size thresholds.
- Monitor Visual Markers: Keep an eye on the visual markers to identify potential trading opportunities based on engulfing patterns.
Disclaimer:
This script is not intended to be used as a direct entry signal. It should be used as a confluence in your overall trading plan. Always conduct your own analysis and consider multiple factors before making any trading decisions.
Feel free to customize this writeup further to match your specific needs! If you have any other requests or need additional details, just let me know.
MACD Divergence StrategyStrategy Description: MACD Divergence with SMA Crossover Strategy
Overview:
The MACD Divergence with SMA Crossover Strategy is designed to identify high-probability trading opportunities based on the interaction of the MACD (Moving Average Convergence Divergence) indicator and key moving averages. This strategy focuses on detecting divergences between the MACD line and the signal line, combined with specific conditions related to the 50-period and 800-period SMAs. It ensures that the MACD and signal lines do not cross the zero line between the current and previous divergence points, thereby filtering out weaker signals and enhancing the accuracy of trade entries.
Key Components:
Simple Moving Averages (SMAs):
50-period SMA: A short-term trend indicator that helps identify the prevailing market direction.
800-period SMA: A long-term trend indicator used to gauge the overall market trend.
MACD Indicator:
MACD Line: Represents the difference between the 12-period EMA and the 26-period EMA.
Signal Line: A 9-period EMA of the MACD line.
Histogram: The difference between the MACD line and the signal line, used to visualize the strength of the signal.
Trade Conditions:
Long Position (Buy):
The 50 SMA is above the 800 SMA, indicating a bullish market trend.
The MACD line and signal line are both below zero, signifying a potential bullish reversal.
A bullish divergence is detected when the MACD line crosses above the signal line below zero, without either line crossing the zero level between the current and previous cross.
Short Position (Sell):
The 50 SMA is below the 800 SMA, indicating a bearish market trend.
The MACD line and signal line are both above zero, signaling a potential bearish reversal.
A bearish divergence is detected when the MACD line crosses below the signal line above zero, without either line crossing the zero level between the current and previous cross.
Signal Plotting:
Long Signals: Displayed when the conditions for a bullish divergence and SMA alignment are met, marked with a green upward arrow on the chart.
Short Signals: Displayed when the conditions for a bearish divergence and SMA alignment are met, marked with a red downward arrow on the chart.