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.
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!
Three Bar Reversal Pattern [LuxAlgo]The Three Bar Reversal Pattern indicator identifies and highlights three bar reversal patterns on the user price chart.
The script also provides an option for incorporating various trend indicators used to filter out detected signals, allowing them to enhance their accuracy and help obtain a more comprehensive analysis.
🔶 USAGE
The script automates the detection of three-bar reversal patterns and provides a clear, visually identifiable signal for potential trend reversals.
When a reversal chart pattern is confirmed and price action aligns with the pattern, the pattern's boundaries are extended, forming levels, with the upper boundary often acting as a resistance and the lower boundary as a support.
The script allows users to filter patterns based on a specific trend direction detected by multiple trend indicators. Users can choose to view patterns that are either aligned with the detected trend or opposite to it.
Included trend indicators are: Moving Average Cloud, Supertrend, and Donchian Channels.
🔶 DETAILS
The three-bar reversal pattern is a technical analysis pattern that signals a potential reversal in the prevailing trend. The pattern consists of three consecutive bar formations:
First Bar and Second Bar: 2 consecutive of the same sentiment, representing the prevailing trend in the market.
Third Bar: Confirms the reversal by closing beyond the high or low of the first bar, signaling a potential change in market sentiment.
Various types of three-bar reversal patterns are documented. The script supports two main types:
Normal Pattern: Detects three-bar reversal patterns without requiring the third bar closing price to surpass the high (bullish pattern) or low (bearish pattern) of the first bar. It identifies basic formations signaling potential trend reversals.
Enhanced Pattern: Specifically identifies three-bar reversal patterns where the third bar closing price surpasses the high (bullish pattern) or low (bearish pattern) of the first bar. This type provides a more selective signal for stronger trend reversals.
🔶 SETTINGS
Pattern Type: Users can choose the type of 3-bar reversal patterns to detect: Normal, Enhanced, or All. "Normal" detects patterns that do not necessarily surpass the high/low of the first bar. "Enhanced" detects patterns where the third bar surpasses the high/low of the first bar. "All" detects both Normal and Enhanced patterns.
Derived Support and Resistance: Toggles the visibility of the support and resistance levels/zones.
🔹 Trend Filtering
Filtering: Allows users to filter patterns based on the trend indicators: Moving Average Cloud, Supertrend, and Donchian Channels. The "Aligned" option only detects patterns that align with the trend and conversely, the "Opposite" option detects patterns that go against the trend.
🔹 Trend Indicator Settings
Moving Average Cloud: Allows traders to choose the type of moving averages (SMA, EMA, HMA, etc.) and set the lengths for fast and slow-moving averages.
Supertrend: Options to set the ATR length and factor for Supertrend.
Donchian Channels: Option to set the length for the channel calculation.
🔶 RELATED SCRIPTS
Reversal-Candlestick-Structure .
Reversal-Signals .
Consecutive Candle Detector Consecutive Candle Detector , can be used to highlight impulsive moves . 3 or more candles with the same colour in the same direction .
Set an alert notification to let you know price has moved in an impulsive way and is forming a pattern to sell or buy
CRT candles Multi-Timeframe Intrabar(open Source ) # CRT candles Multi-Timeframe Intrabar Indicator( open source )
This advanced indicator visualizes Candle Range Theory (CRT) across multiple timeframes, providing traders with a comprehensive view of market structure and potential high-probability setups.
## Key Features:
- Supports 7 timeframes: 30 minutes, 1 hour, 2 hours, 4 hours, daily, weekly, and monthly
- Customizable color schemes for each timeframe
- Options to display mid-level (50%) lines for each range
- Bullish and bearish touch detection with customizable label display
- End-of-line labels for easy identification of CRT levels
- Flexible alert system for touch detections on each timeframe
- Adjustable minimum and maximum bar count for range validity
- Options for wick touch and body touch detection
## How It Works:
The indicator plots CRT ranges for each selected timeframe, identifying potential accumulation, manipulation, and distribution phases. It detects when price touches these levels, providing visual cues and optional alerts for potential trade setups.
snapshot
## Customization:
Users can fine-tune the indicator's appearance and functionality through various input options, including:
- Toggling timeframes on/off
snapshot
- Adjusting colors for range lines and mid-levels
- Controlling label display and count
- Setting alert preferences
- Adjusting line widths and label offsets
## Usage:
This indicator is designed for traders familiar with Candle Range Theory and multi-timeframe analysis. It can be used to identify potential entry and exit points, confirm trends, and spot potential reversals across different timeframes.
## Note:
This indicator is for educational and informational purposes only. Always combine with other forms of analysis and proper risk management when making trading decisions.
## Credits:
Inspired by Romeo's Candle Range Theory and developed to provide a comprehensive multi-timeframe analysis tool.
ATR Band, Stop loss , Take Profit Lines, and Pip Distance# ATR Band, Take Profit Lines, and Pip Distance Indicator
This indicator helps traders identify potential stop loss and take profit levels using Average True Range (ATR) bands and custom multipliers. It provides a visual representation of these levels and calculates the pip distance to stop loss, aiding in risk management and trade planning.
## Key Features:
- ATR-based upper and lower bands for potential stop loss levels
- Two take profit levels above and below the ATR bands
- Customizable ATR period and multipliers for bands and take profit levels
- Pip distance calculation to stop loss levels
- Adjustable colors for all elements
## How to Use:
1. The ATR bands (blue and red lines) suggest potential stop loss levels.
2. Take profit levels are shown as green lines above and below the ATR bands.
3. Labels display the pip distance from the current or last close to the stop loss levels.
## Customization:
- Adjust the ATR period and multipliers to fit your trading style
- Customize colors for better visibility on your chart
- Choose between current candle or last close for pip distance calculation
Remember, this indicator is for informational purposes only. Always manage your risk carefully and consider using it in conjunction with other analysis tools and your trading strategy.
Good luck with your trading!
Vasyl Ivanov | Support & Resistance ZonesSupport and Resistance Zones Indicator: Multi-Timeframe Detection
This indicator helps traders identify key Support and Resistance zones across multiple timeframes. With customizable settings for zone visibility, color coding, and granularity, it allows for flexible market analysis and adapts to different trading styles.
Key Features:
Support and Resistance Zones for Up to 4 Timeframes:
Detect and display support and resistance zones from up to 4 different timeframes, giving you a comprehensive view of potential reversal points across multiple market levels.
Customizable Colors for Each Timeframe:
Assign a unique color to each timeframe's zones to easily distinguish them on the chart. You can also switch off unnecessary timeframes to keep your chart focused and clutter-free.
Adjustable ATR Coefficient for Granularity:
Modify the ATR coefficient to control the precision of support and resistance zones. A higher coefficient will capture broader zones, while a lower coefficient will reveal more specific levels of support and resistance.
Control Zones' Vertical Distance Visibility:
Adjust the vertical distance visibility of the zones to fine-tune how far each zone extends on the chart, allowing you to better visualize their importance and proximity to current price action.
How It Works:
The Support and Resistance Zones Indicator analyzes price data to highlight important zones where price has historically reacted:
Select up to 4 timeframes to display support and resistance zones, which will be automatically drawn on your chart.
Adjust the ATR coefficient to fine-tune the size and granularity of the detected zones.
Customize zone colors to visually differentiate between timeframes, making it easier to analyze zones from various market levels.
Control zone visibility by adjusting the vertical distance each zone covers, helping you focus on the most relevant zones for your trading strategy.
Use Cases:
Multi-Timeframe Support and Resistance: Identify key zones from multiple timeframes to gain insight into potential price reactions and trend reversals.
Refined Analysis: Adjust the ATR coefficient and visibility settings to adapt the zones to current market volatility, ensuring precise trading decisions.
Custom Charting: Use different colors for each timeframe to keep your chart organized and visually clear, or turn off timeframes you don’t need for a cleaner view.
Why It’s Unique:
This indicator offers a comprehensive, customizable approach to identifying support and resistance zones across multiple timeframes, with the added flexibility of ATR-based granularity and zone visibility control. It’s ideal for traders who want deeper insight into potential reversal points while keeping their charts visually manageable.
Advanced Marubozu DetectorAdvanced Marubozu Detector
This indicator identifies bullish and bearish Marubozu candles based on specific conditions:
Bullish Marubozu: Detected when the candle's body is completely green without upper or lower shadows, and it closes higher than the high of the previous candle.
Bearish Marubozu: Detected when the candle's body is completely red without upper or lower shadows, and it closes lower than the low of the previous candle.
The indicator plots a green arrow below the bullish Marubozu and a red arrow above the bearish Marubozu directly on the chart, making it easy to spot these patterns in any time frame.
Designed by : Morteza Bakhshi
Unlock the Power of Seasonality: Monthly Performance StrategyThe Monthly Performance Strategy leverages the power of seasonality—those cyclical patterns that emerge in financial markets at specific times of the year. From tax deadlines to industry-specific events and global holidays, historical data shows that certain months can offer strong opportunities for trading. This strategy was designed to help traders capture those opportunities and take advantage of recurring market patterns through an automated and highly customizable approach.
The Inspiration Behind the Strategy:
This strategy began with the idea that market performance is often influenced by seasonal factors. Historically, certain months outperform others due to a variety of reasons, like earnings reports, holiday shopping, or fiscal year-end events. By identifying these periods, traders can better time their market entries and exits, giving them an advantage over those who solely rely on technical indicators or news events.
The Monthly Performance Strategy was built to take this concept and automate it. Instead of manually analyzing market data for each month, this strategy enables you to select which months you want to focus on and then executes trades based on predefined rules, saving you time and optimizing the performance of your trades.
Key Features:
Customizable Month Selection: The strategy allows traders to choose specific months to test or trade on. You can select any combination of months—for example, January, July, and December—to focus on based on historical trends. Whether you’re targeting the historically strong months like December (often driven by the 'Santa Rally') or analyzing quieter months for low volatility trades, this strategy gives you full control.
Automated Monthly Entries and Exits: The strategy automatically enters a long position on the first day of your selected month(s) and exits the trade at the beginning of the next month. This makes it perfect for traders who want to benefit from seasonal patterns without manually monitoring the market. It ensures precision in entering and exiting trades based on pre-set timeframes.
Re-entry on Stop Loss or Take Profit: One of the standout features of this strategy is its ability to re-enter a trade if a position hits the stop loss (SL) or take profit (TP) level during the selected month. If your trade reaches either a SL or TP before the month ends, the strategy will automatically re-enter a new trade the next trading day. This feature ensures that you capture multiple trading opportunities within the same month, instead of exiting entirely after a successful or unsuccessful trade. Essentially, it keeps your capital working for you throughout the entire month, not just when conditions align perfectly at the beginning.
Built-in Risk Management: Risk management is a vital part of this strategy. It incorporates an Average True Range (ATR)-based stop loss and take profit system. The ATR helps set dynamic levels based on the market’s volatility, ensuring that your stops and targets adjust to changing market conditions. This not only helps limit potential losses but also maximizes profit potential by adapting to market behavior.
Historical Performance Testing: You can backtest this strategy on any period by setting the start year. This allows traders to analyze past market data and optimize their strategy based on historical performance. You can fine-tune which months to trade based on years of data, helping you identify trends and patterns that provide the best trading results.
Versatility Across Asset Classes: While this strategy can be particularly effective for stock market indices and sector rotation, it’s versatile enough to apply to other asset classes like forex, commodities, and even cryptocurrencies. Each asset class may exhibit different seasonal behaviors, allowing you to explore opportunities across various markets with this strategy.
How It Works:
The trader selects which months to test or trade, for example, January, April, and October.
The strategy will automatically open a long position on the first trading day of each selected month.
If the trade hits either the take profit or stop loss within the month, the strategy will close the current position and re-enter a new trade on the next trading day, provided the month has not yet ended. This ensures that the strategy continues to capture any potential gains throughout the month, rather than stopping after one successful trade.
At the start of the next month, the position is closed, and if the next month is also selected, a new trade is initiated following the same process.
Risk Management and Dynamic Adjustments:
Incorporating risk management with this strategy is as easy as turning on the ATR-based system. The strategy will automatically calculate stop loss and take profit levels based on the market’s current volatility, adjusting dynamically to the conditions. This ensures that the risk is controlled while allowing for flexibility in capturing profits during both high and low volatility periods.
Maximizing the Seasonal Edge:
By automating entries and exits based on specific months and combining that with dynamic risk management, the Ultimate Monthly Performance Strategy takes advantage of seasonal patterns without requiring constant monitoring. The added re-entry feature after hitting a stop loss or take profit ensures that you are always in the game, maximizing your chances to capture profitable trades during favorable seasonal periods.
Who Can Benefit from This Strategy?
This strategy is perfect for traders who:
Want to exploit the predictable, recurring patterns that occur during specific months of the year.
Prefer a hands-off, automated trading approach that allows them to focus on other aspects of their portfolio or life.
Seek to manage risk effectively with ATR-based stop losses and take profits that adjust to market conditions.
Appreciate the ability to re-enter trades when a take profit or stop loss is hit within the month, ensuring that they don't miss out on multiple opportunities during a favorable period.
In summary, the Ultimate Monthly Performance Strategy provides traders with a comprehensive tool to capitalize on seasonal trends, optimize their trading opportunities throughout the year, and manage risk effectively. The built-in re-entry system ensures you continue to benefit from the market even after hitting targets within the same month, making it a robust strategy for traders looking to maximize their edge in any market.
Risk Disclaimer:
Trading financial markets involves significant risk and may not be suitable for all investors. The Monthly Performance Strategy is designed to help traders identify seasonal trends, but past performance does not guarantee future results. It is important to carefully consider your risk tolerance, financial situation, and trading goals before using any strategy. Always use appropriate risk management and consult with a professional financial advisor if necessary. The use of this strategy does not eliminate the risk of losses, and traders should be prepared for the possibility of losing their entire investment. Be sure to test the strategy on a demo account before applying it in live markets.
SMC Liquidity ZonesThis script implements a "Smart Money Concept (SMC) Liquidity Zones" indicator in Pine Script™ for TradingView. It helps identify key liquidity zones, detect potential order blocks, and highlight market structure breaks. The script is designed for traders who use liquidity concepts and order blocks to make informed trading decisions based on price action.
1. Indicator Overview:
The "SMC Liquidity Zones" indicator plots areas of high and low liquidity and detects potential order blocks after price breaks these zones. It also highlights market structure shifts when price moves past the liquidity zones, allowing traders to identify potential areas of price reversal or continuation.
2. Key Features:
Liquidity Zones:
Liquidity zones are regions where price is likely to experience strong reactions due to resting orders (buy or sell).
The script identifies these zones by looking for pivot highs and pivot lows using a customizable lookback period.
High Liquidity Zone: Found at pivot highs, indicating a potential zone of sell-side liquidity (where sellers may overwhelm buyers).
Low Liquidity Zone: Found at pivot lows, indicating a potential buy-side liquidity zone (where buyers may absorb selling pressure).
Order Blocks Detection:
After a liquidity zone is broken, the script marks an order block.
Order Block: An area where institutional traders (smart money) might have placed large orders, and price is expected to return to this area for liquidity.
When the price closes above the high liquidity zone, the previous high is assumed to form the order block high, while the closing price forms the order block low.
Similarly, when price closes below the low liquidity zone, the previous low is assumed to form the order block low, and the closing price forms the order block high.
Market Structure Breaks:
Bullish Market Structure Break: Occurs when price closes above the high liquidity zone, potentially signaling an upward trend.
Bearish Market Structure Break: Occurs when price closes below the low liquidity zone, signaling a potential downward trend.
The script highlights these breaks by changing the chart’s background color to green for bullish structure and red for bearish structure.
Customizable Settings:
Pivot Lookback Period: You can set the lookback period to adjust how the indicator identifies pivot highs and lows.
Visibility of Liquidity Zones and Order Blocks: The script provides options to toggle the display of liquidity zones and order blocks on or off, allowing traders to customize the chart view.
3. Code Structure:
Liquidity Zones Identification:
The script uses the ta.pivothigh() and ta.pivotlow() functions to detect pivot points over a customizable lookback period.
These pivots mark significant areas of price where liquidity might rest, and the zones are displayed using dashed lines—red for high liquidity and green for low liquidity.
Order Block Logic:
When price breaks through a liquidity zone (either above or below), the script marks an order block. This block is a potential area where price could return, creating opportunities for entries or exits.
The order block is visualized as a blue box on the chart, indicating areas where smart money may have positioned their orders.
Market Structure Break Highlights:
The background color changes based on whether the market has broken into a bullish or bearish structure:
Bullish Market Structure: Green background.
Bearish Market Structure: Red background.
This visual cue helps traders quickly assess market sentiment and potential future price direction.
4. Use Case:
This indicator is particularly suited for traders following Smart Money Concepts (SMC), liquidity-based trading, or order block strategies. It helps them:
Identify potential price reaction zones (liquidity zones).
Spot order blocks, which are areas where institutional traders are likely to have placed large orders.
Recognize market structure shifts, signaling potential trend reversals or continuations.
Highlight trading opportunities based on liquidity breaks and market structure changes.
ZERO LAG TRADE SIGNALS by BootcampZeroThe ZERO LAG TRADE SIGNALS by BootcampZero indicator is a versatile tool designed to help traders identify optimal entry and exit points for both short-term scalping and long-term trading across multiple time frames. It combines several well-known technical analysis methods, including moving averages, trend analysis, directional indicators, and adaptive trend calculations, to deliver reliable buy and sell signals.
Short-Term Scalping (Under 5-Minute Time Frames)
For short-term traders who prefer quick trades on lower time frames, such as under 5 minutes, this indicator uses a combination of the EMA (Exponential Moving Average) and SMA (Simple Moving Average) to spot fast trend reversals. The indicator is particularly useful for scalpers because it focuses on detecting short-term price momentum by comparing the faster-moving averages with slower ones, triggering signals based on their crossover.
Buy Signals are generated when a fast-moving EMA crosses above a slower-moving SMA, indicating upward momentum.
Sell Signals are triggered when the fast-moving EMA crosses below the slower-moving SMA, signaling potential downward price movement.
In addition, the Adaptive Trend Finder feature dynamically adjusts to recent price deviations and volatility, making it easier for scalpers to spot the prevailing short-term trend with high confidence. The indicator also uses ADX (Average Directional Index) for momentum confirmation, ensuring that signals are only generated during strong price trends, reducing false positives in sideways markets.
Long-Term Trading (Above 1-Day Charts)
When applied to higher time frames such as daily charts or above, this indicator excels in generating reliable long-term buy and sell signals, perfect for swing traders and long-term investors. The Kaufman Adaptive Moving Average (KAMA) and the Ichimoku Cloud are used to assess long-term trends by filtering out market noise and focusing on sustainable price direction.
KAMA helps to adapt the moving average based on market volatility, providing smoother signals that minimize whipsawing in longer-term trades.
Ichimoku Cloud provides additional trend confirmation by identifying whether the market is bullish or bearish based on the relationship between key lines like the Tenkan-Sen (Conversion Line) and Kijun-Sen (Base Line), and how the current price interacts with the Ichimoku Cloud itself.
The indicator also integrates PPO (Percentage Price Oscillator) to capture divergences between price and momentum, further supporting traders in holding positions for extended periods when the signal strength is robust.
Key Technical Values and Factors for Signals
EMA and SMA Crossover: Fast EMA vs. Slow SMA to detect short-term trend reversals.
ADX: Helps gauge the strength of the trend; signals are only generated in trending markets.
KAMA: Filters noise in long-term trends, providing smooth signals based on market volatility.
Ichimoku Cloud: Offers insight into long-term trends and momentum by analyzing price relative to the cloud.
PPO: Detects divergences between price and momentum for trend continuation or reversal signals.
How It Works
Buy signals are generated when bullish conditions are met, and the indicator confirms momentum with ADX, crossover of the EMAs, or a bullish breakout from the Ichimoku Cloud.
Sell signals are triggered when bearish conditions prevail, confirmed by the same factors in reverse, such as a bearish EMA crossover or weakness in ADX.
By combining these powerful tools, ZERO LAG TRADE SIGNALS by BootcampZero offers traders a comprehensive system for both quick scalping trades and more conservative long-term positioning, providing reliable and adaptive signals across different market conditions.
Multi Timeframe Breakout/Retest (Gap, FVG, B&R)📊 Breakout & Retest Multi-Timeframe Indicator - Support and Resistance Indicator 📊
In short, this indicator scans 4 timeframes of your choice to check if a proper breakout of your support and resistance lines you input has happened. It color-coats your support and resistance levels based on the type of breakout, labels the levels, and shows which timeframes have had a proper breakout in an interactive table. This tool is primarily used to determine when a breakout—whether Fair Value Gap (FVG), gap, or regular—has occurred, allowing you to confidently play the retest.
🔍 Types of Breakouts:
This indicator highlights three types of breakouts:
Regular Breakouts: Defined when a candle breaks above or below your level, then closes, and the next candle’s wick does not touch that level.
Gap Breakouts: A gap breakout occurs when we gap above or below the level—often happening on daily candle opens and closes.
FVG Breakouts: An FVG breakout happens when a breakout above or below your level forms a Fair Value Gap, with your level inside the gap. These breakouts tend to have stronger retests
📋 Interactive Table
The table helps you visualize which levels are experiencing a breakout and on which timeframes. It color-codes each level based on breakout activity:
🔴 Red: No active breakouts
🟢 Green: Active regular breakout
🔵 Blue: Active FVG breakout
🟡 Yellow: Active gap breakout
🎨 Color Coating & Minimum Timeframe Breakouts
To make sure you're playing a true breakout, you want confirmation on at least 3 of your chosen timeframes. This indicator has an adjustable "active minimum breakout" setting, which can be customized between 1 and 4 timeframes. I personally find that when a breakout occurs on at least 3 timeframes, the retest tends to have a higher success rate. But you can adjust this setting based on your strategy.
🔧 Future Updates (Follow for Updates):
🚨 Alerts: Set alerts for breakouts and retests.
⚙️ Improved Error Handling: For a smoother experience.
BB NWOG - NDOG - RTH NDOGThe BB Gaps Indicator is a comprehensive tool designed for traders looking to track and visualize significant opening gaps within various market sessions, including:
• New Day Opening Gaps (NDOGs): These gaps form between the closing price of the previous day and the opening price of the new day, providing insight into potential liquidity pools or imbalances.
• RTH New Day Opening Gaps (RTH NDOGs): This focuses on gaps that occur during Regular Trading Hours (RTH), capturing gaps between session closures and the next day’s open, ideal for intraday traders.
• New Week Opening Gaps (NWOGs): These gaps track the price differential between the last candle of the week and the first candle of the new trading week, providing a broader market perspective for swing traders.
Key Features:
• Dynamic Plotting: Visualize gaps with customizable extensions, box fills, and mid-range (50%) or quarter-range (25%, 75%) levels.
• Sidecar Labels: Handy sidecar labels display the gap information right on the chart for easy reference.
• Multiple Session Support: Track gaps across different trading sessions (Daily, RTH, Weekly) with adjustable plot extensions and fill styles.
• Configurable Limits: Set a maximum number of gaps to plot, ensuring your chart remains clean and clutter-free.
Day Open vs Previous Day CloseThe concept of comparing the **Day Open** to the **Previous Day Close** is used frequently in technical analysis to gauge the sentiment or momentum at the start of a new trading day.
### Key Terms:
- **Day Open**: The first traded price of an asset when the market opens for the day.
- **Previous Day Close**: The last traded price of an asset when the market closed on the previous day.
### Importance of Day Open vs. Previous Day Close
1. **Market Sentiment Indicator**:
- If the **Day Open** is **higher** than the **Previous Day Close**, it suggests **bullish** sentiment (buyers are willing to pay more than yesterday's closing price).
- If the **Day Open** is **lower** than the **Previous Day Close**, it suggests **bearish** sentiment (sellers are driving prices down compared to the last price from the previous day).
2. **Potential Gaps**:
- A **gap** occurs when there is a significant difference between the Day Open and Previous Day Close, often due to events or news released after the market closed. This gap can indicate strong momentum in either direction.
- **Gap Up**: Open > Close (bullish).
- **Gap Down**: Open < Close (bearish).
3. **Trend Continuation or Reversal**:
- If the market opens above the previous day’s close and continues to rise, it often signals a **continuation of an upward trend**.
- Conversely, if the market opens below and keeps falling, it suggests **downward momentum** is still strong.
4. **Trading Strategies**:
- **Opening Range Breakout**: Traders may look for the price to break above or below the opening range (the price range between the Day Open and the first few candles) to confirm a strong bullish or bearish move.
- **Reversals**: Some traders look for price reversals if the price spikes far above or below the previous day's close, expecting that the market might correct itself and return towards the previous day’s closing levels.
In the context of your **Opening Range Indicator**, the concept of the Day Open sweeping and closing above or below the Previous Day Close is used to identify whether the new day is setting up for a **buy (bullish)** or **sell (bearish)** opportunity.