Range H/L Buy and Sell SignalThe "Range H/L Buy and Sell Signal" indicator is designed to identify potential buy and sell signals based on a specified price range and market volatility. This indicator can be used in the TradingView platform to assist traders in making informed decisions.
The indicator allows customization of several parameters to adapt to different trading strategies. These parameters include the start and end times for the price range, the volatility threshold, and the desired breakout conditions.
To begin, the indicator calculates the range start and end timestamps based on the provided hours and minutes. This defines the time period within which the indicator will analyze price movements.
Next, the indicator determines the highest high (High) and lowest low (Low) within the specified price range. These levels represent the upper and lower boundaries of the range and act as potential breakout points.
Volatility is also taken into account to filter out false signals. The indicator calculates the true range and the average true range over a period of 14 bars. The true range measures the price range from the current high to low, while the average true range provides an indication of market volatility.
Based on the breakout conditions and the volatility threshold, buy and sell signals are generated. A buy signal occurs when the closing price crosses above the High and the true range is greater than the volatility threshold multiplied by the average true range. Conversely, a sell signal is triggered when the closing price crosses below the Low and the true range exceeds the volatility threshold multiplied by the average true range.
The indicator visually displays the High and Low levels as plotted lines on the chart. Additionally, it marks the buy signals with green labels labeled "BUY" below the corresponding bars and the sell signals with red labels labeled "SELL" above the bars.
It is important to note that this indicator should be used in conjunction with other technical analysis tools and indicators for comprehensive market analysis. Trading always carries risks, and it is crucial to exercise caution and conduct thorough analysis before making any trading decisions.
Divergent Trades LLC:
Disclaimer: The information provided by the Divergent Trades LLC indicator is for educational and informational purposes only. It should not be considered financial advice or a recommendation to buy, sell, or trade any financial instrument. Divergent Trades LLC is not responsible for any losses incurred as a result of using this indicator. Trading in the financial markets carries a high level of risk and may not be suitable for all investors. Before making any investment decisions, please consult with a financial advisor and do your own due diligence. Past performance is not indicative of future results. By using the Divergent Trades LLC indicator, you acknowledge that you have read and understand this disclaimer and agree to its terms and conditions.
Волатильность
New York, London and custom trading sessionsHi Traders
The script :
The Time sessions script plots the trading sessions of both New York and London markets (background fills), In addition to the above the script also plots a user defined trading session period (vertical lines). All plots may be toggled true or false inorder to ensure you can focus on the respective market / markets / custom session.
Market sessions are useful for technical or quantitative analysis, as the majority of trading activity and net daily volume occurs in these zones, in fact the U.S./London market overlap tends to have the greatest volume accumulation across that range of time / bars than that range at any other time within the daily session. For FX traders it may also be important to take into account for many currency pairs the average exchange rate pip movement is greatest within these zones.
The custom session, is intended to be used for traders who trade only within specific intervals within the market session or day for 24/7 traded asset classes
Additional notes :
Not as of now, I have only added three optional trading sessions. If you would like to change the sessions, copy the scripts code and change the "ctm_session" default time range value, insuring the second time value is 1 min > than the first.
As always i Hope this is a useful script, and I will be updating this script in the near future.
Pullback WarningThe Pullback Warning indicator is a simple indicator that highlights the potential for a market pullback, by measuring distances between certain key moving averages.
John Pocorobba recently shared in his general market updates, research showing that when the distance between the closing price and the 9 day exponential moving average is greater than the distance between the 9 day exponential moving average and the 20 day exponential moving average a pullback is likely.
While this condition occurs frequently, I added sensitivity options to try and filter out the noise. The sensitivity is based on the closing price’s extension from the 50 day simple moving average. Depending on your level of sensitivity, only signals that occur when price is extended either 5, 6, or 7 percent away from the 50 sma will be plotted.
Choose how to see the signal:
Highlight Background
Plot a symbol at desired location
Note this signal works best on indexes, not individual securities.
Volume Spike, Price Move >3% Spike with Vol & Gap Up IdentifierTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
VolatilityThis script shows three different calculations for volatility.
All three can be used as Stop-Loss...
- Absolute Price Changes
- Maximum Price Fluctuation
- and every one should know Average True Range
The script has a dark and light theme.
And the colors can be changed and each can be deactivated.
On top of that I stumbled over the fact that when MPF crosses over APC
this could result in a significant change in price and could also be used as an entry or exit.
This is also highlighted by default. You can change its background color and you can deactivate it too.
ACP measures volatility over most recent close prices.
This is excellent for comparing volatility.
It includes both frequency and magnitude.
In other words: Sum of differences between second to last close price and last close price as absolute value for 'n' bars.
MPF measures volatility over most recent candles, which could be used as an estimate of risk.
It may also be effective as the basis for a stop-loss or take-profit,
like the ATR but it ignores the frequency of directional changes within the time interval.
In other words: The difference between the highest high and lowest low over 'n' bars.
When you don't know what the ATR is then you can look at this link .
Heikin Ashi ROC Percentile Strategy**User Guide for the "Heikin Ashi ROC Percentile Strategy"**
This strategy, "Heikin Ashi ROC Percentile Strategy", is designed to provide an easy-to-use framework for trading based on the Heikin Ashi Rate of Change (ROC) and its percentiles.
Here's how you can use it:
1. **Setting the Start Date**: You can set the start date for the strategy in the user inputs at the top of the script. The variable `startDate` defines the point from which the script begins executing trades. Simply input the desired date in the format "YYYY MM DD". For example, to start the strategy from March 3, 2023, you would enter `startDate = timestamp("2023 03 03")`.
2. **Adjusting the Midline, Lookback Period, and Stop Loss Level**: The `zerohLine`, `rocLength`, and `stopLossLevel` inputs allow you to adjust the baseline for ROC, the lookback period for the SMA and ROC, and the level at which the strategy stops the loss, respectively. By tweaking these parameters, you can fine-tune the strategy to better suit your trading style or the particular characteristics of the asset you are trading.
3. **Understanding the Trade Conditions**: The script defines conditions for entering and exiting long and short positions based on crossovers and crossunders of the ROC and the upper and lower "kill lines". These lines are defined as certain percentiles of the ROC's highest and lowest values over a specified lookback period. When the ROC crosses above the lower kill line, the script enters a long position; when it crosses below the upper kill line, it exits the position. Similarly, when the ROC crosses below the upper kill line, the script enters a short position; when it crosses above the lower kill line, it exits the position.
In my testing, this strategy performed best on a day and hour basis. However, I encourage you to experiment with different timeframes and settings to see how the strategy performs under various conditions. Remember, there's no one-size-fits-all approach to trading; what works best will depend on your specific circumstances, goals, and risk tolerance.
If you find other useful applications for this strategy, please let me know in the comments. Your feedback is invaluable in helping to refine and improve this tool. Happy trading!
Displacement (Two FVGs)A simple indicator that attempts to identify displacement in price by alerting you when two simultaneous Fair Value Gaps (FVGs) occur.
When two fair value gaps occur, the indicator will print a green bar (if bullish) or a red bar (if bearish). If you right click on the indicator you can turn on alerts that will pop up every time a dual FVG occurs.
Fair Value Gaps are most commonly used amongst price action traders and are defined as instances in which there are inefficiencies, or imbalances, in the market.
The concept for this indicator is very simple. Apply it to your chart and enable alerts on the instruments and timeframe you trade. When you get an alert, it could indicate larger players getting involved.
This is NOT a trading strategy. Its intention is to save time by alerting you to large imbalances in price on the instruments you trade.
Smoother Momentum Stops [Loxx]Smoother Momentum Stops (SMS) is a dynamic tool that combines the logic of momentum and moving averages to create an overlay of the market price and generate potential trade signals. The original idea for this indicator comes from the beloved and esteemed trading indicator guru Mladen Rakic.
Understanding the Framework
The SMS incorporates various aspects of technical analysis, including momentum calculation, several types of moving averages, and an intelligent stop-and-reverse system that determines when to enter and exit trades.
The indicator initiates by defining the color scheme for visualization, specifically green for bullish trends and red for bearish trends. It further utilizes the 'smmom' and 'fema' functions to calculate smoothed momentum and fast exponential moving averages, respectively. The values computed by these functions are central to the signal generation process.
Momentum Calculation
The 'smmom' function serves to calculate a smoother momentum by taking a source (such as the closing price) and a period as inputs. This function employs a complex algorithm involving exponential moving averages (EMA), wherein two EMAs are calculated with different smoothing factors, and the difference between the two results is returned as the output. This smooth momentum calculation assists in eliminating unnecessary noise from the market and delivers more reliable momentum readings.
Moving Averages Computation
One key feature of the SMS is the ability to select from five different moving average types: Exponential Moving Average (EMA), Fast Exponential Moving Average (FEMA), Linear Weighted Moving Average (LWMA), Simple Moving Average (SMA), and Smoothed Moving Average (SMMA). The 'variant' function assigns the chosen method to the '_avg' variable, which is then used in the trade signal logic.
Trade Signal Generation
SMS employs a complex yet robust mechanism for generating trade signals. A stop-and-reverse system is established, which works on the principle of momentum. If the smoothed momentum is positive, an upper stop is determined and if the momentum is negative, a lower stop is defined.
The process continues by defining long and short entry conditions. The indicator goes long when an upper stop exists, and the previous bar had a lower stop, signifying a shift in momentum. The short entry condition is the opposite: the indicator goes short when a lower stop exists, and the previous bar had an upper stop. Alerts are generated for each of these conditions, helping traders to take timely action.
Visual Representation and UI Options
In terms of visual representation, the indicator plots upper and lower stops, employing green color for upper and red for lower stops. If the option to color bars is chosen, the entire bar is colored green or red, based on whether an upper or lower stop exists. This feature allows traders to visually comprehend market conditions better. Support and reisstance levels are also provided for visual context.
Conclusion
The Smoother Momentum Stops indicator is a potent tool for traders seeking to optimize their trading strategies. It blends the fundamentals of momentum and moving averages, resulting in a robust system that provides clear, reliable, and timely trading signals. By adjusting the smoothing type and period parameters, traders can customize the indicator to fit various market conditions and asset types, thereby adding a layer of flexibility to their trading strategies.
The use of a stop-and-reverse system adds a layer of risk management by offering precise entry and exit points based on momentum shifts. These stops are not just mere levels of entries or exits, but they reflect the undercurrent of the market's momentum, thus providing a dynamic framework to make informed trading decisions.
Additionally, the SMS indicator offers visual simplicity. The color-coded bars and distinct symbols for long and short positions make it easier for traders to interpret the signals and market direction quickly. Combined with the alert system, it ensures that traders never miss an important trading opportunity.
Finally, the power of the SMS indicator lies in its adaptability and comprehensive approach. By providing a selection of moving averages and an intelligent momentum-based system, it encapsulates various aspects of market behavior. As such, it is a useful tool not just for momentum traders, but for any trader who understands the significance of moving averages and momentum in predicting market movements.
In conclusion, the Smoother Momentum Stops indicator stands as an innovative, adaptable, and powerful tool for the modern trader. Its blend of flexibility, dynamic risk management, and straightforward visualization offer a comprehensive solution for traders looking to navigate the complex world of financial markets. With a detailed understanding of its workings as presented in this essay, traders can harness its full potential to optimize their strategies, manage risk, and achieve their trading objectives.
Dodge Trend [MyTradingCoder]Introducing the "Dodge Trend" indicator, an innovative variant of the Supertrend indicator designed to help traders better avoid fakeouts and maintain positions in established trends.
Like the Supertrend, the Dodge Trend uses Average True Range (ATR) but incorporates a unique adaptive adjustment feature that differentiates it from its counterparts. While the conventional Supertrend rises with the trend and only descends when the price crosses it, the Dodge Trend is designed to 'dodge' potential fakeouts.
This 'dodging' mechanism works by allowing the Dodge Trend to fall slightly during pullbacks, reducing the risk of a premature exit due to a temporary price drop. The recovery rate after the pullback is quicker but is slightly lower than the rate at which a new Dodge Trend high would be established in an uptrend. This unique adjustment feature allows the Dodge Trend to chase price action in an exponential fashion, potentially enabling a quicker exit when the trend shifts.
Key Settings:
Length: Adjust how much price action is taken into consideration for the ATR average. Lower values yield higher responsiveness to recent price action.
Size: Determines the initial deviation of the Dodge Trend when it resets after every flip/break.
Source: Specifies the data point (close, high, open, low, hl2, etc.) used for the Dodge Trend.
Dodge Intensity: Adjusts the intensity of the pullback effect. Higher values result in more intense pullbacks. Range is limited between 0 and 99, with 95 as the recommended default.
Bullish Color Setting: Sets the color for the uptrend Dodge Trend.
Bearish Color Setting: Sets the color for the downtrend Dodge Trend.
Dodge Trend is a powerful tool for traders looking to ride trends and avoid unnecessary exits due to short-term price fluctuations. While it offers a unique feature that may potentially improve trading outcomes, it should be used in conjunction with other indicators and analysis methods for a comprehensive trading strategy. As with all tools, it does not guarantee profitable trades but aims to give traders more actionable and precise information to base their decisions on.
Experience trend-following in a more adaptive and efficient manner with the Dodge Trend indicator, a tool designed to help you 'dodge' false exits and stay in line with the overall trend.
ASG Delta %This utility script provides a convenient way to calculate the percentage gain or drop of a token's price within a user-defined date range. It eliminates the need for manual measurement on individual charts, saving time and effort.
The script is particularly valuable when integrated into a daily token scanning routine for watchlists. By comparing the significant gains or drops among different tokens, traders can identify potential trading opportunities.
Simply select the desired date range, and the script will identify the highest and lowest price points achieved during that period. It then shows a visual representation in the form of a bullish or bearish box, displaying the percentage change (delta %). If the current price falls within the box's upper and lower bounds, additional percentage information can be shown in either the 'normal' or 'reverse' mode.
For instance, if a token experiences a -52.35% drop, enabling the 'Reverse' setting will reveal a potential 109.86% gain (from the low), or a 76.02% gain (from current price) or a potential drop of -16.5% (from current price) etc.. Having these basic statistics available, without having to manually chart them, especially during prolonged bear or bull markets, enables traders to make informed decisions and position themselves for more profitable trades.
I hope you find this script valuable. Your comments and recommendations are welcome as they will help improve the script's functionality further.
Focused Average True RangeThe Focused Average True Range (FATR) is a modified version of the classic Average True Range (ATR) indicator. It is designed to provide traders with more accurate data on volatility, minimizing the impact of sharp spikes in volatility.
The main distinction between the Focused ATR and the standard ATR lies in the utilization of percentiles. Instead of calculating the average price change as the regular ATR does, the Focused ATR selects a value in the middle of the range of price changes. This makes it less sensitive to sharp changes in volatility, which can be beneficial in certain trading scenarios.
Settings:
Percentile. This parameter determines which value in the series of price changes will be used. For example, if the percentile is set to 50, the indicator will use the median value of the series of price changes. This is the default value. Imagine a class of students lined up by height, and instead of calculating the average height of all students, we take the height of the students in the middle of the line. Similarly here, we take the ATR from the middle of the series. Increasing the percentile will lead to the use of a value closer to the upper bound of the range, while decreasing the percentile will lead to the use of a value closer to the lower bound.
How to Use:
The Focused ATR is especially useful for determining the sizes of stop-losses and take-profits, thanks to its ability to consider the value in the middle of the series of price changes rather than the average value. This allows traders to more accurately assess volatility and risk, which in turn can assist in optimizing trading strategies
---
Фокусированный Средний Истинный Диапазон (Focused ATR) представляет собой модифицированную версию классического индикатора ATR. Он разработан с целью предоставления трейдерам более точных данных о волатильности, минимизируя влияние резких скачков волатильности.
Основное отличие Фокусированного ATR от стандартного ATR заключается в использовании процентиля. Вместо того, чтобы рассчитывать среднее значение изменений цены, как это делает обычный ATR, Фокусированный ATR выбирает значение в середине диапазона изменений цены. Это делает его менее чувствительным к резким изменениям волатильности, что может быть полезно в некоторых торговых сценариях.
Настройки:
Процентиль. Этот параметр определяет, какое значение в ряду изменений цены будет использоваться. Например, если процентиль равен 50, то индикатор будет использовать медианное значение ряда изменений цены. Это стандартное значение. Представьте себе, что ученики класса выстроились по росту, и мы считаем не средний рост всех учеников, а берем рост учеников из середины колонны. Так и тут. Мы берем ATR из середины ряда. Увеличение процентиля приведет к использованию значения, ближе к верхней границе диапазона, в то время как уменьшение процентиля приведет к использованию значения, ближе к нижней границе.
Как использовать:
Фокусированный ATR особенно полезен для определения размеров стоп-лоссов и тейк-профитов, благодаря своей способности учитывать значение в середине ряда изменений цены, а не среднее значение. Это позволяет трейдерам более точно оценить волатильность и риск, что в свою очередь может помочь в оптимизации торговых стратегий.
.
Volatility Percentage MonitorVolatility Percentage Monitor (VPM)
What it’s meant for:
- VPM quickly shows asset volatility trend in percentage making easy to recognise how on-going price move compare to average. This is particularly useful in day-trading analysis too understand when the move possibly reaches it’s top.
- By default VPM shows a 1 period trend and Bollinger Bands on 20 periods.
How it works:
- VPM use a Simple Moving Average to reflect the exact percentage value in both daily and optional trend average measures. There’s also a switch in ‘Setting Menu’ to change the average method (Eg. You can choose RMA with a 14 period average and see a standard ATR graph on chart)
Settings:
- Additional averages can show short, mid and longterm volatility trends and can be adjusted from Setting Menu.
- An additional graph can be shown to display Standard Deviation from longterm period data: (Note: this is used to understand how reliable average data is on the given asset)
- Bollinger Bands can be turned on/off by the Setting Menu and adjusted in period and standard deviation (Suggestion: you can check standard deviation with longterm period average parameter and display trend)
- Average Method switch allow to change the calculation method for all averages with the most common methods
- The indicator is designed to be used with daily, weekly or monthly timeframe, but will work on any timeframe anyway.
- Works on any asset
Alerts:
- Preconfigured alerts can be activated to be notify on mid and top volatility daily reach
Parabolic SAR + EMA 200 + MACD SignalsParabolic SAR + EMA 200 + MACD Signals Indicator, a powerful tool designed to help traders identify optimal entry points in the market.
This indicator combines three popular technical indicators: Parabolic SAR (Stop and Reverse), EMA200 (Exponential Moving Average 200) and MACD (Moving Average Convergence Divergence) - to provide clear and concise buy and sell signals based on market trends.
The MACD component of this indicator calculates the difference between two exponentially smoothed moving averages, providing insight into the trend strength of the market. The Parabolic SAR component helps identify potential price reversals, while the EMA200 acts as a key level of support and resistance, providing additional confirmation of the overall trend direction.
Whether you're a seasoned trader or just starting out, the MACD-Parabolic SAR-EMA200 Indicator is a must-have tool for anyone looking to improve their trading strategy and maximize profits in today's dynamic markets.
Buy conditions
The price should be above the EMA 200
Parabolic SAR should show an upward trend
MACD Delta should be positive
ُSell conditions
The price should be below the EMA 200
Parabolic SAR should show an downward trend
MACD Delta should be negative
Bollinger Bands Lab - by InFinitoVariation of the Moving Average Lab that includes Bollinger Bands functionality for any manually created Moving Average. It includes:
- Standard Deviations for any MA
- Fixed Symmetrical Deviations for any MA that remain at a constant % away from the MA
- The same Moving Average creation settings from the Moving Average Lab
"The Moving Average Lab allows to create any possible combination of up to 3 given MAs. It is meant to help you find the perfect MA that fits your style, strategy and market type.
This script allows to average, weight, double and triple multiple types and lengths of Moving Averages
Currently supported MA types are:
SMA
EMA
VWMA
WMA
SMMA (RMA)
HMA
LSMA
DEMA
TEMA
Features:
- Double or Triple any type of Moving Average using the same logic used for calculating DEMAs and TEMAs
- Average 2 or 3 different types and lengths of Moving Average
- Weight each MA manually
- Average up to 3 personalized MAs
- Average different Moving Averages with different length each "
The preview screenshot shows:
- The combination of:
- 200 LSMA - Weight: 1
- 200 HMA - Weight: 2
- 200 VWMA - Weight: 1 - Double
- The regular Bollinger Band setting, 2 standard deviations
- Two fixed symmetrical deviations at 15% and 20% away from the XMA
Range Deviations @joshuuuThis indicator is able to show ranges, the equlibrium (50%) and range deviations.
It has four pre-defined options and one custom version.
Asia (2000-0000) ny time
CBDR(1400-2000) ny time
Flout(1400-0000) ny time
ONS (OverNightSession)(0400-0800) chicago time
Custom (you can choose the times)
ICT (Inner Circle Traders) teaches, that those range deviations of asia,cbdr,flout can be used to find the daily high/low.
TCM (The Currency Merchant) teaches, that a move out of the range often is a false move to trap traders into the wrong direction.
Positive Volatility and Volume GaugeThis is my first published script. It is a real volatility gauge that allows the user to see the real volatility of a given candle on the 15-min time frame. It also has the SMA of real volatility and volume available.
It provides the user to identify high volatility points that can lead to reversals back to the mid-point of said high volatility.
You can change the threshold of the signal line. For the 15-min time frame, I suggest that the 1.5-2.5 threshold be used for the best view.
Good luck and let me know if you have any questions or suggestions. I'm always open to learning.
Thank you!
Bollinger Bands and SMA Channel Buy and Sell
This Indicator is a combination of a standard BB indicator incorporated with a SSL Channel by ErwinBeckers which is Simple Moving average with a length of set at 10 (Default) and calculates the high and low set for the default 10 to form a Channel.
The Settings for the Bollinger Band is the standard settings on a normal Bollinger Band - Length 20, source close and Standard dev 2
The setting for the SMA is length 10 and the high and low calculated or that length to form a channel.
The SMA Channel gives a green line for the Up channel and the Red line for the down Channel.
The basis of the indicator is that the Candle close above the Basis line of the BB and the SMA green line will give a buy indicator
and the same for Sell indicator the candle close below the basis BB and the SMA line Red will give a Sell indicator.
Please note that this indicator is a mix of 2 basic indicators found in Trading view, giving Buy and Sell indicators to make things easier to not look for this visually.
This code will be open source for anyone to use or back test or use it for whatever they want.
This code is for my own personal trading and cannot be relied upon. This indicator cannot be used and cannot guarantee anything, and caution should always be taken when trading. Use this with other indicators to give certanty.
Again use this for Paper Trading only.
I want to thank TradingView for its platform that facilitates development and learning.
Regularized-Moving-Average Oscillator SuiteThe Regularized-MA Oscillator Suite is a versatile indicator that transforms any moving average into an oscillator. It comprises up to 13 different moving average types, including KAMA, T3, and ALMA. This indicator serves as a valuable tool for both trend following and mean reversion strategies, providing traders and investors with enhanced insights into market dynamics.
Methodology:
The Regularized MA Oscillator Suite calculates the moving average (MA) based on user-defined parameters such as length, moving average type, and custom smoothing factors. It then derives the mean and standard deviation of the MA using a normalized period. Finally, it computes the Z-Score by subtracting the mean from the MA and dividing it by the standard deviation.
KAMA (Kaufman's Adaptive Moving Average):
KAMA is a unique moving average type that dynamically adjusts its smoothing period based on market volatility. It adapts to changing market conditions, providing a smoother response during periods of low volatility and a quicker response during periods of high volatility. This allows traders to capture trends effectively while reducing noise.
T3 (Tillson's Exponential Moving Average):
T3 is an exponential moving average that incorporates additional smoothing techniques to reduce lag and provide a more responsive indicator. It aims to maintain a balance between responsiveness and smoothness, allowing traders to identify trend reversals with greater accuracy.
ALMA (Arnaud Legoux Moving Average):
ALMA is a moving average type that utilizes a combination of linear regression and exponential moving average techniques. It offers a unique way of calculating the moving average by providing a smoother and more accurate representation of price trends. ALMA reduces lag and noise, enabling traders to identify trend changes and potential entry or exit points more effectively.
Z-Score:
The Z-Score calculation in the Regularized-MA Oscillator Suite standardizes the values of the moving average. It measures the deviation of each data point from the mean in terms of standard deviations. By normalizing the moving average through the Z-Score, the indicator enables traders to assess the relative position of price in relation to its mean and volatility. This information can be valuable for identifying overbought and oversold conditions, as well as potential trend reversals.
Utility:
The Regularized-MA Oscillator Suite with its unique moving average types and Z-Score calculation offers traders and investors powerful analytical tools. It can be used for trend following strategies by analyzing the oscillator's position relative to the midline. Traders can also employ it as a mean reversion tool by identifying peak values above user-defined deviations. These features assist in identifying potential entry and exit points, enhancing trading decisions and market analysis.
Key Features:
Variety of 13 MA types.
Potential reversal point bubbles.
Bar coloring methods - Trend (Midline cross), Extremities, Reversions, Slope
Example Charts:
Banded Chikou Breakout — Quantifying Ichimoku MomentumTitle: Banded Chikou Breakout — Quantifying Ichimoku Momentum
Overview:
Banded Chikou Breakout (BCB) is a unique, algorithmic script designed to augment the capabilities of traders seeking substantial breakout opportunities. Constructed on the robust principles of the Ichimoku trading strategy, BCB is designed to quantify and filter the Chikou Span's significant breakouts above or below the price action. This script does not aim to replace the Ichimoku system; instead, it enhances it, providing an optimized tool for momentum trading.
Rationale:
Ichimoku traders often scrutinize the Chikou Span's position relative to price action to identify market trends. However, determining whether the Chikou Span is above or below due to a genuine trend or mere market noise can be challenging in choppy markets. BCB resolves this predicament by offering a unique way to interpret the Chikou Span's movement. It does so by quantifying the Chikou Span's momentum and utilizing Bollinger Bands to determine its significance. By effectively differentiating substantial movements from the insignificant, BCB can help traders better navigate the market and increase their potential for profitable trades.
How it Works:
BCB combines three key elements: a Momentum Script (simulating Chikou Span), a Bollinger Band Script, and a Timeframe Switcher, all working together to provide a refined trading perspective.
Momentum Script: Calculates the price difference between the current price and the price 'n' periods ago, transforming the Chikou Span into a quantifiable momentum value that signifies the strength and speed of a market move.
Bollinger Band Script: Computes a Simple Moving Average (SMA) around the momentum, plotting two 'bands' at a specified standard deviation from this SMA. This functionality allows traders to discern when the Chikou Span's momentum is abnormally high or low, signifying a potential significant breakout.
Timeframe Switcher: This feature lets traders apply the BCB script to a different timeframe from the one they are currently viewing. This capability can help traders identify higher timeframe breakouts and trade them with precision on the lower timeframe.
How to Use:
BCB is designed to complement the Ichimoku strategy for effective breakout identification.
Add the BCB script to your trading chart. It plots the momentum (yellow line) and Bollinger Bands (green lines) with the area between the bands shaded blue.
Utilize the Ichimoku strategy to identify larger and smaller timeframe trends.
Optional: Leverage the timeframe switcher to synchronize your trades with higher timeframe trends while operating on lower timeframes.
If the BCB momentum line crosses the upper Bollinger Band while the Ichimoku indicates a bullish trend, it signifies a potential significant upward breakout. Similarly, a cross below the lower band during a bearish trend could denote a significant downward breakout.
Remember, without the context provided by the Ichimoku system's trend analysis, BCB can yield false breakouts. It is, therefore, crucial to use these tools in tandem. I like to check for an Ichimoku trend on the 4H and 1H charts, and then use BCB on charts <60 minutes to capture trends with precision.
TrendingNowTrendingNow Indicator - An Experimental Study
Introduction:
The TrendingNow indicator is an experimental study designed to identify trending market conditions and potential trading opportunities. It combines various technical analysis tools and parameters to provide insights into trend direction, momentum, volume, and price reversals.
Methodology:
The TrendingNow indicator is calculated based on the following parameters and calculations:
Moving Average: A simple moving average (SMA) is calculated using the specified length parameter. It helps smooth out price fluctuations and identify the overall trend direction.
Upper and Lower Bands: The upper and lower bands are derived from the moving average by adding and subtracting a deviation calculated using the multiplier parameter. These bands provide dynamic levels for potential trend reversals.
Price Reversals: The indicator detects price reversals by identifying when the price crosses above or below the upper or lower bands. These reversals suggest potential entry or exit points in the market.
Trend Confirmation: The indicator uses a moving average of the closing prices over the confirmation length parameter to confirm the overall trend direction. It helps filter out false signals and validates the presence of a trend.
Momentum Oscillator: The indicator calculates the relative strength index (RSI) over the momentum length parameter. The RSI measures the speed and change of price movements, indicating potential overbought and oversold conditions.
Volume Trend Confirmation: The study compares the current volume with the average volume over the specified length. If the current volume is above the volume threshold, it suggests increasing volume activity and potential confirmation of the trend.
Volatility Filter: The indicator incorporates an average true range (ATR) calculation to assess market volatility. The volatility threshold is derived by multiplying the ATR by the volatility multiplier parameter. It helps filter out signals during periods of low volatility.
Experimental Study:
The TrendingNow indicator aims to experiment with the combination of these technical analysis tools to identify trending market conditions and potential trading opportunities. By monitoring the price reversals, trend confirmation, momentum, volume trends, and volatility, traders can potentially identify high-probability trade setups.
The study involves observing the indicator's signals and assessing their effectiveness in different market conditions. Traders can experiment with different parameter values, timeframes, and asset classes to optimize the indicator's performance.
Usage and Interpretation:
When using the TrendingNow indicator, traders can consider the following guidelines:
Trend Identification: A bullish trend is indicated when the price is above the upper band, the moving average is rising, and the trend confirmation is positive. A bearish trend is indicated when the price is below the lower band, the moving average is declining, and the trend confirmation is negative.
Price Reversals: Price crossing above the upper band may suggest a potential selling opportunity, while price crossing below the lower band may indicate a potential buying opportunity. These reversals should be confirmed by other indicators and market conditions.
Momentum and Volume Confirmation: Traders can pay attention to the RSI levels to assess overbought and oversold conditions. High volume activity in line with the trend can provide additional confirmation.
Volatility Consideration: Traders may choose to adjust the volatility multiplier parameter based on the current market conditions. Higher values may be more suitable during periods of higher volatility, while lower values may be preferred during low volatility.
Conclusion:
The TrendingNow indicator offers an experimental approach to identifying trending market conditions and potential trading opportunities. Traders can customize the indicator parameters and combine it with other analysis techniques to suit their trading strategies. It is important to conduct thorough testing and validation before incorporating the indicator into live trading.
Disclaimer:
The information provided in this document, including the TrendingNow indicator and the accompanying experimental study, is for educational and experimental purposes only. It should not be considered as financial advice or a recommendation to engage in any trading or investment activities. Trading and investing in financial markets carry inherent risks, and past performance is not indicative of future results.
Before making any trading decisions, it is essential to conduct your own research, evaluate your risk tolerance, and consider your financial situation. The TrendingNow indicator is based on historical price data and technical analysis tools. However, it is important to understand that market conditions can change rapidly, and the indicator may not accurately predict future market movements or generate profitable trades in all situations.
The experimental study aims to explore the effectiveness of the TrendingNow indicator under different market conditions. However, the results obtained from the study are specific to historical data and may not necessarily be indicative of real-time market performance. It is recommended to exercise caution and use the indicator in conjunction with other analysis techniques and risk management strategies.
The TrendingNow indicator's parameters, such as length, multiplier, confirmation length, momentum length, overbought level, oversold level, volume threshold, and volatility multiplier, are adjustable inputs. Traders should carefully consider and test different parameter settings to suit their trading style and market conditions. Furthermore, it is important to regularly review and update the indicator's parameters as market dynamics change.
Trading in financial markets involves the potential for financial loss, and individuals should only trade with funds they can afford to lose. It is strongly advised to seek the guidance of a qualified financial professional or advisor before making any investment decisions.
By using the TrendingNow indicator and conducting the experimental study, you acknowledge that you are solely responsible for any trading decisions you make, and you agree to hold harmless the authors, developers, and distributors of this indicator for any losses, damages, or liabilities incurred as a result of your trading activities.
AIR Supertrend (Average Interpercentile Range)Supertrend (ST) is a popular stop loss and trend identification script. The simplicity of seeing a clean trend on a chart makes it attractive, yet it is restricted by only allowing the source, length and multiplier to be adjusted, & these tend to have a limited effect on the properties of the identified trend.
There is a wide variety of interesting ST scripts on TradingView that give the user more control, but none to my knowledge, based on measuring the statistical dispersion of Average Interpercentile Range (AIR).
Two more levels of control:
Normally, ATR Average True Range is used to calculate the range in ST. ATR is initially calculated using RMA to smooth out True Range. This script gives the user the option of changing the MA to some more interesting varieties & modifying their parameters.
The default range setting when you load the indicator on a chart will be AIR.
The real strength of the indicator, however, and the reason I am publishing it, is to release AIR. Play round with the percentile range setting. Lowering it will allow you to stay longer in a trade in a volatile market. Raising it will make it tighter.
For comparison, you can switch back the range setting to ATR and load up RMA to see how the original, classic ST plots.
Alerts are included in this version. Alway use a stop loss.
DISCLAIMER: None of this is financial advice.
Credits to these authors, whose hard work inspired parts of this script:
@ KivancOzbilgic - SuperTrend
@ KioseffTrading - Tillson T3 MA
@ cheatcountry - Hann Window Smoothing
@ mutantdog - Interquartile Range function in his 'Blaze' script
Sessions[Lenny Kiruthu]The script below is designed to show up to 4 different trading sessions i.e. London, New York, Tokyo and Sydney sessions, it also displays the days each session is taking place in as well as two horizontal lines one for the previous days high and the other for the previous days low.
It also displays a table that shows the user the highest and lowest price for 4 different currency pairs the previous day as well as their current prices and below it a confirmation row that shows whether price is currently above, below or within yesterdays range. Note that it only states "High Broken" or "Low Broken" if the current close is above or below the lines.
What you can change
Your time zone for example GMT -4 or GMT +3
The session start and end time
The colors, border type and border width of the session ranges
Displaying the table
Ability to choose the 4 symbols to view on the table
Logarithmic VolatilityIntroducing the Logarithmic Volatility Indicator , an innovative trading indicator designed especially for trading in low volatility markets. This powerful indicator is aimed at traders of all levels, from beginners to experts, and is based on fundamental concepts of mathematics and statistics applied to the financial market. Its main objective is to provide you with a better understanding of price movements and help you make more accurate investment decisions, especially in low volatility environments.
The purpose of this indicator is to find a volatility estimator that depends on the difference between High and Low, taking into account that this measure is directly proportional to volatility. A first result was obtained by Parkinson (1980) which was later improved by Garman and Klass (1980), who improved the estimator by obtaining one of minimum variance. It is the simplified version (and recommended by them) of the Garman and Klass estimator that is used to calculate the daily volatility of the asset.
The Logarithmic Volatility Indicator is a unique smoothing indicator that uses logarithms and volatility calculation of the opening, high, low and closing prices. It combines these elements to obtain an accurate representation of market volatility in situations where volatility is low.
Features
This indicator has several outstanding features designed to enhance your trading analysis in low volatility environments:
• Intraday Volatility Calculation: This innovative feature allows you to view market volatility levels in real time, providing a clear view of market fluctuations even when volatility is low.
• EMA (Exponential Moving Average) Multi Length: The indicator incorporates three different EMA lengths (Fast, Medium and Slow). This gives you a deeper and more detailed analysis of market volatility, allowing you to detect subtle changes in volatility and make more accurate predictions.
• Visual color change: The indicator uses a color change between green and red to facilitate quick interpretation of the market. Green indicates a decrease in volatility, while red indicates an increase in volatility. This feature helps you quickly identify changes in market dynamics even in periods of low volatility.
• Histogram display: In addition to the colors, the indicator can also be displayed as a histogram. This intuitive representation allows you to visually observe changes in volatility over time and detect emerging patterns or trends in markets with low volatility.
Settings
The Logarithmic Volatility Indicator allows you to customize various settings to suit your specific trading needs:
• Slow EMA length: you can select the length of the slow exponential moving average according to your preferences and trading strategies.
• Fast EMA length: Similarly, you can choose the length of the fast exponential moving average to suit your trading style.
• Average EMA length: In addition to the two EMA lengths above, this indicator offers a third EMA length for even more detailed analysis. This additional feature is especially useful when trading in markets with low volatility, as it allows you to capture subtle changes in market dynamics.
Trading
The Logarithmic Volatility Indicator is designed not only to provide you with essential information about market volatility, but also to give you clear indications on when to trade. Here's how you can use the indicator's colors to guide your trading decisions:
- Long Trading: When the fast EMA has a smaller value than the slow EMA, the indicator will change to green. This is a signal to enter a long trade. That is, you can consider buying at this point, as an increase in price is anticipated due to decreasing volatility. With volatility declining, there is a greater likelihood that the price will continue in the current direction rather than fluctuate erratically.
- b]Short Trading: On the other hand, when the fast EMA has a higher value than the slow EMA, the indicator will turn red. This is a signal to enter a short trade. In other words, you may consider selling at this point, as a decline in price is anticipated due to rising volatility. With volatility on the rise, there is a greater risk of steeper price fluctuations.
It is important to remember that, as with any indicator, the Logarithmic Volatility Indicator does not guarantee 100% success. You should always use this indicator in combination with other analytical tools and good risk management. This tool provides you with an overview of market volatility and can help you identify trading opportunities in low volatility markets, but the final decision on when and how to trade should always be based on your own analysis and judgment.
In conclusion, the Logarithmic Volatility Indicator is an essential trading tool that every trader should have in their arsenal, especially when facing low volatility markets. With its accurate volatility calculation and easy-to-understand visualization, it will help you improve your trading decisions and maximize your profits even in situations where price movements are less pronounced. Try it today and take advantage of its efficiency in low volatility environments!
---------------------------------------------------------------------------------------------------
Presentamos el Indicador de Volatilidad Logarítmica , un innovador indicador de trading diseñado especialmente para operar en mercados con baja volatilidad. Este poderoso indicador está dirigido a traders de todos los niveles, desde principiantes hasta expertos, y se basa en conceptos fundamentales de matemáticas y estadísticas aplicadas al mercado financiero. Su objetivo principal es proporcionarte una mejor comprensión de los movimientos de precios y ayudarte a tomar decisiones de inversión más precisas, especialmente en entornos de baja volatilidad.
Con este indicador se pretende encontrar un estimador de la volatilidad que dependa de la diferencia entre el High y el Low, teniendo en cuenta que esta medida es directamente proporcional a la volatilidad. Un primer resultado fue obtenido por Parkinson (1980) que posteriormente fue mejorado por Garman y Klass (1980), que mejoraron el estimador obteniendo uno de varianza mínima. Es la versión simplificada (y recomendada por ellos mismos) del estimador de Garman y Klass la que se utiliza para calcular la volatilidad diaria del activo.
El Indicador de Volatilidad Logarítmica es un indicador de suavizado único que utiliza logaritmos y el cálculo de la volatilidad de los precios de apertura, máximo, mínimo y cierre. Combina estos elementos para obtener una representación precisa de la volatilidad del mercado en situaciones donde la volatilidad es baja.
Características
Este indicador cuenta con varias características sobresalientes diseñadas para mejorar tu análisis de trading en entornos de baja volatilidad:
• Cálculo de la volatilidad intradía: Esta función innovadora te permite ver los niveles de volatilidad del mercado en tiempo real, lo que brinda una visión clara de las fluctuaciones del mercado incluso cuando la volatilidad es baja.
• EMA (Exponential Moving Average) Multi Longitud: El indicador incorpora tres longitudes diferentes de EMA (Rápida, Media y Lenta). Esto te proporciona un análisis más profundo y detallado de la volatilidad del mercado, permitiéndote detectar cambios sutiles en la volatilidad y realizar predicciones más precisas.
• Cambio de color visual: El indicador utiliza un cambio de color entre verde y rojo para facilitar la interpretación rápida del mercado. El verde indica una disminución de la volatilidad, mientras que el rojo indica un aumento de la volatilidad. Esta característica te ayuda a identificar rápidamente cambios en la dinámica del mercado incluso en períodos de baja volatilidad.
• Visualización Histograma: Además de los colores, el indicador también se puede visualizar como un histograma. Esta representación intuitiva te permite observar de manera visual los cambios en la volatilidad a lo largo del tiempo y detectar patrones o tendencias emergentes en mercados con baja volatilidad.
Ajustes
El Indicador de Volatilidad Logarítmica te permite personalizar varios ajustes para adaptarlos a tus necesidades de trading específicas:
• Longitud de EMA lenta: Puedes seleccionar la longitud de la media móvil exponencial lenta según tus preferencias y estrategias de trading.
• Longitud de EMA rápida: De manera similar, puedes elegir la longitud de la media móvil exponencial rápida para ajustarla a tu estilo de trading.
• Longitud de EMA media: Además de las dos longitudes de EMA anteriores, este indicador ofrece una tercera longitud de EMA para un análisis aún más detallado. Esta característica adicional es especialmente útil cuando operas en mercados con baja volatilidad, ya que te permite capturar cambios sutiles en la dinámica del mercado.
Operativa
El Indicador de Volatilidad Logarítmica está diseñado no solo para brindarte información esencial sobre la volatilidad del mercado, sino también para ofrecerte indicaciones claras sobre cuándo operar. Aquí te explicamos cómo puedes utilizar los colores del indicador para guiar tus decisiones de trading:
• Operativa en Largo: Cuando la EMA rápida tiene un valor más pequeño que la EMA lenta, el indicador cambiará a color verde. Esta es una señal para entrar en una operación en largo. Es decir, puedes considerar comprar en este punto, ya que se anticipa un aumento en el precio debido a la disminución de la volatilidad. Con la volatilidad en descenso, existe una mayor probabilidad de que el precio continúe en la dirección actual en lugar de fluctuar erráticamente.
• Operativa en Corto: Por otro lado, cuando la EMA rápida tiene un valor mayor que la EMA lenta, el indicador se tornará rojo. Esta es una señal para entrar en una operación en corto. En otras palabras, puedes considerar vender en este punto, ya que se anticipa una disminución en el precio debido al aumento de la volatilidad. Con la volatilidad en ascenso, existe un mayor riesgo de fluctuaciones de precio más pronunciadas.
Es importante recordar que, como con cualquier indicador, el Indicador de Volatilidad Logarítmica no garantiza un éxito del 100%. Siempre debes usar este indicador en combinación con otras herramientas de análisis y una buena gestión de riesgos. Esta herramienta te proporciona una visión general de la volatilidad del mercado y puede ayudarte a identificar oportunidades de trading en mercados con baja volatilidad, pero la decisión final de cuándo y cómo operar siempre deberá basarse en tu propio análisis y juicio.
En conclusión, el Indicador de Volatilidad Logarítmica es una herramienta de trading esencial que todo trader debe tener en su arsenal, especialmente cuando se enfrenta a mercados con baja volatilidad. Con su cálculo preciso de la volatilidad y su visualización fácil de entender, te ayudará a mejorar tus decisiones de trading y a maximizar tus ganancias incluso en situaciones donde los movimientos de precios son menos pronunciados. ¡Pruébalo hoy mismo y aprovecha su eficiencia en entornos de baja volatilidad!