Dinapoli Thrust Scanner Multi MarketThis is the Multi-Market version of the Dinapoli Thrust Scanner. This indicator is able to scan up to 12 markets in 3 time frames simultaneously.
This tool is an aid to the trader and shouldn't be used in automated trading. As any Dinapoli trader would know, the Thrust pattern recognition requires visual approval from the trader.
The Thrust Scanner can display the following information onscreen:
A Multi-Timeframe Table that colors to indicate Recent/Current Thrusts. Green color signals a potential Up Thrusts, whilst red color signals a potential Down Thrust.
The DMA crosses get signaled with custom colors.
The Thrust Scanner has a Sensitivity Control which allows the trader to customize the accuracy of the scanner:
The stricter the setting, the lesser the number of potential Thrust that qualify, and therefore the more accurate the Thrust detection.
The looser the setting, the more number of potential Thrust being detected, but also the more Look Alikes (LaL) or false positives there will be.
Note: The scanner is resource hungry, and sometimes it might need some seconds to fully display the data.
Médias Móveis
VLTS Candles by nnamdertWhat is VLTS
VLTS is the Value Line Trading System
What Does this Indicator Do?
This indicator draws boxes that represent both the DAILY and HOURLY candles as an overlay on the current timeframe.
1. If you are viewing the 15-minute timeframe chart, a Box will be drawn around the 4 candles that would represent an hourly candle. This way you can see inside the hourly candle easily while viewing the 15-minute timeframe.
2. If you are viewing the 4-hour timeframe chart a Box will be drawn around the 6 candles that would represent the 24-hour timeframe. (6 x 4 = 24)
3. This indicator allows you to see BOTH the DAILY BOX and the HOURLY BOX at the same time. This allows you to see the bars inside the hourly and the hourly bars (represented by boxes) inside the daily box (which represents the daily candle).
(See the screenshot below)
How do I use it?
To get the most out of this indicator, it is meant to be used with the VLTS / Value Line Trading System. The Value line is simply the center of a contraction candle on the daily. This indicator allows you to easily visualize the contraction on both the Daily and the Hourly timeframes while viewing a lower timeframe chart.
After finding the Value Line, you can follow the Value Line Trading Rules to find entries and exits. (using Expansion Legs, Trends etc.)
In the screenshot below, we can see the manually drawn Value Line using the Daily Candle.
Zooming out while on the 15-minute timeframe allows the trader to easily spot Contraction areas and manually draw them in for use with the VLTS.
As seen in the screenshot below we draw a box around the daily contraction without having to switch timeframes.
Features
User inputs allow the trader to turn features ON or OFF as desired.
For example, as seen in the screenshot below, traders can turn OFF the Box Fill option and leave only the border for a less cluttered look.
Traders can turn OFF the boxes completely and use a fully customizable Moving Average on the chart after using the boxes to find the value line.
Traders can also have all features turned ON at the same time of OFF at the same time.
Bullish and Bearish Ticks can be turned ON to alert the trader of Bullish Sentiment while using other indicators without the need to have the boxes or moving average visible on the chart.
Color Coded Bars can be used to identify the same Bullish / Bearish Conditions if tick plots are not desirable or conflict with other indicators.
Happy Trading !!! I hope you enjoy the indicator.
Glowing RSI Candlesticks (With Buy and Sell helpers)This is not your average, boring RSI indicator.
This indicator is still an RSI (momentum) indicator, but I have converted the line into candlesticks.
It has an option to make it glow neon blue to make it look cooler (dark background recommended for full effect).
There is a red zone at 70, because of course, and a green zone at 30 for the same reason.
On top of that, it has triple moving averages, two of which it uses to create some simple buy and sell indications (the vertical green and red lines).
Enjoy! :)
Dynamic 5-Day Moving AverageThe Dynamic 5-Day Moving Average (MA) indicator is designed to provide traders with a consistent, time-adjusted moving average line across various timeframes. This indicator is especially useful for traders who switch between multiple timeframes and want a moving average that represents a fixed 5-day period, ensuring that the MA reflects a consistent lookback period relative to the amount of trading time each candle represents.
Features:
Timeframe Adaptability: Automatically adjusts the MA period to correspond to a 5-day lookback, regardless of the selected timeframe.
Intraday Precision: For intraday charts (5m, 15m, 30m, 1h, 2h, 4h), the indicator calculates the number of periods within the 5-day span based on the chart's timeframe.
Daily and Weekly Timeframe Compatibility: Sets the period to 5 for daily charts to maintain the 5-day MA, and to 1 for weekly charts, where each candlestick represents a week's worth of trading days.
Calculation Logic:
The indicator begins by defining the total number of trading minutes in 5 days, based on a standard 6.5-hour trading day.
A dynamic period calculation function then determines the number of those intervals that fit into the 5-day minute total for the selected timeframe.
For daily charts, the period is a straightforward 5, while for weekly charts, the period is set to 1, reflecting the average of the past 5 trading days.
Averaged Moving Average Ribbon with Bollinger BandsThis indicator provides a visual representation of an averaged weighted moving average (WMA) ribbon (default setting) along with Bollinger Bands on a price chart. Pay attention to how the moving average and band expand and contract, as well as where price crosses the Bollinger bands (Green and red) or the basis line (blue). Look for patterns, and exploit them to your advantage to give you another edge in trading.
>> Feel free to suggest changes or other additions in the comments :)
Here's a brief explanation of how this indicator works:
1. **Moving Average Type:** You can select the type of moving average (MA) to use from the dropdown menu. The available options are Weighted Moving Average (WMA), Simple Moving Average (SMA), and Exponential Moving Average (EMA).
2. **Bollinger Bands Deviation:** This input allows you to adjust the deviation for the Bollinger Bands. Higher values increase the width of the bands, while lower values decrease it.
3. **Moving Average Lengths:** The script calculates various moving averages (WMA, SMA, or EMA) with different lengths, ranging from 5 to 100, in increments of 5. These moving averages are used to create the ribbon.
4. **Ribbon Calculation:** The indicator calculates the selected moving average (WMA, SMA, or EMA) for each of the specified lengths. It then averages these moving averages to create a ribbon of MAs. This ribbon represents a smoother and more encompassing view of the underlying price action.
5. **Bollinger Bands:** The script also calculates and plots Bollinger Bands based on the ribbon's average. The upper Bollinger Band (green) and lower Bollinger Band (red) are plotted around the ribbon average. These bands provide insights into potential overbought and oversold conditions.
In summary, this indicator allows traders and analysts to visualize a weighted moving average ribbon with Bollinger Bands to gain a better understanding of price trends, volatility, and potential reversal points in the market. The combination of different moving average lengths and Bollinger Bands can help in making informed trading decisions.
Ribbon Trend [Orderflowing]Ribbon Trend | Customizable Smoothing | Forecasting (+)
Built using Pine Script V5.
Introduction
The Ribbon Trend indicator is a unique tool to deliver a better view of market trends.
It stands out with its unique smoothing capabilities and customizable features, offering a fresh perspective beyond a standard moving average ribbon.
Inspiration and Originality
The inspiration for the Ribbon Trend came from a desire to evolve the standard MA ribbon or the basic two-part MAs into something bolder.
The addition of unique smoothing features not commonly found in other MA Ribbon indicators underscores its originality and the value it brings to a trader.
Core Functionality
At its core, it can use a selection of moving averages, including Hull, Double Exponential, Exponential, Weighted, and Linear Regression.
These are not just randomly chosen; each has a purpose, providing a foundation for the trend ribbon based on your input, allowing for much personalization of the script to fit your trading style.
Smoothing Techniques
What sets the indicator apart is its smoothing process.
Designed to reduce market noise, offering a clearer trend.
You have full control over the degree of smoothing, with options for single/double smoothing, and weighted smoothing.
The key is that the trend representation is accurate and sufficiently responsive to market conditions.
How It Works:
Here's a detailed explanation of how it operates:
Input Parameters:
The price data (such as closing price) that the moving averages will be calculated on.
The number of periods to be used in the moving average calculation.
The period length for the signal line, which is derived from the main moving average.
The type of moving average to be used (HMA, DEMA, EMA, WMA, LINREG).
The factor by which the moving average is smoothed to reduce noise.
Option to decide if a second smoothing should be applied.
The factor for the second smoothing, if applied.
Option to decide if weighted smoothing should be applied.
The factor for the weighted smoothing, if applied.
Option to decide if the forecast lines should be displayed.
Optional: Choose the color of the forecast lines.
Moving Average Calculations:
The script has functions for each moving average type, which take the source and the length as arguments. (HMA, DEMA, EMA, WMA, LINREG).
Smoothing Mechanism:
The selected moving average is first smoothed using an Exponential Moving Average with the smoothing factor.
If double smoothing is on, the smoothed moving average is further smoothed using the other smoothing factor.
If weighted smoothing is on, the smoothed moving average is combined with the original moving average using the weight factor to provide a balance between responsiveness and smoothness.
Trend and Signal Line Calculation:
The script calculates a signal line using the Hull Moving Average of the smoothed moving average over the signal length.
The main moving average (ma value) and the signal line (ma signal) are plotted on the chart, with their colors determined by their relative positions to indicate bullish or bearish trends.
Visual:
A fill color is applied between the main moving average and the signal line to create the 'ribbon' effect, which changes color based on the trend direction.
The plotting of the moving average and signal line, along with the fill, provides a clear visual representation of the trend.
Forecasting Feature:
The script includes a forecasting feature that projects the trend line forward, giving traders a visual cue of potential future trend directions.
This is achieved by extending the current trend lines forward by a set number of periods to create dotted forecast lines.
Below you see the smoothing examples snapshots of the indicator to get a better understanding:
Single Smoothing (Based on User Input):
Double Smoothing (User Input -> Second Smoothing Factor):
Weighted Smoothing (User Input -> Weight Factor):
Combined Smoothing Features (1|2|Weighted):
Visual Clarity and Interpretation
The indicator enhances visual clarity with a color-coded system.
A bullish trend is indicated by a blue ribbon, while a bearish trend is represented by red.
The color scheme simplifies the interpretation of trend direction.
(You can also change color in the style tab)
Adaptability for Trading Style
Flexible and suitable for various trading styles and timeframes.
Settings are fully adjustable, allowing traders to fine-tune the indicator to their specific needs, whether for scalping, day trading, or longer-term strategies.
Its trend can be used to:
Identify the start/end of trends, providing traders with entry and exit signals.
Recognize shifts in volatility for breakouts or breakdowns.
Enhance other trading systems or strategies by providing an additional layer of trend analysis.
Use the direction of the trend as a “Mean Reversion Target”
Use the trend to add size to winning positions or cut losing positions.
Commitment to Value
This indicator is not a recombination of existing tools.
The value is within the matrix of calculation and smoothing techniques based on user input.
The Ribbon Trend provides a distinct advantage, justifying its place as a closed source script.
Customization and User Input
The Ribbon Trend respects the need for customization.
It empowers you to set preferences for the source, moving average length, signal period, and smoothing factors.
The optional forecast lines, adjustable in visibility and color, further enhances its adaptability.
Conclusion and Usage
It is more than a basic indicator.
It is a comprehensive and fully customizable trend analysis tool.
It is designed to integrate seamlessly with your trading strategy, providing a layer of confluence.
It is not a standalone solution but a solid addition to your trading arsenal.
What RSI? Weighted Heiken Ashi Triple RSIWhat You're Looking At:
The indicator presents a few key elements on its pane which is separate from the price chart:
Smoothed RSI Average Line: This line represents an average of three different RSI calculations, each weighted differently. It's been smoothed out to reduce noise and help you see the trend more clearly.
Moving Average Line: This is a line that smooths out the average RSI line even further and helps you identify the overall trend.
Bollinger Bands: These are two lines that create a channel around the RSI average line. The upper band typically represents an overbought condition, and the lower band represents an oversold condition.
Background Color: The background of the indicator pane will change colors to indicate buy (green) or sell (red) signals.
Horizontal Lines: There are horizontal lines drawn at levels 70, 50, and 30. These represent overbought, midpoint, and oversold levels, respectively.
How to Operate and Interpret:
Trend Identification: Look at the moving average line. If it's trending upwards, the overall momentum may be considered bullish. If it's trending downwards, the momentum may be bearish.
Buy Signals: You may consider a buy signal when:
The smoothed RSI average crosses above the moving average line.
The smoothed RSI average is below 30 and starts to rise, crossing the oversold line.
The background color turns green, signifying favorable conditions to buy according to the indicator's logic.
Sell Signals: You may consider a sell signal when:
The smoothed RSI average crosses below the moving average line.
The smoothed RSI average is above 70 and starts to fall, crossing the overbought line.
The background color turns red, signifying favorable conditions to sell according to the indicator's logic.
Overbought/Oversold Conditions: When the smoothed RSI line touches or crosses the Bollinger Bands, it could be indicating that the asset is overbought (upper band) or oversold (lower band). Some traders use these conditions to look for potential reversals.
Cautions for Trading:
If the smoothed RSI average is between the bands and near the middle line (50), the market might be considered neutral, and some traders may choose to wait for clearer signals.
Just because the indicator gives a buy or sell signal, it doesn't mean the price will immediately move in that direction. It's important to consider other factors in your trading strategy.
Final Notes:
Always use this indicator in conjunction with other analysis methods. No indicator is perfect, and they should be used to supplement your trading strategy, not replace it.
It's important to set stop losses according to your risk tolerance when entering any trades based on these signals.
Practice with the indicator in a demo account to become familiar with its behavior before using it with real money.
By following the movements and signals of this indicator, you can get a sense of the momentum and potential entry or exit points in the markets you are trading.
Baseline Optimizer NNFX [m8b]DESCRIPTION
The Baseline Optimizer indicator is a tool to aid in baseline configuration (specifically moving averages). It manages state across iterations within a single bar to allow the indicator to test different settings. This allows the user to find a specific configuration that works well for that asset and timeframe. It also recreates pieces of the default TradingView backtesting framework so multiple settings can be tested concurrently.
Originality and usefulness
Default pine script doesn't allow for state management within a loop due to the way historical values are handled (e.g. EMA). It also does not allow for backtesting across multiple settings concurrently. The the functions are all unique in that they allow for proper state management during the optimization process.
ADDITIONAL BACKGROUND AND USAGE
While the platform is built to support the NNFX way of trading, this indicator can be utilized by any trader who wants to optimize an MA for a specific asset, chart, or time frame regardless of asset class.
NNFX revolves around a systematic approach to trading, designed to be mechanical and with minimal discretionary input. This strategy typically involves multiple indicators across different categories to confirm trading signals. The approach involves:
Baseline indicator to determine the overall trend direction
Confirmation (Leading & Lagging) indicator used to validate the trade
Volume indicator to confirm the presence of market participation
Exit indicator to signal when to close the trade
Supported Moving Averages
v1 (this indicator): ALMA, DEMA, EMA, HMA, KAMA, RMA / SMMA, SMA, Tilson T3, TEMA, WMA, VWMA
USAGE
By default, this indicator will run on “Standard” mode, and acts as a roll-up of MAs. Simply set the MA type and length.
When mode is set to “Optimizer”, a table will appear on the chart that displays trade stats for the various configurations.
Net Profit, Closed Trades, % Profitable, Profit Factor, Max Drawdown, Avg Trade, Avg Bars
STANDARD SETTINGS
MA Type: ALMA, DEMA, EMA, HMA, KAMA, RMA, SMA, T3, TEMA, WMA, VWMA
MA Length: Length of the MA
MA: Source: Source for the MA
OPTIMIZER SETTINGS
Profit factor threshold: Acts as a filter to the trading stats to make it more readable
% profitable threshold: Acts as a filter to the trading stats to make it more readable
Min trades threshold: Acts as a filter to the trading stats to make it more readable
Start & End Date: The data window for the optimizer to backtest
Trade Direction: All, Long only, Short Only
Pyramid Max: Works the same as standard TradingView pyramid
Optimizer Param Start: The first value for the optimizer
Optimizer Param End: The end value for the optimizer
Optimizer Param Step: The step value for the optimizer
Stats green threshold: The value to turn results green
Stats red threshold: The value to turn results red
IMPORTANT NOTES (Errors & Pine Limitations)
Warm-up Period Multiplier: "Warming up" refers to the period where the indicator begins to reflect accurate and meaningful data. A default value of 5 should generally ensure baseline data is accurate. If performance is an issue (e.g. timeouts), this can be adjusted down at the cost of accuracy. While this may not be ideal, for the purposes of optimization the results should be directionally accurate in most cases with lower values. If you see the stats changing in real-time in the results, that’s often a good indicator your warm-up is too short. Note, the EMA in particular requires a long warm-up due to its nature (~3 x length)
Timeouts: Depending on your TradingView plan, scripts will either timeout after 20 or 40 seconds. If you get too aggressive with either timeframes or Start/End/Step, you may timeout. THIS IS NOT A BUG, it’s a limitation of TradingView and/or your plan. The fixes for this are 1) test less states at a time 2) use a higher timeframe 3) get a Premium TradingView Plan.
Array Size / Memory Size: This should rarely be an issue with baseline optimization, BUT if you get really aggressive with settings (particularly on the T3) you could run into a scenario with Pine reaches/exceeds the limitation of an array size (100,000). If this happens, reduce your timeframe or input param values to resolve.
DISCLAIMER
This indicator is for educational purposes only, not financial advice. The developers are not financial advisors and accept no liability for how you use the information or features. By using this indicator, you acknowledge that all trading decisions are your own responsibility and that past performance does not guarantee future results.
SMA Crossover Support & Resistance [Rami_LB]This indicator draws a horizontal line on the price chart at the point where two pre-defined SMA (Simple Moving Average) lines intersect. It is most useful for identifying crossed SMA lines on the 1-hour chart and then trading on smaller chart intervals.
For optimal performance, it is recommended to customize the values of the SMA lines individually for each currency pair, as these values can vary from one pair to another. To do this, switch to the 1-hour chart and adjust the SMA parameters until you visually observe that these settings would yield favorable results based on historical data. Certainly, you can also adjust the length of the lines accordingly when you switch from the 1-hour chart to smaller timeframes.
Please note that this indicator allows traders to visually identify potential trend changes and crossovers between short-term and long-term moving averages, aiding in decision-making for trading strategies.
Panoramic EMA - Multi TimeframePanoramic EMA - Multi Timeframe
This indicator provides a straightforward visualization of Exponential Moving Averages (EMAs) from multiple timeframes simultaneously. This indicator allows traders to customize the display of EMAs, making it easier to identify and analyze trends and potential support or resistance levels across different periods.
Settings:
EMA Lengths: Customize up to five EMA lengths. Activating a length will display its EMA line on the chart for the selected timeframes.
Timeframes Selection: Choose up to four different timeframes to display the EMAs. This lets you observe how EMAs behave on various scales from a single chart.
Interpretation:
Utilize the EMAs as potential zones of dynamic support or resistance.
Observe the relationship between price action and EMAs across different timeframes to gauge market sentiment and identify trend consistency or potential shifts.
This tool is designed to offer visual clues about the market state through the behavior of EMAs. It does not generate direct buy or sell signals. It is recommended to understand how the assets you are trading interact with EMAs. For instance, in our example below, Bitcoin demonstrates a tendency to interact with the 800 and 200-length EMAs on the 4-hour timeframe, providing areas where price rejections may occur:
Note: This is a utility-focused indicator meant to supplement your market analysis and should be used in conjunction with other analysis methods or indicators for the best results.
DNS Relax Buy/SellDNS Relax Buy/Sell Indicator
It is a very simple indicator to use for long-term investors.
It uses ema 3 in Buy and Sell alerts. If ema 3 crosses the baseline line (ema200 Daily) up, it means Buy, and if it breaks down, it means Sell.
There is also a 'take profit line' to determine and see the profit rate.
It can be changed from the settings.
Additionally, the blue line on the indicator (appears as full blue) is the closing price line of the bar where the buy signal is located. It can be turned off from the style settings.
You can also turn buy and sell signals on and off from the settings.
My advice to you is to use this indicator in small time periods. for example, in 1-minute, 3-minutes or 5-minutes time periods.
It can be used in all financial instruments.
Wishing you to always win.
Z-ScoreThe "Z-Score" indicator is a unique and powerful tool designed to help traders identify overbought and oversold conditions in the market. Below is an explanation of its features, usefulness, and what makes it special:
Features:
Z-Score Calculation: The indicator calculates the Z-Score, a statistical measure that represents how far the current price is from the moving average (MA) in terms of standard deviations. It helps identify extreme price movements.
Customizable Parameters: Traders can adjust key parameters such as the Z-Score threshold, the type of MA (e.g., SMA, EMA), and the length of the moving average to suit their trading preferences.
Signal Options: The indicator offers flexibility in terms of signaling. Traders can choose whether to trigger signals when the Z-Score crosses the specified threshold or when it moves away from the threshold.
Visual Signals : Z-Score conditions are represented visually on the chart with color-coded background highlights. Overbought conditions are marked with a red background, while oversold conditions are indicated with a green background.
Information Table: A dynamic information table displays essential details, including the MA type, MA length, MA value, standard deviation, current price, and Z-Score. This information table helps traders make informed decisions.
Usefulness:
Overbought and Oversold Signals: Z-Score is particularly valuable for identifying overbought and oversold market conditions. Traders can use this information to potentially enter or exit positions.
Statistical Analysis: The Z-Score provides a statistical measure of price deviation, offering a data-driven approach to market analysis.
Customization: Traders can customize the indicator to match their trading strategies and preferences, enhancing its adaptability to different trading styles.
Visual Clarity: The visual signals make it easy for traders to quickly spot potential trade opportunities on the price chart.
In summary, the Z-Score indicator is a valuable tool for traders looking to incorporate statistical analysis into their trading strategies. Its customizability, visual signals, and unique statistical approach make it an exceptional choice for identifying overbought and oversold market conditions and potential trading opportunities.
Multi-TF AI SuperTrend with ADX - Strategy [PresentTrading]
## █ Introduction and How it is Different
The trading strategy in question is an enhanced version of the SuperTrend indicator, combined with AI elements and an ADX filter. It's a multi-timeframe strategy that incorporates two SuperTrends from different timeframes and utilizes a k-nearest neighbors (KNN) algorithm for trend prediction. It's different from traditional SuperTrend indicators because of its AI-based predictive capabilities and the addition of the ADX filter for trend strength.
BTC 8hr Performance
ETH 8hr Performance
## █ Strategy, How it Works: Detailed Explanation (Revised)
### Multi-Timeframe Approach
The strategy leverages the power of multiple timeframes by incorporating two SuperTrend indicators, each calculated on a different timeframe. This multi-timeframe approach provides a holistic view of the market's trend. For example, a 8-hour timeframe might capture the medium-term trend, while a daily timeframe could capture the longer-term trend. When both SuperTrends align, the strategy confirms a more robust trend.
### K-Nearest Neighbors (KNN)
The KNN algorithm is used to classify the direction of the trend based on historical SuperTrend values. It uses weighted voting of the 'k' nearest data points. For each point, it looks at its 'k' closest neighbors and takes a weighted average of their labels to predict the current label. The KNN algorithm is applied separately to each timeframe's SuperTrend data.
### SuperTrend Indicators
Two SuperTrend indicators are used, each from a different timeframe. They are calculated using different moving averages and ATR lengths as per user settings. The SuperTrend values are then smoothed to make them suitable for KNN-based prediction.
### ADX and DMI Filters
The ADX filter is used to eliminate weak trends. Only when the ADX is above 20 and the directional movement index (DMI) confirms the trend direction, does the strategy signal a buy or sell.
### Combining Elements
A trade signal is generated only when both SuperTrends and the ADX filter confirm the trend direction. This multi-timeframe, multi-indicator approach reduces false positives and increases the robustness of the strategy.
By considering multiple timeframes and using machine learning for trend classification, the strategy aims to provide more accurate and reliable trade signals.
BTC 8hr Performance (Zoom-in)
## █ Trade Direction
The strategy allows users to specify the trade direction as 'Long', 'Short', or 'Both'. This is useful for traders who have a specific market bias. For instance, in a bullish market, one might choose to only take 'Long' trades.
## █ Usage
Parameters: Adjust the number of neighbors, data points, and moving averages according to the asset and market conditions.
Trade Direction: Choose your preferred trading direction based on your market outlook.
ADX Filter: Optionally, enable the ADX filter to avoid trading in a sideways market.
Risk Management: Use the trailing stop-loss feature to manage risks.
## █ Default Settings
Neighbors (K): 3
Data points for KNN: 12
SuperTrend Length: 10 and 5 for the two different SuperTrends
ATR Multiplier: 3.0 for both
ADX Length: 21
ADX Time Frame: 240
Default trading direction: Both
By customizing these settings, traders can tailor the strategy to fit various trading styles and assets.
Multi EMA/SMADescription:
This indicator combines both an Exponential Moving Average (EMA) and a Simple Moving Average (MA). The user can customize the lengths of both the EMA and the MA, as well as their respective colors and line widths.
Features:
Custom Lengths for EMA and MA: The user can specify the desired length for both the EMA and the MA.
Visibility Control: There are options to only display the MA and EMA during the times the price crosses them. This helps in highlighting significant crossover points. Additionally, the user can define how many bars before and after the crossover they wish to visualize the MA and EMA.
Customizable Appearance: The color and line width for both the MA and the EMA can be adjusted as per user preferences.
Dynamic Labels: The indicator provides labels that display the current values of the MA and the EMA. Additionally, these labels dynamically update to reflect any changes to the EMA or MA length input by the user.
Bull Bear Power with Optional Normalization FunctionThis indicator is designed to provide traders with insights into market sentiment and potential trend reversals. This indicator enhances the traditional Bull Bear Power (BBP) by adding valuable visualizations and customization options to assist traders in making informed trading decisions.
Indicator Overview:
The NBBP indicator calculates Bull Bear Power, which measures the strength of bullish and bearish forces in the market. It does so by taking the difference between the high and the exponential moving average (EMA) of the closing price for a specified length. This raw BBP is represented on the chart as a line.
Key Features:
-- Zero Line : The NBBP indicator introduces a central reference line at zero. This line serves as a pivotal point for interpreting market sentiment. When the BBP line is above zero, it is colored green, indicating a predominance of bullish sentiment. Conversely, when the BBP line is below zero, it turns red, signaling a prevalence of bearish sentiment. This coloration helps traders quickly identify shifts in market sentiment.
-- OPTIONAL Normalization Function : One of the standout features of the NBBP indicator is its optional normalization function. When activated in the settings menu, this function scales the BBP values from -1 to +1. This means that BBP values are adjusted to fit within a standardized range, making it easier for traders to compare sentiment across different timeframes or assets. Normalization is particularly valuable for identifying extreme sentiment conditions and potential reversals.
-- Moving Average : To provide additional context and smooth out BBP fluctuations, the indicator includes an exponential moving average (EMA). The EMA of BBP is plotted on the chart as a white line. Traders can use this moving average to identify trends and potential trend reversals.
-- Fill Between Lines : The indicator visually enhances the BBP by filling the area between the BBP line and the zero line with a translucent color. This fill helps traders visualize the strength and duration of bullish or bearish sentiment.
Interpretation:
-- BBP Line : Traders can assess the raw BBP line for shifts in sentiment. When the line crosses above zero, it may suggest a shift from bearish to bullish sentiment, potentially indicating a buying opportunity. Conversely, when the line crosses below zero, it may signal a shift from bullish to bearish sentiment, suggesting a potential selling opportunity.
-- Normalization Function : The optional normalization function allows traders to gauge sentiment on a standardized scale. Values above 0 indicate bullish sentiment, while values below 0 suggest bearish sentiment. The closer the values are to their polar ends (-1 or +1), the stronger the sentiment.
-- Moving Average : The EMA of BBP helps identify trends. When BBP crosses above the EMA, it may indicate a strengthening bullish trend, while a crossover below the EMA may suggest a bearish trend.
Customization:
The NBBP indicator provides traders with flexibility through customizable settings. Users can adjust the BBP length, EMA length, and choose to activate or deactivate the normalization function based on their trading preferences and strategy.
Limitations:
The NBBP indicator is most effective when used in conjunction with other technical analysis tools and market context. Traders should consider multiple factors when making trading decisions.
Normalization function results may vary depending on the chosen length and market conditions. If the desired result is not achieved through default settings, try changing timeframes or toggling on/off the normalization function. Users should exercise caution and combine it with other indicators and analysis techniques.
In conclusion, the NBBP indicator is a versatile tool that empowers traders to assess market sentiment, identify potential reversals, and follow trends. Its intuitive visualizations, normalization function, and customizable settings make it a valuable addition to any trader's toolkit.
ai.1ai.1 = All in One indicator
"ai.1" is a high probability low risk predictive oscillator based on various well known indicators "All in One". I wanted to be able to get an equal output result for a multiple trading metrics comparison. I wanted to see what all market participants see, because all market participants look at charts in different ways with different indicators. By combining these well known trading indicators into the same scale I get a comprehensive view of the market as it is, not just through one prism.
The ai.1 indicator uses Stochastic and/or Moving Average Convergence Divergence formulas to visualize: Relative Strength Index, Commodity Channel Index, Money Flow Index, True Strength Index, Momentum, Average True Range, Standard deviation, Accumulation Distribution Index, Price Volume Trend, Positive Volume Index and/or On Balance Volume in a standard type of appearance.
1) MACD: Moving Average Convergence Divergence reveals changes in the strength, direction, momentum, and duration of a trend in a stock's price.
2) Stoch: Stochastic is a technical indicator widely used in short-term trend analysis of futures and stock markets. Stochastic is calculated with the lowest and highest by a formula of 100.
3) RSI: Relative Strength Index is calculated from the upward and downward price changes.
4) CCI: The Commodity Channel Index is calculated as the difference between the typical price of a commodity and its simple moving average, divided by the mean absolute deviation of the typical price.
5) MFI: The Money Flow Index is a technical oscillator that uses price and volume for identifying overbought or oversold conditions in an asset.
6) TSI: True Strength Index uses moving averages of the underlying momentum of a financial instrument.
7) MOM: Momentum is simply the difference of the source price and price length.
8) ATR: Average True Range measures the range between high and low.
9) STDV: Standard deviation is the statistical measure of market volatility, measuring how widely prices are dispersed from the average price. If prices trade in a narrow trading range, the standard deviation will return a low value that indicates low volatility.
10) AD: Accumulation Distribution Index is a cumulative indicator that uses volume and price to assess whether a stock is being accumulated or distributed.
11) PVT: Price Volume Trend uses the cumulative volume and price change.
12) PVI: Positive Volume Index compares the previous volume flow with the current volume.
13) OBV: On Balance Volume is the cumulative volume change.
To be able to merge these formulas I had to normalize the math into 1 scale. I did this by using Stochastic and then converting that by its historical minimum and maximum. The normalized output scale range for ai.1 is -100 to 100.
100 = overbought
-100 = oversold
MACD is a unique scale with neutral zero.
Stochastic is a 0-100 scale.
Relative Strength Index is a 0-100 scale.
Commodity Channel Index is generally a -400<400 scale with neutral zero.
Money Flow Index is a 0-100 scale.
True Strength Index is a unique scale with neutral zero.
Momentum is a unique scale with neutral zero.
Average True Range is a unique scale.
Standard deviation is a unique scale.
Accumulation Distribution Index is a unique scale.
Price Volume Trend is a unique scale.
Positive Volume Index is a unique scale.
On Balance Volume is a unique scale.
Everything in between is either bullish or bearish.
Rising = bullish
Falling = bearish
crossover = bullish
crossunder = bearish
cross = anticipation of the next cross direction
convergence = direction change
divergence = momentum
*Represents a how to use tooltip*
The default input settings / style:
Source = ohlc4
7 = K length, *Stochastic length*
3 = D smoothing, *smoothing length*
6 = MACD-ai.1 fast, *fast length line*
color = blue
13 = MACD-ai.1 slow, *slow length line*
color = white
4 = MACD-ai.1 signal, *histogram length*
color rising above 0 = bright green
color falling above 0 = dark green
color falling below 0 = bright red
color rising below 0 = dark red
2 = Stretch, *Output multiplier for MACD-ai.1 visual expansion*
1 = MA, *moving average of ALL or Choice Type ai.1-lines*
MACD-ai.1 variable choice / Choice type ai.1-line:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*
MACD-ai.1 price label / text color
crossover = green label / black text
crossunder = red label / white text
MACD-ai.1 price label on / off
*unchecked off/ checked on*
label decimal place: 2
*example: use 0 for a round number, use 4 for Forex*
long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot
All ai.1-line = weighted average of all metrics
All cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -65 green tiny circle
extreme oversold = -85 green small circle
overbought = 65 red tiny circle
extreme overbought = 85 red small circle
All ai.1-line extreme cross price label on / off
All ai.1-line cross price label on / off
All ai.1-line reversal price label on / off
*unchecked off/ checked on*
ai.1-lines variable choice:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*
Choice Type ai.1-line cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -70 green tiny circle
extreme oversold = -90 green small circle
overbought = 70 red tiny circle
extreme overbought = 90 red small circle
Choice Type ai.1-line extreme cross price label on / off
Choice Type ai.1-line cross price label on / off
Choice Type ai.1-line reversal price label on / off
*unchecked off/ checked on*
Horizontal lines:
100 white
75 red
50 yellow
25 purple
0 white
-25 blue
-50 orange
-75 green
-100 white
Example screenshots of various ways to view ai.1 indicator depending on your preferred settings:
MACD-ai.1 with price labels and All ai.1-line output with directional color:
RSI ai.1-line blue with AD ai.1-line white
MACD-ai.1 fast, slow lines w/ signal histogram
long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot
ATR&STDV ai.1-line with directional color:
All ai.1-line output with directional color & extreme overbought / oversold points:
All price ai.1-line purple with All volume ai.1-line orange
The ai.1 indicator can be used independently by itself or in conjunction with your favorite indicator to compare and contrast the accuracy for a trade setup entry and/or exit. The ai.1 indicator can be used on all time frames from 1 minute to 1 month etcetera. However, the default length settings are fine tuned & quick reacting for trading in real time. So, you can make it slower by adjusting the length larger to fit your trading or investing time frame. But I would not tinker with the default length settings without validating its output by back testing it on each specific time frame.
Different time frame snapshot examples:
EUR/USD 1hr chart:
BTC/USD 1 day chart:
ES1! 2 week chart:
TSLA 2 day chart:
Smart MAThe Smart MA indicator is a tool designed for traders seeking insights into market trends, with its foundation rooted in moving averages. It offers two distinctive color options, with "Crossing" as the default choice and "Direction" as an alternative. Let's delve deeper into these options:
1. "Crossing" Color Option (Default):
Key Features:
Utilizes the interaction between fast and slow moving averages.
The color of the base moving average (MA) line dynamically changes based on crossovers between these moving averages.
Offers real-time visual signals for potential shifts in market sentiment.
Interpretation:
With the "Crossing" color option as the default setting, the base MA line's color responds to the interaction of the fast and slow moving averages.
A crossover where the fast MA crosses above the slow MA may prompt the base MA line to change to a bullish color (e.g., teal), indicating a potential bullish trend.
Conversely, if the fast MA crosses below the slow MA, the base MA line's color may alter to represent a bearish sentiment (e.g., red). This color shift provides a visual marker for a potential bearish trend, potentially guiding traders towards shorting opportunities.
2. "Direction" Color Option:
Key Features:
Focuses on the directional trend of the base moving average (MA).
The color of the base MA line signifies the direction in which the base MA is moving.
Aids in quickly identifying the prevailing market trend.
Interpretation:
Uptrend - Bullish Direction: When the base MA slopes upward, indicating an average price increase over the chosen base MA length, the base MA line's color may shift to a bullish hue (e.g., teal). This visual cue signals a potential uptrend, suggesting favorable long positions.
Downtrend - Bearish Direction: If the base MA slopes downward, signifying an average price decrease over the selected base MA length, the base MA line could change to a bearish shade (e.g., red). This color shift acts as an indicator of a potential downtrend, implying possible opportunities for shorting.
Customization:
Both color options allow traders to adjust the indicator's parameters, including base MA length, MA type, fast MA length, and slow MA length, to align with their trading strategies and preferred timeframes.
In summary, the Smart MA indicator, based on moving averages, provides traders with two color options: the default "Crossing" and "Direction" as an alternative. The "Crossing" option leverages fast and slow moving averages to offer real-time visual cues for dynamic market shifts. The "Direction" option simplifies trend analysis by focusing on the directional trend of the base MA. The choice between these options depends on your trading style and the depth of analysis you require. With the Smart MA indicator, you're equipped to make informed trading decisions in today's financial markets.
Trend Pinbar PT49 by CuancuanIdea Behind:
Buying the short-term trend that shows a pin-bar candlestick pattern. Meant to be traded on a daily chart / higher timeframe.
To determine the short-term trend we use short EMA such as 8-16-30 and check the slope of each one, and definitely, the shorter one must be above the longer one for an uptrend. Vice versa for a downtrend.
To determine a pin-bar candlestick, I calculate that the body size (open to close) is at maximum a-third of the candle size (high to low). Besides that, I ensure that the close of the candle is above the shortest MA for bullish and below it for bearish.
As extra filters to reduce trade numbers:
1. Longer MA Filter = You can turn it off if you think the higher timeframe filter is unnecessary.
2. Slope Filter = To ensure the slope of the shorter MA is steeper rather than the mid-MA.
3. Size Filter = To check whether the overall candle size (high to low) is bigger than the ATR number. When the size filter is turned on, it removes small insignificant candles.
PS: Don't trade anything live unless you find it comfortable after backtesting it by yourself .
Webby's Quick & Grateful Dead RSWebby's Quick & Grateful Dead RS combines a Relative Strength Line and Moving Averages to help traders hold a core position in a winning stock by identifying moments of strength and weakness in a stocks advance.
The Relative Strength (RS) line is something many investors are familiar with. It is used to measure a stocks performance versus the S&P 500 (default setting) and is typically calculated by dividing the closing price of the stock by the closing price of the S&P. This means if a stock moves up and the S&P moves down or the stock moves up more than the S&P the RS line will increase, if the stock moves down while the S&P moves up the line will decrease.
While the RS Line by itself is a powerful tool, adding moving averages to the RS line can help better understand trends. This work was done by Mike Webster (Webby) as he tried to reverse engineer how William O'Neil was able to hold some of his biggest winning positions.
This indicator plots the RS line along with two moving averages and clearly labels and alerts the 3 signals shared by Webby:
Quick Break - RS line crosses below the fast moving average
Quicksand - RS line moves lower than it was at the time of the Quick Break
Grateful Dead Break - RS line crosses below the slow moving average
To ensure your chart doesn't get skewed, please use the multiplier in the setting to adjust the vertical offset of the RS line and moving averages.
2 Moving Averages | Trend FollowingThe trading system is a trend-following strategy based on two moving averages (MA) and Parabolic SAR (PSAR) indicators.
How it works:
The strategy uses two moving averages: a fast MA and a slow MA.
It checks for a bullish trend when the fast MA is above the slow MA and the current price is above the fast MA.
It checks for a bearish trend when the fast MA is below the slow MA and the current price is below the fast MA.
The Parabolic SAR (PSAR) indicator is used for additional trend confirmation.
Long and short positions can be turned on or off based on user input.
The strategy incorporates risk management with stop-loss orders based on the Average True Range (ATR).
Users can filter the backtest date range and display various indicators.
The strategy is designed to work with the date range filter, risk management, and user-defined positions.
Features:
Trend-following strategy.
Two customizable moving averages.
Parabolic SAR for trend confirmation.
User-defined risk management with stop-loss based on ATR.
Backtest date range filter.
Flexibility to enable or disable long and short positions.
This trading system provides a comprehensive approach to trend-following and risk management, making it suitable for traders looking to capture trends with controlled risk.
Sentiment Range MA [ChartPrime]The "Sentiment Range MA" provides traders with a dynamic perspective on market activity, emphasizing both stability in chop zones and quick adaptability outside of them.
Key Features:
Chop Zone Stability: In choppy markets, this indicator remains consistent, filtering out the noise to provide a clear view.
Quick Adaptability: Should the price break out of these zones, the indicator recalibrates promptly.
Dynamic Support and Resistance: Adapts based on the latest price action, serving as an evolving reference point.
Emphasis on Recent Levels: The tool factors in the latest notable market levels to stay relevant and timely.
Configurations:
Data Source: Choose your desired metric, though many default to the closing price.
Output Smoothing: Adjust the SR MA's response to market movements.
Trigger Smoothing: Refine boundary definitions based on your market insights.
ATR Period: Set the period for the ATR, influencing the surrounding boundary's width.
Range Multiplier: Control the ATR's effect on the range.
Range Switch: Flip between high-low and open-close values for range determination.
Visuals
Sentiment Range MA Line:
- This is the flowing line that transitions between green and red.
- When it's green, it indicates bullish momentum in the market. This suggests a prevailing upward trend and can be an entry cue for traders who trade with the trend.
- When it turns red, bearish sentiments dominate. It indicates the potential beginning of a downtrend or a continued downtrend. Traders might interpret this as a signal to be cautious, to short the market, or to exit long positions.
The Chop Zone:
- This is the space between the price candles and the Sentiment Range MA line. It represents a region where the price is considered to be moving sideways or without a clear direction. Price movements within the chop zone might not be substantial enough to warrant a trading decision. Only when the price breaks out of this zone do we see the Sentiment Range MA line change color, signaling a potential trading opportunity.
By interpreting these visuals, traders can make more informed decisions based on the prevailing market sentiment and trend. The chart becomes a tool, providing both an overview of the market condition and potential entry or exit points based on the Sentiment Range MA indicator's readings.
Detailed Settings Overview
Understanding the settings of the Sentiment Range MA Indicator can greatly enhance its utility in your trading strategy. Let's dive deeper into each:
Output Smoothing:
Purpose: It refines the SR MA to provide a clearer trend perspective.
Functionality:
- At `0`, it ensures the indicator responds immediately to price deviations from the chop zone.
- At higher values, it transforms the indicator into a volatility-adjusted moving average.
Filtering Modes:
- Single Filtering: Prioritizes speed.
- Double Filtering: Emphasizes stability.
Trigger Smoothing:
Purpose: Used for the range break detection.
Functionality: It dampens the indicator's sensitivity to sudden market volatility, preventing unnecessary triggers.
ATR Length:
Purpose: Governs the retrospective period for the chop zone.
Functionality:
- Higher values offer a more consistent and broad range size, capturing more historical data.
- Lower values allow for a more adaptive and responsive range.
Range Multiplier:
Purpose: Modifies the breadth of the range around the SR MA.
Functionality: Increasing the multiplier will extend the range, giving more leeway before triggering, while decreasing it will narrow the range, making the indicator more responsive to price changes.
Range Style:
Purpose: Decides which candlestick data is factored into the true range calculations.
Options:
- Body: Uses the open and close values.
- Wick: Accounts for the high and low values.
Functionality: Switching between styles lets you prioritize either the overall volatility (Wick) or just the concluded price action for a period (Body).
By fine-tuning these settings, traders can tailor the Sentiment Range MA Indicator to various market conditions and personal trading styles, ensuring optimal decision-making.
Quick Start
Based on the provided chart, here's a brief explanation of the default settings for the Sentiment Range MA Indicator:
Length: Set at ` 20 `.
- This determines the base moving average period. A standard setting, it calculates the average price over the last 20 periods, providing traders with a clear perspective of short-term trends.
ATR Length: Set at ` 200 `.
- This adjusts the lookback period for the Average True Range (ATR), which in turn influences the chop zone calculation. At a setting of 200, it offers a comprehensive view, considering a longer stretch of historical data.
Range Multiplier: Set at ` 6 `.
- This multiplies the ATR value, widening or narrowing the band around the SR MA. A setting of 6 means the range around the SR MA is determined by multiplying the ATR by 6, offering a broader fluctuation zone.
On the chart, the green line represents the bullish sentiment and the red represents the bearish sentiment. Price movements above and below these lines can be used as potential buy or sell signals respectively. Fine-tuning these settings can cater the Sentiment Range MA Indicator to your specific trading strategy and market condition preferences.
Alternative Settings
For traders looking to adapt to faster market conditions or prefer a more agile analysis, here's a brief description of the alternative settings for the Sentiment Range MA Indicator:
Length: Set at ` 3 `.
- This highly responsive setting calculates the average price over the last 3 periods. Ideal for quick market movements, it offers traders insights into very short-term price trends and potentially swift trade opportunities.
ATR Length: Set at ` 50 `.
- This shorter lookback period for the Average True Range (ATR) focuses on more recent market volatility, providing a tighter and more current chop zone calculation. It's suitable for those wanting to respond to recent market shifts.
Range Multiplier: Set at ` 4 `.
- Multiplying the ATR by 4 narrows down the buffer around the SR MA. This creates a tighter sentiment range, possibly resulting in more frequent crossovers and trading signals.
In the provided chart, the green line still denotes bullish momentum while the red symbolizes bearish sentiment. These alternative settings might generate more frequent signals, so traders should ensure their strategy is aligned with this heightened sensitivity.
Wrapping Up
The Sentiment Range MA melds stability and agility, making it a valuable tool in your trading toolkit. As always, before integrating new indicators, take the time to understand its nuances and potential impacts on your strategy.
Machine Learning: VWAP [YinYangAlgorithms]Machine Learning: VWAP aims to use Machine Learning to Identify the best location to Anchor the VWAP at. Rather than using a traditional fixed length or simply adjusting based on a Date / Time; by applying Machine Learning we may hope to identify crucial areas which make sense to reset the VWAP and start anew. VWAP’s may act similar to a Bollinger Band in the sense that they help to identify both Overbought and Oversold Price locations based on previous movements and help to identify how far the price may move within the current Trend. However, unlike Bollinger Bands, VWAPs have the ability to parabolically get quite spaced out and also reset. For this reason, the price may never actually go from the Lower to the Upper and vice versa (when very spaced out; when the Upper and Lower zones are narrow, it may bounce between the two). The reason for this is due to how the anchor location is calculated and in this specific Indicator, how it changes anchors based on price movement calculated within Machine Learning.
This Indicator changes the anchor if the Low < Lowest Low of a length of X and likewise if the High > Highest High of a length of X. This logic is applied within a Machine Learning standpoint that likewise amplifies this Lookback Length by adding a Machine Learning Length to it and increasing the lookback length even further.
Due to how the anchor for this VWAP changes, you may notice that the Basis Line (Orange) may act as a Trend Identifier. When the Price is above the basis line, it may represent a bullish trend; and likewise it may represent a bearish trend when below it. You may also notice what may happen is when the trend occurs, it may push all the way to the Upper or Lower levels of this VWAP. It may then proceed to move horizontally until the VWAP expands more and it may gain more movement; or it may correct back to the Basis Line. If it corrects back to the basis line, what may happen is it either uses the Basis Line as a Support and continues in its current direction, or it will change the VWAP anchor and start anew.
Tutorial:
If we zoom in on the most recent VWAP we can see how it expands. Expansion may be caused by time but generally it may be caused by price movement and volume. Exponential Price movement causes the VWAP to expand, even if there are corrections to it. However, please note Volume adds a large weighted factor to the calculation; hence Volume Weighted Average Price (VWAP).
If you refer to the white circle in the example above; you’ll be able to see that the VWAP expanded even while the price was correcting to the Basis line. This happens due to exponential movement which holds high volume. If you look at the volume below the white circle, you’ll notice it was very large; however even though there was exponential price movement after the white circle, since the volume was low, the VWAP didn’t expand much more than it already had.
There may be times where both Volume and Price movement isn’t significant enough to cause much of an expansion. During this time it may be considered to be in a state of consolidation. While looking at this example, you may also notice the color switch from red to green to red. The color of the VWAP is related to the movement of the Basis line (Orange middle line). When the current basis is > the basis of the previous bar the color of the VWAP is green, and when the current basis is < the basis of the previous bar, the color of the VWAP is red. The color may help you gauge the current directional movement the price is facing within the VWAP.
You may have noticed there are signals within this Indicator. These signals are composed of Green and Red Triangles which represent potential Bullish and Bearish momentum changes. The Momentum changes happen when the Signal Type:
The High/Low or Close (You pick in settings)
Crosses one of the locations within the VWAP.
Bullish Momentum change signals occur when :
Signal Type crosses OVER the Basis
Signal Type crosses OVER the lower level
Bearish Momentum change signals occur when:
Signal Type crosses UNDER the Basis
Signal Type Crosses UNDER the upper level
These signals may represent locations where momentum may occur in the direction of these signals. For these reasons there are also alerts available to be set up for them.
If you refer to the two circles within the example above, you may see that when the close goes above the basis line, how it mat represents bullish momentum. Likewise if it corrects back to the basis and the basis acts as a support, it may continue its bullish momentum back to the upper levels again. However, if you refer to the red circle, you’ll see if the basis fails to act as a support, it may then start to correct all the way to the lower levels, or depending on how expanded the VWAP is, it may just reset its anchor due to such drastic movement.
You also have the ability to disable Machine Learning by setting ‘Machine Learning Type’ to ‘None’. If this is done, it will go off whether you have it set to:
Bullish
Bearish
Neutral
For the type of VWAP you want to see. In this example above we have it set to ‘Bullish’. Non Machine Learning VWAP are still calculated using the same logic of if low < lowest low over length of X and if high > highest high over length of X.
Non Machine Learning VWAP’s change much quicker but may also allow the price to correct from one side to the other without changing VWAP Anchor. They may be useful for breaking up a trend into smaller pieces after momentum may have changed.
Above is an example of how the Non Machine Learning VWAP looks like when in Bearish. As you can see based on if it is Bullish or Bearish is how it favors the trend to be and may likewise dictate when it changes the Anchor.
When set to neutral however, the Anchor may change quite quickly. This results in a still useful VWAP to help dictate possible zones that the price may move within, but they’re also much tighter zones that may not expand the same way.
We will conclude this Tutorial here, hopefully this gives you some insight as to why and how Machine Learning VWAPs may be useful; as well as how to use them.
Settings:
VWAP:
VWAP Type: Type of VWAP. You can favor specific direction changes or let it be Neutral where there is even weight to both. Please note, these do not apply to the Machine Learning VWAP.
Source: VWAP Source. By default VWAP usually uses HLC3; however OHLC4 may help by providing more data.
Lookback Length: The Length of this VWAP when it comes to seeing if the current High > Highest of this length; or if the current Low is < Lowest of this length.
Standard VWAP Multiplier: This multiplier is applied only to the Standard VWMA. This is when 'Machine Learning Type' is set to 'None'.
Machine Learning:
Use Rational Quadratics: Rationalizing our source may be beneficial for usage within ML calculations.
Signal Type: Bullish and Bearish Signals are when the price crosses over/under the basis, as well as the Upper and Lower levels. These may act as indicators to where price movement may occur.
Machine Learning Type: Are we using a Simple ML Average, KNN Mean Average, KNN Exponential Average or None?
KNN Distance Type: We need to check if distance is within the KNN Min/Max distance, which distance checks are we using.
Machine Learning Length: How far back is our Machine Learning going to keep data for.
k-Nearest Neighbour (KNN) Length: How many k-Nearest Neighbours will we account for?
Fast ML Data Length: What is our Fast ML Length? This is used with our Slow Length to create our KNN Distance.
Slow ML Data Length: What is our Slow ML Length? This is used with our Fast Length to create our KNN Distance.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Anchored Average Price by Atilla Yurtseven (AAP)Anchored Average Price indicator is designed to pinpoint a specific date and price in a given financial instrument's price chart. Once anchored to the desired date and price level, the script calculates and displays the average price from that anchor point to the current day.
Features
Customizable Source: Allows users to choose the source data for calculations. By default, it uses hlc3, which is the average of high, low, and close prices.
Start Date Input: The script includes a timestamp-based input that allows the user to specify the anchor date easily.
Customizable Color: Users can change the color of the plotted average line, adding an additional layer of customization to the visual representation.
Code Mechanics
Initialization: Declares the variables and arrays required for calculations and display. The array is used to store price data.
Condition Check: Only starts storing and calculating data if the chart's time is equal to or greater than the user-defined start date.
Data Storing: Once the condition is met, the script pushes the src price data into the array for future averaging.
Average Calculation: It calculates the average price of the values stored in the array.
Data Clearing: If the condition is not met, the array is cleared, and no average is plotted.
Plotting: The average price is plotted on the chart with the user-defined color.
By incorporating these features and mechanics, AAP provides traders and investors with a powerful tool for assessing average prices anchored to a specific date or swing.
Disclaimer:
This TradingView script is intended for educational and informational purposes only and should not be considered as investment or trading advice. Past performance is not indicative of future results. Trading and investing carry a high level of risk, and you should consult with a qualified financial advisor before making any financial decisions. The creator of this script, Atilla Yurtseven, is not responsible for any losses or damages incurred as a result of using this script.
Trade smart, stay safe
Atilla Yurtseven