On-Chain Analysis [LuxAlgo]The On-Chain Analysis tool offers a comprehensive overview of essential on-chain metrics, enabling traders and investors to grasp the underlying activity and sentiment within the cryptocurrency market. By integrating metrics like wallet profitability, exchange flows, on-chain volume, social sentiment, and more into your charts, users can gain valuable insights into cryptocurrency network behavior, spot emerging trends, and better manage risk in the cryptocurrency market.
🔶 USAGE
🔹 On-Chain Analysis
When analyzing cryptocurrencies, several fundamental metrics are crucial for assessing the value and potential of a digital asset. This indicator is designed to help traders and analysts evaluate the markets by utilizing various data gathered directly from the blockchain. The gathered on-chain data includes wallet profitability, exchange flows, miner flows, on-chain volume, large buyers/sellers, market capitalization, market dominance, active addresses, total value locked (TVL), market value to realized value (MVRV), developer activity, social sentiment, holder behavior, and balance types.
Use wallet profitability and social sentiment metrics to gauge the overall mood of the market, helping to anticipate potential buying or selling pressure.
On-chain volume and active addresses provide insights into how actively a cryptocurrency is being used, indicating network health and adoption levels.
By tracking exchange flows and holder balance types, you can identify significant moves by whales or institutions, which may signal upcoming price shifts.
Market capitalization and miner flows give you an understanding of the supply side of the market, aiding in evaluating whether an asset is overvalued or undervalued.
The distribution of holdings among retail investors, whales, and institutional groups can greatly influence market dynamics. A large concentration of holdings by whales may indicate the potential for significant price swings, given their capacity to execute substantial trades. A higher proportion of institutional investors often suggests confidence in the asset's long-term potential, as these entities typically conduct thorough research before investing. While retail participation indicates broader adoption, it also introduces higher volatility, as these investors tend to be more reactive to market fluctuations.
Understanding the balance and behavior of short-term traders, mid-term cruisers, and long-term hodlers helps traders and analysts predict market trends and assess the underlying confidence in a particular cryptocurrency.
🔶 DETAILS
This script includes some of the most significant and insightful metrics in the crypto space, designed to evaluate and enhance trading decisions by assessing the value and growth potential of cryptocurrencies. The introduced metrics are:
🔹 Wallet Profitability
Definition: Represents the percentage distribution of addresses by profitability at the current price.
Importance: Indicates potential selling pressure or reduced selling pressure based on whether addresses are in profit or loss.
🔹 Exchange Flow
Definition: The total amount of a cryptocurrency moving in and out of exchanges.
Importance: Large inflows to exchanges can indicate potential selling pressure, while large outflows might suggest accumulation or long-term holding.
🔹 Miner Flow
Definition: Tracks the inflow and outflow of funds by miners.
Importance: High inflows could indicate selling pressure, whereas low inflows or outflows might reflect miner confidence.
🔹 On-Chain Volume
Definition: The total value of transactions conducted on a blockchain within a specific period.
Importance: On-chain volume reflects actual usage of the network, indicating how actively a cryptocurrency is being utilized for transactions.
🔹 Large Buyers/Sellers
Definition: Tracks the number of large buyers (bulls) and sellers (bears) based on transaction volume.
Importance: Comparing the number of large buyers (bulls) to large sellers (bears) helps gauge market trends and sentiment.
🔹 Market Capitalization
Definition: The total value of a cryptocurrency's circulating supply, calculated by multiplying the current price by the total supply.
Importance: Market cap is a key indicator of a cryptocurrency’s size and market dominance. It helps compare the relative size of different cryptocurrencies.
🔹 Market Dominance
Definition: Market dominance represents a cryptocurrency’s share of the total market capitalization of all cryptocurrencies. It is calculated by dividing the market cap of the cryptocurrency by the total market cap of the cryptocurrency market.
Importance: Market dominance is a crucial indicator of a cryptocurrency's influence and relative position in the market. It helps assess the strength of a cryptocurrency compared to others and provides insights into its market presence and potential influence.
Special Consideration: Since BTC and ETH dominance is relatively high compared to other cryptocurrencies, specific adjustments are made during the presentation of values and charts. When analyzing BTC, the total market capitalization is used. For ETH analysis, BTC is excluded from the total market cap. For any other cryptocurrency besides BTC and ETH, both BTC and ETH are excluded from the total market cap to provide a more accurate view.
🔹 Active Addresses
Definition: The number of unique addresses involved in transactions within a specific period.
Importance: A higher number of active addresses suggests greater network activity and user adoption, which can be a sign of a healthy ecosystem.
🔹 Total Value Locked (TVL)
Definition: The total value of assets locked in a decentralized finance (DeFi) protocol.
Importance: TVL is a key metric for DeFi platforms, indicating the level of trust and the amount of liquidity in a protocol.
🔹 Market Value to Realized Value (MVRV)
Definition: A ratio comparing the market cap to realized cap.
Importance: A high ratio may indicate overvaluation (potential selling), while a low ratio could signal undervaluation (potential buying).
🔹 Developer Activity
Definition: The level of activity on a cryptocurrency’s public repositories (e.g., GitHub).
Importance: Strong developer activity is a sign of ongoing innovation, updates, and a healthy project.
🔹 Social Sentiment
Definition: The general sentiment or mood of the community and investors as expressed on social media and forums.
Importance: Positive sentiment often correlates with price increases, while negative sentiment can signal potential downtrends.
🔹 Holder Balance (Behavior)
Definition: Distribution of addresses by holding behavior: Traders (short-term), Cruisers (mid-term), and Hodlers (long-term).
Importance: Helps predict market behavior based on different holder types.
🔹 Holder Balance (Type)
Definition: Distribution of cryptocurrency holdings among Retail (small holders), Whales (large holders), and Investors (institutional players).
Importance: Assesses the potential impact of different user groups on the market. A more decentralized distribution is generally viewed as positive, reducing the risk of price manipulation by large holders.
These metrics provide a comprehensive view of a cryptocurrency’s health, adoption, and potential for growth, making them essential for fundamental analysis in the crypto space.
🔶 SETTINGS
The script offers a range of customizable settings to tailor the analysis to your trading needs.
🔹 On-Chain Analysis
On-Chain Data: Choose the specific on-chain metric from the drop-down menu. Options include Wallet Profitability, Exchange Flow, Miner Flow, On-Chain Volume, Large Buyers/Sellers (Volume), Market Capitalization, Market Dominance, Active Addresses, Total Value Locked, Market Value to Realized Value, Developer Activity, Social Sentiment, Holder Balance (Behavior), and Holder Balance (Type).
Smoothing: Set the smoothing level to refine the displayed data. This can help in filtering out noise and getting a clearer view of trends.
Signal Line: Choose a signal line type (SMA, EMA, RMA, or None) and the length of the moving average for signal line calculation.
🔹 On-Chain Dashboard
On-Chain Stats: Toggle the display of the on-chain statistics.
Dashboard Size, Position, and Colors: Customize the size, position, and colors of the on-chain dashboard on the chart.
🔶 LIMITATIONS
Availability of on-chain data may vary and may not be accessible for all crypto assets.
🔶 RELATED SCRIPTS
Market-Sentiment-Technicals
インジケーターとストラテジー
[blackcat] L3 Top and Bottom Divine JudgmentOVERVIEW
The "Top and Bottom Divine Judgment" indicator is designed to identify potential tops and bottoms in the market using a combination of EMAs, SMAs, and custom calculations based on high and low prices. It provides multiple lines and plots to help traders visualize different market conditions and potential turning points.
FEATURES
Customizable EMA and SMA periods for various calculations.
Identification of bullish and bearish trends using EMAs.
Detection of overbought and oversold conditions.
Multiple lines and histograms to indicate specific market conditions and potential reversals.
Visual alerts with colored lines and shapes.
HOW TO USE
Add the script to your TradingView chart.
Customize Settings:
Adjust the short_ema_period, long_ema_period, sma_period, high_period, low_period, and other period inputs in the "Inputs" section.
Bullish and Bearish EMAs:
bullish_ema (yellow) and bearish_ema (fuchsia) are plotted to assess the overall market trend.
When bullish_ema is above bearish_ema, it suggests an uptrend.
When bullish_ema is below bearish_ema, it suggests a downtrend.
High-Low Boundary Line:
A horizontal line at 50 (yellow) represents a midpoint in the normalized price range, helping to identify overbought or oversold conditions.
Danger and Caution, Sell Signal, etc.:
These lines indicate specific conditions where the market might be overextended or due for a reversal.
Histograms for CZS1 and CZS4:
These histograms (aqua and purple) represent changes in certain indicators, possibly related to momentum or volatility, helping traders gauge the strength of trends.
Support Line Cross:
A shape ("●") is plotted when the close price crosses above a calculated support line, which could be a buy signal.
Generate Trading Signals:
Bullish and Bearish Trends:
Use the crossover of bullish_ema and bearish_ema to identify potential trend changes.
Overbought/Oversold Conditions:
Use the High-Low Boundary Line to identify overbought or oversold levels.
Specific Market Conditions:
Use the lines for "Danger and Caution," "Sell Signal," "Weak Out Strong Stay," "Opportunity," "Low Suck," and "High Sell" to identify specific market conditions and potential reversals.
Support Line Cross:
Use the plotted shape to identify potential buy signals when the close price crosses above the support line.
Risk Management:
Use the indicator in conjunction with other tools and risk management strategies to confirm trading signals and manage positions effectively.
LIMITATIONS
The script is based on historical data and does not guarantee future performance.
It is recommended to use the script in conjunction with other analysis tools.
The effectiveness of the strategy may vary depending on the market conditions and asset being traded.
NOTES
The script is designed for educational purposes and should not be considered financial advice.
Users are encouraged to backtest the strategy on a demo account before applying it to live trades.
THANKS
Special thanks to the TradingView community for their support and feedback.
Median MACD - MattesThe Median Based MACD is a new-generation indicator created from old statistical Concepts. It combines a Median Calculation with a MACD to create a smoother signal with less noise and increased robustness.
In this case, the original calculation source of the MACD is replaced with a Median which can be calculated over user set X time.
- Why its good:
This "Phoenix" of sorts brings old concepts together to create a strong, new indicator which can frontrun & see trends from miles up front.
- How it can be used:
While this indicator can be used to follow trends, it can also be used to detect where a trend has weakened and is unlikely to continue. Please keep in mind that its unlikely but the chance is never 0.
In my personal opinion, i think that this indicator should NOT be used as a standalone indicator but rather as a compliment to analysis.
Enjoy!
Normalized Jurik Moving Average [QuantAlgo]Upgrade your investing and trading strategy with the Normalized Jurik Moving Average (JMA) , a sophisticated oscillator that combines adaptive smoothing with statistical normalization to deliver high-quality signals! Whether you're a swing trader looking for momentum shifts or a medium- to long-term investor focusing on trend validation, this indicator's statistical approach offers valuable analytical advantages that can enhance your trading and investing decisions!
🟢 Core Architecture
The foundation of this indicator lies in its unique dual-layer calculation system. The first layer implements the Jurik Moving Average, known for its superior noise reduction and responsiveness, while the second layer applies statistical normalization (Z-Score) to create standardized readings. This sophisticated approach helps identify significant price movements while filtering out market noise across various timeframes and instruments.
🟢 Technical Foundation
Three key components power this indicator are:
Jurik Moving Average (JMA): An advanced moving average calculation that provides superior smoothing with minimal lag
Statistical Normalization: Z-Score based scaling that creates consistent, comparable readings across different market conditions
Dynamic Zone Detection: Automatically identifies overbought and oversold conditions based on statistical deviations
🟢 Key Features & Signals
The Normalized JMA delivers market insights through:
Color-adaptive oscillator line that reflects momentum strength and direction
Statistically significant overbought/oversold zones for trade validation
Smart gradient fills between signal line and zero level for enhanced visualization
Clear long (L) and short (S) markers for validated momentum shifts
Intelligent bar coloring that highlights the current market state
Customizable alert system for both bullish and bearish setups
🟢 Practical Usage Tips
Here's how to maximize your use of the Normalized JMA:
1/ Setup:
Add the indicator to your favorites, then apply it to your chart ⭐️
Begin with the default smoothing period for balanced analysis
Use the default normalization period for optimal signal generation
Start with standard visualization settings
Customize colors to match your chart preferences
Enable both bar coloring and signal markers for complete visual feedback
2/ Reading Signals:
Watch for L/S markers - they indicate validated momentum shifts
Monitor oscillator line color changes for direction confirmation
Use the built-in alert system to stay informed of potential trend changes
🟢 Pro Tips
Adjust Smoothing Period based on your trading style:
→ Lower values (8-12) for more responsive signals
→ Higher values (20-30) for more stable trend identification
Fine-tune Normalization Period based on market conditions:
→ Shorter periods (20-25) for more dynamic markets
→ Longer periods (40-50) for more stable markets
Optimize your analysis by:
→ Using +2/-2 zones for primary trade signals
→ Using +3/-3 zones for extreme market conditions
→ Combining with volume analysis for trade confirmation
→ Using multiple timeframe analysis for strategic context
Combine with:
→ Volume indicators for trade validation
→ Price action for entry timing
→ Support/resistance levels for profit targets
→ Trend-following indicators for directional bias
Enhanced SMA Strategy with Trend Lines & S&R by DaxThe Enhanced SMA Strategy with Trend Lines & Support/Resistance (S&R) by Dax indicator is a technical analysis tool designed to improve trading decisions by combining the simplicity of the Simple Moving Average (SMA) with the insight provided by trend lines and support/resistance levels. This hybrid approach aims to create a more robust and reliable trading strategy.
Key Components:
Simple Moving Average (SMA):
SMA is a basic trend-following indicator that calculates the average of a set of price data over a specified period. It helps identify the direction of the market, such as whether an asset is in an uptrend or downtrend.
The Enhanced SMA Strategy may use multiple SMAs, such as short-term (e.g., 20-period) and long-term (e.g., 50-period), to detect crossovers that signal buy or sell opportunities. For example, a bullish crossover occurs when a short-term SMA crosses above a long-term SMA, indicating a potential buying signal, while a bearish crossover signals a potential sell.
Trend Lines:
Trend lines are drawn on the price chart to visually identify the direction of the market, acting as dynamic support and resistance levels. A trend line is drawn by connecting two or more price points that demonstrate the overall price movement.
Trend lines can help traders see potential breakout or breakdown points. A price breaking above a downtrend line or below an uptrend line often signals a trend reversal.
Support and Resistance (S&R):
Support levels are price levels where an asset tends to find buying interest and stop falling, while Resistance levels are points where selling pressure emerges and prevent the price from rising further.
These levels are critical in determining where price reversals or consolidations are likely to occur. Enhanced S&R indicators can automatically identify these levels and draw horizontal lines at these critical points on the chart.
Combining S&R with SMA can help traders decide whether a breakout or bounce is likely at these levels, increasing the odds of a successful trade.
How It Works:
Trend Identification: The SMA is used to determine the trend direction. A rising SMA indicates an uptrend, while a falling SMA suggests a downtrend.
Signal Generation: The strategy often uses a combination of SMA crossovers (bullish or bearish) along with the confirmation of price action near trend lines and support/resistance levels. For example:
If a price breaks above resistance and the short-term SMA crosses above the long-term SMA, a buy signal is confirmed.
Conversely, if the price breaks below support and the short-term SMA crosses below the long-term SMA, a sell signal is given.
Dynamic Support/Resistance: Trend lines are drawn automatically or manually to spot areas where price might reverse. The Enhanced SMA Strategy checks if the price is close to these levels, providing a more precise entry/exit point based on the broader market context.
Advantages of the Enhanced SMA Strategy with Trend Lines & S&R:
Improved Accuracy: By combining trend-following (SMA) with key levels like trend lines and S&R, the strategy filters out false signals, leading to more reliable trade setups.
Trend Confirmation: The use of trend lines and S&R confirms the broader market context, reducing the risk of trading against the trend or entering at weak price points.
Flexible: This strategy can be applied to various timeframes, from short-term day trading to longer-term swing trading.
Visual Clarity: The combination of trend lines, S&R, and moving averages provides a clear and visually intuitive strategy for identifying key price levels and trend shifts.
How to Use It:
Draw Trend Lines: Identify the most recent price peaks and troughs to draw trend lines, marking the potential resistance and support levels.
Use SMAs: Apply two different-period SMAs to detect the trend (e.g., 20-period and 50-period). Pay attention to crossovers for buy/sell signals.
Watch for Breakouts or Reversals: Monitor how the price behaves at support or resistance levels and the trend lines. A price move beyond these levels, accompanied by a confirming SMA crossover, can signal a strong trade opportunity.
Conclusion:
The Enhanced SMA Strategy with Trend Lines & S&R by Dax is a powerful, multi-layered approach to technical analysis. It enhances the basic SMA strategy by incorporating additional tools like trend lines and support/resistance levels, which help traders make more informed decisions with higher accuracy. This method is suitable for both novice and experienced traders, offering clear trade signals while reducing the risk of false entries.
Liquidity Swings And SwingsLiquidity Swings & Sweeps Indicator
Purpose:
The Liquidity Swings & Sweeps indicator is designed to identify key liquidity levels in the market, highlighting areas where significant buying or selling interest may exist. These levels can act as potential support or resistance zones, providing traders with valuable insights for making informed trading decisions.
How It Works:
1. Liquidity Levels: The indicator identifies liquidity levels by detecting swing highs and lows on the price chart. These levels represent areas where the price has previously reversed, indicating potential zones of interest for traders.
2. Bullish and Bearish Liquidity:
Bullish Liquidity (Green Lines): These lines represent areas of significant buying interest, often acting as support levels. When the price approaches a bullish liquidity line, it may find support and reverse upwards.
Bearish Liquidity (Red Lines): These lines indicate areas of strong selling interest, often acting as resistance levels. When the price approaches a bearish liquidity line, it may face resistance and reverse downwards.
Liquidity Sweeps: The indicator also identifies liquidity sweeps, where the price breaks through a liquidity level and then reverses. These sweeps can signal potential reversals or continuation patterns, providing traders with entry or exit opportunities.
Grading System: The indicator assigns letter grades (A+, B+, C+, D+) to liquidity sweeps based on their strength and significance. Higher grades indicate stronger sweeps, which may offer more reliable trading signals.
How to Use:
Identify Key Levels: Use the indicator to identify key liquidity levels on the chart. These levels can serve as potential entry or exit points for trades.
Monitor Liquidity Sweeps: Pay attention to liquidity sweeps, as they can indicate potential reversals or continuation patterns. Consider entering trades in the direction of the sweep, especially if it is graded highly.
Combine with Other Indicators: For more robust trading strategies, combine the Liquidity Swings & Sweeps indicator with other technical indicators, such as moving averages or oscillators, to confirm signals.
Set Alerts: Utilize the alert feature to receive notifications when significant liquidity sweeps occur, allowing you to act promptly on trading opportunities.
Practical Applications:
Support and Resistance Trading: Use the identified liquidity levels as support and resistance zones to plan trades.
Reversal Trading: Look for liquidity sweeps as potential reversal signals, entering trades in the opposite direction of the sweep.
Trend Continuation: In trending markets, use liquidity sweeps to identify continuation patterns and enter trades in the direction of the trend.
By understanding and utilizing the Liquidity Swings & Sweeps indicator, traders can gain valuable insights into market dynamics and enhance their trading strategies.
Pivot Market StructureDescription and Features
This script is designed to enhance technical analysis by identifying key market structure levels. It uses a price action trail (based on the last highest/lowest price) and pivot points to track market trends, offering insights into potential reversal zones or trend continuation signals.
How the Script Works
High/Low Trail Logic: The script includes a trail mechanism that compares the current price with the last highest and lowest price, determining whether the price has breached these levels. This helps pinpoint key price action events and potential trend shifts. Unlike pivot points the price action trail is more responsive changes within the market structure.
Step Size and Length for High/Low Trail:
- The Step Length parameter defines how many bars are used to compare the current price against the last highest/lowest price, providing a measure of price extremes.
- The Length parameter determines the number of bars considered for calculating the highest/lowest price since the last price action event (either price surpassing a previous high or dipping below a previous low).
Pivot Point Calculation: Pivot Point Highs are calculated by the number of bars with lower highs on either side of a Pivot Point High calculation. Similarly, Pivot Point Lows are calculated by the number of bars with higher lows on either side of a Pivot Point Low calculation. The script draws a line from/to every calculated pivot point to highlight market structure extremes. It can optionally extend these pivot lines to the left for added context, providing historical reference for decision-making.
Summary
By combining both pivot analysis and price action trailing techniques, the script provides a comprehensive view of a pivot point based market structure.
Bullish Reversal Bar Strategy [Skyrexio]Overview
Bullish Reversal Bar Strategy leverages the combination of candlestick pattern Bullish Reversal Bar (description in Methodology and Justification of Methodology), Williams Alligator indicator and Williams Fractals to create the high probability setups. Candlestick pattern is used for the entering into trade, while the combination of Williams Alligator and Fractals is used for the trend approximation as close condition. Strategy uses only long trades.
Unique Features
No fixed stop-loss and take profit: Instead of fixed stop-loss level strategy utilizes technical condition obtained by Fractals and Alligator or the candlestick pattern invalidation to identify when current uptrend is likely to be over (more information in "Methodology" and "Justification of Methodology" paragraphs)
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Trend Trade Filter: strategy uses Alligator and Fractal combination as high probability trend filter.
Methodology
The strategy opens long trade when the following price met the conditions:
1.Current candle's high shall be below the Williams Alligator's lines (Jaw, Lips, Teeth)(all details in "Justification of Methodology" paragraph)
2.Price shall create the candlestick pattern "Bullish Reversal Bar". Optionally if MFI and AO filters are enabled current candle shall have the decreasing AO and at least one of three recent bars shall have the squat state on the MFI (all details in "Justification of Methodology" paragraph)
3.If price breaks through the high of the candle marked as the "Bullish Reversal Bar" the long trade is open at the price one tick above the candle's high
4.Initial stop loss is placed at the Bullish Reversal Bar's candle's low
5.If price hit the Bullish Reversal Bar's low before hitting the entry price potential trade is cancelled
6.If trade is active and initial stop loss has not been hit, trade is closed when the combination of Alligator and Williams Fractals shall consider current trend change from upward to downward.
Strategy settings
In the inputs window user can setup strategy setting:
Enable MFI (if true trades are filtered using Market Facilitation Index (MFI) condition all details in "Justification of Methodology" paragraph), by default = false)
Enable AO (if true trades are filtered using Awesome Oscillator (AO) condition all details in "Justification of Methodology" paragraph), by default = false)
Justification of Methodology
Let's explore the key concepts of this strategy and understand how they work together. The first and key concept is the Bullish Reversal Bar candlestick pattern. This is just the single bar pattern. The rules are simple:
Candle shall be closed in it's upper half
High of this candle shall be below all three Alligator's lines (Jaw, Lips, Teeth)
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
Fractals, another tool by Bill Williams, help identify potential reversal points on a price chart. A fractal forms over at least five consecutive bars, with the middle bar showing either:
Up Fractal: Occurs when the middle bar has a higher high than the two preceding and two following bars, suggesting a potential downward reversal.
Down Fractal: Happens when the middle bar shows a lower low than the surrounding two bars, hinting at a possible upward reversal.
Traders often use fractals alongside other indicators to confirm trends or reversals, enhancing decision-making accuracy.
How do these tools work together in this strategy? Let’s consider an example of an uptrend.
When the price breaks above an up fractal, it signals a potential bullish trend. This occurs because the up fractal represents a shift in market behavior, where a temporary high was formed due to selling pressure. If the price revisits this level and breaks through, it suggests the market sentiment has turned bullish.
The breakout must occur above the Alligator’s teeth line to confirm the trend. A breakout below the teeth is considered invalid, and the downtrend might still persist. Conversely, in a downtrend, the same logic applies with down fractals.
How we can use all these indicators in this strategy? This strategy is a counter trend one. Candle's high shall be below all Alligator's lines. During this market stage the bullish reversal bar candlestick pattern shall be printed. This bar during the downtrend is a high probability setup for the potential reversal to the upside: bulls were able to close the price in the upper half of a candle. The breaking of its high is a high probability signal that trend change is confirmed and script opens long trade. If market continues going down and break down the bullish reversal bar's low potential trend change has been invalidated and strategy close long trade.
If market really reversed and started moving to the upside strategy waits for the trend change form the downtrend to the uptrend according to approximation of Alligator and Fractals combination. If this change happens strategy close the trade. This approach helps to stay in the long trade while the uptrend continuation is likely and close it if there is a high probability of the uptrend finish.
Optionally users can enable MFI and AO filters. First of all, let's briefly explain what are these two indicators. The Awesome Oscillator (AO), created by Bill Williams, is a momentum-based indicator that evaluates market momentum by comparing recent price activity to a broader historical context. It assists traders in identifying potential trend reversals and gauging trend strength.
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
This indicator is filtering signals in the following way: if current AO bar is decreasing this candle can be interpreted as a bullish reversal bar. This logic is applicable because initially this strategy is a trend reversal, it is searching for the high probability setup against the current trend. Decreasing AO is the additional high probability filter of a downtrend.
Let's briefly look what is MFI. The Market Facilitation Index (MFI) is a technical indicator that measures the price movement per unit of volume, helping traders gauge the efficiency of price movement in relation to trading volume. Here's how you can calculate it:
MFI = (High−Low)/Volume
MFI can be used in combination with volume, so we can divide 4 states. Bill Williams introduced these to help traders interpret the interaction between volume and price movement. Here’s a quick summary:
Green Window (Increased MFI & Increased Volume): Indicates strong momentum with both price and volume increasing. Often a sign of trend continuation, as both buying and selling interest are rising.
Fake Window (Increased MFI & Decreased Volume): Shows that price is moving but with lower volume, suggesting weak support for the trend. This can signal a potential end of the current trend.
Squat Window (Decreased MFI & Increased Volume): Shows high volume but little price movement, indicating a tug-of-war between buyers and sellers. This often precedes a breakout as the pressure builds.
Fade Window (Decreased MFI & Decreased Volume): Indicates a lack of interest from both buyers and sellers, leading to lower momentum. This typically happens in range-bound markets and may signal consolidation before a new move.
For our purposes we are interested in squat bars. This is the sign that volume cannot move the price easily. This type of bar increases the probability of trend reversal. In this indicator we added to enable the MFI filter of reversal bars. If potential reversal bar or two preceding bars have squat state this bar can be interpret as a reversal one.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.12.31. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 50%
Maximum Single Position Loss: -5.29%
Maximum Single Profit: +29.99%
Net Profit: +5472.66 USDT (+54.73%)
Total Trades: 103 (33.98% win rate)
Profit Factor: 1.634
Maximum Accumulated Loss: 1231.15 USDT (-8.32%)
Average Profit per Trade: 53.13 USDT (+0.94%)
Average Trade Duration: 76 hours
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 4h ETH/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
Trading Toolkit (Michaël van de Poppe) [BigBeluga]Trading Toolkit is a comprehensive indicator inspired by the trading strategies of the renowned crypto influencer Michaël van de Poppe . This tool combines RSI divergences, correction zones, and advanced support/resistance levels to provide traders with a robust framework for analyzing market movements.
🔵 Key Features:
RSI Divergences on Chart:
Automatically identifies and plots RSI divergences (bullish and bearish) directly on the main price chart.
Green lines indicate bullish divergences, suggesting potential upward reversals.
Red lines indicate bearish divergences, signaling possible downward movements.
Correction Boxes:
Traders typically define a correction as a drop in value of 10% or more. This drop can happen over a few hours or a few days. Also, it can last for less than 24 hours or many months.
This indicator visualizes corrections with blue shaded boxes, triggered by a percentage decline defined in the settings.
The boxes highlight sharp price drops, helping traders identify significant market movements quickly.
Advanced Support and Resistance Levels:
Dynamically detects key support and resistance levels based on price pivots.
When the price is above a level, it plots a green shaded area from the cross point, marking support.
When the price drops below a level, it plots a red shaded area, highlighting resistance.
Dashed lines indicate weaker levels, while solid lines represent stronger, more reliable levels.
🔵 Usage:
Identify Divergences: Use plotted RSI divergences to detect potential market reversals and align them with price action.
Analyze Correction Zones: Utilize correction boxes to evaluate significant price declines and find potential buying opportunities during these corrections.
Leverage Support and Resistance Levels: Confirm breakouts, reversals, or consolidation zones with the color-coded areas.
Enhance Risk Management: Combine divergences and correction zones to set informed stop-loss or take-profit levels.
Trading Toolkit empowers traders with actionable insights into market trends, corrections, and support/resistance dynamics, making it an invaluable tool for crypto and forex markets.
Dow waveform analyzerDow Waveform Analyzer
1. Overview and Features of the Indicator
This indicator is a tool designed to analyze chart waveforms based on Dow Theory, identifying swing lows (support) and swing highs (resistance). It allows users to quickly and consistently determine trend direction. Compared to manual analysis, it provides more efficient and accurate results.
By using swing lows and swing highs, the indicator offers a more detailed understanding of trends than simple updates to highs and lows, aiding in the creation of effective trading strategies.
2. Identifying Wave Lows and Highs
Stock prices do not move in straight lines; instead, they rise and fall in waves. This indicator starts by identifying the wave lows and wave highs.
- Wave Low: The lowest point during a temporary price decline.
- Wave High: The highest point during a temporary price increase.
These are automatically identified using Pine Script’s built-in functions `pivotlow` and `pivothigh`.
3. Drawing the Waveform
The identified wave lows and highs are alternately connected to draw the waveform. However, there are cases where wave lows or highs occur consecutively:
- Consecutive Wave Lows: The lower low is used for drawing the waveform.
- Consecutive Wave Highs: The higher high is used for drawing the waveform.
4. Tracking Swing Lows/Highs and Trend Determination
Swing lows and swing highs are crucial markers that indicate the state of wave progression:
- Swing Low: The starting point of a wave (wave low) when the closing price exceeds the previous wave high.
- Swing High: The starting point of a wave (wave high) when the closing price falls below the previous wave low.
The changes in swing lows and swing highs as the waves progress allow for trend state determination.
5. Examples of Trend States
During an Uptrend:
- When the price surpasses a wave high, the swing low is updated, confirming the continuation of the uptrend.
End of an Uptrend:
- When the price falls below the swing low, the swing low disappears, and a swing high appears, signaling the end of the uptrend.
Sideways Movement:
- Swing lows and swing highs alternately appear, indicating a sideways trend.
Start of a Downtrend:
- When the price breaks below a wave low for the first time, the swing high is updated, confirming the start of the downtrend.
During a Downtrend:
- When the price breaks below a wave low, the swing high is updated, confirming the continuation of the downtrend.
End of a Downtrend:
- When the price surpasses a wave high, the swing high disappears, and a swing low reappears, signaling the end of the downtrend.
Restart of an Uptrend:
- When the swing low is updated, the uptrend resumes. The uptrend begins when the price surpasses a wave high, and the swing low is updated for the first time.
6. Applications
Trade Entries and Exits:
- Set stop orders for entry at the price level where a trend starts.
- Set stop orders for exit at the price level where a trend ends.
Trend Filtering:
- Use the indicator to confirm whether market conditions are suitable for entry based on the trend state. Analyze waveforms to aid trading strategies.
Guide for Drawing Trendlines:
- Utilize wave lows and highs as starting and ending points when drawing trendlines with drawing tools.
7. Parameters and Display Items
Pivot Points:
- Wave lows are marked with circles below the candlestick’s low, and wave highs are marked with circles above the candlestick’s high.
Number of Bars for Pivot Calculation:
- Specify the number of bars on either side used to identify highs (default: 2).
Waveform:
- Specify the color (default: blue) or toggle its visibility (default: visible).
Swing Lows/Highs:
- Displayed as large circles. The rightmost large circle on the chart indicates the current swing low or swing high. Historical swing points are also displayed to show the progression of state changes. Specify the color (default: green) or toggle visibility (default: visible).
1. インジケーターの概要と特徴
このインジケーターは、ダウ理論を基にチャートの波形を分析し、押し安値や戻り高値を特定するツールです。これにより、トレンドの方向を迅速かつ一貫して判断できます。手動での分析と比較して、効率的かつ精度の高い結果が得られる点が特徴です。
押し安値や戻り高値を利用することで、単純な高値・安値の更新よりも詳細にトレンドの状況を把握し、効果的な取引戦略の構築に役立ちます。
2. 波の谷と波の頂の特定
株価は直線的に動くのではなく、波を描きながら上昇や下落を繰り返します。このインジケーターは、まず波の谷と波の頂を特定するところから始まります。
波の谷: 一時的な下落の最安値
波の頂: 一時的な上昇の最高値
これらを Pine Script の内蔵関数(ピボットローとピボットハイ)を用いて自動的に特定しています。
3. 波形の描画方法
特定した波の谷と波の頂を交互に結んで波形を描画します。ただし、波の谷や頂が連続する場合があります。
波の谷が連続する場合: より低い谷を採用して波形を描く
波の頂が連続する場合: より高い頂を採用して波形を描く
4. 押し安値・戻り高値の追跡とトレンド判断
押し安値と戻り高値は、波の進行状況を示す重要な指標です。
押し安値: 終値が前回の高値を超えた際の波の谷
戻り高値: 終値が前回の安値を割り込んだ際の波の頂
波の進行に伴う押し安値・戻り高値の変化から、トレンドの状態を判断します。
5. トレンド状態の具体例
上昇トレンド中:
波の頂を株価が上抜け押し安値が更新され続けることで上昇トレンドを継続。
上昇トレンドの終了:
株価が押し安値を割ると、押し安値が消え、戻り高値が新たに出現して、上昇トレンドを終了。
横ばい状態:
押し安値と戻り高値が交互に切り替わる。
下降トレンドの開始:
波の谷を株価が下抜け戻り高値がはじめて更新されることで下降トレンド開始を確認。
下降トレンド中:
波の谷を株価が下抜け戻り高値が更新され続けることで下降トレンドを継続。
下降トレンドの終了:
株価が波の頂を超えると、戻り高値が消え、押し安値が再び出現して、下降トレンドを終了。
横ばい状態:
押し安値と戻り高値が交互に切り替わる。
上昇トレンドの再開:
押し安値が更新されることで上昇トレンドを確認。
波の頂を株価が上抜け押し安値がはじめて更新されることで上昇トレンド開始を確認。
6. 応用例
トレードのエントリーとエグジット:
トレンド発生の価格に逆指値を設定してエントリー。
トレンド終了の価格に逆指値を設定してエグジット。
トレンドフィルターとして活用:
エントリーに適したトレンド状況かを確認。波形を分析してトレード戦略の参考に。
トレンドラインを描く時の参考として活用:
波の谷と頂を描画ツールを使ってトレンドラインを描く時の起点や終点として活用。
7. パラメーターと表示項目
ピボット: 波の谷はローソク足の安値にサークルを表示、波の頂はローソク足の高値にサークルを表示。
ピボット計算用のバーの数: 高値を特定するために左右何本のローソク足を使用するかを設定(初期値: 2)。
波形: 色(初期値: 青)や表示(初期値: 表示)の指定。
押し安値・戻り高値: 大きなサークルで表示。チャートの一番右の大きなサークルが現在のもの。過去のものも状態変化の経緯を示すために表示。色(初期値: 緑)や表示(初期値: 表示)の指定。
5Bar SignalA 5 bar counting on the moving average indicator. It will show a sell signal if there are 5 bars closing below the moving average and a buy signal if there are 5 bars closing above the moving average
Options Levels Support and Resistance - Free/LimitedThis indicator visualizes key institutional options levels including short-term and longer-term Put/Call Walls, and projected implied move ranges.
Key Features :
Displays major support/resistance levels derived from options data
Shows institutional Put Walls (PW) and Call Walls (CW) - areas of significant options activity
Identifies short-term and longer-term gamma levels for more precise trading
Includes an option statistics (IV, Put/Call ratio, trend) in a clean dashboard
Automatically(*) updates throughout the trading day to reflect current market positioning
Free Version supports 10 tickers: GOOG, AMNZ, PLTR, AAPL, NFLX, NVDA, AMD, META, HOOD and SHOP and is updated once a day at market closing.
Restricted version supporting 425 tickers and is updated several times a day.
Presents gamma flip levels for indexes SPX, RUT, NDX and VIX (restricted version)
You can use Pine Screener to find tickers that bounced off walls among other conditions like LEAPS and covered calls candidates.
Trading Applications:
Identify key price levels where institutional options activity may influence price movement
Gauge market sentiment through IV levels, Put/Call ratios, and options positioning
Plan entries/exits around major Put/Call walls where price reversals are more likely
Monitor changes in institutional positioning through level trends
Levels are calculated externally using comprehensive options data and updated into the indicator. This process is manual due to limitations in the platform but I try to do my best.
The last update time (New York/EST) is shown in the dashboard.
HKM - Renko Emulator with EMA TrendThis is a Renko based Emulator to plot on any chart type which prints the box as printed on a Renko charts and is a Non-Repaint version. You can use either Traditional or ATR Method on current chart Timeframe. Option to plot an EMA Line is provided with Trend indication.
Dynamic Support and Resistance Pivot Strategy The Dynamic Support and Resistance Pivot Strategy is a flexible and adaptive tool designed to identify short-term support and resistance levels using the concept of price pivots.
### Key Elements of the Strategy
1. Pivot points as support and resistance levels
Pivots are significant turning points on the price chart, often marking local highs and lows where the price has reversed direction. A pivot high occurs when the price forms a local peak, while a pivot low occurs when the price forms a local trough. When a new pivot high is formed, it creates a resistance level. Conversely, when a new pivot low is formed, it creates a support level.
The strategy continuously updates these levels as new pivots are detected, ensuring they remain relevant to the current market conditions. By identifying these price levels, the strategy dynamically adjusts to market conditions, allowing it to adapt to both trending and ranging markets, since it has a long target and can perform reversal operations.
2. Entry Criteria
- Buy (Long): A long position is triggered when the price is near the support level and then crosses it from below to above. This suggests that the price has found support and may start moving upwards.
- Sell (Short): A short position is triggered when the price is near the resistance level and then crosses it from above to below. This indicates that the price may be reversing and moving downward.
3. Support/Resistance distance (%)
- This parameter establishes a percentage range around the identified support and resistance level. For example, if the Support Resistance Distance is 0.4% (default), the closing price must be within a range of 0.4% above support or below the resistance to be considered "close" and trigger a trade.
4. Exit criteria
- Take profit = 27 %
- Stop loss = 10 %
- Reversal if a new entry point is identified in the opposite direction
5. No Repainting
- The Dynamic Support and Resistance Pivot Strategy is not subject to repainting.
6. Position Sizing by Equity and risk management
- This strategy has a default configuration to operate with 35% of the equity. The stop loss is set to 10% from the entry price. This way, the strategy is putting at risk about 10% of 35% of equity, that is, around 3.5% of equity for each trade. The percentage of equity and stop loss can be adjusted by the user according to their risk management.
7. Backtest results
- This strategy was subjected to backtest and operations in replay mode on **1000000MOGUSDT.P**, with the inclusion of transaction fees at 0.12% and slipagge of 5 ticks, and the past results have shown consistent profitability. Past results are no guarantee of future results. The strategy's backtest results may even be due to overfitting with past data.
8. Chart Visualization
- Support and resistance levels are displayed as green (support) and red (resistance) lines.
- Pivot prices are displayed as green (pivot low) and red (pivot high) labels.
In this image above, the Support/Resistance distance (%) parameter was set to 0.8.
9. Default Configuration
Chart Timeframe: 1h
Pivot Lengh: 2
Support/Resistance distance (%): 0.4*
Stop Loss: 10 %
Take Profit: 27 %
* This parameter can alternatively be set to 0.8.
10. Alternative Configuration
Chart Timeframe: 20 min
Pivot Lengh: 4
Support/Resistance distance (%): 0.1
Stop Loss: 10 %
Take Profit: 25 %
BYBIT:1000000MOGUSDT.P
4H CRT (1AM and 5AM)This TradingView script is designed to assist traders in implementing the "4-Hour Candle Ranges Theory Strategy (CRT)" by identifying key levels and setups based on the 1am and 4am (5am) 4-hour candles. This strategy is particularly effective for trading high-volatility assets such as Gold, EUR/USD, NAS100, US30, and S&P500, with US30 showing a notably high win rate. Here's how the strategy works:
Key Features:
1. Marking 1am and 4am 4-Hour Candle Ranges
- The script highlights the high and low of the 1am 4-hour candle.
- It visually tracks whether the high or low of the 1am candle is taken out by the subsequent 4-hour candle (5am).
2. Entry Setup Rules
- Primary Setup: Wait for the high or low of the 1am candle to be taken out by the 5am candle. Once this sweep occurs, wait for a Market Structure Shift (MSS) on the lower time frame (15min) to confirm your entry.
- Secondary Setup: If the 5am candle fails to take out the high or low of the 1am candle, the setup focuses on the levels formed by the 5am candle.
3. Trade Execution on 15-Minute Timeframe
- The script supports a lower time frame (15min) view to identify MSS and fine-tune entries.
4. Rinse and Repeat
- This process can be applied daily for consistent opportunities across the specified assets.
Advantages:
- Provides clear visual markers for key levels based on the 4-hour candles.
- Automates level plotting, saving traders time and reducing manual errors.
- Integrates well with the 15-minute timeframe for precise entry triggers.
- Optimized for popular trading instruments, especially US30 for a higher probability of success.
This script simplifies the application of CRT by automating the process of identifying and marking critical levels, enabling traders to focus on executing high-probability setups effectively.
Created by Hamid (poraymanfx)
GainzAlgo Pro// © GainzAlgo
//@version=5
indicator('GainzAlgo Pro', overlay=true, max_labels_count=500)
candle_stability_index_param = input.float(0.5, 'Candle Stability Index', 0, 1, step=0.1, group='Technical', tooltip='Candle Stability Index measures the ratio between the body and the wicks of a candle. Higher - more stable.')
rsi_index_param = input.int(50, 'RSI Index', 0, 100, group='Technical', tooltip='RSI Index measures how overbought/oversold is the market. Higher - more overbought/oversold.')
candle_delta_length_param = input.int(5, 'Candle Delta Length', 3, group='Technical', tooltip='Candle Delta Length measures the period over how many candles the price increased/decreased. Higher - longer period.')
disable_repeating_signals_param = input.bool(true, 'Disable Repeating Signals', group='Technical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('normal', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
bull = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
bearish_engulfing = close > open and close < open and close < open
rsi_above = rsi > 100 - rsi_index_param
increase_over = close > close
bear = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed
var last_signal = ''
if bull and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true)
if label_style == 'text bubble'
label.new(bull ? bar_index : na, low, 'BUY', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bull ? bar_index : na, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
last_signal := 'buy'
if bear and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
last_signal := 'sell'
alertcondition(bull, 'BUY Signals', 'New signal: BUY')
alertcondition(bear, 'SELL Signals', 'New signal: SELL')
Buy The Deep Final Version V3Buy The Deep Final Version V3
This script implements a buy-the-dip strategy based on market volatility, featuring multi-level additional buy logic and performance visualization tools for traders.
Key Features Dynamic Position Sizing:
Dynamically calculates position size based on the trader's initial capital, current profit, and leverage settings. Offers options to reinvest profits or maintain fixed position sizes.
Volatility-Based Entry:
Identifies buy opportunities based on a calculated volatility percentage (val).
Automated Take Profit and Stop Loss:
Automatically sets take profit (tp) and stop-loss (tp22) levels using predefined percentages to ensure effective risk management.
SMA-Based Conditions:
Uses a Simple Moving Average (SMA) to determine whether to enter long positions.
Support for Additional Buy Levels:
Supports dollar-cost averaging (DCA) with additional buy levels (so1, so2, etc.).
Leverage and Commission Customization:
Allows users to set desired leverage and trading fees, which are incorporated into calculations for precise execution.
Performance Tracking:
Displays the following key metrics: Total profit and percentage Monthly and annual profit percentages Maximum drawdown (MDD) Win rate Includes a performance table and data window for real-time insights.
Time-Limited Testing:
Enables users to test the strategy over specific time periods for refinement and validation.
How It Works: Entry Conditions: Identifies opportunities when the price crosses above the SMA or meets specific volatility thresholds. Position Sizing: Dynamically calculates optimal position sizes using leverage and capital allocation. Exit Points: Automated take profit and stop-loss orders minimize manual intervention.
Input Descriptions
This strategy offers customizable input parameters to accommodate various trading needs. Each input is described below:
Initial Settings Profit Reinvest (reinvest):
Options: True or False Determines whether to reinvest profits to increase the size of subsequent trades.
Long Buy % (longper):
Default: 6 Sets the percentage of initial capital allocated for the first long position.
Leverage (lev):
Default: 3 Sets the leverage multiplier for trades. For example, 3 means 3x leverage is used.
Fee % (commission_value):
Default: 0.044 Input the trading fee as a percentage, which is factored into profit calculations.
Decimal Places (num):
Default: 2 Determines the number of decimal places considered in calculations.
Table Font Size (texts):
Default: Normal Sets the font size for the performance table. Options include Tiny, Small, Normal, and Large.
Volatility and Additional Buy Settings Volatility % (val):
Default: -1.5 Specifies the volatility percentage used to determine entry points.
Additional Buy % (so):
Default: -3 Defines the percentage drop at which additional buy orders are executed.
Take Profit % (tp):
Default: 0.5 Specifies the percentage increase at which take profit orders are executed.
Candle Count (sl):
Default: 1 Sets the number of candles to hold a position before closing it.
Take Profit Stop-Loss % (tp22):
Default: 0.1 Defines the stop-loss threshold as a percentage below the average entry price.
SMA Length (len):
Default: 48 Determines the period for calculating the Simple Moving Average (SMA).
Position Multipliers Position Multiplier Longline 4 (long2_qty):
Default: 1 Sets the size of the first additional buy position.
Position Multiplier Longline 5 (long3_qty):
Default: 2 Sets the size of the second additional buy position.
Position Multiplier Longline 4 (long4_qty):
Default: 4 Sets the size of the third additional buy position.
Position Multiplier Longline 5 (long5_qty):
Default: 8 Sets the size of the fourth additional buy position.
Bullish Candlestick Patterns (Patrones de velas Alcista)English:
The "Bullish Candlestick Patterns" indicator is designed to automatically identify the most relevant bullish Japanese candlestick formations in any market or timeframe. This powerful tool helps traders spot key entry opportunities, increasing the probability of success in their trades.
Key Features:
- Accurate Identification: Recognizes bullish patterns such as Hammer, Morning Star, Engulfing, Three White Soldiers, and Dragonfly Doji.
- Customizable Settings: Detect trends based on SMA50 and SMA200 or disable trend detection to match your strategy.
- Built-in Alerts: Receive real-time notifications when a new pattern is detected.
- Clear Visualization: Patterns are highlighted on the chart with intuitive labels and customizable colors.
- ATR Integration: Labels and highlighted backgrounds adjust dynamically for improved clarity and usability.
Recommended Use:
- Ideal for beginner traders looking to learn how to recognize common bullish patterns.
- Perfect for advanced traders who want quick visual confirmations of reliable patterns integrated into their strategies.
Supported Bullish Patterns:
1. Hammer: Indicates potential bullish reversal following a downtrend.
2. Morning Star: A strong reversal signal after a prolonged decline.
3. Bullish Engulfing: A shift from bearish to bullish control with one candle fully engulfing the previous one.
4. Three White Soldiers: Three consecutive bullish candles signaling strength in the upward movement.
5. Dragonfly Doji: Rejection of lower prices with a close near the high, suggesting a potential reversal.
Instructions:
1. Add this indicator to your TradingView chart.
2. Customize the parameters to suit your needs (trend detection, colors, etc.).
3. Enable alerts to receive real-time notifications of new patterns.
4. Combine this analysis with other indicators such as RSI, MACD, or support and resistance levels for confirmation.
Note: This indicator does not provide automatic buy/sell signals. It is recommended to use it as a supporting tool and perform additional analysis before making trading decisions.
Español:
El indicador "Patrones de Velas Alcistas (Bullish)" está diseñado para identificar automáticamente las formaciones más relevantes de velas japonesas alcistas en cualquier mercado o marco temporal. Este poderoso indicador ayuda a los traders a detectar oportunidades de entrada en zonas clave, aumentando la probabilidad de éxito en sus operaciones.
Características principales:
- Identificación precisa: Reconoce patrones alcistas como Hammer, Morning Star, Engulfing, Three White Soldiers y Dragonfly Doji.
- Configuración personalizable: Detecta tendencias con base en SMA50 y SMA200 o sin detección, según tu estrategia.
- Alertas integradas: Recibe notificaciones en tiempo real cuando se detecta un nuevo patrón.
- Visualización clara: Los patrones se resaltan en el gráfico con etiquetas intuitivas y colores personalizados.
- Integración con ATR: Las etiquetas y fondos resaltados se ajustan dinámicamente para mejorar la claridad y usabilidad.
Uso recomendado:
- Ideal para traders principiantes que buscan aprender a reconocer patrones alcistas comunes.
- Perfecto para traders avanzados que desean incorporar confirmaciones visuales rápidas de patrones confiables a sus estrategias.
Patrones Alcistas Soportados:
1. Martillo (Hammer): Indica posible reversión alcista tras una tendencia bajista.
2. Estrella de la Mañana (Morning Star): Señal de reversión fuerte después de una caída prolongada.
3. Envolvente Alcista (Engulfing Bullish): Cambio de control de bajista a alcista con una vela que envuelve completamente a la anterior.
4. Tres Soldados Blancos (Three White Soldiers): Tres velas alcistas consecutivas que indican fuerza en el movimiento ascendente.
5. Libelula Doji (Dragonfly Doji): Rechazo a precios más bajos con un cierre cerca del máximo, indicando potencial de reversión.
Instrucciones:
1. Agrega este indicador a tu gráfico en TradingView.
2. Configura los parámetros para adaptarlo a tus necesidades (detección de tendencias, colores, etc.).
3. Activa las alertas para recibir notificaciones de nuevos patrones en tiempo real.
4. Usa el análisis en combinación con otros indicadores como RSI, MACD, o niveles de soporte y resistencia para confirmar tus decisiones.
Nota: Este indicador no proporciona señales de compra/venta automáticas. Se recomienda usarlo como una herramienta de apoyo y realizar un análisis adicional antes de tomar decisiones de trading.
Helper Indicator for Crypto Scalping Pro//@version=5
indicator("Helper Indicator for Crypto Scalping Pro", overlay=true)
// === НАСТРОЙКИ ===
showTrendLines = input.bool(true, "Показывать линии тренда")
showSupportResistance = input.bool(true, "Показывать уровни поддержки и сопротивления")
showAdditionalSignals = input.bool(true, "Показывать дополнительные сигналы")
// === БАЗОВЫЕ ИНДИКАТОРЫ ===
fastEMA = ta.ema(close, 8)
mediumEMA = ta.ema(close, 13)
slowEMA = ta.ema(close, 21)
// Определение тренда
isBullishTrend = fastEMA > mediumEMA and mediumEMA > slowEMA
isBearishTrend = fastEMA < mediumEMA and mediumEMA < slowEMA
// Поддержка и сопротивление
highestHigh = ta.highest(high, 20)
lowestLow = ta.lowest(low, 20)
// Линии тренда
plot(fastEMA, "Fast EMA (8)", color=color.blue, linewidth=1)
plot(mediumEMA, "Medium EMA (13)", color=color.orange, linewidth=1)
plot(slowEMA, "Slow EMA (21)", color=color.red, linewidth=1)
// Уровни поддержки и сопротивления
plot(showSupportResistance ? highestHigh : na, "Resistance", color=color.red, style=plot.style_line, linewidth=2)
plot(showSupportResistance ? lowestLow : na, "Support", color=color.green, style=plot.style_line, linewidth=2)
// Сигналы
buySignal = isBullishTrend and close > mediumEMA
sellSignal = isBearishTrend and close < mediumEMA
// Визуализация сигналов
plotshape(showAdditionalSignals and buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(showAdditionalSignals and sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// === АЛЕРТЫ ===
alertcondition(buySignal, title="Buy Signal", message="Тренд восходящий! Вход в покупку!")
alertcondition(sellSignal, title="Sell Signal", message="Тренд нисходящий! Вход в продажу!")
Market Cipher B// © ElVortex2
//@version=6
indicator(title = "Market Cipher B", shorttitle = 'Cipher B', overlay = false)
// Inputs
show_wt = input.bool(true, 'Show WaveTrend', group = 'WaveTrend')
show_wt_lines = input.bool(true, 'Show WaveTrend Lines', group = 'WaveTrend')
show_wt_dots = input.bool(true, 'Show Buy/Sell Dots', group = 'WaveTrend')
show_vwap = input.bool(true, 'Show VWAP', group = 'WaveTrend')
wt_channel_len = input.int(9, 'WT Channel Length', group = 'WaveTrend')
wt_average_len = input.int(12, 'WT Average Length', group = 'WaveTrend')
wt_source = input.source(hlc3, 'WT Source', group = 'WaveTrend', inline = 'wt source')
wt_source_type = input.string(
'Heikin Ashi',
' Type ',
group = 'WaveTrend',
inline = 'wt source',
options =
)
wt_ma_len = input.int(3, 'WT MA Length', group = 'WaveTrend')
overbought_l1 = input.int(53, 'Lev 1', group = 'OverBought Levels', inline = 'wt ob levels')
overbought_l2 = input.int(60, 'Lev 2', group = 'OverBought Levels', inline = 'wt ob levels')
overbought_l3 = input.int(70, 'Lev 3', group = 'OverBought Levels', inline = 'wt ob levels')
oversold_l1 = input.int(-53, 'Lev 1', group = 'OverSold Levels', inline = 'wt os levels')
oversold_l2 = input.int(-60, 'Lev 2', group = 'OverSold Levels', inline = 'wt os levels')
oversold_l3 = input.int(-70, 'Lev 3', group = 'OverSold Levels', inline = 'wt os levels')
show_mfi = input.bool(true, 'Show MFI', group = 'MFI')
mfi_source = input.source(hlc3, 'MFI Source', group = 'MFI', inline = 'mfi source')
mfi_source_type = input.string(
'Heikin Ashi',
' Type ',
group = 'MFI',
inline = 'mfi source',
options =
)
mfi_baseline_len = input.int(5, 'Baseline MA Length', group = 'MFI')
mfi_deviation_len = input.int(5, 'Deviation MA Length', group = 'MFI')
mfi_smoothing_len = input.int(60, 'Smoothing MA Length', group = 'MFI')
show_mfi_bar = input.bool(false, 'Show MFI Bar', group = 'MFI')
show_rsi = input.bool(false, 'Show RSI', group = 'RSI')
rsi_source = input.source(close, 'Source', group = 'RSI', inline = 'rsi source')
rsi_source_type = input.string(
'Standard',
' Type ',
group = 'RSI',
inline = 'rsi source',
options =
)
rsi_len = input.int(14, 'RSI Length', group = 'RSI')
stoch_type = input.string(
'Cipher B',
'Stoch RSI type',
group = 'Stochastic',
options =
)
show_stoch = input.bool(false, 'Show Stochastic', group = 'Stochastic')
cipher_stoch_source = input.source(close, 'Source', group = 'Cipher B Stochastic', inline = 'stoch source')
cipher_stoch_source_type = input.string(
'Heikin Ashi',
' Type ',
group = 'Cipher B Stochastic',
inline = 'stoch source',
options =
)
cipher_stoch_len = input.int(81, 'Lenght', group = 'Cipher B Stochastic')
cipher_stoch_rsi_len = input.int(40, 'RSI Lenght', group = 'Cipher B Stochastic')
cipher_stoch_smooth = input.int(2, 'Stoch Smooth', group = 'Cipher B Stochastic', inline = 'cipher stoch smooth')
cipher_stoch_rsi_smooth = input.int(2, 'RSI Smooth', group = 'Cipher B Stochastic', inline = 'cipher stoch smooth')
vmc_stoch_source = input.source(close, 'Source', group = 'VuManChu Stochastic RSI', inline = 'vmc stoch source')
vmc_stoch_source_type = input.string(
'Inherit',
' Type ',
group = 'VuManChu Stochastic RSI',
inline = 'vmc stoch source',
options =
)
vmc_stoch_len = input.int(14, 'Length', group = 'VuManChu Stochastic RSI')
vmc_stoch_rsi_len = input.int(14, 'RSI Lenght', group = 'VuManChu Stochastic RSI')
vmc_stoch_K_smooth = input.int(3, 'K Smooth', group = 'VuManChu Stochastic RSI', inline = 'vmc stoch smooth')
vmc_stoch_D_smooth = input.int(3, 'D Smooth', group = 'VuManChu Stochastic RSI', inline = 'vmc stoch smooth')
// Functions
f_get_ticker_source(source) =>
switch source
'Inherit' => syminfo.tickerid
'Heikin Ashi' => ticker.heikinashi(syminfo.tickerid)
'Standard' => ticker.standard(syminfo.tickerid)
=> na // Default case for unexpected values
f_wavetrend(source_type, source, channel_len, average_len, ma_len) =>
src = request.security(f_get_ticker_source(source_type), timeframe.period, source)
baseline_ma = ta.ema(src, channel_len)
average_deviation = ta.ema(math.abs(src - baseline_ma), channel_len)
normalized_deviation = (src - baseline_ma) / (0.015 * average_deviation)
wt1 = ta.ema(normalized_deviation, average_len)
wt2 = ta.sma(wt1, ma_len)
vwap = wt1 - wt2
oversold = wt2 <= oversold_l2
overbought = wt2 >= overbought_l2
wt_cross = ta.cross(wt1, wt2)
wt_cross_up = wt2 - wt1 <= 0
wt_cross_down = wt2 - wt1 >= 0
f_rsi(source_type, source, length) =>
src = request.security(f_get_ticker_source(source_type), timeframe.period, source)
rsi = ta.rsi(src, length)
mfi(source_type, source, baseline_len, deviation_len, smoothing_len) =>
src = request.security(f_get_ticker_source(source_type), timeframe.period, source)
baseline_ma = ta.sma(src, baseline_len)
average_deviation = ta.sma(math.abs(src - baseline_ma), deviation_len)
normalized_deviation = (src - baseline_ma) / (0.015 * average_deviation)
money_flow = ta.sma(normalized_deviation, smoothing_len)
f_vmc_stoch(source_type, source, stoch_len, rsi_len, smooth_k, smooth_d) =>
src = request.security(f_get_ticker_source(source_type), timeframe.period, source)
rsi = ta.rsi(src, rsi_len)
k_ma = ta.sma(ta.stoch(rsi, rsi, rsi, stoch_len), smooth_k)
d_ma = ta.sma(k_ma, smooth_d)
f_cipher_stoch(source_type, source, stoch_len, rsi_len, stoch_smooth, rsi_smooth) =>
src = request.security(f_get_ticker_source(source_type), timeframe.period, source)
stoch = ta.sma(ta.stoch(src, high, low, stoch_len), stoch_smooth)
stoch_rsi = ta.sma(ta.stoch(src, high, low, rsi_len), rsi_smooth)
= f_wavetrend(wt_source_type, wt_source, wt_channel_len, wt_average_len, wt_ma_len)
rsi = f_rsi(rsi_source_type, rsi_source, rsi_len)
buy_signal = wt_cross and wt_cross_up
sell_signal = wt_cross and wt_cross_down
buy_signal_bar = buy_signal and wt_is_oversold_l2
sell_signal_bar = sell_signal and wt_is_overbought_l2
money_flow_index = mfi(mfi_source_type, mfi_source, mfi_baseline_len, mfi_deviation_len, mfi_smoothing_len)
money_flow_color = money_flow_index > 0 ? color.new(#00FF00, 55) : color.new(#FF0000, 55)
= f_vmc_stoch(vmc_stoch_source_type, vmc_stoch_source, vmc_stoch_len, vmc_stoch_rsi_len, vmc_stoch_K_smooth, vmc_stoch_D_smooth)
= f_cipher_stoch(cipher_stoch_source_type, cipher_stoch_source, cipher_stoch_len, cipher_stoch_rsi_len, cipher_stoch_smooth, cipher_stoch_rsi_smooth)
plot(show_wt_lines ? overbought_l1 : na, 'Overbought Level 1', color.new(#FFFFFF, 30), 1)
plot(show_wt_lines ? overbought_l2 : na, 'Overbought Level 2', color.new(#FFFFFF, 30), 1)
plot(show_wt_lines ? overbought_l3 : na, 'Overbought Level 3', color.new(#FFFFFF, 30), 1)
plot(show_wt_lines ? oversold_l1 : na, 'Overbought Level 1', color.new(#FFFFFF, 30), 1)
plot(show_wt_lines ? oversold_l2 : na, 'Overbought Level 2', color.new(#FFFFFF, 30), 1)
plot(show_wt_lines ? oversold_l3 : na, 'Overbought Level 3', color.new(#FFFFFF, 30), 1)
plot(show_wt ? wt1 : na, 'Wave Trend 1', color.new(#90CAF9, 0), style = plot.style_area)
plot(show_wt ? wt2 : na, 'Wave Trend 2', color.new(#0C47A1, 10), style = plot.style_area)
plot(show_wt and buy_signal ? wt2 : na, 'Green Dot', #00FF00, 2, plot.style_circles)
plot(show_wt and sell_signal ? wt2 : na, 'Red Dot', #FF0000, 2, plot.style_circles)
plot(show_wt_dots and buy_signal_bar ? -105 : na, 'Buy Circle', #00FF00, 3, plot.style_circles)
plot(show_wt_dots and sell_signal_bar ? 105 : na, 'Sell Circle', #FF0000, 3, plot.style_circles)
plot(show_vwap ? vwap : na, 'VWAP', color.new(#FFEB3B, 40), 1, plot.style_area)
plot(show_rsi ? rsi : na, 'RSI', #E600E6, 1)
plot_mfi = plot(show_mfi ? money_flow_index : na, 'Money Flow', money_flow_color, 1, plot.style_area)
plot_mfi_bar_top = plot(show_mfi and show_mfi_bar ? -93 : na, 'MFI Bar', color.new(#FFFFFF, 100))
plot_mfi_bar_bottom = plot(show_mfi and show_mfi_bar ? -103 : na, 'MFI Bar', color.new(#FFFFFF, 100))
fill(plot_mfi_bar_top, plot_mfi_bar_bottom, money_flow_color, 'MFI Bar Fill')
plot(show_stoch and stoch_type == 'Cipher B' ? cipher_stoch : na, 'Cipher B Stoch', #CA1BFFe7, 2)
plot(show_stoch and stoch_type == 'Cipher B' ? cipher_stoch_rsi : na, 'Cipher B Stoch RSI', cipher_stoch < cipher_stoch_rsi ? #3FFB03 : #FE1000, 2)
plot_vmc_stoch_k = plot(show_stoch and stoch_type == 'Vumanchu' ? vmc_stoch_k : na, 'VMC Stoch K', #21BAF3, 2)
plot_vmc_stoch_d = plot(show_stoch and stoch_type == 'Vumanchu' ? vmc_stoch_d : na, 'VMC Stoch D', color.new(#673AB7, 60), 1)
vmc_stoch_fill_color = vmc_stoch_k >= vmc_stoch_d ? color.new(#21baf3, 75) : color.new(#673ab7, 60)
fill(plot_vmc_stoch_k, plot_vmc_stoch_d, vmc_stoch_fill_color, 'Stoch KD Fill')