Prometheus Trend LinesPrometheus Trend lines is a tool that automatically plots support and resistance trend lines on your chart. These lines generally come out looking like triangles or wedges.
There are two ways that we do it, the first way we’ll cover is lookback period generated trend lines.
The two points for the lines are generated as follows, for a resistance line that is blue by default, the point furthest in the past is the highest high in the specified lookback period. 50 is the default, the point closest to the present is the current bar’s high. The opposite is true for support lines, the point furthest in the past is the lowest low, and the most present point is the current bar’s low.
The interval is created by ensuring after the lookback period is met to plot the lines, that period needs to pass again. That is so we can let the potential results of price breaking above or below the levels play out.
Lines will be plotted on the newest lookback period bar, after a period with no plot. What I mean is right after lines are plotted, users will have to wait for double the lookback period to get newer lines. So if you select 50 for your lookback value, after new lines are plotted, on the 100th bar after the new lines will be there. This is to avoid having a line on your chart change, we’d rather plot a line once, than plot it and keep changing it.
Each line is 50 bars long and all the distance in between them is 50 bars. The line is drawn simply with the shortest path from the back point to the more present one, this allows us to see breaks in the line and get a better idea of how strong the next move may be.
We see in this wedge on NASDAQ:TSLA that there were two false breaks before the price re-entered the wedge and continued falling. It could be interpreted as buyers did not have enough strength to get NASDAQ:TSLA out of a downtrend there.
We also offer an intra day line.
In this image captured with the bar replay feature we see the lines being generated with the high and low of the day, that is the method we use. Furthermore, a user may notice that the ends of the line are not at the newest bar. That is on purpose, we use the
barstate.islastconfirmedhistory
to ensure that we don’t change and plot too many lines at a given point. These two lines will reset every day as time changes and will auto use the current day high and low.
Users have the option to select a custom lookback period, as well as turn on or off the plots for either method of generating lines.
We encourage traders to not follow indicators blindly, none are 100% accurate. The lines generated are not guaranteed to be perfect support and resistance levels. We encourage the use of discretion. Please comment on any desired updates, all criticism is welcome!
Candlestick analysis
Open - Candlestick-ChartIt forces the Open indicator to use the candlestick open values. For example, if you need to use a Heikin-Ashi chart with the Open indicator based on regular candlestick data, this indicator will ensure it does not change.
200 MAPD - Relative Price with candlesticks and divergenceThis is a MAPD (moving average percent difference) indicator that plots the results in candlestick format and with an option to show divergencies of a specific look back period. It's built with 200 moving average, which cannot be adjusted. A divergence is when the actual asset price moves in the opposite direction than the MAPD.
MAPD measures the percent difference of the asset price from the moving average, in this case, 200 moving average.
MAPD is my favorite indicator because it's an leading indicator, capable of predicting upcoming directions pretty accurately if you learn how to use it and how it works on your specific asset. With candlesticks instead of line you can also apply your own price action techniques.
I created this to be somewhat of a substitute for the actual price of the asset, meaning that price action analysis should be applied on this indicator and asset price is used as a secondary to spot divergencies.
The chart showing on this description is my own discretionary plotting of technical aspects. Divergencies will be enabled per default, but my preference is to have them off and plot my own analysis. And turn them on to get an overview from time to time. You can also change the look back period for the divergencies as you like.
I would say it works best from 1 hour to 1 day, maybe 1 week if you're bottom fishing in a big bear trend.
If you try it out and like it i would love to hear how you find it useful in the comments, will be helpful for me and others :)
123 Reversal Trading StrategyThe 123 Reversal Trading Strategy is a technical analysis approach that seeks to identify potential reversal points in the market by analyzing price patterns. This Pine Script™ code implements a version of this strategy, and here’s a detailed description:
Strategy Overview
Objective: The strategy aims to identify bullish reversal patterns using the 123 pattern and manage trades with a specified holding period and a 20-day moving average as an additional exit condition.
Key Components:
Holding Period: The number of days to hold a trade is adjustable, with the default set to 7 days.
Moving Average: A 200-day simple moving average (SMA) is used to determine an exitcondition based on the price crossing this average.
Pattern Recognition:
Condition 1: The low of the current day must be lower than the low of the previous day.
Condition 2: The low of the previous day must be lower than the low from three days ago.
Condition 3: The low two days ago must be lower than the low from four days ago.
Condition 4: The high two days ago must be lower than the high three days ago.
Entry Condition: All four conditions must be met for a buy signal.
Exit Condition: The position is closed either after the specified holding period or when the price reaches or exceeds the 200-day moving average.
Relevant Literature
Graham, B., & Dodd, D. L. (1934). Security Analysis. This classic work introduces fundamental analysis and technical analysis principles which are foundational to understanding patterns like the 123 reversal.
Murphy, J. J. (1999). Technical Analysis of the Financial Markets. Murphy provides an extensive overview of technical indicators and chart patterns, including reversal patterns similar to the 123 pattern.
Elder, A. (1993). Trading for a Living. Elder discusses various trading strategies and technical analysis techniques that complement the understanding of reversal patterns and their application in trading.
Risks and Considerations
Pattern Reliability: The 123 reversal pattern, like many technical patterns, is not foolproof. It can generate false signals, especially in volatile or trending markets. This may lead to losses if the pattern does not play out as expected.
Market Conditions: The strategy may perform differently under various market conditions. In strongly trending markets, reversal patterns might not be as reliable.
Lagging Indicators: The use of the 200-day moving average as an exit condition can be considered a lagging indicator. This means it reacts to price movements with a delay, which might result in late exits and missed profit opportunities.
Holding Period: The fixed holding period of 7 days may not be optimal for all market conditions or stocks. It is essential to adjust the holding period based on market dynamics and individual stock behavior.
Overfitting: The parameters used (like the number of days and moving average length) are set based on historical data. Overfitting can occur if these parameters are tailored too specifically to past data, leading to reduced performance in future scenarios.
Conclusion
The 123 Reversal Trading Strategy is designed to identify potential market reversals using specific conditions related to price lows and highs. While it offers a structured approach to trading, it is essential to be aware of its limitations and potential risks. As with any trading strategy, it should be tested thoroughly in various market conditions and adjusted according to the individual trading style and risk tolerance.
Futures Risk CalculatorFutures Risk Calculator Script - Description
The Futures Risk Calculator (FRC) is a comprehensive tool designed to help traders effectively manage risk when trading futures contracts. This script allows users to calculate risk/reward ratios directly on the chart by specifying their entry price and stop loss. It's an ideal tool for futures traders who want to quantify their potential losses and gains with precision, based on their trading account size and the number of contracts they trade.
What the Script Does:
1. Risk and Reward Calculation:
The script calculates your total risk in dollars and as a percentage of your account size based on the entry and stop-loss prices you input.
It also calculates two key levels where potential reward (Take Profit 1 and Take Profit 2) can be expected, helping you assess the reward-to-risk ratio for any trade.
2. Customizable Settings:
You can specify the size of your trading account (available $ for Futures trading) and the number of futures contracts you're trading. This allows for tailored risk management that reflects your exact trading conditions.
3. Live Chart Integration:
You add the script to your chart after opening a futures chart in TradingView. Simply click on the chart to set your Entry Price and Stop Loss. The script will instantly calculate and display the risk and reward levels based on the points you set.
Adjusting the entry and stop-loss points later is just as easy: drag and drop the levels directly on the chart, and the risk and reward calculations update automatically.
4. Futures Contract Support:
The script is pre-configured with a list of popular futures symbols (like ES, NQ, CL, GC, and more). If your preferred futures contract isn’t in the list, you can easily add it by modifying the script.
The script uses each symbol’s point value to ensure precise risk calculations, providing you with an accurate dollar risk and potential reward based on the specific contract you're trading.
How to Use the Script:
1. Apply the Script to a Futures Chart:
Open a futures contract chart in TradingView.
Add the Futures Risk Calculator (FRC) script as an indicator.
2. Set Entry and Stop Loss:
Upon applying the script, it will prompt you to select your entry price by clicking the chart where you plan to enter the market.
Next, click on the chart to set your stop-loss level.
The script will then calculate your total risk in dollars and as a percentage of your account size.
3. View Risk, Reward, and (Take Profit):
You can immediately see visual lines representing your entry, stop loss, and the calculated reward-to-risk ratio levels (Take Profit 1 and Take Profit 2).
If you want to adjust the entry or stop loss after plotting them, simply move the points on
the chart, and the script will recalculate everything for you.
4. Configure Account and Contracts:
In the script settings, you can enter your account size and adjust the number of contracts you are trading. These inputs allow the script to calculate risk in monetary terms and as a percentage, making it easier to manage your risk effectively.
5. Understand the Information in the Table:
Once you apply the script, a table will appear in the top-right corner of your chart, providing you with key information about your futures contract and the trade setup. Here's what each field represents:
Account Size: Displays your total account value, which you can set in the script's settings.
Future: Shows the selected futures symbol, along with key details such as its tick size and point value. This gives you a clear understanding of how much one point or tick is worth in dollar terms.
Entry Price: The exact price at which you plan to enter the trade, displayed in green.
Stop Loss Price: The price level where you plan to exit the trade if the market moves against you, shown in red.
Contracts: The number of futures contracts you are trading, which you can adjust in the settings.
Risk: Highlighted in orange, this field shows your total risk in dollars, as well as the percentage risk based on your account size. This is a crucial value to help you stay within your risk tolerance and manage your trades effectively.
Price Action Volumetric Order Blocks [UAlgo]"Price Action Volumetric Order Blocks" indicator aims to identify significant price zones in the market based on a combination of price action and volume analysis. It utilizes the concept of "Order Blocks," which are areas on the chart where large orders are believed to have been placed, influencing price behavior. By analyzing price swings and volume activity, the indicator attempts to highlight potential support and resistance levels.
🔶 Key Features
Swing Length: This input allows you to adjust the timeframe used to identify price swings for order block detection. A longer swing length will focus on larger timeframes and potentially capture stronger order blocks.
Show Last X Order Blocks: This controls the number of order blocks displayed on the chart. You can choose to visualize a specific number of the most recent order blocks.
Violation Check: This setting determines how the indicator identifies potential order block violations. You can choose between "Wick" or "Close" violations. A "Wick" violation occurs when the price (wick) extends beyond the order block boundaries, while a "Close" violation signifies that the closing price breaches the order block.
Hide Overlap: This option allows you to manage the display of overlapping order blocks. If set to "True," only non-overlapping order blocks will be shown, potentially offering a clearer visualization.
Colors: You can customize the color scheme for bullish (upward) and bearish (downward) order blocks to enhance visual clarity on the chart.
🔶 Interpreting the Indicator
Order Blocks: The teal-colored boxes represent bullish order blocks, indicating areas of demand where buying pressure is likely to be strong. Red-colored boxes represent bearish order blocks, indicating areas of supply where selling pressure is likely to be dominant. These zones often signal potential reversal points or consolidation areas.
Strength Calculations: The indicator calculates the relative strength of bullish and bearish blocks based on volume. A higher bullish strength indicates stronger buying pressure, while higher bearish strength suggests more selling pressure. Traders can use this information to gauge the strength of a price level and predict future price movements.
Market Structure Lines: The indicator displays horizontal lines to depict the current market structure, labeled as "MSB" (Market Sell Balance) or "BOS" (Break of Structure). These lines can help visualize the prevailing trend direction.
Order Block Violations: When a price wick or close breaches an order block (depending on the chosen violation type), the corresponding order block visualization is removed from the chart. This can signify a potential weakening of the identified support or resistance zone.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
P.I.B. System (Pin Bar | Inside Bar) // AlgoFyreThe "P.I.B. System (Pin Bar | Inside Bar)" identifies bullish and bearish pin bars and inside bars on a price chart. It highlights potential market reversals by plotting labels and colorizing bars, providing traders with visual cues for better decision-making.
Description
The "P.I.B. System (Pin Bar | Inside Bar)" script is designed to help traders identify potential reversal points in the market by detecting bullish and bearish pin bars and inside bars. A pin bar is a candlestick pattern that indicates a potential reversal, characterized by a small body and a long wick. Inside bars are candlestick patterns where the current bar's high and low are within the previous bar's range, indicating potential consolidation before a breakout.
This script allows customization of various parameters to fine-tune the identification of pin bars and inside bars. When a pin bar or an inside bar is detected, the script plots a label on the chart and colorizes the bars to highlight these patterns. This tool is useful for traders looking to identify potential reversal points and make informed trading decisions.
Explanation of All Options
Pin-Wick Size Ratio Minimum Value : The minimum ratio of the wick size to the total candle size for a pin bar to be considered valid. Default is 0.66.
Candle Body Size Ratio Maximum Value : The maximum ratio of the body size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Handle-Wick Wick Size Ratio Maximum Value : The maximum ratio of the opposite wick size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Filter Out Small Candles : Option to filter out small candles based on the previous candle's size. Default is true.
Small Candle Size Ratio : The ratio used to determine if a candle is considered small compared to the previous candle. Default is 2.0.
Identify Inside Bars : Option to identify inside bars following a pin bar. Default is true.
Show Only P.I.B. : Option to show only the bars where a pin bar is followed by an inside bar. Default is true.
Hide Horizontal Rays : Option to hide horizontal rays drawn from the last identified pin bars. Default is false.
How to Use
To use this script, add it to your chart. Customize the input parameters to match your trading strategy. The script will automatically identify and highlight bullish and bearish pin bars and inside bars on the chart. Use the visual cues provided by the labels and colorized bars to make informed trading decisions.
EagleVision.V33 - Inside Pin Bar EagleVision.V33 is a specialized indicator designed for traders who focus on price action. It detects and highlights the Inside Pin Bar candle pattern, a key signal that can indicate potential market reversals or trend continuations. This tool is invaluable for traders who rely on precise candlestick patterns to make data-driven decisions.
Features:
• Customizable Pattern Highlighting: EagleVision.V33 allows traders to choose custom colors to highlight Inside Pin Bar patterns directly on the chart. This makes identifying critical trading signals straightforward, even in busy market conditions.
• Pin Bar Candle Customization: Beyond just highlighting, the indicator enables users to change the color of the detected pin bar itself, ensuring that crucial patterns are immediately visible and easy to track.
• Versatile Timeframe Application: The indicator can be applied across various timeframes, from intraday (1 minute, 5 minutes) to longer-term charts (daily, weekly). Users can easily switch between timeframes within the settings, making it adaptable to different trading strategies.
• Enhanced Visual Clarity with Background Highlighting: For traders who prefer additional emphasis, EagleVision.V33 offers an option to apply a background color that highlights the entire region where the Inside Pin Bar pattern is detected.
How It Works:
• Inside Bar Identification: The indicator first identifies an Inside Bar, where a candle’s high and low fall within the range of the preceding candle (the mother bar). This is a foundational pattern in price action trading.
• Pin Bar Detection: It then checks if the candle is a Pin Bar, characterized by a small body and a prominent wick (either upper or lower), which typically signals potential market turning points.
• Pattern Highlighting & Visualization: Upon detecting both conditions (Inside Bar and Pin Bar), EagleVision.V33 highlights the pattern using customizable shapes and colors, and optionally applies a background shade to further enhance visibility.
Use Cases:
• Reversals at Key Levels: The Inside Pin Bar pattern often appears at significant support or resistance levels, signaling potential reversals. EagleVision.V33 helps traders spot these opportunities early.
• Trend Continuations: In trending markets, this pattern can confirm the continuation of a trend, providing traders with the confidence to hold positions or enter new ones.
Customization Options:
• Pattern Highlight Color: Choose a distinct color for the label or shape that marks the Inside Pin Bar pattern, making it stand out against other chart elements.
• Pin Bar Candle Color: Customize the color of the Pin Bar itself, ensuring that it is immediately recognizable on the chart.
• Background Highlighting: Optionally apply a background color to the chart area where the pattern is detected, further enhancing visual clarity and making it easier to spot potential trading opportunities.
Why EagleVision.V33 Stands Out:
EagleVision.V33 is not just another pattern detection tool; it’s engineered for precision and clarity, with highly customizable features that cater to the unique needs of price action traders. By combining both Inside Bar and Pin Bar detection, it offers a powerful edge, providing traders with actionable insights directly on their charts.
S&R Tracker [CHE]Dynamic S&R Tracker
1. Introduction to the Tool
Purpose:
The Dynamic S&R Tracker is a powerful TradingView tool designed to automatically detect and display support and resistance levels across multiple timeframes. It dynamically adjusts based on the current chart’s timeframe, making it easier for traders to identify key price levels for both shortterm and longterm analysis.
Key Features:
Dynamic adjustment of support and resistance levels based on realtime market conditions
Simultaneous visualization of support and resistance for two different timeframes
Automatic selection of optimal timeframes for accurate and efficient analysis
2. Functionality
Automatic Timeframe Selection:
The Dynamic S&R Tracker uses a smart function to automatically adjust the analysis timeframe based on the market’s current conditions. It selects the appropriate intervals (e.g., 1 hour, 1 day, 1 month) for displaying support and resistance levels, reducing the need for manual intervention.
Support and Resistance Identification:
The tool calculates and identifies key pivot highs and lows, which act as support and resistance levels. These levels are displayed for two timeframes at once, giving a comprehensive view of the market's shortterm and longterm trends.
3. Benefits
Efficiency:
With automatic adjustments, traders save time by not having to manually change timeframes or recalculate levels.
Enhanced Market Insight:
By analyzing two timeframes simultaneously, the tool provides a broader market perspective, helping traders spot potential reversal points and breakouts.
Customizability:
Though dynamic, the Dynamic S&R Tracker offers flexibility for manual adjustments, allowing traders to finetune the analysis based on personal preferences or market strategies.
4. Visualization
Support and Resistance Levels:
The tool uses clear visual markers—green for support and red for resistance—making it easy to spot critical price zones on the chart.
Informative Timeframe Display:
The tracker includes a customizable information box that shows the selected timeframes used in the analysis, keeping the user informed at all times.
5. Conclusion
The Dynamic S&R Tracker is an essential tool for traders seeking an automated, precise, and flexible way to analyze support and resistance across multiple timeframes. By offering dynamic adjustments and clear visual feedback, it simplifies the decisionmaking process and provides deeper market insights.
Ideal for traders who need a streamlined and adaptable solution to better navigate market trends.
1 (or) 5-Minute Scalping Strategy - KGP1-Minute Scalping Strategy - KGP
Overview: This indicator is designed for short-term traders who engage in 1 (or) 5-minute scalping. It combines several technical analysis tools to provide buy and sell signals, helping traders make informed decisions quickly.
Key Features:
VWAP (Volume Weighted Average Price):
Purpose: VWAP provides the average price a security has traded at throughout the day, based on both volume and price.
Usage: Helps identify the overall trend and potential entry points. When the price is above VWAP, it indicates a bullish trend; when below, it indicates a bearish trend.
RSI (Relative Strength Index):
Purpose: RSI measures the speed and change of price movements, indicating overbought or oversold conditions.
Usage: The RSI values between 30 and 70 are used to filter trades. A value above 70 indicates overbought conditions, while below 30 indicates oversold conditions.
Custom OBV (On Balance Volume):
Purpose: OBV uses volume flow to predict changes in stock price.
Usage: Helps confirm the strength of a trend. Increasing OBV indicates accumulation (buying pressure), while decreasing OBV indicates distribution (selling pressure).
Multi-Timeframe Analysis:
Purpose: Confirms signals by analyzing RSI on a higher timeframe (5-minute chart).
Usage: Ensures that signals on the 1-minute chart align with the broader trend on the 5-minute chart, reducing false signals.
Signals:
Buy Signal:
Triggered when the price crosses above the VWAP, and the RSI is between 50 and 70 on both the 1-minute and 5-minute charts.
Visual Cue: A green “BUY” label appears below the bar.'
Sell Signal:
Triggered when the price crosses below the VWAP, and the RSI is between 30 and 50 on both the 1-minute and 5-minute charts.
Visual Cue: A red “SELL” label appears above the bar.
Alerts:
Buy Alert: Notifies you when a buy signal is detected.
Sell Alert: Notifies you when a sell signal is detected.
Additional Visuals:
VWAP Line: Plotted in blue to show the average price based on volume.
OBV Line: Plotted in purple to indicate volume flow.
RSI Line: Plotted in orange with horizontal lines at 70 (overbought) and 30 (oversold) levels.
VWAP and MA Crossover SignalsDescription: The VWAP and 20 MA Crossover Indicator is a powerful trading tool designed to capitalize on trend reversals and momentum shifts. This indicator overlays two key technical analysis tools on the price chart: the Volume Weighted Average Price (VWAP) and the 20-period Moving Average (MA).
Functionality:
VWAP: Represents the average price a security has traded at throughout the day, based on volume and price. It is a measure of the market's trend and trading volume.
20 MA: Offers a smoothed average of the closing prices over the last 20 periods, providing a glimpse of the underlying trend.
Signals:
Buy Signal: Generated when the VWAP crosses above the 20-period MA, suggesting an upward momentum and a potential bullish trend reversal.
Sell Signal: This occurs when the VWAP crosses below the 20-period MA, indicating a downward momentum and a potential bearish trend reversal.
Usage: This indicator is ideal for traders focusing on intraday and swing trading strategies, providing clear visual cues for entry and exit points based on the interaction between VWAP and the 20 MA. By identifying key crossover points, traders can make informed decisions about potential bullish or bearish movements in the market.
Application: To use this indicator, simply add it to your TradingView chart setup. The buy and sell signals will be displayed directly on the chart, allowing for easy interpretation and quick action. Adjust the settings to fit your specific trading strategy or market conditions.
Next Candle Predictor with Auto HedgingThe "Next Candle Predictor with Auto Hedging" is a Pine Script indicator designed for use on TradingView. It combines predictive analysis and basic hedging techniques to assist traders in making informed decisions. Here's a detailed explanation suitable for public sharing on TradingView:
Overview
This script predicts the closing price of the next candle based on the current candle's open and close prices. It also includes an auto hedging feature that suggests potential hedging levels to mitigate risk based on the predicted price movement. The indicator is particularly useful for traders looking to enhance their trading strategies with predictive analytics.
Key Features
Next Candle Prediction:
The indicator analyzes the current candle's data (open and close prices) to predict whether the next candle will close higher or lower.
If the current candle is bullish (close > open), it predicts a higher close for the next candle. Conversely, if the candle is bearish, it predicts a lower close.
Auto Hedging:
The script calculates a hedging level based on the predicted close price.
If the predicted close indicates a bullish move, the hedge level is set slightly below the predicted close, suggesting where a trader might consider placing a hedge. If the prediction indicates a bearish move, the hedge level is set above the predicted close.
Elliott Wave Analysis:
The script includes a basic implementation of identifying significant price movements, akin to Elliott Wave analysis, by detecting peaks and troughs over a specified number of bars (wave length).
This can help traders identify potential trend reversals or continuations.
How It Works
Input Parameters: Users can customize the waveLength parameter, which determines how many bars back the script looks to identify significant highs and lows.
Peak and Trough Detection: The script identifies the highest high and lowest low within the specified wave length, plotting these points on the chart for visual reference.
Prediction Logic: The predicted close is calculated based on the current candle's behavior, allowing traders to anticipate price movements.
Hedging Level Calculation: The script dynamically calculates a hedging level based on the predicted close, providing a visual cue for potential risk management strategies.
Visual Representation
The indicator plots:
Elliott Wave Highs: Marked in green.
Elliott Wave Lows: Marked in red.
Predicted Close: Shown as a blue step line.
Hedge Level: Displayed as an orange step line.
Benefits
Enhanced Decision-Making: By providing predictions and potential hedging levels, traders can make more informed decisions about entering or exiting positions.
Risk Management: The auto hedging feature helps traders manage risk by suggesting levels where they might place hedges against adverse price movements.
Customizable: The script allows for user-defined parameters, making it adaptable to different trading strategies and market conditions.
Conclusion
The "Next Candle Predictor with Auto Hedging" indicator is a powerful tool for traders seeking to enhance their trading strategies with predictive analytics and risk management techniques. By utilizing this indicator, traders can gain insights into potential price movements and make more informed trading decisions.
Feel free to explore the script, customize it to fit your trading style, and engage with the TradingView community for further insights and improvements!
Related
MMDN-Pin BarThis Pine Script code is designed to highlight Pin Bars on a TradingView chart by changing their color to yellow. A Pin Bar is a type of candlestick pattern that typically indicates a potential reversal in the market. The script uses specific conditions to identify bullish and bearish Pin Bars based on the size of the candlestick body and the length of the shadows (wicks).
1. Calculate Body and Shadows:
body: The absolute difference between the close and open prices.
upshadow: The upper shadow, calculated differently depending on whether the close is higher or lower than the open.
downshadow: The lower shadow, calculated similarly.
2. Define Pin Bar Conditions:
pinbar_h: Identifies a bullish Pin Bar if the previous candle's close is greater than its open, the previous candle's body is larger than the current candle's body, the upper shadow is more than half the size of the body, and the upper shadow is more than twice the size of the body.
pinbar_l: Identifies a bearish Pin Bar with similar conditions but for the lower shadow.
Set Pin Bar Color:
barcolor: Changes the color of the identified Pin Bars to yellow.
Introducing the "Smart Money Trap" (SMT) IndicatorThe "Smart Money Trap" (SMT) indicator is a powerful tool designed for simultaneous analysis of multiple currency pairs and their correlations. This indicator allows you to effortlessly visualize divergences and correlations between various currency pairs on a single chart, enhancing your ability to perform in-depth technical analysis.
Key Features:
Multi-Currency Comparison:
The SMT indicator enables you to view the following currency pairs simultaneously:
EUR/USD (Euro to US Dollar)
GBP/USD (British Pound to US Dollar)
USD/JPY (US Dollar to Japanese Yen)
DXY (US Dollar Index)
Correlation and Divergence Analysis:
By overlaying these currency pairs, the SMT indicator helps you identify correlations and divergences between them, which can signal potential trading opportunities.
Customizable Timeframes:
The indicator automatically adjusts to the current chart’s timeframe, ensuring that your analysis is always in sync with the selected period.
Enhanced Decision-Making:
With the ability to visualize multiple currency pairs and their relationships, you can make more informed trading decisions and better understand market dynamics.
The SMT indicator is a valuable tool for traders looking to track and analyze currency pair interactions and identify trading signals based on their correlations and divergences.
Duo Multi-Time Period Charts# Duo Multi-Time Period Charts
## Description
The Duo Multi-Time Period Charts indicator is a versatile tool designed to visualize price action across two different timeframes simultaneously. It overlays color-coded boxes on your chart, representing the price range for each period in both timeframes. This allows traders to easily identify trends, support, and resistance levels across multiple time horizons.
## Key Features
- Displays two user-defined timeframes (default: Daily and Weekly)
- Customizable calculation methods: High/Low Range, True Range, or Heikin Ashi Range
- Color-coded boxes for easy trend identification (bullish/bearish)
- Optional labels showing open and/or close prices
- Fully customizable colors for boxes and labels
## How It Works
1. The indicator creates boxes for each period in both selected timeframes.
2. Box colors change based on whether the close is higher (bullish) or lower (bearish) than the open.
3. Box heights are determined by the selected calculation method:
- High/Low Range: Uses the period's high and low
- True Range: Incorporates the previous close for more volatility representation
- Heikin Ashi Range: Uses a modified candlestick calculation for smoother trends
4. Optional labels display open and/or close prices for each period.
## Use Cases
- Multi-timeframe analysis: Compare short-term and long-term trends at a glance
- Support and resistance identification: Easily spot key levels across different timeframes
- Trend confirmation: Use the color-coding to confirm trend direction and strength
- Volatility assessment: Compare box sizes to gauge relative volatility between timeframes
## Customization
Users can customize various aspects of the indicator, including:
- Timeframes for analysis
- Calculation method for price ranges
- Color schemes for bullish and bearish periods in both timeframes
- Label content and colors
- Visibility options for boxes and labels
## Recommendation
For optimal clarity, it is recommended to enable price labels for only one timeframe. Displaying labels for both timeframes simultaneously may lead to cluttered and difficult-to-read charts, especially on shorter timeframes or when the two selected periods are close in duration.
This indicator is perfect for traders who want to incorporate multi-timeframe analysis into their trading strategy without cluttering their charts with multiple indicators. By following the label recommendation, users can maintain a clean chart while still benefiting from the multi-timeframe insights provided by the indicator.
Wick Strength [MS]Overview
The Wick Strength indicator is a unique script designed to measure and visualize the relative strength of candlestick wicks over time. By analyzing the relationship between upper and lower wicks, this indicator provides insights into potential market dynamics and price action patterns.
How It Works
The Wick Strength indicator calculates the "strength" of candlestick wicks by comparing the upward and downward movements within each candle's range. This calculation results in a dynamic line plot that represents the evolving wick strength across your chosen timeframe.
Strength is not range-bound, allowing the score to reach extremes and be compared relatively across time.
Interpretation
Positive values indicate stronger upper wicks (potential bearish pressure)
Negative values suggest stronger lower wicks (potential bullish pressure)
Extreme readings might signal overextended moves or potential reversals
Key Features
Measures relative wick strength candle by candle
Smooths the values by summation based on user preference
Adaptable to all timeframes and markets
Potential Applications
While extensive backtesting has not been performed, the Wick Strength indicator may offer valuable insights for:
Identifying potential divergences between price action and wick strength
Spotting changes in market sentiment or volatility
Complementing other technical analysis tools for a more comprehensive trading approach
Developing unique trading strategies based on wick behavior
ICT Unicorn | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Unicorn Indicator! This indicator is built around the ICT's "Unicorn" strategy. The strategy uses Breaker Blocks and Fair Value Gaps for entry confirmation. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Unicorn Indicator :
Implementation of ICT's Unicorn Strategy
Toggleable Retracement Entry Method
3 Different TP / SL Methods
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The ICT Unicorn entry model merges the concepts of Breaker Blocks and Fair Value Gaps (FVGs), offering a distinct method for identifying trade opportunities. By integrating these two elements, we can have a position entry with stop-loss and take-profit targets on the potential support & resistance zones. This model is particularly reliable for trade entry, as it combines two powerful entry techniques.
An ICT Unicorn Model consists of a FVG which is overlapping with a Breaker Block of the same type. Here is an example :
When a FVG overlaps with a Breaker Block of the same type, the indicator gives a Buy or Sell signal depending on the FVG type (Bullish & Bearish). If the "Require Retracement" option is enabled in the settings, the signals are not given immediately. Instead, the current price of the ticker will need to touch the FVG once more before the signals are given.
After the Buy or Sell signal, the indicator immediately draws the take-profit (TP) and stop-loss (SL) targets. The indicator has three different TP & SL modes, explained in the "Settings" section of this write-up.
You can set up alerts for entry and TP & SL signals, and also check the current performance of the indicator and adjust the settings accordingly to the current ticker using the backtesting dashboard.
🚩 UNIQUENESS
This indicator is an all-in-one suit for the ICT's Unicorn concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. Three different TP / SL modes are available to suit your needs. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️ SETTINGS
1. General Configuration
FVG Detection Sensitivity -> You may select between Low, Normal, High or Extreme FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order & breaker blocks.
Require Retracement ->
a) Disabled : The entry signal is given immediately once a FVG overlaps with a Breaker Block of the same type.
b) Enabled : The current price of the ticker will need to touch the FVG once more before the entry signal is given.
2. TP / SL
TP / SL Method ->
a) Unicorn : This is the default option. The SL will be set to the lowest low of the last 100 bars with an extra offset in a Buy signal. For Sell signals, the SL will be set to the highest high of the last 100 bars with an extra offset. The TP is then set to a value using the SL value and maintaining a risk-reward ratio.
b) Dynamic: The TP / SL zones will be auto-determined by the algorithm based on the Average True Range (ATR) of the current ticker.
c) Fixed : You can adjust the exact TP / SL ratios from the settings below.
Dynamic Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
Prometheus Volatility StopThe Prometheus Volatility Stop is an indicator designed to give you a moving risk metric along with a custom Moving Average cross. After a calculation of the annualized volatility for the specified lookback period we determine bullish or bearish from the moving averages and plot the Volatility Stop accordingly.
User Input:
A user can select from Hull Moving Average, Exponential Moving average, Simple Moving Average, the Moving Average used in RSI, and Weighted Moving Average. The default is Hull Moving Average and Exponential Moving average.
A user can also specify the lookback period. The default is 30.
A user may also turn off the plots for the Moving Averages.
The reason for this approach is to be more original from the traditional Volatility Stop.
Calculation:
The Historical Volatility is calculated by taking the standard deviation of the log returns for the specified period and then annualizing it.
hv = ta.stdev(math.log(close / close ), lkb) * math.sqrt(252/5)
Then the Volatility Stop is calculated as follows:
recent_max = ta.highest(close, lkb)
recent_min = ta.lowest(close, lkb)
hv_stop = ma_2 > ma_1 ? recent_max + hv : recent_min - hv
When the second selected moving average is greater than the first, which signals bearishness, the historical volatility gets added to the high of that period. When the moving averages signal bullish the historical volatility gets subtracted from the low of that period.
Here is an example on NASDAQ:ARM :
After the first crossover, bullish signal, price runs for some time. As we get higher and higher so does the Volatility Stop. At the highs before a bearish crossover the price hits and closes at the Volatility Stop. Providing what could be an exit from a strong run up.
Intra-day example on NASDAQ:QQQ :
We see that in the early bearish move price goes on to hit the Volatility Stop before the trend switches.
We also see that in the failed long. The price action throughout the rest of the day, while not providing in profit stop outs, do provide fine directional alerts.
All those examples have been done with the default settings. Upon changing Moving Average One to a WMA and Moving Average Two to an SMA, as well as the lookback to 75. We see this quickly can become a simple trend follower.
This is the perspective we aim to provide. We encourage traders to not follow indicators blindly. No indicator is 100% accurate. This one can give you a different perspective of price strength with volatility. We encourage any comments about desired updates or criticism!
VRS (Vegas Reversal Strategy)It is based on the reversal of the price after an accentuated volatility of the previous day. It is tested only on BTC, TF Day, and has an activation value equal to a spike of minimum 2.4% amplitude, a value that I have left in the settings free to be modified if it is found valid for other assets.
In the settings you can change how many of the latest longs or shorts I want to view in the past, colors and various aesthetics.
When the system detects a spike at the end of the day from 2.4% onwards it will signal the direction of Reversal, generating the 3 TP, dotted lines.
Entry into the market must be done at the close of the candle day, unfortunately at night time if you want to enter on the tick.
Stop above/below the spike that generated the condition.
If the Day2 candle closes FULL inside the spike, immediate and early closing of the operation.
There cannot be two consecutive Day events: if you are Long or Short and have taken a stop on the next candle, even if the latter generates another entry, this must not be activated.
TP 1 and 2 are both mandatory at 33% of the position, TP3, based on the current movement, can be considered to be left to run to the bitter end or in any case to structuring confirmations of a slowdown in the price.
Upon reaching TP1 it is mandatory to move the STOP to even.
In the event of the presence of extremely strong directional movements, for example Long direction, an opposite activation, Short, must be done but with reduced capital, on the contrary an activation in the same direction as the trend movement can be done with a surcharge. Always pay attention to Money Management and Risk Management.
Always manage Risk and Money Management in an adequate, technical and sustainable manner in relation to your capital. A fair exposure per transaction is between 1% and 2% of the capital.
Decline and Rise Detective [CHE]Decline and Rise Detective
TradingView Indicator (Best Timeframe: 1H or Higher)
1. Introduction
The "Decline and Rise Detective " is a TradingView indicator designed to identify the hours within a trading day that experience the largest price declines and rises. This indicator provides a visual representation of this data, offering traders valuable insights into the most frequent hours for significant price movements. It is most effective when used with a timeframe of 1 hour or greater.
2. Key Features of the Indicator
2.1. Display Options
Display Option: Users can choose between two display options:
Label: Displays the information as a text label directly on the chart.
Table: Displays the information in a table format in the top right corner of the chart.
2.2. Time Zone Settings
Time Zone: The indicator allows the user to manually set the time zone or use the exchange's time zone.
Time Zone Offset: Adjust the time zone via a UTC offset.
2.3. Day Change Detection
The indicator automatically detects the change between trading days to ensure data is correctly assigned.
3. Analysis of Price Declines and Rises
3.1. Calculation of Largest Declines and Rises
The indicator compares the high and low of each hour to determine the largest decline and rise within a trading day.
3.2. Frequency Counting
For each hour of the day, the number of times the largest declines and rises occur is counted to identify the hours with the most significant price movements.
3.3. Data Sorting
The hours are sorted by the number of occurrences of declines and rises to highlight the most frequent hours. This sorting was implemented using the MA Sorter function, inspired by Duyck's Array Sorter. Special thanks to Duyck for providing the Array Sorter on TradingView, which greatly influenced this feature
4. Interpretation and Trading Applications
4.1. Identifying High Volatility Periods
The hours identified by the indicator as having the most frequent and significant price movements are typically periods of high volatility. These periods are crucial for traders who seek to capitalize on market fluctuations.
4.2. Determining Optimal Trade Entries
Long Trades: The hours with the most significant price rises can be used to identify optimal times to enter long positions.
Short Trades: Conversely, the hours with the most significant price declines can indicate good opportunities for short trades.
4.3. Display of Top 5 Hours
The indicator shows the five hours with the most declines and rises.
Depending on the selected display option, this information is shown either as a text label or as a table in the chart.
4.4. Background Color
The background color of the chart changes at day change to clearly mark it.
5. Application of the Indicator
5.1. Trading Use
Traders can use the indicator to identify time windows with high volatility and adjust their trading strategies accordingly. This allows for more informed decisions on when to go long or short, depending on the market conditions during those hours.
5.2. Customization Options
Various input options allow the user to customize the indicator to fit personal needs and trading hours.
6. Summary
The "Decline and Rise Detective " indicator is a powerful tool for analyzing hourly price movements in the markets. By providing detailed information on the most frequent hours for significant price declines and rises, this indicator offers valuable insights into periods of high volatility. Traders can use this data to make more informed decisions on entering long or short trades. It is particularly effective when used with timeframes of 1 hour or greater.
Best regards and happy trading
Chervolino
1% Range Bars with Sequence TableOverall Logic :
The script is designed to help traders visualize and analyze price movements on the chart, where each 1% movement is highlighted with a corresponding symbol. Additionally, the table helps track and analyze the number and length of consecutive price movements in one direction, which can be useful for identifying trends and understanding market dynamics.
This script can be particularly useful for traders looking for recurring patterns in price movements and wanting to quickly identify significant changes on the chart.
Main elements of the script :
Price Percentage Change:
The script tracks the price movement by 1% from the last significant value (the value at which the last 1% change was recorded).
If the price rises by 1% or more, a green circle is displayed above the bar.
If the price drops by 1% or more, a red circle is displayed below the bar.
Sequence Counting:
The script counts the number of consecutive 1% moves upwards (green circles) and downwards (red circles).
Separate counters are maintained for upward and downward movements, increasing each time the respective movement occurs.
If an opposite movement interrupts the sequence, the counter for the opposite direction is reset.
Sequence Table:
A table displayed on the chart shows the number of sequences of 1% movements in one direction for lengths from 1 to 15 bars.
The table is updated in real-time and shows how many times sequences of a certain length occurred on the chart, where the price moved by 1% in one direction.
ICT 9:30am First FVGThis indicator is designed based on ICT (Inner Circle Trader)'s algorithmic price action theory, specifically targeting the first fair value gap (FVG) that forms immediately after the New York Stock Exchange opens at 9:30am. The FVG represents an imbalance in the price delivery where a significant price action gap occurs, which can play a crucial role in future price movements.
Features:
Identification of First FVG: Automatically identifies and plots the first fair value gap that forms post the 9:30am NY open.
Customizable Visualization: Choose between block or line styles for visual representation, with customizable colors and border styles.
Date Labeling: Optionally displays date labels for each identified gap to track patterns over time.
Imbalance Extension: Options to extend the imbalances to the current bar, helping to visualize their influence on ongoing price action.
Purpose:
The first fair value gap formed after the market opens is an important algorithmic price range in ICT's price action theory. This indicator simplifies the identification of these critical gaps and helps in understanding their impact on future price action.
Buy Signal Only with Multiple Indicators and Stop LossDescription: This custom Pine Script indicator is designed to help traders identify optimal buy signals using a combination of multiple technical indicators. It provides visual markers for entry points, take profit levels, and stop loss, offering a comprehensive tool for decision-making.
Features:
Buy Signal: Generates a buy signal based on a combination of EMA Cloud, SuperTrend, Zero Lag MACD, QQE, Volume Oscillator, and ATR Bands.
Entry Point: Displays a horizontal line at the entry price with a price label, extended to the right for visibility.
Take Profit Levels:
1% Take Profit: A dashed red line with a price label for the first take profit level.
2% Take Profit: A dashed orange line with a price label for the second take profit level.
Stop Loss: A dotted purple line with a price label to indicate the stop loss level set at 3%.
Parameters:
EMA Short Length: Adjust the period for the short EMA.
EMA Long Length: Adjust the period for the long EMA.
ATR Length: Set the length for ATR calculation.
Multiplier: Define the factor for the SuperTrend calculation.
MACD Length and Signal Length: Configure lengths for MACD and its signal line.
RSI Length and Smooth Length: Set parameters for RSI and its smoothing.
Volume Lengths: Customize lengths for the volume oscillator.
ATR Band Length and Multiplier: Set parameters for ATR Bands.
Delay Bars: Specify the number of bars to wait before showing another buy signal.
Take Profit Percentages: Adjust percentages for the 1% and 2% take profit levels.
Stop Loss Percentage: Set the stop loss percentage.
Line Extension Length: Define the number of bars to extend lines.
Right Offset Bars: Configure how many bars to offset labels and lines to the right.
Usage:
Identify Buy Opportunities: The indicator helps identify potential buy signals using multiple indicators.
Manage Trades: Visualize entry points, take profit targets, and stop loss levels to manage trades effectively.
Customization: Tailor the indicator to fit your trading strategy by adjusting the parameters.
Notes:
This is what we call version 1.
Ensure that the indicator's settings align with your trading strategy and market conditions.Use in conjunction with other analysis tools for a comprehensive trading approach.