Master Candle Breakout V1 Master Candle Breakout V1 - Indicator Description
The Master Candle Breakout V1 indicator is a powerful price action-based tool designed to help traders identify and capitalize on breakout opportunities from consolidation phases. This indicator is particularly useful for identifying master candles, which are large candles that encompass the range of subsequent candles, creating a key level of support or resistance. Once the price breaks above or below the range of the master candle, the indicator provides clear buy or sell signals, allowing traders to ride the momentum of the breakout.
Key Features:
Master Candle Detection: The indicator identifies master candles based on a user-defined period, marking them on the chart as critical breakout points.
Buy and Sell Signals: When the price breaks above the master candle's high, a buy signal is plotted. Similarly, when the price breaks below the master candle's low, a sell signal is generated. These signals are displayed on the chart with customizable shapes (diamonds, arrows, circles, crosses) and colors for easy visualization.
Stop-Loss Level Display: For risk management, the indicator calculates and plots a stop-loss level based on user-defined ticks above or below the master candle's high or low. The stop-loss value is shown as a label next to the signal, helping traders manage risk effectively.
Customizable Colors and Shapes: Users can fully customize the appearance of the signals, including the color of the buy/sell diamonds, the stop-loss label text color, and the type of shape used for the signals.
Versatile Application: The Master Candle Breakout V1 can be applied to any timeframe and market, from forex and stocks to commodities and cryptocurrencies, making it a highly versatile tool for traders of all types.
How to Use:
Master Candle Period: Define how many candles should follow the master candle for confirmation.
Stop Loss Ticks: Set the number of ticks above or below the master candle to define your stop-loss level.
Entry Signals: Once the price closes outside the high or low of the master candle, enter the trade accordingly (buy on breakouts above the high, sell on breakouts below the low).
Risk Management: Use the stop-loss level provided by the indicator to minimize losses and protect your capital.
This indicator is perfect for traders who prefer a simple, price-action-based strategy and want to avoid the clutter of traditional indicators. By focusing on the core principle of breakouts, Master Candle Breakout V1 helps traders quickly identify consolidation zones and potential breakout trades.
Графические паттерны
G-Channel with EMA StrategyThe G-Channel is a custom channel with an upper (a), lower (b), and average (avg) line. These lines are dynamically calculated based on the current and previous closing prices, using the length input (default 100) to smooth the values:
Upper Line (a): This is the maximum value of the current price or the previous upper value, adjusted by the difference between the upper and lower lines divided by the length.
Lower Line (b): This is the minimum value of the current price or the previous lower value, similarly adjusted by the difference between the upper and lower lines.
The average line (avg) is simply the midpoint between the upper and lower lines. The G-Channel signals trend direction:
Bullish Condition: The system looks for the condition when the price crosses over the lower line (b), indicating a potential upward trend.
Bearish Condition: When the price crosses under the upper line (a), it signals a potential downward trend.
Exponential Moving Average (EMA)
The strategy also incorporates an EMA with a default length of 200. The EMA serves as a trend filter to determine whether the market is trending upward or downward:
Price below EMA: Indicates a bearish trend.
Price above EMA: Indicates a bullish trend.
Buy/Sell Conditions
The strategy generates buy or sell signals based on the interaction between the G-Channel signals and the price relative to the EMA:
Buy Signal: The strategy triggers a buy when:
A bullish condition (recent crossover of price over the lower G-Channel line) is detected.
The price is below the EMA, indicating that despite the recent bullish signal, the market might still be undervalued or in a temporary downturn.
Sell Signal: The strategy triggers a sell when:
A bearish condition (recent crossunder of price below the upper G-Channel line) is detected.
The price is above the EMA, suggesting that the market might be overextended and poised for a downturn.
Visualization
The strategy plots:
The upper, lower, and average lines of the G-Channel, with the average line colored based on bullish (green) or bearish (red) conditions.
The EMA (orange) line to provide context on the general trend direction.
Markers for Buy and Sell signals to visually indicate the strategy's entry points.
Strategy Execution
When a buy or sell signal is detected:
Buy Entry: If the bullish condition and price < EMA condition are met, a long (buy) position is opened.
Sell Entry: If the bearish condition and price > EMA condition are met, a short (sell) position is opened.
Purpose
This strategy aims to catch price reversals at critical points (when the price moves through the G-Channel) while filtering trades using the EMA to avoid entering during unfavorable market trends.
thinkCNE - Key with Multiple ColoursCustomisable Key with Multi-Coloured Highlights for Chart Annotations
Overview:
This Customizable Key indicator is designed to provide traders with a clear and visually customizable legend that can be displayed on their chart. It allows users to annotate their charts with up to 10 distinct labels, each paired with a unique color-coded square. This feature is especially useful when you need to visually differentiate between various technical elements on your chart, such as support/resistance levels, Fair Value Gaps (FVGs), or important pivot points.
Key Features:
Customizable Labels and Colors: Each row in the table can be customized with unique text and background colors. This flexibility allows traders to create a personalized key that reflects the specific elements they are tracking, such as monthly FVGs, daily supports, volume-based zones, or any other custom annotations.
Flexible Number of Rows: The user can enable or disable rows as needed, which ensures that the table only shows relevant information. If fewer than 10 rows are required, the unused rows can be hidden from view, maintaining a clean and uncluttered chart.
Dynamic Table Placement: The key can be placed at different positions on the chart (top-right, middle-right, or bottom-right), giving users control over where the key appears to avoid covering important parts of their technical analysis.
Adjustable Size and Text Format: Users can customize the size of the color squares, the text, and even the overall appearance of the table. The text size can range from small to huge, making the labels easy to read based on personal preferences.
Use Cases:
Annotating Key Technical Zones: The indicator is perfect for annotating multiple technical zones or levels that require consistent attention. For example, traders can label areas like "Monthly FVG," "Daily Support," "Key Resistance," or even "Volume Spike," and color-code them accordingly for quick reference.
Drawing Clarity: A well-organized chart is essential for clear decision-making. This indicator enhances clarity by visually categorizing different chart features, making it easier to quickly interpret the chart without confusion. The customizable color squares ensure that users can quickly identify which technical element corresponds to which label on the chart.
Visual Aid for Strategy Execution: For traders using strategies involving multiple indicators, support and resistance lines, or patterns, this key helps keep track of all the elements, especially when several overlapping annotations might clutter the chart. It allows users to draw specific attention to key areas of interest and explain the rationale for each one.
Educational & Presentational Tool: If you're conducting trading education sessions or presentations, this indicator can serve as a powerful tool to explain concepts in real-time. You can present your chart with clearly marked zones or levels, where each color and label explains the reasoning behind your analysis. It’s a professional tool for walkthroughs or strategy breakdowns.
Benefits:
Enhanced Visual Organization: The color-coded squares and corresponding labels make it easier to maintain organization within a busy chart. Traders can distinguish between multiple chart elements at a glance, which enhances their focus on critical zones or setups.
Improved Decision-Making: By clearly labeling and color-coding areas of importance, traders can reduce the time it takes to assess the chart and make decisions, as the key provides a concise reference.
Customizable to Individual Needs: Traders can adapt the indicator to their specific trading style and chart elements, whether they're swing traders marking longer-term zones or day traders focusing on short-term levels.
Clarity on Complex Charts: For traders using charts with several indicators and drawings, the ability to clearly define what each color and label represents ensures that the chart remains understandable, even with multiple overlays.
Three-Bar Reversal SignalThis indicator is a simple setup of Three Bar Reversal. Logic of the code is as below.
Rules :
Long Setup
Bar 1 closes down
Low of Bar 2 is below the low of Bar 1 (and Bar 3)
Bar 3 closes above the high of both Bar 1 and Bar 2
Buy at the close of Bar 3
Short Setup
Bar 1 closes up
High of Bar 2 is above the high of Bar 1 (and Bar 3)
Bar 3 closes below the low of both Bar 1 and Bar 2
Sell at the close of Bar 3
Futures Globex Session(s)This indicator draws a box around the Globex Session for the various Futures markets. The box height defines the highs and lows of that session, and the width defines the timeframe of that session. The boxes are outlined green if price rose during that period, and red if price fell during that period. The default Globex Session is set for the Equity Index Futures and is set in the UTC-4 time zone (Eastern Time). In the settings you can adjust the session time and time zone of your Globex Session to reflect the trading times of that market. Below are the session times for various Futures markets set in time zone UTC-4.
Equity Indexes: 18:00 - 9:30
(ES, NQ, YM, RTY)
Treasuries: 18:00 - 8:20
(ZN, ZB)
Metals: 18:00 - 8:20
(GC)
Energies: 18:00 - 9:00
(CL, NG)
Agricultures: 20:00 - 9:30
(ZS, ZW)
Wolfpack Elite - Liquidation Sniper - by 9123416916### Strategy: **Wolfpack Elite - Liquidation Sniper by Md Arif**
**Overview:**
This is a technical analysis strategy designed for trading, which combines two popular technical indicators: **Relative Strength Index (RSI)** and **Moving Averages (MA)**. It identifies potential buy (long) and sell (short) signals based on oversold and overbought conditions in the market, along with crossovers between two moving averages. The strategy also incorporates a risk management system by setting **take profit** and **stop loss** levels to protect against large losses and lock in gains.
---
**Key Components:**
1. **Indicators Used:**
- **RSI (Relative Strength Index):**
- Measures the speed and change of price movements.
- Used to identify **overbought** (above 70) and **oversold** (below 30) conditions.
- **Short and Long Moving Averages:**
- The strategy uses two simple moving averages (SMA) to detect trends and potential entry points.
- Short MA (9-period) and Long MA (21-period) are used for crossovers.
2. **Entry Signals:**
- **Bullish Entry (Long Position):**
- Triggered when the RSI falls below the oversold level (30) and the **short MA** crosses above the **long MA** (bullish crossover).
- This suggests that the market might be oversold and ready to rebound.
- **Bearish Entry (Short Position):**
- Triggered when the RSI rises above the overbought level (70) and the **short MA** crosses below the **long MA** (bearish crossover).
- This suggests that the market might be overbought and due for a correction.
3. **Risk Management:**
- **Take Profit and Stop Loss:**
- The strategy calculates the take profit and stop loss levels as percentages of the entry price.
- **Take Profit:** Set at 5% above the entry price for long positions and 5% below the entry price for short positions.
- **Stop Loss:** Set at 3% below the entry price for long positions and 3% above the entry price for short positions.
4. **Position Sizing:**
- The position size is calculated as a percentage of the trader's total equity (default set to 100% of equity).
5. **Exit Conditions:**
- **For Long Positions:**
- Exit the trade if the price hits the take profit level (5% above entry) or the stop loss level (3% below entry).
- **For Short Positions:**
- Exit the trade if the price hits the take profit level (5% below entry) or the stop loss level (3% above entry).
6. **Visualization:**
- The strategy visually plots the short and long moving averages on the chart.
- It also marks **bullish crossovers** with green upward triangles and **bearish crossovers** with red downward triangles, making it easier to spot potential entry points.
---
**How the Strategy Works:**
- The strategy starts by calculating the **RSI** and **moving averages**.
- It waits for specific conditions to trigger buy or sell signals. If the RSI indicates that the market is oversold and a bullish crossover occurs, it initiates a **long trade**. Similarly, if the RSI shows an overbought condition and a bearish crossover occurs, it opens a **short trade**.
- Once a trade is open, the strategy monitors the price and automatically exits the trade if the price reaches the set take profit or stop loss level.
---
This strategy is designed for active traders who seek to capitalize on short-term price movements and want clear entry/exit points with built-in risk management.
Strategy: Candlestick Wick Analysis with Volume Conditions
This strategy focuses on analyzing the wicks (or shadows) of candlesticks to identify potential trading opportunities based on candlestick structure and volume. Based on these criteria, it places stop orders at the extremities of the wicks when certain conditions are met, thus increasing the chances of capturing significant price movements.
Trading Criteria
Volume Conditions:
The strategy checks if the volume of the current candle is higher than that of the previous three candles. This ensures that the observed price movement is supported by significant volume, increasing the probability that the price will continue in the same direction.
Wick Analysis:
Upper Wick:
If the upper wick of a candle represents more than 90% of its body size and is longer than the lower wick, this indicates that the price tested a resistance level before pulling back.
Order Placement: In this case, a Buy Stop order is placed at the upper extremity of the wick. This means that if the price rises back to this level, the order will be triggered, and the trader will take a buy position.
SL Management: A stop-loss is then placed below the lowest point of the same candle. This protects the trader by limiting losses if the price falls back after the order is triggered.
Lower Wick:
If the lower wick of a candle is longer than the upper wick and represents more than 90% of its body size, this indicates that the price tested a support level before rising.
Order Placement: In this case, a Sell Stop order is placed at the lower extremity of the wick. Thus, if the price drops back to this level, the order will be triggered, and the trader will take a sell position.
SL Management: A stop-loss is then placed above the highest point of the same candle. This ensures risk management by limiting losses if the price rebounds upward after the order is triggered.
Strategy Advantages
Responsiveness to Price Movements: The strategy is designed to detect significant price movements based on the market's reaction around support and resistance levels. By placing stop orders directly at the wick extremities, it allows capturing strong movements in the direction indicated by the candles.
Securing Positions: Using stop-losses positioned just above or below key levels (wicks) provides better risk management. If the market doesn't move as expected, the position is automatically closed with a limited loss.
Clear Visual Indicators: Symbols are displayed on the chart at the points where orders have been placed, making it easier to understand trading decisions. This helps to quickly identify the support or resistance levels tested by the price, as well as potential entry points.
Conclusion
The strategy is based on the idea that large wicks signal areas where buyers or sellers have tested significant price levels before temporarily retreating. By placing stop orders at the extremities of these wicks, the strategy allows capturing price movements when they confirm, while limiting risks through strategically placed stop-losses. It thus offers a balanced approach between capturing potential profit and managing risk.
This description emphasizes the idea of capturing significant market movements with stop orders while providing a clear explanation of the logic and risk management. It’s tailored for publication on TradingView and highlights the robustness of the strategy.
3 Wicks Range - TickSyncThe "3 Wicks Range" indicator, developed by TickSync, is a specialized technical analysis tool designed to identify and highlight potential reversal or continuation patterns in price action. This indicator focuses on detecting overlapping ranges of wicks across three consecutive candles, providing valuable insights into market dynamics.
How It Works
Upper Wick Range: The indicator analyzes the upper wicks of three consecutive candles, checking if they share a common price range. An upper wick is defined as the area between the candle's high and the higher of its open or close.
Lower Wick Range: Similarly, it examines the lower wicks of three consecutive candles for a shared price range. A lower wick is defined as the area between the candle's low and the lower of its open or close.
Visual Representation: When an overlapping range is detected, the indicator draws a semi-transparent yellow box encompassing the shared range area.
Interpretation
Upper Wick Range Overlap: This may indicate bearish pressure or resistance within the highlighted range. It could suggest areas of potential reversal or strong selling interest.
Lower Wick Range Overlap: This may signal bullish pressure or support within the highlighted range. It could indicate areas of potential reversal or strong buying interest.
Context Matters: While these overlapping ranges can be significant, they should be interpreted in conjunction with other technical analysis tools and overall market context.
Trading Applications
Use the highlighted ranges to identify potential areas of price rejection or acceptance.
These patterns could help in pinpointing possible entry or exit points, or in setting stop-loss levels.
The strength of the signal may vary based on the timeframe and prevailing trend.
Customization
Users can adjust the transparency and color of the highlighting boxes in the indicator settings to suit their chart preferences and analysis needs.
Note: The "3 Wicks Range" indicator is a tool to assist in analysis and should not be used as the sole basis for trading decisions. Always combine multiple indicators and conduct thorough analysis before making trading choices.
Developed by TickSync
Ping Pong Bot StrategyOverview:
The Ping Pong Bot Strategy is designed for traders who focus on scalping and short-term opportunities using support and resistance levels. This strategy identifies potential buy entries when the price reaches a key support area and shows bullish momentum (a green bar). It aims to capitalize on small price movements with predefined risk management and take profit levels, making it suitable for active traders looking to maximize quick trades in trending or ranging markets.
How It Works:
Support & Resistance Calculation:
The strategy dynamically identifies support and resistance levels using the lowest and highest price points over a user-defined period. These levels help pinpoint potential price reversal areas, guiding traders on where to enter or exit trades.
Buy Entry Criteria:
A buy signal is triggered when the closing price is at or below the support level, and the bar is green (i.e., the closing price is higher than the opening price). This ensures that entries are made when prices show signs of upward momentum after hitting support.
Risk Management:
For each trade, a stop loss is calculated based on a user-defined risk percentage, helping to protect against significant drawdowns. Additionally, a take profit level is set at a ratio relative to the risk, ensuring a disciplined approach to exit points.
0.5% Take Profit Target:
The strategy also includes a 0.5% quick take profit target, indicated by an orange arrow when reached. This feature helps traders lock in small gains rapidly, making it ideal for volatile market conditions.
Customizable Inputs:
Length: Adjusts the period for calculating support and resistance levels.
Risk-Reward Ratio: Allows traders to set the desired risk-to-reward ratio for each trade.
Risk Percentage: Defines the risk tolerance for stop loss calculations.
Take Profit Target: Enables the customization of the quick take profit target.
Ideal For:
Traders who prefer an active trading style and want to leverage support and resistance levels for precise entries and exits. This strategy is particularly useful in markets that experience frequent price bounces between support and resistance, allowing traders to "ping pong" between these levels for profitable trades.
Note:
This strategy is developed mainly for the 5-minute chart and has not been tested on longer time frames. Users should perform their own testing and adjustments if using it on different time frames.
TEMA Crosses_AIT with Manual TEMA CalculationTitle: TEMA Crosses_AIT Indicator
Description:
The TEMA Crosses_AIT Indicator is designed for traders looking to leverage the Triple Exponential Moving Average (TEMA) to identify trend reversals and momentum shifts in the market. This indicator calculates both fast and slow TEMA lines and signals potential buy or sell opportunities based on crossovers between these two lines.
Key Features:
Fast TEMA (TEMAF):
Default period: 20 (adjustable)
Represents the short-term trend and reacts quickly to price changes.
Slow TEMA (TEMAS):
Default period: 200 (adjustable)
Represents the long-term trend, smoothing out price fluctuations to give a clearer view of the overall direction.
Signal Generation:
Long Signal: A long (buy) signal is generated when the fast TEMA crosses above the slow TEMA, indicating a potential upward trend.
Short Signal: A short (sell) signal is generated when the fast TEMA crosses below the slow TEMA, indicating a potential downward trend.
Color-coded Visualization:
The fast TEMA line is displayed in green when it is above the slow TEMA (bullish signal) and in red when below (bearish signal).
The slow TEMA line is displayed in white.
A yellow triangle appears below the price bar for long entries.
A fuchsia triangle appears above the price bar for short entries.
How It Works:
The indicator calculates the Triple Exponential Moving Average (TEMA) manually using exponential moving averages (EMA). The TEMA is calculated by subtracting the second EMA from three times the first EMA, then adding the third EMA. This provides a smoother trend line that reacts more quickly than a traditional EMA, making it ideal for spotting trend changes.
Customizable Inputs:
TEMAF Period: Adjust the period of the fast TEMA to fit your trading style.
TEMAS Period: Adjust the period of the slow TEMA to match the time frame you are analyzing.
Use Cases:
Trend Reversals: The crossovers between the fast and slow TEMA provide clear signals for potential trend reversals, which can be used to enter or exit trades.
Momentum Confirmation: The color-coded TEMA lines allow traders to easily identify whether the short-term momentum is aligned with the long-term trend, helping to confirm the strength of a move.
Recommendations:
This indicator works well with other momentum-based tools like RSI or MACD for confirming signals and identifying overbought or oversold conditions. It is suitable for use across different asset classes, including stocks, cryptocurrencies, forex, and commodities.
Disclaimer:
The TEMA Crosses_AIT indicator should not be used as a standalone trading strategy. It is recommended to combine this indicator with other forms of analysis and risk management techniques. Always backtest the indicator on historical data before applying it to live trades.
SMC StructuresTitle: SMC Structures Indicator
Description:
The SMC Structures indicator is a powerful tool designed to identify and visualize key structural elements in price action, based on the principles of Smart Money Concepts (SMC). This indicator helps traders identify potential areas of support, resistance, and price reversals by highlighting significant market structures.
Key Features:
Structure Identification: The indicator automatically detects and marks important high and low structures in the market.
Break of Structure (BOS) Detection: It identifies and labels instances where previous structures are broken, indicating potential trend changes or continuations.
Change of Character (CHoCH) Detection: The indicator recognizes and marks Changes of Character, which are significant shifts in market behavior.
Customizable Visuals: Users can personalize the appearance of BOS and CHoCH markings, including colors, line styles, and widths.
Current Structure Display: The indicator can optionally show the current active structure, helping traders understand the immediate market context.
Historical Structure Tracking: Users can specify the number of historical structure breaks to display, allowing for a cleaner chart while maintaining relevant information.
Flexible Break Confirmation: The indicator offers the option to confirm structure breaks using either the candle body or wick, accommodating different trading styles.
Technical Details:
The indicator uses advanced algorithms to identify significant price structures based on local highs and lows.
It employs a lookback period of 10 bars for structure detection, ensuring relevance to current market conditions.
The code includes safeguards to handle different market phases and avoid false signals during ranging periods.
Customization Options:
Colors for Bullish and Bearish BOS and CHoCH markings
Line styles and widths for all structure markings
Number of historical breaks to display
Option to show or hide the current active structure
Choice between candle body or wick for structure break confirmation
Use Cases:
Trend Analysis: Identify the start of new trends or potential trend reversals.
Support and Resistance: Pinpoint key levels where price may react.
Trade Entry and Exit: Use structure breaks as potential entry or exit signals.
Market Context: Understand the broader market structure to make informed trading decisions.
This indicator is particularly useful for traders who follow Smart Money Concepts and those looking to enhance their understanding of market structure. It provides a visual representation of complex market dynamics, helping traders make more informed decisions based on structural analysis.
Note: This indicator is best used in conjunction with other analytical tools and a solid understanding of market dynamics. Always practice proper risk management when using any trading indicator.
Would you like me to explain or break down any part of the code?
Scalping Strategy By TradingConTotoScript Description: "Scalping Strategy By TradingConToto"
This scalping strategy is designed to trade in volatile markets, taking advantage of rapid price movements. It uses pivots to identify key entry and exit points, along with exponential moving averages (EMAs) to determine the overall trend.
Key Features:
Dynamic Pivots: Calculates pivot highs and lows to identify support and resistance zones, improving entry accuracy.
Market Trend Analysis: Utilizes a 100-period EMA for long-term trend analysis and a 25-period EMA for short-term trends, facilitating informed decision-making.
Automated Entry and Exit: Generates buy and sell signals based on EMA crossovers and specific market conditions, ensuring you don't miss opportunities.
Risk Management: Allows you to set take profit and stop loss levels tailored to market volatility, using the ATR for effective risk management.
User-Friendly Interface: Easily customize strategy parameters such as pivot range, stop loss and take profit pips, and spread.
Requirements:
Ideal for use on short time frames during high activity sessions, like the configured scalping session.
Activate buy and sell options according to your preference and analyze performance using TradingView’s tools.
Note:
This script is a tool and does not guarantee results. It is recommended to test in a simulated environment before applying it to real accounts.
Optimize your scalping operations and enhance your market performance with this effective strategy!
Prometheus Fractal WaveThe Fractal Wave is an indicator that uses a fractal analysis to determine where reversals may happen. This is done through a Fractal process, making sure a price point is in a certain set and then getting a Distance metric.
Calculation:
A bullish Fractal is defined by the current bar’s high being less than the last bar’s high, and the last bar’s high being greater than the second to last bar’s high, and the last bar’s high being greater than the third to last bar’s high.
A bearish Fractal is defined by the current low being greater than the last bar’s low, and the last bar’s low being less than the second to last bar’s low, and the last bar’s low being less than the third to last bar’s low.
When there is that bullish or bearish fractal the value we store is either the last bar’s high or low respective to bullish or bearish fractal.
Once we have that value stored we either subtract the last bar’s low from the bullish Fractal value, and subtract the last bar’s high from the bearish Fractal value. Those are our Distances.
Code:
isBullishFractal() =>
high > high and high < high and high > high
isBearishFractal() =>
low < low and low > low and low < low
var float lastBullishFractal = na
var float lastBearishFractal = na
if isBullishFractal() and barstate.isconfirmed
lastBullishFractal := high
if isBearishFractal() and barstate.isconfirmed
lastBearishFractal := low
//------------------------------
//-------CACLULATION------------
//------------------------------
bullWaveDistance = na(lastBullishFractal) ? na : lastBullishFractal - low
bearWaveDistance = na(lastBearishFractal) ? na : high - lastBearishFractal
We then plot the bullish distance and the negative bearish distance.
The trade scenarios come from when one breaks the zero line and then goes back above or below. So if the last bullish distance was below 0 and is now above, or if the last negative bearish distance was above 0 and now below. We plot a green label below a candle for a bullish scenario, or a red label above a candle for a bearish one, you can turn them on or off.
Code:
plot(bullWaveDistance, color=color.green, title="Bull Wave Distance", linewidth=2)
plot(-bearWaveDistance, color=color.red, title="Bear Wave Distance", linewidth=2)
plot(0, "Zero Line", color=color.gray, display = display.pane)
bearish_reversal = plot_labels ? bullWaveDistance < 0 and bullWaveDistance > 0 : na
bullish_reversal = plot_labels ? -bearWaveDistance > 0 and -bearWaveDistance < 0 : na
plotshape(bullish_reversal, location=location.belowbar, color=color.green, style=shape.labelup, title="Bullish Fractal", text="↑", display = display.all - display.status_line, force_overlay = true)
plotshape(bearish_reversal, location=location.abovebar, color=color.red, style=shape.labeldown, title="Bearish Fractal", text="↓", display = display.all - display.status_line, force_overlay = true)
We can see in this daily NASDAQ:QQQ chart that the indicator gives us marks that can either be used as Reversal signals or as breathers in the trend.
Since it is designed to provide reversals, on something like Gold where the uptrend has been strong, the signals may be just short breathers, not full blown strong reversal signs.
The indicator works just as well intra day as it does on larger timeframes.
We encourage traders to not follow indicators blindly, none are 100% accurate. Please comment on any desired updates, all criticism is welcome!
DUCPHAN BTC Price Slope 1. Indicator Overview
The indicator calculates the price slope of Bitcoin over a user-defined period. It monitors the slope and triggers alerts when the slope crosses predefined thresholds, indicating potential trend changes. The indicator also provides visual cues on the chart, such as background colors and lines, to help users easily spot these trends.
2. Input Parameters
The script allows users to set the following input parameters:
Length of time (in candles) for calculating the slope. This is used to compare the current price with the price from a certain number of candles ago.
Slope threshold defines the percentage change in the slope that will trigger an alert or visual signal.
3. Slope Calculation
The script calculates the average price by taking the average of the open, high, and low prices of each candle. It then compares the current average price with the average price from the specified number of candles ago. This comparison is used to calculate the percentage change in the slope.
4. Alerts for Trend Changes
Alerts are triggered when the slope crosses certain thresholds:
Uptrend alert: If the slope crosses from negative to positive, exceeding the defined threshold, an alert is triggered indicating the start of an uptrend.
Downtrend alert: If the slope crosses from positive to negative, dropping below the negative threshold, an alert is triggered indicating the start of a downtrend.
Additional alerts are sent when the trend ends (i.e., when the slope crosses back to neutral).
5. Visual Signals
The indicator visually highlights trend changes:
Background colors: The background turns green when the slope exceeds the positive threshold (uptrend), and it turns red when the slope drops below the negative threshold (downtrend).
Lines: Horizontal lines are drawn on the chart to mark the start of an uptrend (green line below the candles) or a downtrend (red line above the candles).
6. Previous Slope Tracking
The script keeps track of the previous slope to compare it with the current slope. This allows it to detect when a trend change occurs and trigger the appropriate alert.
7. Summary
In short, the indicator provides a comprehensive tool to detect Bitcoin price trends based on the slope of price movements over a given time period. It offers both alerts and visual signals to help users easily identify and act on potential trend changes.
3m Range with Length 7: This will calculate the price slope for the 3-minute timeframe using a range of 7 candles.
5m Range with Length 7: This will calculate the price slope for the 5-minute timeframe using a range of 7 candles.
30m Range with Length 1: This will calculate the price slope for the 30-minute timeframe using a range of 1 candle.
Steps:
Define new timeframes for 3m, 5m, and 30m.
Calculate the average price for each of these timeframes and their respective ranges.
Compute the slope based on these ranges and thresholds.
Add visual signals and alerts for each of these timeframes, similar to what is done for the original timeframe.
Here’s an overview of the logic (without code):
1. 3-Minute Timeframe (Range 7)
The average price is calculated for the 3-minute candles.
The slope is computed by comparing the current 3-minute average price to the average price from 7 candles ago.
If the slope crosses the defined threshold, alerts and visual signals (background color and lines) are triggered.
2. 5-Minute Timeframe (Range 7)
Similarly, the average price is calculated for the 5-minute candles.
The slope is calculated by comparing the current 5-minute average price with the average price from 7 candles ago.
When the slope crosses the threshold, it triggers corresponding alerts and visual signals.
3. 30-Minute Timeframe (Range 1)
For the 30-minute candles, the slope calculation is based on comparing the current 30-minute average price with the average price from just 1 candle ago.
As the slope crosses the threshold, alerts and signals will indicate the trend direction change.
Final Output:
By following this process, you will have multiple slope calculations running on different timeframes (3m, 5m, and 30m), each with its respective range settings. Visual signals (colors and lines) and alerts will be added for each timeframe to help identify trend changes more effectively.
Let me know if you need this explanation in more detail or need specific code adjustments for this setup!
AmirAli 20 Pairs/USDT&BTCThis TradingView indicator, titled "20 Pairs/USDT&BTC," is designed to analyze and display the Exponential Moving Averages (EMAs) of various cryptocurrency pairs against USDT and BTC. Here's a detailed breakdown of its features, functionality, and usage:
Key Features:
Pairs Display: The indicator allows users to select which cryptocurrency pairs they wish to display on the chart. The available options include popular cryptocurrencies such as Ethereum (ETH), Binance Coin (BNB), Solana (SOL), Dogecoin (DOGE), Ripple (XRP), Litecoin (LTC), Polkadot (DOT), Avalanche (AVAX), Uniswap (UNI), Chainlink (LINK), Cardano (ADA), Cosmos (ATOM), Filecoin (FIL), Stellar (XLM), VeChain (VET), Enjin (ENJ), Celo (CELO), Hedera (HBAR), and Sandbox (SAND).
Dynamic Price Retrieval: For each selected pair, the indicator retrieves the closing prices for both USDT and BTC from Binance. This is done using the request.security function, which fetches real-time data.
EMA Calculation: The indicator calculates and plots the EMA for each cryptocurrency pair over a user-defined length, allowing traders to identify trends and potential buy/sell signals based on price movements relative to their EMAs.
User Customization: Users can customize several parameters, including the time frame for data retrieval, EMA length, and the visibility of each pair.
Market Hours Visualization: The indicator highlights the trading hours with a gray background, helping users identify when the market is active.
How to Use the Indicator:
Adding the Indicator: To use the indicator, add it to your TradingView chart by searching for "20 Pairs/USDT&BTC" in the public library or by pasting the provided Pine Script code into a new indicator script.
Select Pairs: Enable or disable specific cryptocurrency pairs in the input options at the top of the script. For example, if you want to analyze ETH and ADA, ensure that the respective boxes are checked.
Adjust Time Frame: Set the time frame for the indicator. You can choose any time frame or leave it blank to use the current chart's time frame.
Set EMA Length: Choose the length for the EMA calculation based on your trading strategy. A shorter EMA (e.g., 5) reacts more quickly to price changes, while a longer EMA (e.g., 20) smooths out price fluctuations.
Observe Trends: Monitor the plotted EMAs for the selected pairs. Crossovers of the price with the EMA can indicate potential buy or sell signals. For instance, if the price crosses above the EMA, it may signal a bullish trend, whereas a crossover below could indicate a bearish trend.
Consider Market Hours: Pay attention to the gray background during U.S. trading hours, as this may indicate higher volatility and trading opportunities.
Conclusion
The "20 Pairs/USDT&BTC" indicator is a powerful tool for cryptocurrency traders looking to analyze multiple pairs simultaneously. By providing a visual representation of EMAs, it aids in identifying trends and potential trading opportunities in a user-friendly manner. Make sure to adapt the settings according to your trading strategy and market conditions for optimal results.
Amir Hasankhah & Ali Beyki
Engulfing Reversal Market PhaseStay at the right side of the market.
This indicator detects bullish and bearish phase in the market based on recent reversal.
It is designed to help filter your trades.
Open only long trades if indicator shows green and open only short trades when indicator shows red.
This indicator will detect bullish and bearish engulfing reversal pattern on the chart.
Bullish engulfing occurs when current candle closes below the bars that created the high.
Bearish engulfing occurs when current candle closes below the bars that created the high.
The reversal pattern occurs not only on a trend change, but can be also be present as a trend continuation pattern or a breakout pattern.
The indicator is able to detect 3 candle patterns and multi candle patterns if detects inside bars in the pattern.
Motive Wave Scanner [Trendoscope®]Motive Wave Scanner is a simple algorithm to find out motive waves as per the rules of Elliott Wave theory.
It is an extension to our previous open source script Interactive Motive Wave Checklist which provides interactive capability to select six points of a five wave formation. Once users select them, the rules of motive waves are applied to manually selected points to highlight them as either diagonal wave, motive wave or none.
This indicator does the same. But, instead of requesting the pivots manually from the user, the indicator automatically picks and scans them through zigzag.
We have already published a similar script as protected source. But, due to some changes in the pine engine, there have been few issues in the runtime. In this publication, we not only address those runtime issues but also making it open source for the users to make use of the source code and enhance it further.
🎲 What are motive waves
Motive waves are strong upward or downward movement with 5 subwaves.
Motive Wave in the upward direction will start with Swing High, Ends with Swing High and consists of 3 Higher Highs and 2 Higher Lows representing strong upward trend.
Motive Wave in the downward direction will start with Swing Low, Ends with Swing low and consists of 3 Lower Lows and 2 Lower Highs representing strong downward trend.
🎲 Types of Motive Waves
Motive Waves are broadly classified by two types:
Impulse Waves
Diagonal Waves
Diagonal Waves are further classified into Contracting and Expanding Diagonals. These can fall into the category of either leading diagonal and ending diagonal.
🎲 Rules of Motive Waves
🎯 Generic Rule of any motive waves are as follows
Should consist of 5 alternating waves. (Swing High followed by Swing low and vice versa)
This can start from Swing High and end in Swing High or start from Swing Low and end in Swing Low of a zigzag.
Wave-2 should not move beyond Wave-1. This means, the Wave-2 is always shorter than Wave-1 with respect to distance between the price of start and end.
Wave-3 always moves beyond Wave-1. This means, the Wave-3 is always longer than Wave-2 in terms of price
Among Wave-1, Wave-3, and Wave-5, Wave-3 is never the shortest one. This means, either Wave-1 or Wave-5 can be longer than Wave-3 but not both. Wave-3 can also be longest among the three.
Here is the pictorial representation of the rules of the Motive Waves
For a wave to be considered as motive wave, it also needs to follow the rules of either impulse or diagonal waves.
🎯 Rules for a 5 wave pattern to be considered as Impulse Wave are:
Wave-4 never overlaps with Wave-1 price range
Wave-1, Wave-3 and Wave-5 should not be either expanding or contracting. Meaning, we cannot have Wave-1 > Wave-3 > Wave-5 , and we cannot have Wave-1 < Wave-3 < Wave-5
Pictorial representation of the impulse wave rules are as below:
🎯 Rules for the Diagonal Waves are as follows
Contrary to the first rule of impulse wave, in case of diagonal wave, Wave-4 always overlaps with Wave-1 price range. But, it will not go beyond Wave-3
Waves are progressively expanding or contracting - Wave1 > Wave3 > Wave5 and Wave2 > Wave4 to be contracting diagonal. Wave1 < Wave3 < Wave5 and Wave2 < Wave4 to be expanding diagonal wave.
Pictorial representation of the Contracting Diagonal Wave is as below. Here, the Wave-1, Wave-3 and Wave-5 are in contracting formation.
Pictorial representation of the Expanding Diagonal Wave is as below. Here, the Wave-1, Wave-3 and Wave-5 are in expanding formation.
🎲 Indicator Settings
Indicator settings are defined as below:
Repaint Warning : If Repaint is selected, the indicator will throw a runtime error after certain bars or when alerts are set. This is due to some pine internal issue. At present, we do not have any solution for this until the internal issue is resolved by Tradingview Pine Team.
FXN1 The ForecasterIndicator Name: FXN1 The Forecaster
The FXN1 The Forecaster is a versatile and powerful seasonality-based indicator designed to analyze historical price patterns over different customizable timeframes. By identifying repeating price behaviors, the indicator helps traders anticipate future market movements based on the cyclical nature of asset prices. This indicator is particularly useful for those looking to predict seasonal trends and plot future price projections based on historical data.
Key Features:
Customizable Lookback Periods:
The indicator allows users to choose between 5, 10, or 15-year historical lookback periods to assess long-term price trends.
The default setting is a 10-year lookback period, but users can toggle between the options to see different historical behaviors.
By analyzing these different timeframes, traders can compare how price patterns have evolved over the past 5, 10, or 15 years, providing multiple perspectives on potential seasonal trends.
Seasonality-Based Forecasting:
The indicator generates a seasonality chart by calculating the average price movements for each trading day, week, or month within the selected lookback period.
These averages are plotted as lines that extend into the future (using a default forecast of 150 bars), offering a visualization of potential future price behavior based on historical trends.
This provides traders with a visual forecast that helps in anticipating potential future highs and lows, key reversal points, or trend continuations.
Automatic Line Drawing for Highs and Lows:
The indicator automatically detects and marks the highest and lowest points of the selected lookback period by drawing two lines:
A red line from the highest point in the past, indicating the historical peak of price behavior within the lookback period.
A green line from the lowest point in the past, indicating the historical trough or lowest price level.
These lines offer clear visual reference points for significant historical support and resistance levels.
Visual Customization:
The indicator provides the ability to change the color of the seasonal line for easy visual distinction. The default color is light gray, but this can be modified to suit individual preferences.
The line width is set to 2 by default, and this setting is hidden from the menu to keep the interface clean and focused on essential options.
The historical seasonality lines are drawn with customizable width and colors, providing a clean and informative visual on the chart without overwhelming the trader.
How It Works:
Step 1: Select the desired historical lookback period (5, 10, or 15 years). This will define the number of years of historical data to use in calculating seasonal price movements.
Step 2: The indicator collects and averages the price movements from each day, week, or month within the selected lookback period.
Step 3: The indicator draws the seasonality line by connecting the averaged price movements over time.
Step 4: Based on the historical data, the indicator extends a forecast line 150 bars into the future, offering traders a visual guide on what the future price action may look like.
Seasonal Trend Prediction:
The indicator is ideal for traders looking to identify seasonal trends in an asset’s price action. For example, commodities like oil, agricultural products, or indices often exhibit strong seasonal tendencies, which this tool can help pinpoint.
Forecasting Future Price Action:
By extrapolating past data into the future, traders can forecast potential future price highs and lows and identify opportunities to enter or exit positions.
Comparing Multiple Timeframes:
The ability to switch between 5, 10, and 15-year lookback periods allows traders to compare different timeframes and see how price trends have evolved over time. This helps in developing more comprehensive trade strategies by factoring in longer-term historical data.
Customization Options:
Lookback Period Selection: Choose between 5, 10 (default), and 15 years for historical data analysis.
Color Customization : Modify the color of the forecasted seasonal lines for better visual clarity.
Conclusion:
The FXN1 The Forecaster is a unique and customizable seasonality indicator designed for traders who want to incorporate long-term historical price patterns into their trading strategies. It provides clear insights into seasonal trends, key historical price levels, and potential future price movements. Whether you're a swing trader looking for cyclical patterns or a long-term investor seeking to understand broader price behavior, this tool offers a robust solution for analyzing market seasonality.
Liquidity VisualizerThe "Liquidity Visualizer" indicator is designed to help traders visualize potential areas of liquidity on a price chart. In trading, liquidity often accumulates around key levels where market participants have placed their stop orders or pending orders. These levels are commonly found at significant highs and lows, where traders tend to set their stop-losses or take-profit orders. The indicator aims to highlight these areas by drawing unbroken lines that extend indefinitely until breached by the price action.
Specifically, this indicator identifies and marks pivot highs and pivot lows, which are price levels where a trend changes direction. When a pivot high or pivot low is formed, it is represented on the chart with a horizontal line that continues to extend until the price touches or surpasses that level. The line remains in place as long as the level remains unbroken, which means there is potential liquidity still resting at that level.
The concept behind this indicator is that liquidity is likely to be resting at unbroken pivot points. These levels are areas where stop-loss orders or pending buy/sell orders may have accumulated, making them attractive zones for large market participants, such as institutions, to target. By visualizing these unbroken levels, traders can gain insight into where liquidity might be concentrated and where potential price reversals or significant movements could occur as liquidity is taken out.
The indicator helps traders make more informed decisions by showing them key price levels that may attract significant market activity. For instance, if a trader sees multiple unbroken pivot high lines above the current price, they might infer that there is a cluster of liquidity in that area, which could lead to a price spike as those levels are breached. Similarly, unbroken pivot lows may indicate areas where downside liquidity is concentrated.
In summary, this indicator acts as a "liquidity visualizer," providing traders with a clear, visual representation of potential liquidity resting at significant pivot points. This information can be valuable for understanding where price might be drawn to, and where large movements might occur as liquidity is targeted and removed by market participants.
VKPEDIA Trading ZoneDesigned with the help of Traders and with inspiration from the ICT Everything indicator by coldbrewrosh, the purpose of this script is to identify Potential "Trade Entry Zone" while also storing their highs and lows for future reference, until traded through.
There are One session whose times and labels can all be changed to one's liking. Some prefer slight alterations to traditional ICT Killzones, or use different time windows altogether. Either way, the session are fully customizable. The sessions will auto fit to keep track of the highs and lows made during their respective times, and these pivots will be extended until they are invalidated.
What can you learn and understand from this indicator is
1. You can clearly see where high potential trade and reversal of the market are happening and this general sessions are included with london and new york session are refered as "TEZ".
2. Once you apply this indicator on your chart High and low are automatically mentioned in charts for your future reference.
Given the amount of interest I've received about this indicator, I intend to leave it open to suggestions for further improvements. Let me know what you think & what you want to see added
FibLevel Size CalculatorThis skript calculates position sizes and new take profits for sizing into an long or short position with 3 entrys defined at custom fibonacci retracement levels.
TP: -0,272
Entry1: 0.382
Entry2: 0.618
Entry3: 0.83
SL: 1.05
Expected RR per trade is 0.2 with a High Win rate definitly profitable.
Search for an established trend on the higher timeframe, drop to the smaller ones and look for correction waves. Once they break to the trenddirection of the higher timeframe take the fib from lowest to highes point. Draw a fib level on the chart and use the Indicator to define these Levels above. The calculator gives you the Margin to use in each position, and will check that you will not get liquidated an that you have enough margin. It tells you the new TP for Limit2 and Limit3 if they get hit so you can get out of the trade full TP with a small bounce.
Inputs:
Account Balance, Risk Percentage, and Leverage: These inputs are used to calculate the position size and risk.
Entry 1, Entry 2, Entry 3, Take Profit (TP), and Stop Loss (SL): These prices are used for calculating position sizes, risk, and profit for up to three entry points.
Calculations:
Risk Amount: Calculated based on the account balance and risk percentage.
Position Sizes (Qty): For each entry point, the position size is determined. The second and third entries have a multiplier (3x for Entry 2, 5x for Entry 3) compared to the first.
Stop Loss and Profit Calculation: The script calculates the potential profit and adjusts the TP levels based on the average entries for Limit 2 and Limit 3.
Margin Calculation: Margin requirements for each position are calculated based on leverage.
Output:
Table Display: A table shows key values like entry prices, position sizes, TP levels, potential profit, and margin requirements for each limit.
Warnings: It includes a liquidation warning and a check for whether the account is at risk of liquidation based on leverage.
Position Type: It automatically detects if the trade is a long or short based on the relationship between TP and SL.
Visualization:
Lines: It draws horizontal lines on the chart to visually represent the entry, TP, and SL levels.
Overall, this script is designed to help traders manage risk and calculate position sizes for multi-level entries using leverage.
Pls drop feedback in the comments.
Flat Tops/Bottoms aka Devil's MarkThis Pine script indicator is designed to visually depict price inefficiencies, as identified by Flat Top/Bottom Candles (aka Devil's Mark). A Flat Top/Bottom Candle is a scenario where there is an absence of a wick at the top or the bottom of the candle. These represent zones of inefficiency and will frequently act as magnets for price that the market will strive to rebalance in accordance with ICT principles.
Relevance:
Flat Top/Bottom Candles are zones where price delivery didn't provide opportunity for manipulation representing an inefficiency that the market will seek to rebalance. Consequently, these zones can provide good targets for entries in the opposite direction or take profit targets for previous entries in the direction of the Flat Top/Bottom Candle.
How It Works:
The indicator keeps track of all Flat Top/Bottom Candles from the beginning of the available history. It automatically removes all mitigated Flat Top/Bottom Candles, which are situations where the price has gone past the candle without a wick.
Configurability:
You can configure the colors, style & width of the lines used to represent flat top/bottom candles.
What makes this indicator different:
Designed with high performance in mind, to reduce impact on chart render time.
Only keeping the currently valid flat top/bottoms on the chart.
Consecutive CandlesTrading as Easy as One, Two, and Three
Unlock the power of simplicity in trading with this innovative script inspired by KepalaBesi. Designed for traders of all levels, this script provides a user-friendly approach to market analysis, enabling you to make informed trading decisions effortlessly.
Key Features:
Simplified Signals: Receive clear buy and sell signals based on robust technical indicators. The script streamlines your trading process, allowing you to focus on execution rather than analysis.
Customizable Settings: Tailor the script to fit your trading style. Adjust parameters to suit your risk tolerance and market preferences, ensuring a personalized trading experience.
Visual Clarity: Benefit from intuitive visual cues on your chart, making it easy to identify optimal entry and exit points. The clean interface helps you make quick decisions without confusion.
Whether you’re a seasoned trader or just starting, "Trading as Easy as One, Two, and Three" simplifies your trading journey, turning complex strategies into straightforward actions. Embrace a more efficient way to trade and elevate your performance in the markets!
Get Started Today!
Join the community of traders who have discovered the ease of trading with KepalaBesi's inspired script. Elevate your trading experience and achieve your financial goals with confidence!