Options Series - Index Analysis [MasterPiece]
Powerful Insights 🚀:
This script utilizes multiple technical indicators to provide a comprehensive view of stock trends, which increases the reliability of trading signals.
This script also designed to perform index and stock analysis by comparing price movements to moving averages (MA20) and volume-weighted average price (VWAP).
By analyzing a set of top-weighted stocks within an index, the script offers a macro-level view while also delivering stock-specific insights. This dual focus enhances its utility for traders who need to understand both individual stock movements and broader market dynamics.
⭐ Originality: The script presents a unique fusion of multiple indicators with a data-driven approach to analyzing top-weighted stocks in major indices like Nifty and BankNifty. The integration of widely-used technical analysis tools, such as exponential and simple moving averages (EMA, SMA), volume-weighted average price (VWAP), and volume-body size comparisons, offers a holistic framework for traders. By focusing on the top five stocks in the indices, it leverages weightage-based performance analysis, adding a strategic dimension to index trading. This approach not only evaluates individual stock performance but also synthesizes broader market trends.
⭐ Usefulness: This script serves traders who seek a multi-dimensional method for analyzing both index and stock performance. Its key features include:
Bullish and Bearish Signals: The relationship between price, moving averages (MA20), and VWAP identifies directional trends, generating buy/sell signals for both individual stocks and the overall index.
Volume and Candle Body Analysis: By comparing candle body size with volume, the script provides deeper insights into trend strength and market conviction. This allows traders to gauge whether price movements are supported by sufficient trading volume.
Customization: Users have the flexibility to input specific index and stock symbols, making the script adaptable for different markets and instruments beyond just Nifty and BankNifty.
Signal Overlay: The ability to overlay bar color and volume signals directly on the price chart ensures better trend visualization, offering clear and immediate visual cues for potential trading setups.
⭐ Justification for Mashup: The combination of multiple indicators is logical and complementary. Each component serves a distinct purpose that enhances the overall system:
Trend Identification: Moving averages and VWAP provide insights into short and long-term trends, giving traders a reliable baseline for price direction.
Conviction: The inclusion of volume and candle body size comparisons gives additional weight to price action, allowing traders to confirm whether a trend is backed by meaningful market activity.
⭐ Color Customization for Enhanced Visualization:
The script defines custom colors for various conditions and candles, improving clarity for bullish and bearish trends.
Green for Bullish: Dark green for regular bullish candles, and fluorescent green for stronger bullish signals.
Red for Bearish: Dark red for regular bearish candles, and fluorescent red for stronger bearish signals.
Neutral Conditions: Fluorescent yellow is used for neutral conditions.
⭐ Index and Top Stocks Analysis:
This section analyzes top-weighted stocks for indices ( NSE:NIFTY and NSE:BANKNIFTY ), with NSE:BANKNIFTY being used as the default.
Top Stocks for NSE:NIFTY : HDFCBANK, ICICIBANK, RELIANCE, INFY, ITC.
Top Stocks for NSE:BANKNIFTY : HDFCBANK, ICICIBANK, KOTAKBANK, AXISBANK, SBIN.
Customizable Input: Users can modify the index and stock symbols via input.symbol.
⭐ Signal Generation Based on MA20 and VWAP:
The conditions for bullish or bearish signals are based on the relationship between the stock's close price, MA20, and VWAP.
Bullish Signal: Close price greater than both MA20 and VWAP.
Bearish Signal: Close price less than both MA20 and VWAP.
⭐ Volume Bar Signal for Market Activity:
The script analyzes candle body size and volume to detect significant market movements.
Body Size and Volume Comparison: It checks if the current candle’s body size or volume is greater than the moving average of body size or volume over the past 74 bars.
Green Candle (GC) and Red Candle (RC): Boolean conditions to track whether the close price is higher or lower than the open price.
⭐ Average Signals for Strong Trends:
The script calculates average bullish or bearish signals based on the majority of candles being green or red and significant body size or volume.
Bullish Average Signal: At least 4 out of 6 stocks exhibit bullish conditions (green candles, large bodies, or high volume).
Bearish Average Signal: Similar logic for bearish signals with red candles.
⭐ Overlay of Volume Bar Signals:
The plotshape function overlays the bullish and bearish volume bar signals on the chart, using color and shape to indicate trend changes.
🚀 Conclusion:
This Pine Script code provides a robust framework for index analysis based on top 5 weighted stocks, using two primary indicators—MA20 (20-period Moving Average) and VWAP (Volume Weighted Average Price).
Market Bias Identification: The script identifies bullish and bearish conditions for each stock based on whether the close price is above or below MA20 and VWAP.
Volume and Body Size Comparison: It checks if the current candle’s body size or volume exceeds the average to determine significant market moves.
Visualization with Color & Signals: It overlays color signals for bullish (fluorescent green) and bearish (fluorescent red) markets and provides triangle markers for strong volume-based signals.
Top Stock Analysis: The script provides analysis of top five weighted stocks in the selected index, enhancing precision for broader index analysis.
Tìm kiếm tập lệnh với "vwap"
Juice RemedyThis Remedy suite is a remake of the Auto Remedy suite.
We have improved the performance and added a few new features.
Updated:
- Converted some boxes to lines to mitigate the limit of 500.
- Rewrote the code and disabled blocks if features are turned off
New features:
- RSI based candle colors
- Added features to limit historical renders
---
RSI Candles tells you the RSI and volatility by coloring the candlesticks. The different stages are: overbought, oversold, neutral and a top and bottom RSI / EMA crossover.
There is also an option to enable the RSI signal on the chart to see when it's entering an overbought or oversold area.
---
Volume Profile displays a vertical histogram on the right side of the price chart, representing the volume traded at each price level. The length of each bar corresponds to the total volume traded at that particular price level. Traders can analyze the shape and distribution of the Volume Profile to gain valuable information about the market structure.
Here's how Volume Profile is used and applied in trading:
Identifying Areas of High Volume:
Volume Profile helps traders identify areas of high trading activity. Peaks in the Volume Profile histogram indicate price levels where significant buying or selling pressure was present. These areas can act as support or resistance levels in the future, as they represent levels where traders have previously shown interest.
Understanding Price Acceptance and Rejection:
Volume Profile assists in determining whether the market has accepted or rejected specific price levels. When the volume is higher at a particular price level, it suggests that traders have accepted that price and consider it fair. On the other hand, low volume at a price level indicates rejection, suggesting that traders are not willing to transact at that price.
Identifying Value Areas:
Volume Profile can help identify value areas, which are price regions where the most volume has been traded. These areas are considered significant as they reflect levels where the market has found fair value and attracted substantial trading activity. Traders often pay attention to these value areas as potential support or resistance zones.
Confirming Breakouts and Reversals:
Volume Profile can be used to confirm the validity of breakouts and reversals. If a price breaks out of a range with high volume, it suggests strong conviction and increases the likelihood of a sustained move. Similarly, if a price reverses near a high-volume area, it provides additional confirmation of a potential trend reversal.
Assessing Market Sentiment:
By analyzing the shape and structure of the Volume Profile, traders can gain insights into market sentiment. A balanced Volume Profile with volume evenly distributed across price levels indicates a neutral market. Skewed or asymmetrical Volume Profiles may suggest bullish or bearish sentiment, depending on where the volume is concentrated.
It's important to note that traders often combine Volume Profile with price patterns, trendlines, and momentum indicators to validate signals and develop a comprehensive understanding of the market.
By studying the Volume Profile, traders can gain a clearer picture of where significant trading activity has occurred and identify levels of potential support, resistance, and value. This information can assist in making more informed trading decisions and improving overall market analysis.
---
VWAP(Volume Weighted Average Price) is a technical analysis tool that calculates the average price weighted by trading volume over a specified time period. It provides traders with insights into the average price at which a particular asset has traded during a given period, considering the volume traded at each price level.
Here's a general explanation of VWAP and its application in trading:
Calculation of VWAP:
VWAP is calculated by multiplying the price of each trade by its corresponding volume, summing these values over a specific time period, and dividing the total by the cumulative volume. The calculation continuously updates as new trades occur within the specified time frame.
Interpretation of VWAP:
VWAP is primarily used as a reference point to assess whether a current price is relatively high or low compared to the average price weighted by volume. Traders compare the current price to the VWAP to gauge whether the price is trading above or below the average level. If the price is above VWAP, it suggests that the asset is trading at a premium, while a price below VWAP indicates a discount.
VWAP as a Trading Indicator:
Traders use VWAP in various ways to support their trading decisions. Here are a few common applications:
a. Trend Identification: Traders analyze the relationship between the current price and VWAP to identify the prevailing market trend. If the price consistently trades above VWAP, it is often seen as a bullish signal, while prices below the VWAP is considered a bearish signal. This approach helps traders align their trades with the overall market direction.
b. Support and Resistance Levels: VWAP can act as a dynamic support or resistance level. Traders observe how the price reacts when approaching the VWAP. If the price bounces off the VWAP and continues in the direction of the prevailing trend, it may indicate support or resistance. Traders can use the VWAP as a reference for setting stop-loss levels or determining potential entry or exit points.
c. Reversal Signals: In some cases, when the price deviates significantly from VWAP, it may indicate overbought or oversold conditions. Traders watch for price reversals when the price moves away from the VWAP, potentially signaling a short-term market reversal.
d. Volume Analysis: VWAP considers volume along with price, providing insights into the significance of price moves. Traders analyze the relationship between volume and VWAP to evaluate the strength of price movements. Higher volume trading near the VWAP may suggest increased market interest and potential continuation of the trend.
It's worth noting that the VWAP is often used in intra-day trading and is more relevant for short-term analysis. Traders typically adjust the VWAP time frame based on their trading style and the asset being analyzed.
---
The Zig Zag works by filtering out price movements below a certain threshold (percentage or points) and only displaying significant price changes. This helps to eliminate minor price fluctuations and focus on the more substantial market movements.
When applying the Zig Zag indicator, traders typically select a percentage or point value as the threshold. For example, if a 5% threshold is chosen, the Zig Zag indicator will only plot a new point when the price has moved up or down by at least 5% from the previous significant high or low.
The indicator plots lines connecting the significant highs and lows on the price chart, creating a zigzag pattern. The lines are drawn in a way that reflects the change in the trend direction. The indicator can be adjusted to suit different timeframes and trading styles.
The primary purpose of the Zig Zag indicator is to identify and highlight trend reversals and price swings. Traders often use it to:
Identify major turning points: The Zig Zag indicator helps traders spot major highs and lows in the price action. These levels can act as potential support or resistance areas for future price movements.
Filter out noise: By filtering out minor price fluctuations, the Zig Zag indicator helps traders focus on the more significant price moves and trends. This can provide a clearer picture of the overall market direction.
Confirm chart patterns: The Zig Zag indicator can be used to confirm the validity of chart patterns, such as trendlines, channels, or chart formations. It can help traders validate breakouts, pullbacks, or continuation patterns.
Set trailing stops: Traders may use the Zig Zag indicator to set trailing stops based on the significant swing highs and lows. This allows them to trail their stop-loss orders behind the price action and potentially lock in profits as the trend develops.
Additionally, it's essential to customize the settings of the Zig Zag indicator according to the specific market being analyzed, as different markets and timeframes may require different threshold values for optimal performance.
Please keep in mind that while the Zig Zag indicator can provide valuable insights, it should be used alongside other analysis tools and not solely relied upon for trading decisions.
---
Fibonacci extensions and retracements are both technical analysis tools that traders use to identify potential levels of support and resistance in financial markets. Here's a clear understanding of each concept and how they are used in trading:
1. Fibonacci Retracement:
Fibonacci retracement is based on the idea that after an upward or downward price movement, the price tends to retrace a portion of that move before continuing in the original direction. The key levels used in Fibonacci retracement are based on ratios derived from the Fibonacci sequence, such as 0.382 (38.2%), 0.500 (50%), and 0.618 (61.8%).
To apply Fibonacci retracements, traders typically select two significant points on a price chart: a swing high and a swing low. The retracement levels are then plotted as horizontal lines based on the Fibonacci ratios. These levels act as potential support (in an uptrend) or resistance (in a downtrend) where the price may reverse or consolidate before resuming the overall trend.
Traders often use Fibonacci retracement levels to identify potential entry or exit points, place stop-loss orders, or assess the strength of a trend. The most commonly used retracement levels are 38.2%, 50%, and 61.8%, but other Fibonacci ratios like 23.6% and 78.6% are also sometimes used.
2. Fibonacci Extension:
Fibonacci extension is used to identify potential price targets beyond the initial trend or price move. It helps traders determine where the price may reach once it surpasses the previous swing high or swing low.
Similar to Fibonacci retracement, Fibonacci extension levels are derived from the Fibonacci sequence. The most commonly used extension levels are 138.2%, 161.8%, 261.8%, and 423.6%, although other ratios can also be applied.
To use Fibonacci extension, traders select three points on a price chart: a swing low, a swing high (corresponding to the previous trend), and a subsequent swing low or swing high (from where the extension is projected). The extension levels are then projected beyond the swing high or swing low, acting as potential price targets or areas of interest.
Fibonacci extension levels are often used to determine potential profit targets or to identify areas where a trend may reverse or consolidate. Traders may also use extensions in conjunction with other technical analysis tools to confirm trade signals or assess the overall market structure
---
The Pitchfan tool is based on the concept of Andrew's Pitchfork, which is a popular technical analysis tool developed by Dr. Alan H. Andrews. It consists of three parallel trendlines that are drawn to encompass the price action of an asset. The trendlines are typically drawn by connecting three significant points on a price chart - usually a pivot high, a pivot low, and another pivot high.
Once the Pitchfork is plotted, the Pitchfan tool extends the concept by adding additional trendlines that are parallel to the original Pitchfork. These additional trendlines are drawn based on certain mathematical ratios (e.g., Fibonacci ratios) applied to the distance between the original trendlines.
The Pitchfan can be used to identify potential support and resistance levels, as well as potential areas for price reversal or continuation. Traders may look for price reactions near these trendlines, with the expectation that the price may find support or encounter resistance at these levels.
---
Higher timeframe opens refer to the opening prices of different sessions or timeframes above the one being currently analyzed. For example, in intra-day trading, higher timeframe opens can refer to the daily session open or the opening prices of other significant market sessions in the forex market.
In addition to higher timeframe opens, traders often utilize daily reference ranges by incorporating indicators such as Average True Range (ATR) and the previous day's range. These tools help traders gauge the potential price volatility for the day and establish reference levels for stop-loss orders, profit targets, overall risk management strategies and market knowledge to develop a comprehensive trading approach.
---
Disclaimer : Please note that trading success relies on adhering to your trading strategy, and indicators should be used in accordance with your strategy rather than being the sole basis for trading decisions.
The provided script is intended solely for informational and educational purposes. Its use does not constitute professional or financial advice. It is your sole responsibility to evaluate the script's output and assess the risks associated with its use. By utilizing the script, you agree not to hold "JuiceSignals" TradingView user liable for any potential claims for damages that may arise from decisions made based on the use of the script.
(JS) Checklist SignalsWhat if I told you that you could use over 10 indicators at once without having a single one of them on you chart? Enter the Checklist Signals. This is probably the most complex yet simple indicator I've ever done.
What you get is 6 rows (if you want them all) of labels that hover at the top of your screen with a ton of extremely useful information. I will go down the list of options in the indicator settings and explain how it all works.
So the label placement is based on ATR. You choose your X Axis and Y Axis starting point then adjust the lookback period. Default lookback is 600 bars. What that means is, the indicator finds the highest high in the last 600 bars, then begins to place the labels above that zone based on the ATR of the chart. Different timeframes require very different combinations so it's all customizable. Sometimes if labels overlap you need to adjust the X Axis starting point, or the spread on either axis.
The next set of options allows you to decide what you'd prefer to be set on or off. Let's start with ATR and VWAP. I have added bands for both of these. When price is below the mean (which is the 21 ema by default), then the labels show you the next 5 standard deviations of ATR going down. When under one of these levels the label turns red. The opposite is true when above the mean and in those instances the labels will be green. It is the same with the VWAP, though instead of using the mean we use the daily VWAP as the starting point. If you choose to have levels switched on then you can see the actual values of each standard deviation level. Down lower in the options you can change the resolution and source used for VWAP.
The next option is "Trending". This creates a moving average using the length of the Trending Lookback Period (default is 5) and then tells you using arrows in the label which direction the trend of the indicator is going.
The next area let's you specify the information you receive in the Squeeze labels. By default all options are one - and this tells you if there's a Squeeze, what type of Squeeze there is, and how many bars the Squeeze has been building up or since it fired. These labels are color coded to correspond with the Squeeze type as well.
Then we get to another one of my indicators, the Ballista. One of the main signals is the "Inverted Squeeze" where the short term momentum inverts against the long term momentum. Here I have the distance between the two oscillators in the first label, and then the second label tells you if there's an Inverted Squeeze signal, if there's potential entry, confirmed entry, or how many bars its been since the last entry signal.
The next feature is off by default, but it will add arrows to your chart based on a simple lower highs and higher lows signals. Turning arrows on will place them right on your chart above or below each bar.
The rest of it is customizable settings of all the other indicators that are shown. Now looking at the labels themselves, starting in the top left corner:
First Row-
ADX + DMI: These labels show the ADX, DI+, & DI- values in each label. Whenever the DI+ or DI- is above the other then their respective label will light up. Also, when the ADX is above 20 (confirming the trend) it lights up in the same color as well.
Squeeze: I described how this worked above, the labels tell you if there's a Squeeze, how long there's been one, and how long since it fired, all while also changing to color of the associated Squeeze type.
Second Row -
Stacked EMAs: The top label looks at the EMA values using the numbers of the Fibonacci sequence. It looks at the EMA 8, 21, 34, 55, 89, & 233 and tells you if they're all stacked in the same direction (Stacked Bear meaning they're all crossed down in order, Stacked Bull meaning they're all crossed up in order). If the EMAs are all stacked but 1 or 2 it will say Stacked -1 or Stacked -2. When they're all over the place it will say they aren't stacked at all.
BB%: This tells you the value of the Bollinger Band %. If this is negative then you know that price is currently below the lower Bollinger Band, and if it is above 100% it is above the upper Bollinger Band.
RSI: This tells you the value of the RSI and the label changes colors based on the value.
Stoch: This tells you the Stochastic value and changes colors based on the value, same as the RSI.
Third Row -
The Mean: This tells you the numerical value of whatever you have the mean set as (21 ema by default). The label changes colors based on price being above or below the mean.
One ATR: This was something I added for those looking to plan their trades out. This tells you the value of one ATR so you can have a better idea of how to plan your trades based on this distance.
VIX: This tells you the current value of the VIX, and color changes based on being green or red on the day.
Ballista: I explained this above, it tells you the distance between the two oscillators and changes colors based on the trend being above or below 0. When there's an Inverted Squeeze this label is gray.
Inverted Squeeze: This label tells you if there's an inverted squeeze as well as if it is showing an entry or how many bars since the last entry signal. This label turns fuchsia on a bear signal and lime on a bull signal.
Fourth Row -
ATR Bands: As I explained above, this plots each standard deviation using ATR and changes colors based on price's relationship to each one.
Fifth Row -
VWAP: The three labels here show the daily, weekly, and monthly VWAP values, and color changes based on price's relationship to each one.
Sixth Row -
VWAP Bands: These are the standard deviation levels of the VWAP resolution of your choosing (as explained above), and just as the others, colors change based on price's relationship to each one.
I thought this was a really cool indicator that could be used for people like me who like knowing the right information, but HATE having their charts clustered with a ton of stuff. Hope you all like it, enjoy!
SDMA (Slope Degree Moving Average)This Pine Script indicator is designed to provide traders with a comprehensive view of market conditions by combining moving averages, VWAP (Volume Weighted Average Price), and custom distance signals. It offers a clean and professional table interface to monitor trend strength, distance from moving averages, and potential trade signals.
Key Features
Moving Averages and VWAP:
The indicator calculates five moving averages (MAs) of user-defined lengths, providing a multi-faceted view of market trends.
VWAP is included to help identify overall market sentiment. VWAP is commonly used by institutional traders to measure the average price at which a security has traded throughout the day, taking into account both price and volume.
Slope Degree Calculation:
The indicator calculates the slope degree of each moving average. The slope is a measure of the moving average's angle, indicating the strength and direction of the trend.
Steeper slopes (positive or negative) indicate stronger trends, while flatter slopes suggest weaker or consolidating trends.
Trend Strength Analysis:
For each moving average, the indicator provides a trend strength rating based on the calculated slope. It categorizes trends as "Strong Bullish," "Moderate Bullish," "Flat," "Moderate Bearish," or "Strong Bearish."
The VWAP trend strength is shown as "Bullish" if the current price is above the VWAP and "Bearish" if below.
Distance Signal (DS):
The indicator includes a user-defined threshold for distance signals. This threshold determines whether the price is "Near" the moving average or significantly above/below it, indicated by "DS" (Distance Signal).
Traders can adjust the threshold to suit their trading strategy. For instance, a higher threshold might be used in volatile markets to identify meaningful deviations from the moving averages.
Table Display:
The indicator displays all relevant data in a clean, minimalistic table format, showing the moving average lengths, slope degrees, trend strengths, minutes since the last reversal, distance from the moving average, and distance signals.
The table also includes a row for VWAP, making it easy to compare the current price with this key level.
Trade Signal:
At the bottom of the table, a summary "Trade Signal" is displayed, showing either "Bullish Signal" or "Bearish Signal" based on the overall trend indications from the moving averages.
How to Use This Indicator
Identifying Trends: Use the slope degree and trend strength indicators to determine the direction and strength of the trend. Steeper slopes and stronger trend ratings suggest stronger trends, ideal for trend-following strategies.
VWAP Analysis: The VWAP row helps to identify whether the market is generally bullish or bearish. A price above VWAP typically suggests buying interest, while a price below suggests selling pressure.
Distance Signals: The DS column alerts traders when the price is significantly away from a moving average, which could signal potential overbought or oversold conditions, useful for mean reversion strategies.
Trade Signal: The final "Trade Signal" offers a quick summary of the overall market condition, combining the insights from all moving averages.
Customization
Moving Averages: Adjust the lengths of the five moving averages to match your trading strategy or the specific asset you're analyzing.
Distance Threshold: Set the distance threshold to control the sensitivity of the DS signals. A lower threshold will generate more signals, while a higher threshold will highlight only significant deviations.
This indicator is a versatile tool that can be used in various trading strategies, whether you're a trend follower, mean reversion trader, or someone looking to identify key levels like VWAP. Its clear, table-based interface ensures that all the critical data is available at a glance, allowing for quick decision-making in fast-moving markets.
Trend Confirmation StrategyThe profitability and uniqueness of a trading strategy depend on various factors including market conditions, risk management, and the strategy's ability to capitalize on price movements. I'll describe the strategy provided and highlight its potential benefits and differences compared to other strategies:
Strategy Overview:
The provided strategy combines three technical indicators: Supertrend, MACD, and VWAP. It aims to identify potential entry and exit points by confirming trend direction and considering the proximity to the VWAP level. The strategy also incorporates stop-loss and take-profit mechanisms, as well as a trailing stop.
Unique Aspects and Potential Benefits:
Trend Confirmation: The strategy uses both Supertrend and MACD to confirm the trend direction. This dual confirmation can increase the likelihood of accurate trend identification and filter out false signals.
VWAP Confirmation: The strategy considers the proximity of the price to the VWAP level. This dynamic level can act as a support or resistance and provide additional context for entry decisions.
Adaptive Stop Loss: The strategy sets a stop-loss range, which helps provide some tolerance for minor price fluctuations. This adaptive approach considers market volatility and helps prevent premature stop-loss triggers.
Trailing Stop: The strategy incorporates a trailing stop mechanism to lock in profits as the trade moves in the desired direction. This can potentially enhance profitability during strong trends.
Partial Profit Booking: While not explicitly implemented in the provided code, you could consider booking partial profits when the MACD shows a crossover in the opposite direction. This aspect could help secure gains while still keeping exposure to potential further price movements.
Key Differences from Other Strategies:
Dual Indicator Confirmation: The combination of Supertrend and MACD for trend confirmation is a unique aspect of this strategy. It adds an extra layer of filtering to enhance the accuracy of entry signals.
Dynamic VWAP: Incorporating the VWAP level into the decision-making process adds a dynamic element to the strategy. VWAP is often used by institutional traders, and its inclusion can provide insights into the market sentiment.
Adaptive Stop Loss and Trailing: The strategy's use of an adaptive stop-loss range and a trailing stop can help manage risk and protect profits more effectively during changing market conditions.
Partial Profit Booking: The suggestion to consider partial profit booking upon MACD crossovers in the opposite direction is a practical approach to secure gains while staying in the trade.
Caution and Considerations:
Backtesting: Before deploying any strategy in real trading, it's crucial to thoroughly backtest it on historical data to understand its performance under various market conditions.
Risk Management: While the strategy has built-in risk management mechanisms, it's essential to carefully manage position sizes and overall portfolio risk.
Market Conditions: No strategy works well in all market conditions. It's important to be flexible and adjust the strategy or refrain from trading during particularly volatile or unpredictable periods.
Continuous Monitoring: Even though the strategy includes automated components, continuous monitoring of the trades and market conditions is necessary.
Adaptability: Markets can change over time. Traders need to be prepared to adapt the strategy as necessary to stay aligned with evolving market dynamics.
Danger Signals from The Trading MindwheelThe " Danger Signals " indicator, a collaborative creation from the minds at Amphibian Trading and MARA Wealth, serves as your vigilant lookout in the volatile world of stock trading. Drawing from the wisdom encapsulated in "The Trading Mindwheel" and the successful methodologies of legends like William O'Neil and Mark Minervini, this tool is engineered to safeguard your trading journey.
Core Features:
Real-Time Alerts: Identify critical danger signals as they emerge in the market. Whether it's a single day of heightened risk or a pattern forming, stay informed with specific danger signals and a tally of signals for comprehensive decision-making support. The indicator looks for over 30 different signals ranging from simple closing ranges to more complex signals like blow off action.
Tailored Insights with Portfolio Heat Integration: Pair with the "Portfolio Heat" indicator to customize danger signals based on your current positions, entry points, and stops. This personalized approach ensures that the insights are directly relevant to your trading strategy. Certain signals can have different meanings based on where your trade is at in its lifecycle. Blow off action at the beginning of a trend can be viewed as strength, while after an extended run could signal an opportunity to lock in profits.
Forward-Looking Analysis: Leverage the 'Potential Danger Signals' feature to assess future risks. Enter hypothetical price levels to understand potential market reactions before they unfold, enabling proactive trade management.
The indicator offers two different modes of 'Potential Danger Signals', Worst Case or Immediate. Worst Case allows the user to input any price and see what signals would fire based on price reaching that level, while the Immediate mode looks for potential Danger Signals that could happen on the next bar.
This is achieved by adding and subtracting the average daily range to the current bars close while also forecasting the next values of moving averages, vwaps, risk multiples and the relative strength line to see if a Danger Signal would trigger.
User Customization: Flexibility is at your fingertips with toggle options for each danger signal. Tailor the indicator to match your unique trading style and risk tolerance. No two traders are the same, that is why each signal is able to be turned on or off to match your trading personality.
Versatile Application: Ideal for growth stock traders, momentum swing traders, and adherents of the CANSLIM methodology. Whether you're a novice or a seasoned investor, this tool aligns with strategies influenced by trading giants.
Validation and Utility:
Inspired by the trade management principles of Michael Lamothe, the " Danger Signals " indicator is more than just a tool; it's a reflection of tested strategies that highlight the importance of risk management. Through rigorous validation, including the insights from "The Trading Mindwheel," this indicator helps traders navigate the complexities of the market with an informed, strategic approach.
Whether you're contemplating a new position or evaluating an existing one, the " Danger Signals " indicator is designed to provide the clarity needed to avoid potential pitfalls and capitalize on opportunities with confidence. Embrace a smarter way to trade, where awareness and preparation open the door to success.
Let's dive into each of the components of this indicator.
Volume: Volume refers to the number of shares or contracts traded in a security or an entire market during a given period. It is a measure of the total trading activity and liquidity, indicating the overall interest in a stock or market.
Price Action: the analysis of historical prices to inform trading decisions, without the use of technical indicators. It focuses on the movement of prices to identify patterns, trends, and potential reversal points in the market.
Relative Strength Line: The RS line is a popular tool used to compare the performance of a stock, typically calculated as the ratio of the stock's price to a benchmark index's price. It helps identify outperformers and underperformers relative to the market or a specific sector. The RS value is calculated by dividing the close price of the chosen stock by the close price of the comparative symbol (SPX by default).
Average True Range (ATR): ATR is a market volatility indicator used to show the average range prices swing over a specified period. It is calculated by taking the moving average of the true ranges of a stock for a specific period. The true range for a period is the greatest of the following three values:
The difference between the current high and the current low.
The absolute value of the current high minus the previous close.
The absolute value of the current low minus the previous close.
Average Daily Range (ADR): ADR is a measure used in trading to capture the average range between the high and low prices of an asset over a specified number of past trading days. Unlike the Average True Range (ATR), which accounts for gaps in the price from one day to the next, the Average Daily Range focuses solely on the trading range within each day and averages it out.
Anchored VWAP: AVWAP gives the average price of an asset, weighted by volume, starting from a specific anchor point. This provides traders with a dynamic average price considering both price and volume from a specific start point, offering insights into the market's direction and potential support or resistance levels.
Moving Averages: Moving Averages smooth out price data by creating a constantly updated average price over a specific period of time. It helps traders identify trends by flattening out the fluctuations in price data.
Stochastic: A stochastic oscillator is a momentum indicator used in technical analysis that compares a particular closing price of an asset to a range of its prices over a certain period of time. The theory behind the stochastic oscillator is that in a market trending upwards, prices will tend to close near their high, and in a market trending downwards, prices close near their low.
While each of these components offer unique insights into market behavior, providing sell signals under specific conditions, the power of combining these different signals lies in their ability to confirm each other's signals. This in turn reduces false positives and provides a more reliable basis for trading decisions
These signals can be recognized at any time, however the indicators power is in it's ability to take into account where a trade is in terms of your entry price and stop.
If a trade just started, it hasn’t earned much leeway. Kind of like a new employee that shows up late on the first day of work. It’s less forgivable than say the person who has been there for a while, has done well, is on time, and then one day comes in late.
Contextual Sensitivity:
For instance, a high volume sell-off coupled with a bearish price action pattern significantly strengthens the sell signal. When the price closes below an Anchored VWAP or a critical moving average in this context, it reaffirms the bearish sentiment, suggesting that the momentum is likely to continue downwards.
By considering the relative strength line (RS) alongside volume and price action, the indicator can differentiate between a normal retracement in a strong uptrend and a when a stock starts to become a laggard.
The integration of ATR and ADR provides a dynamic framework that adjusts to the market's volatility. A sudden increase in ATR or a character change detected through comparing short-term and long-term ADR can alert traders to emerging trends or reversals.
The "Danger Signals" indicator exemplifies the power of integrating diverse technical indicators to create a more sophisticated, responsive, and adaptable trading tool. This approach not only amplifies the individual strengths of each indicator but also mitigates their weaknesses.
Portfolio Heat Indicator can be found by clicking on the image below
Danger Signals Included
Price Closes Near Low - Daily Closing Range of 30% or Less
Price Closes Near Weekly Low - Weekly Closing Range of 30% or Less
Price Closes Near Daily Low on Heavy Volume - Daily Closing Range of 30% or Less on Heaviest Volume of the Last 5 Days
Price Closes Near Weekly Low on Heavy Volume - Weekly Closing Range of 30% or Less on Heaviest Volume of the Last 5 Weeks
Price Closes Below Moving Average - Price Closes Below One of 5 Selected Moving Averages
Price Closes Below Swing Low - Price Closes Below Most Recent Swing Low
Price Closes Below 1.5 ATR - Price Closes Below Trailing ATR Stop Based on Highest High of Last 10 Days
Price Closes Below AVWAP - Price Closes Below Selected Anchored VWAP (Anchors include: High of base, Low of base, Highest volume of base, Custom date)
Price Shows Aggressive Selling - Current Bars High is Greater Than Previous Day's High and Closes Near the Lows on Heaviest Volume of the Last 5 Days
Outside Reversal Bar - Price Makes a New High and Closes Near the Lows, Lower Than the Previous Bar's Low
Price Shows Signs of Stalling - Heavy Volume with a Close of Less than 1%
3 Consecutive Days of Lower Lows - 3 Days of Lower Lows
Close Lower than 3 Previous Lows - Close is Less than 3 Previous Lows
Character Change - ADR of Last Shorter Length is Larger than ADR of Longer Length
Fast Stochastic Crosses Below Slow Stochastic - Fast Stochastic Crosses Below Slow Stochastic
Fast & Slow Stochastic Curved Down - Both Stochastic Lines Close Lower than Previous Day for 2 Consecutive Days
Lower Lows & Lower Highs Intraday - Lower High and Lower Low on 30 Minute Timeframe
Moving Average Crossunder - Selected MA Crosses Below Other Selected MA
RS Starts Curving Down - Relative Strength Line Closes Lower than Previous Day for 2 Consecutive Days
RS Turns Negative Short Term - RS Closes Below RS of 7 Days Ago
RS Underperforms Price - Relative Strength Line Not at Highs, While Price Is
Moving Average Begins to Flatten Out - First Day MA Doesn't Close Higher
Price Moves Higher on Lighter Volume - Price Makes a New High on Light Volume and 15 Day Average Volume is Less than 50 Day Average
Price Hits % Target - Price Moves Set % Higher from Entry Price
Price Hits R Multiple - Price hits (Entry - Stop Multiplied by Setting) and Added to Entry
Price Hits Overhead Resistance - Price Crosses a Swing High from a Monthly Timeframe Chart from at Least 1 Year Ago
Price Hits Fib Level - Price Crosses a Fib Extension Drawn From Base High to Low
Price Hits a Psychological Level - Price Crosses a Multiple of 0 or 5
Heavy Volume After Significant Move - Above Average and Heaviest Volume of the Last 5 Days 35 Bars or More from Breakout
Moving Averages Begin to Slope Downward - Moving Averages Fall for 2 Consecutive Days
Blow Off Action - Highest Volume, Largest Spread, Multiple Gaps in a Row 35 Bars or More Post Breakout
Late Buying Frenzy - ANTS 35 Bars or More Post Breakout
Exhaustion Gap - Gap Up 5% or Higher with Price 125% or More Above 200sma
T-Super SignalHi Friends,
This Indicator is combination WMA, RSI, Vwap. Buy and Sell Signal generated through WMA and Bar color changes through RSI values.
Vwap: if we find prices below the Vwap then we have to look for BUY signals and if we find prices below the Vwap then we look for Sell Signals.
Its difficult how we came to know that now the prices will Vwap its simple, in this indicator your Higher High and Lower Low signals.
You can easily on chart that HH & HL are found means Vwap will be broke downwards.
Carmarilla Pivots points are also included in this for better to find Long and Short Targets.
Indicator works on 5min.
FreedX Backtest Plus█ Our new FreedX Backtest PLUS template enhances TradingView backtesting with smart features like Mean Reversion, Flexible Volatility, Liquidation Filter, and Better Trend Filtering, making strategies more effective. It lets users set up automated alerts easily. This guide explains how to make the most of these improved features.
The Trading Date Settings feature in our TradingView script allows you to refine their backtesting parameters by specifying trading dates and hours. This feature enhances the accuracy of the backtest by aligning it with specific time frames and days, ensuring that the strategy is tested under relevant market conditions.
Features:
⚙️ Enable Trading Between Specific Dates:
🎯 Purpose:
→ Allows you to limit the backtesting of their strategy to a specific date range.
💡 How to Use:
→ Input the Start Date and End Date for the backtest period.
→ The script will execute the strategy only within this specified date range.
⚙️ Enable Trading Between Specific Hours:
🎯 Purpose:
→ Allows you to limit the backtesting of their strategy to a specific hour range.
💡 How to Use:
→ Input the start and end hour for in Trading Session section.
→ The script will execute the strategy only within this specified hour range.
⚙️ Enable Trading on Specified Days of the Week:
🎯 Purpose:
→ Gives you the option to conduct backtesting on selected days of the week, tailoring the strategy to particular market behaviours that may occur on these days.
💡 How to Use:
→ Select the days of the week for the backtest.
→ The script will activate the trading strategy only on these chosen days.
█ BUY/SELL TRIGGER SETTINGS
The Buy/Sell Trigger Settings feature is designed to provide users with flexibility in defining the conditions for 'LONG' and 'SHORT' signals based on various indicator types. This customization is crucial for tailoring strategies to different trading styles and market conditions.
Features:
⚙️ Single-Line Plotted Indicators :
🎯 Purpose:
→ Enables you to select a single-line plotted indicator as a source for backtesting. You can define specific levels to trigger 'LONG' or 'SHORT' signals.
💡 How to Use:
→ Choose a Single-Line Plotted indicator as the source.
→ Set the top and bottom levels for the indicator.
→ The script triggers 'LONG' signals at the bottom level and 'SHORT' signals at the top level.
⚙️ Two-Line Plotted Indicators :
🎯 Purpose:
→ Allows backtesting with two-line cross plot sources. Signals are generated based on the crossover of these lines.
💡 How to Use:
→ Select two lines as 'Source 1' and 'Source 2' for the indicator.
→ The script triggers a 'LONG' signal when 'Source 1' crosses above 'Source 2'.
→ Conversely, a 'SHORT' signal is triggered when 'Source 2' crosses above 'Source 1'.
⚙️ Custom Signals :
🎯 Purpose:
→ This setting enables users to define their own criteria for LONG, SHORT, and CLOSE signals based on custom indicator outputs.
💡 How to Use:
→ Select the custom source for your signals.
→ Define the output values that correspond to each signal type (e.g., “1” for 'LONG', “-1” for SHORT, and “0” for CLOSE).
→ The script will trigger signals according to these custom-defined values.
█ TP/SL SETTINGS
The TP/SL (Take Profit/Stop Loss) Settings feature is designed to give users control over their profit securing and risk mitigation strategies. This feature allows for setting custom TP and SL levels, which can be critical in managing trades effectively.
Features:
Custom TP/SL Levels for Long/Short Signals:
🎯 Purpose:
→ Enables users to set specific percentage levels for Take Profit and Stop Loss on long and short signals.
💡 How to Use:
→ In the TP/SL Settings, input the desired percentage for Take Profit (TP) and Stop Loss (SL).
→ For example, to secure a profit at a 10% price increase on LONG signals, set the “Long TP Percentage” to “10”.
█ STRATEGY SETTINGS
Strategy Settings provide a range of options to customize the trading strategy. These settings include leverage, position direction changes, and more, allowing users to tailor their strategy to their risk tolerance and market view.
Features:
⚙️ Enable Reverse Position:
🎯 Purpose:
→ Automatically closes a current position and opens a new one in the opposite direction upon detecting a signal for a market trend change.
🎯 Example:
→ If a LONG signal is received while in a SHORT position, the script will close the SHORT position and open a LONG position.
💡 How to Use:
→ Activate this feature in the Strategy Settings.
⚙️ Enable Spot Mode:
🎯 Purpose:
→ Disables short orders, using short signals only for closing long positions.
💡 How to Use:
→ Select the 'Spot Mode' option in the Strategy Settings.
⚙️ Enable Invert Signals:
🎯 Purpose:
→ Inverts all indicator signals, changing LONG signals to SHORT and vice versa.
💡 How to Use:
→ Opt for the 'Invert Signals' feature in the Strategy Settings.
⚙️ Enable Trailing Stop:
🎯 Purpose:
→ Triggers a trailing stop order on the exchange instead of a standard stop market order.
☢️ Caution:
→ The backtesting of this feature on TradingView may not accurately reflect actual strategy performance due to discrepancies between TradingView and exchange mechanisms.
💡 How to Use:
→ Select 'Trailing Stop' in the Strategy Settings.
⚙️ Enable Realistic TP & SL:
🎯 Purpose:
→ Goal is protect the user from unrealistic stop loss and take profit prices in live exchange trading conditions.
→ That feature continuously checks the take profit, stop loss and move stop loss prices to prevent unrealistic values. It changes their values according to (minimum realistic percent %)
💡 How to Use:
→ Select 'Enable Realistic TP & SL' in the Strategy Settings. Write min allowed percents.
█ LIMITER SETTINGS
Limiter Settings provide a range of options to customize the trading strategy. These settings include drawdown limits,contract limit, tradable ratio, for allowing users to tailor their strategy to their risk tolerance and market view.
⚙️ Leverage :
🎯 Purpose:
→ Allows users to apply leverage to their trades.
☢️ Caution:
→ High leverage can significantly increase the risk of liquidation.
→ High leverage and a high stop-loss price may override your fixed stoploss percentage, adjusting the stop-loss to the liquidation price.
💡 How to Use:
→ Set the desired leverage ratio in the Strategy Settings.
⚙️ Drawdown Limit:
🎯 Purpose:
→ Sets a maximum drawdown limit, automatically halting the strategy if this limit is reached, thereby controlling risk.
💡 How to Use:
→ Input the maximum drawdown limit (default: 100, min: 0, max: 100).
⚙️ Contract Limit:
🎯 Purpose:
→ Sets a maximum contract limit, beyond which the compound effect cannot be used. This is important to prevent market manipulation through large-volume orders.
💡 How to Use:
→ Input the maximum contract limit (min: 0).
⚙️ Tradable Ratio:
🎯 Purpose:
→ Sets a tradable ratio, it uses that ratio calculating entry cost for position. Main purpose is cash-out and cash-in according to balance change.
💡 How to Use:
→ Input the tradable ratio percent (default: 98, min: 0.1, max: 100).
█ CASH-OUT SETTINGS
Cash-Out Settings offer a money-saving mechanism that prevents entering positions with the entire balance due to cashed-out funds. It functions with a webhook alerts, but the 'Override Allocation %' option must be enabled.
⚙️ Cash-out Threshold %:
🎯 Purpose:
→ It is cash-out mechanism, it saves money with a target threshold.
💡 How to Use:
→ Input the threshold (min: 0).
⚙️ Cash-out Per Profitable Trades %:
🎯 Purpose:
→ It is cash-out mechanism, it saves money from every trade with a percent like commission.
💡 How to Use:
→ Input save percent% (min: 0).
█ ADAPTIVE VOLATILITY STRATEGY SETTINGS
Advanced Strategy Settings offer sophisticated methods for managing Stop Loss (SL) and Take Profit (TP) using the Average True Range (ATR). These settings are ideal for traders who want to incorporate volatility into their exit strategies.
Features:
⚙️ Enable ATR Stop Loss:
🎯 Purpose:
→ Automatically sets the Stop Loss price using the Average True Range at the time of entry.
💡 How to Use:
→ Activate 'ATR Stop Loss' to have the SL price calculated based on the current ATR.
⛓ Enable ATR Trailing Stop:
→ Dynamically updates the Stop Loss price with each new bar, according to the Average True Range.
→ Activate 'ATR Trailing Stop'.
→ Set the ATR Period to define the number of bars for ATR calculation.
→ Adjust the ATR SL Multiplier to determine the stop loss distance.
→ Modify the ATR TP Multiplier for setting the take profit distance.
⚙️ Enable ATR Take Profit:
🎯 Purpose:
→ Sets the Take Profit price based on the Average True Range at the time of entry.
💡 How to Use:
→ Choose 'ATR Take Profit' for TP price determination using ATR.
⚙️ Enable ATR Limit Entry:
🎯 Purpose:
→ Trade can not open in candle close price. Price should hit target price that based on average true range value.
💡 How to Use:
→ Choose 'ATR Limit Entry' for entry price determination using ATR.
⛓ Enable ATR Limit Entry Trailing Price:
→ Dynamically updates the entry price with each new bar, according to the Average True Range.
→ Activate 'ATR Limit Entry Trailing Price'.
→ Set the ATR Period to define the number of bars for ATR calculation.
→ Adjust the ATR SL Multiplier to determine the stop loss distance.
→ Modify the ATR TP Multiplier for setting the take profit distance.
█ TREND FILTERING SETTINGS
Trend Filtering Settings are designed to align trading strategies with the prevailing market trend, enhancing the precision of trade entries and exits. These settings utilize moving averages for trend analysis and decision-making.
Features:
⚙️ Enable Moving Average Filtering:
🎯 Purpose:
→ Limits trades based on moving average trends, blocking short trades in an uptrend and vice versa.
💡 How to Use:
→ Enable 'Trend Filtering'.
→ Set Fast and Slow MA Lengths for trend analysis.
→ Select the Timeframe for moving averages.
→ Choose the Moving Average Type for trend filtering.
🎯 Note:
→ Be cautious with timeframe selections; lower timeframes than the base may cause inconsistencies.
⛓ Exit on Trend Reversal:
→ Automatically closes a position when a market trend reversal is detected.
→ Turn on 'Exit on Trend Reversal' in the settings.
⛓ Ignore Counter Signals:
→ Ignores counter signals during trending market way.
→ If the trend way is long. All short signals will ignore and vice versa.
⛓ Enable Drawing On Chart:
→ Visually represents the trend filter directly on the chart for easy reference.
→ Activate 'Drawing On Chart' to see the trend filter overlaid on the trading chart.
⚙️ Enable Adx Filtering:
🎯 Purpose:
→ Limits trades based on adx value, blocking trades if trend strength is not enough or vice versa for invert mode.
💡 How to Use:
→ Enable 'Adx Filtering'.
→ Set Smoothing and Lengths for adx trend analysis.
→ Select level barrier for trend strength.
⚙️ Enable Custom Filtering:
🎯 Purpose:
→ Limits trades based on custom sources, blocking trades according to custom trades.
💡 How to Use:
→ Enable 'Custom Filtering'.
→ Select fast source.
→ Select slow source.
→ Enable lag mode.
█ MEAN REVERSION FILTERING SETTINGS
Mean Reversion Filtering Settings are designed to align trading strategies during accumulation market conditions. They set a distance from a line to permit trading. The purpose is to ensure that when the price strays too far from the mean line, it should revert back. In accumulation markets, price movements are generally horizontal. In such situations, mean reversion will operate like a grid, enabling profitable trades with low drawdown. However, when the market structure begins to trend, mean reversion filters may not be as profitable as in accumulation markets. For instance, let's say the price is rising and we are shorting the market until it reaches the mean price line. As the price goes up and the mean also rises, we will end up closing the position at a higher price, rendering the mean reversion system non-profitable. Therefore, consider this filter wisely; greater distances might work better in trending markets.
Features:
⚙️ Enable Kairi Filter:
🎯 Purpose:
→ Blocks trades based on distance percent between price and moving average.
💡 How to Use:
→ Enable 'Kairi Filter'.
→ Set Length and Distance Percent.
⛓ Enable Trend Drawing On Chart:
→ Visually represents the trend filter directly on the chart for easy reference.
→ Enable 'Drawing On Chart' to see the allowed regions overlaid on the trading chart with arrows.
⚙️ Enable VWAP Filter:
🎯 Purpose:
→ Blocks trades based on distance percent between price and volume weighted average price.
💡 How to Use:
→ Enable 'VWAP Filter'.
→ Set Timeframe as minutes and distance as percent.
⛓ Exit on Crossing with VWAP:
→ Automatically closes a position when the closing price of a candle crosses the VWAP.
→ Choose "Enable", 'Exit on Crossing with VWAP' in the settings.
⛓ Enable Drawing On Chart:
→ Visually represents the trend filter directly on the chart for easy reference.
→ Enable 'Drawing On Chart' to see the allowed regions overlaid on the trading chart with arrows.
█ LIQUIDATION FILTER SETTINGS
Liquidation filter compares the volume data of futures and spot markets.
Large differences in volume indicate unexpected market conditions, such as massive trading activities, which may signal liquidations.
Features:
⚙️ Enable Liquidation Filter:
🎯 Purpose:
→ Blocks trades based on extra ordinary volume differences in spot and futures market.
💡 How to Use:
→ Enable 'Liquidation Filter'.
→ Set behavior to react during that market conditions.
→ Set base amount to filter volume. This amount changes according to timeframe, you should find right amounts.
→ Liquidation candle count means, it is sum of liquidated candle count in last 20 bars.If you set 0, it means feature is disabled.
→ Detection, try to select the spot and perpetual symbols automatically, symbol names varies, it do not support all symbols, you should choose manually in that situation.
█ AUTOMATED ALERT SETTINGS
Automated Alert Settings are designed to integrate your TradingView script with webhook alerts. These settings allow for enhanced strategy execution and management.
Features:
Enable Webhook Alerts:
🎯 Purpose:
→ Trigger BUY, SELL, CHANGE_DIRECTION or MOVE_STOP_LOSS .
💡 How to Use:
→ Enable 'Webhook Alerts' in the settings.
→ Enter your Strategy Key.
→ Optionally, activate 'Override Allocation Percentage' to bypass the preset allocation percentage.
☢️ Caution:
→ Overriding the allocation percentage may result in trade entry errors due to misalignment between entry cost and available balance.
Enable Custom Alerts:
🎯 Purpose:
→ User can produce unique messages for different purposes.
💡 How to Use:
→ Enable 'Custom Alerts' in the settings.
→ Enter your message format type.
█ DEBUGGING SETTINGS
Debugging Settings are crucial for users who want to analyze and optimize their strategies. These settings provide tools for visualizing alerts on charts and accessing detailed data outputs.
Features:
⚙️ Enable Alert Plotting:
🎯 Purpose:
→ Allows users to visualize trading alerts directly on the chart, aiding in strategy analysis and refinement.
💡 How to Use:
→ Activate 'Alert Plotting' to draw alerts on the chart.
☢️ Caution:
→ It is recommended to disable this feature when creating actual trading alerts, as it can cause latency in signal processing.
⚙️ Enable Debugger Mode:
🎯 Purpose:
→ Facilitates strategy debugging by providing detailed data output in the TradingView Data Window.
💡 How to Use:
→ Turn on 'Debugger Mode' to access real-time data and metrics relevant to your strategy.
⚙️ Enable Table:
🎯 Purpose:
→ Facilitates strategy debugging by providing detailed data output in the TradingView Table on chart.
💡 How to Use:
→ Turn on 'Table' to access last closed candle data and metrics relevant to your strategy.
█ ADDITIONAL SETTINGS
⚙️ Enable Bar Magnifier
⚙️ Enable Using standard OHLC
Options Series - NonOverlay_Technical
⭐ 1. Purpose:
The script is designed to show technical indicators in a non-overlay form using candlestick representations. It combines multiple popular technical analysis tools to gauge the market's bullish or bearish conditions.
⭐ 2. Indicators:
The script uses several indicators across different timeframes: Exponential Moving Averages (EMA) for 5, 20, 50 periods. Simple Moving Average (SMA) for 200 periods. RSI (Relative Strength Index) for momentum. VWAP (Volume Weighted Average Price) for average price evaluation. PSAR (Parabolic SAR) for trend direction. Daily and multi-day (2-day and 3-day) data for broader market context.
⭐ 3. Candlestick Representation:
The script uses color-coded candlesticks to visually represent various indicators and their bullish/bearish states: Green candlesticks for bullish conditions. Red candlesticks for bearish conditions. Neutral/transparent for non-significant conditions.
⭐ 4. Important Conditions:
It calculates bullish and bearish conditions for each indicator: MA20: When the price is above or below the 20-period EMA. RSI: When RSI is above or below 50. VWAP: When the price is above or below the VWAP. PSAR: When the price is above or below the PSAR. 2-day and 3-day Moving Averages: Evaluating the broader trend.
⭐ 5. Bullish vs. Bearish Calculation:
The script sums up bullish and bearish signals to determine the overall market condition: Current_logical_bull: Counts the number of bullish indicators. Current_logical_bear: Counts the number of bearish indicators. The script compares these values to conclude whether the market is more bullish or bearish.
⭐ 6. Visual Plotting:
The script uses plotcandle to display the non-overlay signals at different levels for each condition, stacked vertically from MA20 to PSAR. Additionally, a master candle combines all indicators to show an overall market trend.
⭐ 7. Neon Effect on MA20:
It adds a neon-like effect to the MA20 line, making it visually prominent: A standard plot line with the base color. Two additional neon layers with increasing transparency to enhance the effect.
⭐ 8. Daily Timeframes and Lookahead:
The script fetches daily data using the lookahead feature to get a broader view of the market trend. It tracks the previous day’s and two days' data for comparison.
⭐ 9. Labels and Customization:
The script dynamically adds labels to the chart for the different plotted indicators at the last bar, making it easier to identify which indicator is being represented.
🚀 Conclusion:
The script combines multiple technical indicators, such as EMA, RSI, VWAP, PSAR, and multi-day moving averages, to visually assess bullish and bearish market conditions. It uses color-coded candlesticks to represent each indicator and sums up the signals to determine the overall trend.
SB Master ChartA free 14 day trial is available upon request.
This is the SB Master Chart. I have combined my Swing Traders Serenity filter to this indicator as a filter for even better trade entries and exits.
SB Master Chart was designed with a minimalist appearance, but is able to provide a trader with all the information he needs at a glance to make informed trading decisions. This chart utilizes the alert() function so the trader can be alerted even while away from a computer to a potential trade opportunity.
The visual display of the chart utilizes the following indicators.
Bollinger
MACD
RSI
Stochastic
Session SMA5, SMA20, SMA50
Daily VWAP20, VWAP50, VWAP100
The alert condition utilizes a combination of the above to form its overbought/oversold conditions.
The bar colors are determined by the three moving averages the chart tracks, MA5 , MA20, and MA50.
If the bars are green, a clear uptrend is happening, red represents downtrend.
Yellow bars indicate MA5 is in an uptrend and Orange indicates that MA5 is in a downtrend.
The x's at the bottom of the chart represent macd crossovers and crossunders.
The following dynamic support and resistance lines are as follows.
The black horizontal lines are the current bars upper and lower Bollinger Band.
The green horizonal line is the 20 day VWAP.
The yellow horizonal line is the 50 day VWAP.
The red horizonal line is the 100 day VWAP.
The settings for the chart include the following.
Options for the chart include the ability to disable oversold or overbought alerts.
The ability to turn off most of the visual settings.
A multi time frame filter called "Swing Traders Serenity" to filter out trades that do not meet uptrend/downtrend criteria on higher time frames/periods.
A sympathy play. Sometimes when a stock moves, other stocks move with it. Be alerted when a sympathy play is about to happen by tracking another ticker.
MA Study: Different Types and More [NeoButane]A study of moving averages that utilizes different tricks I've learned to optimize them. Included is Bollinger Bands, Guppy (GMMA) and Super Guppy.
The method used to make it MtF should be more precise and smoother than regular MtF methods that use the security function. For intraday timeframes, each number represents each hour, with 24 equal to 1 day. For daily, 3 is 3 day, for weekly, 4 is the 4 weekly, etc. If you're on a higher timeframe than the one selected, the length will not change.
Log-space is used to make calculations work on many cryptos. The rules for color changing Guppy is changed to make it not as choppy on MAs other than EMA. Note that length does not affect SWMA and VWAP and source does not affect VWAP.
A short summary of each moving average can be found here: medium.com
List of included MAs:
ALMA: Arnaud Legoux
Double EMA
EMA: Exponential
Hull MA
KAMA: Kaufman Adaptive
Linear Regression Curve
LSMA: Least Squares
SMA: Simple
SMMA/RMA: Smoothed/Running
SWMA: Symm. Weighted
TMA: Triangular
Triple EMA
VWMA: Volume Weighted
WMA: Weighted
ZLEMA: Zero Lag
VWAP: Vol Weighted Average
Welles Wilder MA
AI Trend Navigator [K-Neighbor]█ Overview
In the evolving landscape of trading and investment, the demand for sophisticated and reliable tools is ever-growing. The AI Trend Navigator is an indicator designed to meet this demand, providing valuable insights into market trends and potential future price movements. The AI Trend Navigator indicator is designed to predict market trends using the k-Nearest Neighbors (KNN) classifier.
By intelligently analyzing recent price actions and emphasizing similar values, it helps traders to navigate complex market conditions with confidence. It provides an advanced way to analyze trends, offering potentially more accurate predictions compared to simpler trend-following methods.
█ Calculations
KNN Moving Average Calculation: The core of the algorithm is a KNN Moving Average that computes the mean of the 'k' closest values to a target within a specified window size. It does this by iterating through the window, calculating the absolute differences between the target and each value, and then finding the mean of the closest values. The target and value are selected based on user preferences (e.g., using the VWAP or Volatility as a target).
KNN Classifier Function: This function applies the k-nearest neighbor algorithm to classify the price action into positive, negative, or neutral trends. It looks at the nearest 'k' bars, calculates the Euclidean distance between them, and categorizes them based on the relative movement. It then returns the prediction based on the highest count of positive, negative, or neutral categories.
█ How to use
Traders can use this indicator to identify potential trend directions in different markets.
Spotting Trends: Traders can use the KNN Moving Average to identify the underlying trend of an asset. By focusing on the k closest values, this component of the indicator offers a clearer view of the trend direction, filtering out market noise.
Trend Confirmation: The KNN Classifier component can confirm existing trends by predicting the future price direction. By aligning predictions with current trends, traders can gain more confidence in their trading decisions.
█ Settings
PriceValue: This determines the type of price input used for distance calculation in the KNN algorithm.
hl2: Uses the average of the high and low prices.
VWAP: Uses the Volume Weighted Average Price.
VWAP: Uses the Volume Weighted Average Price.
Effect: Changing this input will modify the reference values used in the KNN classification, potentially altering the predictions.
TargetValue: This sets the target variable that the KNN classification will attempt to predict.
Price Action: Uses the moving average of the closing price.
VWAP: Uses the Volume Weighted Average Price.
Volatility: Uses the Average True Range (ATR).
Effect: Selecting different targets will affect what the KNN is trying to predict, altering the nature and intent of the predictions.
Number of Closest Values: Defines how many closest values will be considered when calculating the mean for the KNN Moving Average.
Effect: Increasing this value makes the algorithm consider more nearest neighbors, smoothing the indicator and potentially making it less reactive. Decreasing this value may make the indicator more sensitive but possibly more prone to noise.
Neighbors: This sets the number of neighbors that will be considered for the KNN Classifier part of the algorithm.
Effect: Adjusting the number of neighbors affects the sensitivity and smoothness of the KNN classifier.
Smoothing Period: Defines the smoothing period for the moving average used in the KNN classifier.
Effect: Increasing this value would make the KNN Moving Average smoother, potentially reducing noise. Decreasing it would make the indicator more reactive but possibly more prone to false signals.
█ What is K-Nearest Neighbors (K-NN) algorithm?
At its core, the K-NN algorithm recognizes patterns within market data and analyzes the relationships and similarities between data points. By considering the 'K' most similar instances (or neighbors) within a dataset, it predicts future price movements based on historical trends. The K-Nearest Neighbors (K-NN) algorithm is a type of instance-based or non-generalizing learning. While K-NN is considered a relatively simple machine-learning technique, it falls under the AI umbrella.
We can classify the K-Nearest Neighbors (K-NN) algorithm as a form of artificial intelligence (AI), and here's why:
Machine Learning Component: K-NN is a type of machine learning algorithm, and machine learning is a subset of AI. Machine learning is about building algorithms that allow computers to learn from and make predictions or decisions based on data. Since K-NN falls under this category, it is aligned with the principles of AI.
Instance-Based Learning: K-NN is an instance-based learning algorithm. This means that it makes decisions based on the entire training dataset rather than deriving a discriminative function from the dataset. It looks at the 'K' most similar instances (neighbors) when making a prediction, hence adapting to new information if the dataset changes. This adaptability is a hallmark of intelligent systems.
Pattern Recognition: The core of K-NN's functionality is recognizing patterns within data. It identifies relationships and similarities between data points, something akin to human pattern recognition, a key aspect of intelligence.
Classification and Regression: K-NN can be used for both classification and regression tasks, two fundamental problems in machine learning and AI. The indicator code is used for trend classification, a predictive task that aligns with the goals of AI.
Simplicity Doesn't Exclude AI: While K-NN is often considered a simpler algorithm compared to deep learning models, simplicity does not exclude something from being AI. Many AI systems are built on simple rules and can be combined or scaled to create complex behavior.
No Explicit Model Building: Unlike traditional statistical methods, K-NN does not build an explicit model during training. Instead, it waits until a prediction is required and then looks at the 'K' nearest neighbors from the training data to make that prediction. This lazy learning approach is another aspect of machine learning, part of the broader AI field.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
[blackcat] L5 Linebreak MasterLevel: 5
Background
Like many people in the Tradingview community, I have been studying how to apply Line Break Chart to backtesting and live trading for long. However, as we all know, the official Tradingview Line Break Chart is not recommended for backtesting because it will lead to unrealistic backtesting results. So, I thought about developing a Line Break Chart that can be used for backtesting and trading. This "L5 Linebreak Master" is one of them that I am introducing today.
This indicator is based on OHLC data, because this kind of chart can be used for reliable backtesting and live trading in Tradingview. Therefore, the Linebreak Master in this script can actually coexist with the standard Japanese candlestick chart, but the trend reversal information it prompts is based on a principle similar to Line Break Chart. When the two can coexist and produce trading signals at the same time, this is really a very interesting invention.
Function
Linebreak charts were developed in Japan and popularized here by Steve Nisson in his book Beyond Candlesticks. The purpose of linebreak charts is to filter out market noise and give a clear indication of the current trend and trend reversals. As you may know, sometimes determining the current trend can be difficult due to market price movement that consolidates, and a trend reversal can be just as difficult. The green and red bars are called lines. Notice that whenever we have consecutive green lines, each line has a higher close than the previous one; when we have consecutive red lines each line has a lower close than the previous line.
First of all, this Linebreak chart can coexist in the main chart with the Japanese candlestick chart. However, many parts may be overlapped with Japanese candle stick to see it clearly. My recommendation is that users can click "Settings" of main chart and turn off default candle chart.
Secondly, this Linebreak chart can be used for backtesting strategies, because it is essentially OHLC data. And the absolute values of the price is based on the original OHLC data. The certainty of the trend reversal is relatively high. It can be compared with Japanese candlesticks on the timeline.
Finally, this Linebreak chart is embedded with a Linebreak intrinsic trading strategy, which can be used to locate entry points through red and green labels. This strategy supports Tradingview alerts. You can get "LONG" or "SHORT" trading reminders by creating alerts. In order to obtain a clear market structure, Zen Stroke (Autolength ZigZag ), Zen Kiss (Special Moving Averages), Fibnacci Retracement Golden Levels, Unique Fibnacci Time windows and Dynamic Fibonicci support and resistance arrows can be checked to be superimposed and displayed on the main chart to facilitate understanding of the temporal and spatial position of prices in the market.
A trading system based on linebreak charts must must have all entries and exits based on the close or open of a line. The two key values of a linebreak chart are the linebreak number and the underlying time interval. We can construct linebreak charts based on daily, weekly, 5 minute, hourly, any time frame. This allows us to adapt it for day trading or swing trading systems. I developped an inheret linebreak strategy with labels facilitate you to locate trend reversals.
Indicator Set
Linebreak Master Chart (新价图)
Zen Stroke (Auto ZigZag , 自动画缠论笔)
Zen Kiss Moving Averages (缠论均线)
Fibnacci Retracement Golden Levels (半对数-黄金分割线)
Unique Fibnacci Time windows (独创的斐波那契时间窗口)
Dynamic Fibonicci support and resistance arrows (动态斐波那契支撑和阻力箭头)
Inputs
Source Type: Open, High, Low, Close, Hl2, Hlc3, Lx, Vwapc, Vwaplx, Vwaphl2 (Case Sensitive)
Returns source input selection variant, default to "Close" if blank or typo.
Open --> open
High --> High
Low --> Low
Close --> Close
Hl2 --> hl2
Hlc3 --> hlc3
Lx --> Lao Xu 1949 Median Price
Vwapc --> vwap based on close
Vwaplx --> vwap based on Lao Xu 1949 Median Price
Vwaphl2 --> vwap based on hl2
Show Zen Stroke --> True as default
Show Fib Space based on Semi-LOG --> True as default
Zen Fractals Lookback Period --> 377 as default
Key Signal
Bars
Green bars for up trend
Red bars for down trend
Labels
Green labels for buy/long.
Red labels for sell/short.
Zen Stroke ( ZigZag )
Green line section for up stroke
Red line section for down stroke
Moving Averages
Yellow for fast line
Fuchsia for slow line
Pros and Cons
Suitable for discretionary trading and bots via alerts. However, only well selected trading pair and time frame can guarantee bot works.
Intuitive and effective, the output signal is more reliable after multi-indicator resonance
Remarks
My fourth L5 indicator published
Closed-source
Invite-only
How to get it?
500 Tradingview Coins Per Monthly Subscription
5000 Tradingview Coins Per Yearly Subscription
Wick Hunter MVWAP & RSIWick Hunter MVWAP & RSI to be used to produce quality reversal entries based on VWAP with added RSI Filtering.
The MVWAP allows our traders to utilize different timeframes in combination, and send alerts directly to Wick Hunter via the any alert function.
Wick Connect MVWAP & RSI was designed specifically to work with Wick Hunter, the lightning fast cryptocurrency trading robot that can trade for you 24/7. Simply input your UUID and start trading automatically with Wick Hunter!
Added additional logic for VWAP crosses, alert conditions and table for visualization which can be helpful to backtest VWAPS and plot current distance away from VWAP settings, in percent.
The VWAP is accurate across all timeframes and will show multiple VWAP Values (3 timeframes each with separate long and short VWAP values).
Default values of 1/5/15 Minute, 5 Period with "SAFE" VWAP Values for new users. Recommended for users to always plot and backtest VWAP Settings manually before running any alerts or active configurations.
Added alert condition on Short/Long crossing for each timeframe which can be fired to trigger trades to Wick Hunter.
Alerts are now fired using crossabove and crossbelow logic which avoids fake signals. Previous script versions would fire signals anytime above/below VWAP resulting in bagged trades. With the new crossing condition we are sure that the previous candle price was below/above the vwap and then price crossed on the current candle to fire the alert.
Alerts also now require a reset, meaning that the price must move above/below the VWAP after firing an alert to retrigger an alert. This will reduce entries however improve entry quality.
Alert repainting was improved as well, however you may still see alerts fire and repaint over. Generally speaking if price goes close to the Long or Short VWAP - expect a signal to fire if using once per bar.
Alerts will fire as soon as price crosses the VWAP Line if using "Once per bar", and may disappear after.
Alerts shown on the chart are confirmed via candle close, and as such, "Once per bar close" should be used if the user wants to only trade confirmed signals shown on the chart.
"Distance from VWAP Settings" table is now plotted across all timeframes which will allow users to see an accurate distance from their current VWAP Settings.
For instance if you are on the 1 Minute timeframe with a long VWAP of 1% the table will plot the current distance (in %) that price is away from the 1% VWAP .
During a market dump you would see the 1% VWAP near current price and its value in the table may be less than 1%.
The data in the table can be very useful for backtesting and checking VWAPS daily. The VWAP will move radically in volatile days and as such this may allow users to further tweak their VWAP Settings.
To use this script simply Favorite and add to your chart.
Happy Trading :)
[DisDev] Tactical Analysis Part II: Levels🟩 Tactical Analysis Part II: Levels of the Battlefield represents the evolution of our comprehensive suite, expanding on the success of Tactical Analysis Part I: High-Volume Recovery . This advanced tool seamlessly integrates components from PVSRA, the Market Maker Method by Steve Mauro, and Tino from Traders Reality's Hybrid System, equipping traders with a significant advantage. With Tactical Analysis Part II, you gain access to a diverse range of essential features, including the DisDev Level Reducer™, designed to streamline your chart while ensuring you never overlook a critical level. Prepare to enhance your trading prowess with the power of Tactical Analysis Part II: Levels of the Battlefield.
⚡ OVERVIEW ⚡
Key Features 🔑
Daily Open: Marks the daily opening price at 00:00 UTC.
Weekly Open: Highlights the opening price at the start of each trading week.
Initial Balance (IB): Represents the high and low of the first hour of each day.
Pivot Points: Calculates the two closest pivot levels to the current price.
Volume Weighted Average Price (VWAPs): Marks key areas where the majority of transactions occur.
Average Daily Range (ADR) & Average Weekly Range (AWR): Indicates potential price movement boundaries.
Psychological Levels: A weekly range established each Saturday evening.
Benefits 💸
Comprehensive Analysis: Consolidates multiple important trading metrics into one indicator.
Time Efficiency: Saves time that would be spent manually tracking each of these metrics.
Enhanced Decision Making: Helps traders make more informed decisions by providing important levels.
⚙️ CONFIGURATION & SETTINGS ⚙️
Inputs 🔧
Level Reducer: Allows the user to declutter the chart while still tracking all selected levels.
Level and Label Settings: Provides control over the visibility and length of level lines and labels.
Customizable Settings: Enable or disable any level
Alerts 🔔
Tactical Coordinates Table: Updates levels dynamically in the table according to the actual price.
Real-time Alerts: The Indicator provides alerts when price approaches or crosses any of the defined levels.
Tactical Coordinates Table
Alerts
💡 USAGE & STRATEGY 💡
Trading Strategies 📈
Level Confirmation: Use the Indicator's defined levels as confirmations for your own trading strategies.
Reversal Spots: Levels like the daily and weekly opens or the VWAPs can be potential reversal points.
Breakout Trades: Initial Balance (IB) levels could provide breakout trade opportunities.
Timeframes and Symbols ⌚
Multi-Timeframe: Indicator is compatible with multiple timeframes.
Versatile: Can be used on any crypto trading pair on TradingView.
🤖 DETAILS & METHODOLOGY 🤖
Algorithm and Calculation 🛡️
Dynamic Calculation: Levels are calculated based on price and time data, providing real-time insights.
Pivot Points: Calculated based on a specific formula involving past and subsequent bars or candles.
VWAPs: Calculated based on the average price weighted by volume.
📚 ADDITIONAL RESOURCES 📚
Tutorials and Guides 📖
Visit our website to download comprehensive PDF documents that provide in-depth explanations on various key topics. These include:
Understanding various trading levels such as Daily Open, Weekly Open, Initial Balance (IB), Pivot Points, VWAPs, ADR & AWR, and Psychological Levels.
How data in different time frames is calculated and how this affects the marking of High and Low levels on different time frames.
How our script addresses the data limitations in TradingView, ensuring all levels are shown at the lowest time frame allowable.
Adjusting level and label settings in the indicator.
Using the Level Reducer function to help declutter your chart while still tracking all selected levels.
Chart Examples 📊
Daily Levels
Weekly and Monthly Levels
Tactical Coordinates Table
🚀 CONCLUSION 🚀
The Indicator, with its Levels feature, provides a unique perspective to day and swing traders. Its ability to dynamically calculate and visualize critical trading levels and ranges aims to empower traders with timely insights and efficient analysis. Whether you're an experienced trader or just starting out, integrating these level markers into your trading strategy can significantly improve your market understanding and decision-making process.
The complete Tactical Analysis Indicator Suite
⚠️ DISCLAIMER ⚠️
This indicator is provided as a tool for traders and is not intended to be the sole basis for any trading decision. Always conduct your own research and due diligence, and consider your risk tolerance before entering any trades. Trading involves risk and is not suitable for everyone.
Fishing The Trend - SetupFishing The Trend - Setup
HOW Does it work ?
The name itself says we must have a trading setup for ease of trading for getting the most from the market.
i.e. Combining the most useful indicator under one roof...
Fishing The Trend - Setup have following ::-
1) IntraDay Range.
2) Four Friends.
3) Fishing The Trend.
4) Multi Time Frame - Custom VWAP.
5) RSI based SMA.
1) Intraday Range
HOW Does it work ?
For calculating the average most probable range for any plotted security, it plots 2 bands higher band and a lower band for a particular range using the default ADR. This indicator is on - as default.
# Upper and Lower band act as support and resistance , user may see a reversal in trend from these bands
# If the price breaks these bands, don't take a trade expecting a reversal
# These bands are calculated by averaging the previous x number of days' highs and lows of the security.
2) Four Friends
HOW Does it work ?
Plotting different EMA for finding the direction of Trend / Market, There are actually 5 EMAs- F1 = 20 EMA, F2 = 50 EMA, F3 = 100EMA, F4= 150, and Trend = 200-EMA. Usually 200 EMA is used to find the trend of market whether bearish / bullish, if market is above 200 ema than we may say its bullish and below 200 ema its bearish. The 50 EMA and 100 EMA works as best pullbacks in the trending market, user can configure as per his trading style and method. This indicator can be changed to multi timeframe as required. User can plot lower time frame data onto higher time or vice-versa for finding better opportunities for early trend detection, also the user have the option to use feature of non-repainting or vice versa. The default Color MA option is un=ticked, means plotting 5 different color EMAs, If the user ticks this feature, the whole 5 EMA color will change into red or orange as per direction of closing candle, user can change color as per his / her color combination. Default plotting time is of 1 min. This second indicator is off by default - user have to tick-it to activate it
3) Fishing The Trend
HOW Does it work ?
The code uses dynamic current levels to identify trend, This indicator is using SuperTrend, ATR and relatively Smoothened ATR for
early trend reversal detection to determine the trend and direction so that a fruitful decision can be made.
To Indicate the strength of the trendline, The standard calculations of SuperTrend, along with multiple smoothen ATR results are clubbed determine the direction, a step ahead. However, the indicator is not appropriate for all the situations. It works when the market is trending. Hence it is best to use for short-term technical analysis . SuperTrend uses only the two parameters of ATR and multiplier which are not sufficient under certain conditions to predict the accurate direction of the market. Here in this indicator ATR value is not editable and after long backtests the best ATR value is kept that helps the indicator working very well.
The default setting is best for use, but user can customize the Multiplier for his own fine tunings, So once the Levels are matched, a Long / Short suggestion is plotted. Best Time Frames to use : starting from 1, 3, 5, 15, 30 Mins and so on... to determine Trend.
Long = L and Short = S.
Where and how to use?
The main use of this indicator is quick scalping and Intra-day trading. The Indicator shows the option to show Long/Short Signals which the use can be turned on or off. The indicator shows a very useful option for early detection of the ongoing trend whether there will be reversal of trend or not ?
Stop Loss - That should be done by following ones risk appetite, Ideally the High of the Previous Candle should be the stop loss for
the Long / Short but everyone has their own Risk Management Strategies based on the capital deployed.
by default this comes on..
4) Multi Time Frame - Custom VWAP.
HOW Does it work ?
VWAP = The volume weighted average price (VWAP) is a trading benchmark used by traders that gives the average price a
security has traded at throughout the day, based on both volume and price. It is important because it provides traders with insight into both the trend and value of a security.
This indicator is programmed for using vwap for spot indices / securities not having volume calculations but have futures, specially banknifty and nifty of Indian markets. User has option to change the plotting timeframe as per his requirements for checking the trend under vwap or over vwap. The user have to type the equivalent script symbol in the space provided to calculate the vwap of that particular security and plot on the non-volume script. Seems confusing !!!! have a look
at example..
eg. - if you have chart of banknifty spot and u want to place vwap on in then just write security name in the blank field banknifty future of continuous contract running month " BANKNIFTY1! " Futures Chart... that's it and u will have futures vwap plotting on spot chart... this can give user a definite idea about the vwap line. User have option to change color of bar and change color of the
vwap line which is plotted.
By default this comes off..
Note = This indicator changes bar color
5) RSI based SMA
HOW Does it work ?
# This indicator is for user using RSI, The twist is that not only it uses RSI but also simple moving average, So this makes the user more safe as it is a combination of RSI and SMA.
# Multi-colored ----> Green/Red/Yellow user can change ..moving average of choice
# user can change overbought / over sold values of RSI as required. The time frame here is fixed.
* There is an On/Off Option for each Indicator.
Disclaimer : There could be scenarios when the candle is shown as a long or short and then the candle turns into opposite direction red/green. In such scenarios , Please refer to the just preceding candle and the early detection signal and if this candle is moving into positive direction only then go for long, Similarly opposite for Short, the value of multiplier 1.0 is determined using series of back test across various assets with different time frames.
User Options : Choice of turning on / off the Long / Short Labels and early detection/StopLoss Option can also be activated or deactivated.
Visual Checks - The user could manually validate the back test results on various assets they would like to use this strategy on before putting it live.
Usage/Markets : Index Trading / Equities and also well with Commodities and Currencies
How to get access
Please click on the link / email available in the signature or send me a private message to get access.
Feedback
Please click on the link/email in the signature or send me a private message for suggestions/feedbacks.
Depth of Market (DOM) [LuxAlgo]The Depth Of Market (DOM) tool allows traders to look under the hood of any market, taking price and volume analysis to the next level. The following features are included: DOM, Time & Sales, Volume Profile, Depth of Market, Imbalances, Buying Pressure, and up to 24 key intraday levels (it really packs a punch).
As a disclaimer, this tool does not use tick data, it is a DOM reconstruction from the provided real-time time series data (price and volume). So the volume you see is from filled orders only, this tool does not show unfilled limit orders.
Traders can enable or disable any of the features at will to avoid being overwhelmed with too much information and to make the tool perform faster.
The features that have the biggest impact on performance are Historical Data Collection, Key Levels (POC & VWAP), Time & Sales, Profile, and Imbalances. Disable these features to improve the indicator computational performance.
🔶 DOM
This is the simplest form of the tool, a simple DOM or ladder that displays the following columns:
PRICE: Price level
BID: Total number of market sell orders filled or limit buy orders filled.
SELL: Sell market orders
BUY: Buy market orders
ASK: Total number of market buy orders filled or limit sell orders filled.
The DOM only collects historical data from the last 24 hours and real-time data.
Traders can select a reset period for the DOM with two options:
DAILY: Resets at the beginning of each trading day
SESSIONS: Resets twice, as DAILY and 15.5 hours later, to coincide with the start of the RTH session for US tickers.
The DOM has two main modes, it can display price levels as ticks or points. The default is automatic based on the current daily volatility, but traders can manually force one mode or the other if they wish.
For convenience, traders have the option to set the number of lines (price levels), and the size of the text and to display only real-time data.
By default, the top price is set to 0 so that the DOM automatically adjusts the price levels to be displayed, but traders can set the top price manually so that the tool displays only the desired price levels in a fixed manner.
🔹 Volume Profile
As additional features to the basic DOM, traders have access to the volume profile histogram and the total volume per price level.
This helps traders identify at a glance key price areas where volume is accumulating (high volume nodes) or areas where volume is lacking (low volume nodes) - these areas are important to some traders who base their decision-making process on them.
🔹 Imbalances
Other added features are imbalances and buying pressure:
Interlevel Imbalance: volume delta between two different price levels
Intralevel Imbalance: delta between buy and sell volume at the same price level
Buying Pressure Percent: percentage of buy volume compared to total volume
Imbalances can help traders identify areas of interest in the price for possible support or resistance.
🔹 Depth
Depth allows traders to see at a glance how much supply is above the current price level or how much demand is below the current price level.
Above the current price level shows the cumulative ask volume (filled sell limit orders) and below the current price level shows the cumulative bid volume (filled buy limit orders).
🔶 KEY LEVELS
The tool includes up to 24 different key intraday levels of particular relevance:
Previous Week Levels
PWH: Previous week high
PWL: Previous week low
PWM: Previous week middle
PWS: Previous week settlement (close)
Previous Day Levels
PDH: Previous day high
PDL: Previous day low
PDM: Previous day middle
PDS: Previous day settlement (close)
Current Day Levels
OPEN: Open of day (or session)
HOD: High of day (or session)
LOD: Low of day (or session)
MOD: Middle of day (or session)
Opening Range
ORH: Open range high
ORL: Open range low
Initial Balance
IBH: Initial balance high
IBL: Initial balance low
VWAP
+3SD: Volume weighted average price plus 3 standard deviations
+2SD: Volume weighted average price plus 2 standard deviations
+1SD: Volume weighted average price plus 1 standard deviation
VWAP: Volume weighted average price
-1SD: Volume weighted average price minus 1 standard deviation
-2SD: Volume weighted average price minus 2 standard deviations
-3SD: Volume weighted average price minus 3 standard deviations
POC: Point of control
Different traders look at different levels, the key levels shown here are objective and specific areas of interest that traders can act on, providing us with potential areas of support or resistance in the price.
🔶 TIME & SALES
The tool also features a full-time and sales panel with time, price, and size columns, a size filter, and the ability to set the timezone to display time in the trader's local time.
The information shown here is what feeds the DOM and it can be useful in several ways, for example in detecting absorption. If a large number of orders are coming into the market but the price is barely moving, this indicates that there is enough liquidity at these levels to absorb all these orders, so if these orders stop coming into the market, the price may turn around.
🔶 SETTINGS
Period: Select the anchoring period to start data collection, DAILY will anchor at the start of the trading day, and SESSIONS will start as DAILY and 15.5 hours later (RTH for US tickers).
Mode: Select between AUTO and MANUAL modes for displaying TICKS or POINTS, in AUTO mode the tool will automatically select TICKS for tickers with a daily average volatility below 5000 ticks and POINTS for the rest of the tickers.
Rows: Select the number of price levels to display
Text Size: Select the text size
🔹 DOM
DOM: Enable/Disable DOM display
Realtime only: Enable/Disable real-time data only, historical data will be collected if disabled
Top Price: Specify the price to be displayed on the top row, set to 0 to enable dynamic DOM
Max updates: Specify how many times the values on the SELL and BUY columns are accumulated until reset.
Profile/Depth size: Maximum size of the histograms on the PROFILE and DEPTH columns.
Profile: Enable/Disable Profile column. High impact on performance.
Volume: Enable/Disable Volume column. Total volume traded at price level.
Interlevel Imbalance: Enable/Disable Interlevel Imbalance column. Total volume delta between the current price level and the price level above. High impact on performance.
Depth: Enable/Disable Depth, showing the cumulative supply above the current price and the cumulative demand below. Impact on performance.
Intralevel Imbalance: Enable/Disable Intralevel Imbalance column. Delta between total buy volume and total sell volume. High impact on performance.
Buying Pressure Percent: Enable/Disable Buy Percent column. Percentage of total buy volume compared to total volume.
Imbalance Threshold %: Threshold for highlighting imbalances. Set to 90 to highlight the top 10% of interlevel imbalances and the top and bottom 10% of intra-level imbalances.
Crypto volume precision: Specify the number of decimals to display on the volume of crypto assets
🔹 Key Levels
Key Levels: Enable/Disable KEY column. Very high performance impact.
Previous Week: Enable/Disable High, Low, Middle, and Close of the previous trading week.
Previous Day: Enable/Disable High, Low, Middle, and Settlement of the previous trading day.
Current Day/Session: Enable/Disable Open, High, Low and Middle of the current period.
Open Range: Enable/Disable High and Low of the first candle of the period.
Initial Balance: Enable/Disable High and Low of the first hour of the period.
VWAP: Enable/Disable Volume-weighted average price of the period with 1, 2, and 3 standard deviations.
POC: Enable/Disable Point of Control (price level with the highest volume traded) of the period.
🔹 Time & Sales
Time & Sales: Enable/Disable time and sales panel.
Timezone offset (hours): Enter your time zone\'s offset (+ or −), including a decimal fraction if needed.
Order Size: Set order size filter. Orders smaller than the value are not displayed.
🔶 THANKS
Hi, I'm makit0 coder of this tool and proud member of the LuxAlgo Opensource team, it's an honor to be part of the LuxAlgo family doing something I love as it's writing opensource code and sharing it with the world. I'd like to thank all of you who use, comment on, and vote for all of our open-source tools, and all of you who give us your support.
And of course thanks to the PineCoders family for all the work in front of and behind the scenes that makes the PineScript community what it is, simply the best.
Peace, Love & PineScript!
RankDelta - Ranks - v1.0Market Intelligence Summary
Conditions for Buy
VWAP: Price trading above VWAP
Alligator: Price is trading above Lips which is trading above Teeth which is trading above Jaw
ST (21,1): Price is trading above Super trend (21,1)
ST (14,2): Price is trading above Super trend (14,2)
ST (10,3): Price is trading above Super trend (10,3)
RS: Comparison of stocks vs respective index.
If the % change of banks stocks over the given timeframe is more than Banknifty index then it is “Buy” Signal
Similarly, if the % change of IT stocks over the given timeframe is more than NIFTY IT index then it is “Buy” Signal
If the % change of NIFTY constituent (RIL, HDFC) over the given timeframe is more than NIFTY index then it is “Buy” Signal
Conditions for Sell
VWAP: Price trading below VWAP
Alligator: Price is trading below Lips which is trading below Teeth which is trading below Jaw
ST (21,1): Price is trading below Super trend (21,1)
ST (14,2): Price is trading below Super trend (14,2)
ST (10,3): Price is trading below Super trend (10,3)
RS: Comparison of stocks vs respective index.
If the % change of banks stocks over the given timeframe is less than Banknifty index then it is “Sell” Signal
Similarly, if the % change of IT stocks over the given timeframe is less than NIFTY IT index then it is “Sell” Signal
If the % change of NIFTY constituent (RIL, HDFC) over the given timeframe is less than NIFTY index then it is “Sell” Signal
Bull Bear Power With EMA FilterDescription of Indicator:
This Pine Script indicator colors price bars based on the open price in relation to custom moving averages (EMA/SMA), Bull/Bear Power (BBPower), and an optional VWAP filter. The bar colors help identify bullish and bearish conditions with added visual cues for price positioning relative to VWAP.
Key Features:
Customizable Moving Averages (EMA/SMA):
The user can select between EMA or SMA for both short-term and long-term moving averages.
Default moving averages are set to 5 (short-term) and 9 (long-term) but can be adjusted by the user.
Bullish Condition (Blue or Purple Bars):
A bar is colored blue if the following conditions are met:
The open price is above both the short-term and long-term moving averages.
The short-term moving average (MA 1) is above the long-term moving average (MA 2).
BBPower (open price minus the 13-period EMA) is positive, indicating bullish strength.
If the VWAP filter is enabled and the price opens below VWAP, the bullish bars will turn purple.
Bearish Condition (Yellow or Orange Bars):
A bar is colored yellow if the following conditions are met:
The open price is below both the short-term and long-term moving averages.
The short-term moving average (MA 1) is below the long-term moving average (MA 2).
BBPower is negative or zero, indicating bearish market conditions.
If the VWAP filter is enabled and the price opens above VWAP, the bearish bars will turn orange.
VWAP Filter (Optional):
An optional filter allows the user to add VWAP (Volume-Weighted Average Price) to the bar coloring logic.
When the VWAP filter is enabled, it provides additional information about price positioning relative to VWAP, turning bullish bars purple and bearish bars orange depending on whether the price opens above or below VWAP.
Usage:
Bullish Trend: Look for blue or purple bars to identify potential bullish momentum.
Bearish Trend: Look for yellow or orange bars to spot bearish conditions in the market.
The indicator allows users to customize the length and type of moving averages (EMA or SMA), as well as decide whether to apply the VWAP filter.
This indicator provides traders with clear visual signals to quickly assess the strength of bullish or bearish conditions based on the price's position relative to custom moving averages, BBPower, and VWAP, helping with trend identification and potential trade setups.
[DisDev] Level by LevelThis indicator's main objective is to provide you with the ability to chose the levels you are interested in , with the added functions of:
Level-by-Level Chart Reducer – This allows you to choose how many levels are above and below the current closing price to display.
Level-by-Level Table – This allows you to display all the levels within a table onto the chart.
The basis of this indicator is to provide you with a toolbox of levels that you can add to your trading plans.
Psychological Levels
A weekly range established each Saturday evening that can be thought of as a weekly "IB" or initial balance.
Average Daily Range ("ADR") & Average Weekly Range ("AWR")
In Forex, the International Monetary Fund ("IMF") controls the allowable weekly swings of a currency's price. The "AWR" and "ADR" perform calculations and dynamically adjust until the range is exceeded, at which time the levels will lock into place for the remainder of the day or week. The accepted theory is that price (even in Stocks and Crypto) will adhere to and remain within these levels, and, if exceeded, will revert back to them.
Initial Balance ("IB")
In Crypto trading, it is generally accepted that the High and Low of the first hour of each day (00:00 - 01:00 UTC) is the Initial Balance . The IB generally thought of as a zone that sets the tone for the rest of the trading session. It is often a time of high volume and volatility, with Stop Hunts at the highs and lows of a range before price moves in one direction or the other. The IB is a Market Profile concept introduced by Peter Steidlmayer. There is plenty of information on the Internet to learn more about IB's and how to implement them -- please do your own research.
Daily Open
Since Crypto is traded 24 hours per day, the generally accepted open is 00:00 UTC, the Tokyo open. Please refer to Part 1 for more details on sessions, starting times, conversions, and Daylight Savings Time.
Volume Weighted Average Price (VWAP's)
VWAPs are important areas on a chart. Institutional traders generally do not want to move price too far as they enter large buy or sell orders. So they wait for price to reach a tight zone around the VWAP where the majority of transactions occur on the Daily, Weekly, or Monthly timeframes. In these areas, there will be plenty of supply and demand for the institutional trader to execute their trades.
Weekly Open
The weekly open is Monday at 00:00 UTC.
Pivot Points (Support & Resistance)
This indicator calculates pivot levels based on a tested formula that calculates past and subsequent bars or candles. It displays the two closest to price pivot levels. The pivot formula takes a window of left bars and right bars, and then finds the highest or lowest value in that window. The window marches across the bar-set to discover the pivots.
We coded the script to label the levels and colors dynamically, either Support (Green) or Resistance (Red), depending on whether they are above or below price. The primary level line stays with the same color scheme:
Blue = Daily / Yellow = Weekly / Violet = Monthly
As price crosses the level:
1 - The label will switch from Support to Resistance and Resistance to Support
2 - The extender line will switch from Green to Red and Red to Green
3 - The same changes will take place in the Level-by-Level Coordinates Table
A Note on Levels and Data
Understanding How Data is Calculated and Presented
Calculating levels requires going back in time through a symbol or asset’s historical data. Time is measured by bars (candles), so depending on the chart's resolution (timeframe or TF) you are viewing, a different number of bars would be required to measure the same level.
For example, if we want to mark the Daily High and Low on the daily TF, we would be measuring 1 bar or candle. If we drop down to the 1-hour TF, we would need to measure 24 bars. For the 15-Minute TF it would be 96 bars (1hr/15min=4 bars per/hour and 4 x 24 = 96), and on the 1-Min TF, it requires 1,440 bars (1hr=60 Min and 6 x 24 = 1,440).
Hopefully, you get the idea and can see that the number of bars required increases exponentially as we move to weekly, monthly, and yearly levels.
TradingView Data
Please note this statement from TradingView's website:
"The length of historical data for any intraday interval (i.e. chart timeframe) is 5,000 bars/candles (for Pro and Pro+ account holders it is doubled to 10,000 bars/candles and for Premium holders it's quadrupled to 20,000) + additionally several bars/candles back to the beginning of the week, month or year (depending on the resolution). Unfortunately, this limit cannot be extended for now due to technical reasons. At lower resolutions (<30Min) Yearly and Monthly VWAPs may not show, but to overcome this issue the “Plot Save” function has been added to the settings to allow the user to manually input these levels. This concept is the same for Daily, Weekly, and Monthly pivots.
If you change the chart interval to daily or daily-based, you will see a longer date range. We display all available data for daily-based intervals."
How we Handled Data Limitations
The Plot Level Feature in the Level by Level Indicator
We have written this script to always show levels at the lowest time frame allowable by TradingView.
If you do not see specific Support or Resistance levels, switch to a higher time frame, enter the corresponding values in the provided fields on the input panel, and check the Plot box. This will hard code the level in and will print on any TF. Additionally, we coded it so that when the Plot feature is enacted, the calculated level will be disabled so that there are no overlaps of two levels being printed.
Legend
The logic behind the line styles:
Solid = Static or established
Dashed = Static but previous week or day
Dotted = Dynamic or still developing -- will turn solid once the values are locked in
*VWAPs would technically be a dotted line since they are fluid, however, TV does not handle the dots or dashes of a curved line well so we chose to keep this solid
Level-by-Level Table
We designed this table to provide the user with a view of the levels in the correct price sequence on the chart at all times since, depending on the resolution and zoom levels, it would typically not be possible. The levels are equidistant and do not align with the actual price.
The current price will move vertically through the table according to the actual price and its relative position to the other various levels. The levels will change price and line styles dynamically as well.
The current price rectangle and the border can be in sync with High Volume Candle colors to draw more attention to the chart during climatic volume events.
Settings & Options - Levels & Labels
Levels will show a faint line through price to the point of origin.
Labels will show a brighter line extended to the right of price.
The values (10, 20, 30) are the length of the extensions; they are staggered to avoid overlaps.
Settings & Options - Level Reducer
The Level Reducer gives you the ability to declutter your chart, but still have the indicator track all the selected levels.
With four Lines selected, for example, the indicator will give you the nearest four lines above price and the nearest four below price. The Table runs independently of the chart, so if you want to see eight levels as an example, the Table will show eight above and eight below price.
As the current price changes, the lines will dynamically change accordingly.
Fishing The Trend - Setup Classic v7.5.5FTT Classic v7.5.5
HOW Does it work ?
It is the classic version of Fishing The Trend-Setup for ease of trading & for getting the most from the market.
i.e. Combining the most useful indicators and making a whole setup under one roof...
FTT Classic comprises of following --
* IntraDay Range.
* Fishing The Trend.
* Custom VWAP.
* Baseband for Trend.
* Trendlines.
* Support & Resistance Lines.
* BreakOut Area.
* Technical Analysis table.
* Custom alerts.
1) HOW Does Intraday Range work ?
# For calculating the average most probable range for any symbol, it plots two areas - higher range and a lower range.
# This indicator is on - as default.
# Upper and Lower areas act as support and resistance, user may see a reversal in trend from these areas.
# If the price breaks these bands, breakout be considered.
# These bands are calculated by averaging the previous x number of days' high and low of the security.
3) HOW Does Fishing The Trend work ?
# When the market trend may try to reverse, the first signal/label will come showing Stop loss figure, and then if the trend reversal is confirmed, the supporting triangle in the next opening price will be placed at upper or lower side. along with these
there is a trailing stop-loss line, which will help user to trail their profits in-live.
# The CE-PE can be seen through the table with date and time.
# 2nd table also can be placed below the first one, showing the CE-PE Values for different symbol.
# Signals can be controlled by more or less as optioned in the settings.
# CE-PE strike price can be selected from ATM - ITM - OTM.
4) HOW Does Custom VWAP work ?
# VWAP will be placed having a line and current price of VWAP.
# One can have vwap in index chart also, the colour changes as the market goes above or below vwap or at vwap.
5) HOW Does Baseband for Trend work ?
# Baseband will be plotted for least 2 days on 3 min and gradually increases on increase of timeframe.
# If the market is above band, we may consider it a positive side and if market is below it, we may consider a negative side.
# Type 1 band is for trending market and type 2 is for rangebound market.
# Colour intensity also changes as market picks-up momentum or leaves momentum.
6) HOW Does Trendlines work ?
# Most nearest to most touching trendlines are placed for better understanding the trend.
# Easy to understand with the help of colour combinations.
7) HOW Does Support & Resistance Lines work ?
# The support & resistance lines will be drawn when market movement slows down or momentum decrease.
# The Support lines becomes resistance when market falls below it, and vice-versa for other conditions.
# Range development can be easily detected and can be used as range breakout for better understanding the market.
8) HOW Does BreakOut Area work ?
# Market Consolidates at most of the time, where the bulls and bears fight becomes more aggressive, at this point
of time the area will be formed or area will be formed when market trend reverses suddenly, leaving behind the previous
breakout area.
# Ease of trend reversal, previous supports / resistances can be seen easily.
9) HOW Does Technical Analysis table work ?
# There will be RSI displayed and for the better range detection, range area with price can be seen.
# The GAP of the opening market is seen with gap points (Down or Up)
10) HOW Does Custom alerts work ?
# Alerts can enabled for the CE-PE Strike Price through alerts management from Tradingview.
# Alerts can also be set when the Traffic Signal Comes.
Where to use?
# If the chart is of Index or equity, extended trading hours to be selected, time shall be exchange.
# Indicator wont work on timeframes lower than minutes or higher than or equal to day.
# can be used in every type of market.
# Extended to be selected for Index or Equities/Stocks, Regular be selected for futures, etc.
# At every part / portion the tooltip is placed showing the quick reference for that option.
# The main use of this indicator is quick scalping and Intra-day trading.
# Colour Theme can be selected if the chart theme is dark or light.
# The indicator shows a very useful option for early detection of the ongoing trend whether there will be reversal of trend or not ? Stop Loss - That should be done by following ones risk appetite, Ideally the High of the Previous Candle should be the stop loss for the Long / Short but everyone has their own Risk Management Strategies based on the capital deployed.
How to Take entry ?
# Time Frame shall be more than 2 min and less than day for better outcome.
# If buy signal comes and the market is below the baseband then wait for the market to cross and close above the baseband, also look for the immediate support or resistances which are seen in chart and those nearby the current signal.
# The data for the indicator will be very restricted, most of the parts in indicator wont work when the market closes.
# Pre-Opening or Post -Market data is tried to be ignored.
# Utmost Care is taken to implement the suggestions of users and also tried to keep the chart neat and clean.
** N.B.:- There may be cases where warning may come during setting the alert, this because
of alert conditions are taken ONLY when the current candle is CLOSED, real-time alerts are
considered as not feasible to get it.
Disclaimer
# The indicator to be used for understanding / learning the markets.
# User is responsible for his / her profits/losses, that may occur during the markets.
HT Momentum Indicator [ ZCrypto ]
The HT Momentum Indicator is a technical analysis tool that uses the Hyperbolic Tangent (tanh) function to measure momentum in a trading instrument.
This indicator is plotted as a histogram, with positive values indicating bullish momentum and negative values indicating bearish momentum.
Here are the main features and settings of the HT Momentum Indicator:
Source: This setting allows you to choose the price data used to calculate the momentum indicator. By default, the indicator uses the (High+Low+Close)/3 price, but you can select other options such as the open, high, or low prices.
Period: This setting determines the number of periods used in the momentum calculation. By default, the indicator uses a period of 14, but you can adjust this to suit your trading style and the market you are trading.
Show Fast/Slow/VWAP: These settings allow you to choose whether or not to display the fast and slow exponential moving averages (EMAs) and the volume-weighted average price (VWAP) on the chart.
Fast Length/Slow Length/VWAP Length: These settings allow you to adjust the length of the fast and slow EMAs and the VWAP calculation.
Bull Color/Bear Color: These settings allow you to choose the colors for the bullish and bearish histograms.
Zero Line: This indicator also includes a horizontal line at the zero level to help you identify when momentum is transitioning from bullish to bearish or vice versa.
The HT Momentum Indicator can be used to identify trends, momentum shifts, and potential buy/sell signals.
you can use the fast and slow EMAs to identify short-term and long-term trends, respectively, and the VWAP to gauge the strength of buying or selling pressure.
Additionally, the HT Momentum Indicator includes four pre-programmed alert conditions, which can notify you
when the fast EMA crosses above the slow EMA,
when the VWAP crosses above the zero line,
when the histogram transitions from negative to positive values.
when the histogram transitions from negative to positive values and VWAP above zero line
Key Levels Suite - By LeviathanThis is a comprehensive script, designed to display over 100 key price levels across multiple dimensions, including volume profile levels, HTF levels, VWAPs, SMAs/EMAs, market session levels, day of week levels and more. The indicator offers high flexibility in features, settings and visual appearance.
● The script organizes levels into six main categories:
Higher Timeframe (HTF) Levels
- Current and/or previous period: Open, High, Low, and Midpoint for Daily, Weekly, Monthly, Quarterly, and Yearly timeframes (eg. levels for current weekly high/low and previous weekly high/low).
- These levels provide a clear structure for identifying key support and resistance zones. Traders often use HTF levels to anticipate price reactions, such as bounces or rejections, at major highs and lows. For example, a price nearing the weekly high could signal an area of resistance.
VWAP Levels
- Current and/or previous period: VWAP and upper/lower standard deviations for Daily, Weekly, Monthly, Quarterly, and Yearly timeframes (eg. levels for current daily VWAP and previous weekly VWAP).
- VWAP levels give traders insight into whether the current price is above or below the fair market value for a given period. It’s often used as a reference point for trend direction or S/R. If the price remains above VWAP, the trend may be seen as bullish, while breaks below VWAP can suggest a shift toward bearish sentiment. Standard deviations help identify areas where the price may be overextended, offering opportunities for mean reversion trades.
Moving Average Levels
- EMA and SMA for three customizable lengths (eg. levels for 200 EMA, 50 EMA and 100 SMA).
- These levels act as dynamic support and resistance lines that adjust with price movement. Traders use them to confirm trend direction and watch for reactions around these levels, particularly in trending markets. For example, when the price pulls back to a 200 EMA, it could present an opportunity to enter a trade in line with the prevailing trend.
Volume Profile Levels
- Current and previous: Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL) for Daily, Weekly, Monthly, Quarterly, and Yearly timeframes (eg. levels for current day POC and previous day POC).
- Volume Profile levels highlight price areas where significant trading occurred. The POC indicates the price where the most volume was traded and can act as a strong magnet for price. VAH and VAL mark the boundaries of value areas, making them excellent spots for breakout or mean reversion trades. Traders look for price reactions around these zones to either join or fade moves.
Market Session Levels
- Current and previous: Open, high, low, and midpoint for three user-defined sessions, with default being Tokyo, London, and New York (eg. levels for current New York session open and previous New York session high and low).
- Session levels allow traders to track how price behaves across different global market sessions. For instance, the New York open often brings increased liquidity and volatility. Traders often use these levels to anticipate sharp moves or continuations, especially after session highs and lows are broken, signaling shifts in market momentum.
Day of Week Levels
- Open, high, low, and midpoint for Monday through Sunday (eg. levels for Monday's high and low and Tuesday open).
- These levels help traders identify recurring intraday or intraweek price behaviors. For example, highs or lows established earlier in the week can serve as benchmarks for breakouts or retracements later on. Monday’s open or Friday’s high/low often reflect market sentiment going into or out of the weekend, providing valuable clues for planning trades.
● About the script
I published this script because it was heavily requested by my Tradingview followers who wanted a clean and feature-rich indicator that can display various levels they use in their analysis. The indicator can display levels that are not available in other similar public scripts and makes sure to calculate and load calculation-intensive levels (like volume profile levels, higher timeframe vwap levels, etc) as fast and efficiently as possible. It is one of the only scripts I've published that is not open source. The code is protected because it includes some proprietary calculations (eg: for POC/VAH/VAL), that I don't wish to open source, but I still want to publish a heavily requested script in a public and free format.
● How to use the script
1. Add the script to your chart
Start by adding the script to your chart like any other indicator.
2. Open the indicator settings
Click the settings icon to access all customization options.
3. Select which level groups to display
In the "Controls" section, choose which groups of levels (HTF, VWAP, Moving Averages, etc.) you want displayed. This allows you to quickly toggle between different sets of levels depending on your analysis needs, without overcrowding the chart.
4. Adjust group-specific settings
Scroll down to access detailed settings for each group. For any group, you can choose:
- The relevant time parameter (e.g., Daily, Weekly, Monthly, etc for HTF/VWAP/Volume Profile levels, length for Moving Average levels, day for Day of Week Levels, etc).
- Specific levels to display (e.g., Open/High/Low/Midpoint for HTF, VWAP, Day of Week, Session levels and POC/VAH/VAL for Volume Profile levels).
- For applicable groups, you can also toggle previous period levels by selecting them from the row starting with the "↳" icon.
5. Customize visual appearance
In the "Appearance" section, you have full control over how the levels and labels look. You can:
- Choose what details appear in the labels (e.g., level name, price, or percentage distance from current price).
- Pick from different line types, line style (solid, dashed, dotted), adjust line width, and manage the length of the lines using "Offset Right" and "Offset Left" settings.
- Modify font, label size, and color options. If multiple levels overlap at the same price, use the “Merge Levels” option to combine them into one, reducing visual clutter.
6. Customize level names to your preference
In the "Labels" section, you can rename any parameter to match your preferred abbreviations (e.g., change “Weekly Open” to “wO” or any other shorthand that works for you).
● Key Features:
- Display various different important levels, all in one indicator
- Seamless control of which group of levels / specific level to display
- Choose from various line and label styles to display levels.
- Labels can show the level's title (customizable abbreviations), price, and percentage distance from the current price.
- Merge nearby levels to reduce chart clutter, either for identical levels or those within a user-defined percentage range.
- Fully customizable visual appearance of levels to suit individual preferences.