IU Break of any session StrategyHow this script works:
1. This script is an intraday trading strategy script which buy and sell on the bases of user-defined intraday session range breakout and gives alert(if the alert is set) message too when the new position is open.
2. It calculate the session as per the user inputs or user defined custom session.
3. The script stores the highest and lowest value of the whole session.
4. It take a long position on the first break and close above the highest value.
5. It take a short position on the break and close below the lowest value.
6. The script takes one position in one day.
7. The stop loss for this script is the previous low(if long) or high(if short).
8. Take profit is 1:2 and it's adjustable.
9. This script work on every kind of market.
How The Useful For The User :
1. User can backtest any session range breakout he wants to trade.
2. User can get alert when the new position is open.
3. User can change the Risk to Reward in order to find the best Risk to Reward.
4. User can see the highest and lowest value of the session with respect to analyzing his trading objective.
5. This strategy script highlights which session range breakout performs best and which performs worst.
Bands and Channels
[dharmatech] KBDR Mean ReversionBased on the criteria described in the book "Mean Revision Trading" by Nishant Pant.
Bullish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near bottom bband
DI+ increasing
DI- decreasing
RSI near bottom and increasing
Bearish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near upper bband
DI+ decreasing
DI- increasing
RSI near upper and decreasing
A single triangle indicates that all 4 criteria are met.
If letters appear with the triangle, this indicates that there was a partial criteria match.
K : bbands outside Keltner
B : bbands criteria met
D : DI criteria met
R : RSI criteria met
You can use the settings to turn off partial signals. For example:
"Partial 3" means show signals where 3 of the criteria are met.
If you want more insight into the underlying criteria, load these indicators as well:
Bollinger Bands (built-in to TradingView)
Keltner Channels (built-in to TradingView)
RSI (built-in to TradingView)
ADX and DI
Warning:
Not meant to be used as a stand-alone buy/sell signal.
It regularly provides signals which would not be profitable.
It's meant to be used in conjunction with other analysis.
Think of this as a time-saving tool. Instead of manually checking RSI, DI+/DI-, bbands, distance, etc. this does all of that for you on the fly.
Z-ScoreDescription:
The Z-Score indicator is a powerful tool for assessing the relative position of a financial instrument's current price compared to its historical price data. It calculates the Z-Score, which is a statistical measure of how many standard deviations an asset's current price is away from its historical mean. This can help traders identify overbought and oversold conditions in the market.
Input Parameters:
Length: This parameter sets the look-back period for calculating the mean and standard deviation. It is set to 20 by default but can be adjusted according to your trading preferences.
How it works:
The indicator first calculates the mean (average) and standard deviation of the selected price source (default: closing prices) over the specified length.
The Z-Score is then computed by measuring how many standard deviations the current price is away from the mean. This value is plotted on the chart, providing insight into the current price's relative position.
Usage:
Overbought: When the Z-Score rises above the upper threshold (e.g., +2 standard deviations, shown in red), it suggests that the asset's price is significantly above its historical average, indicating a potential overbought condition. Traders might consider this as a signal to be cautious about entering long positions or to look for potential short opportunities.
Oversold: Conversely, when the Z-Score falls below the lower threshold (e.g., -2 standard deviations, shown in green), it suggests that the asset's price is significantly below its historical average, indicating a potential oversold condition. Traders might consider this as a signal to be cautious about entering short positions or to look for potential long opportunities.
The Z-Score indicator can be a valuable addition to your technical analysis toolkit, helping you make informed trading decisions based on statistical price deviations.
Please make sure to conduct thorough backtesting and combine this indicator with other analysis techniques before making any trading decisions.
Supertrend x4 w/ Cloud FillSuperTrend is one of the most common ATR based trailing stop indicators.
The average true range (ATR) plays an important role in 'Supertrend' as the indicator uses ATR to calculate its value. The ATR indicator signals the degree of price volatility. In this version you can change the ATR calculation method from the settings. Default method is RMA, when the alternative method is SMA.
The indicator is easy to use and gives an accurate reading about an ongoing trend. It is constructed with two parameters, namely period and multiplier.
The implementation of 4 supertrends and cloud fills allows for a better overall picture of the higher and lower timeframe trend one is trading a particular security in.
The default values used while constructing a supertrend indicator is 10 for average true range or trading period.
The key aspect what differentiates this indicator is the Multiplier. The multiplier is based on how much bigger of a range you want to capture. In our case by default, it starts with 2.636 and 3.336 for Set 1 & Set 2 respectively giving a narrow band range or Short Term (ST) timeframe visual. On the other hand, the multipliers for Set 3 & Set 4 goes up to 9.736 and 8.536 for the multiplier respectively giving a large band range or Long Term (LT) timeframe visual.
A ‘Supertrend’ indicator can be used on equities, futures or forex, or even crypto markets and also on minutes, hourly, daily, and weekly charts as well, but generally, it fails in a sideways-moving market. That's why with this implementation it enables one to stay out of the market if they choose to do so when the market is ranging.
This Supertrend indicator is modelled around trends and areas of interest versus buy and sell signals. Therefore, to better understand this indicator, one must calibrate it to one's need first, which means day trader (shorter timeframe) vs swing trader (longer time frame), and then understand how it can be utilized to improve your entries, exits, risk and position sizing.
Example:
In this chart shown above using SPX500:OANDA, 15R Time Frame, we can see that there is at any give time 1 to 4 clouds/bands of Supertrends. These four are called Set 1, Set 2, Set 3 and Set 4 in the indicator. Set's 1 & 2 are considered short term, whereas Set's 3 & 4 are considered long term. The term short and long are subjective based on one's trading style. For instance, if a person is a 1min chart trader, which would be short term, to get an idea of the trend you would have to look at a longer time frame like a 5min for instance. Similarly, in this cases the timeframes = Multiplier value that you set.
Optional Ideas:
+ Apply some basic EMA/SMA indicator script of your choice for easier understanding of the trend or to allow smooth transition to using this indicator.
+ Split the chart into two vertical layouts and applying this same script coupled with xdecow's 2 WWV candle painting script on both the layouts. Now you can use the left side of the chart to show all bearish move candles only (make the bullish candles transparent) and do the opposite for the right side of the chart. This way you enhance focus to just stick to one side at a given time.
Credits:
This indicator is a derivative of the fine work done originally by KivancOzbilgic
Here is the source to his original indicator: ).
Disclaimer:
This indicator and tip is for educational and entertainment purposes only. This not does constitute to financial advice of any sort.
RSI + FIB HH LL StopLoss Finder/Contrarian TradesThis indicator is a multi-timeframe indicator that works in any timeframe.
It takes a price reading of the highest or lowest bar in the past based on Fibonacci numbers and plots it.
In addition, the RSI smoothed by a 5-day moving average can be used to detect signs that previous highs or lows will be reached in advance.
This gives insight into determining stop-loss values or entering the market in a contrarian manner.
This is an example of BTCUSDT 4Hour Chart
Here is BTCUSDT 1Hour Chart
For scalpers BTCUSDT 15min Chart Example
Fibonacci Number is 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, ...
FIbonacci Ratio is 0.236, 0.382, 0.5, 0.618, 1, 1.618, 2.618, 4.236, ...
[blackcat] L1 NinjaTrader ChannelNinjaTrader is a popular charting software widely used for trading analysis and execution in financial markets such as stocks, futures, and forex. It provides rich features and tools to assist traders in technical analysis, trade strategy development, and trade execution. When I discovered a built-in channel technical indicator in NinjaTrader and became interested in it but didn't understand its principles, I utilized my extensive development experience to simulate a similar version based on its characteristics, naming it "Ninja Channel" for reference only. First, I observed the characteristics and behavior of the built-in channel indicator. Pay attention to how it calculates and plots the channels, as well as its parameter settings and usage methods. This information can help me better understand the principles and functions of this indicator. Then, I attempted to simulate a similar channel indicator using my existing knowledge of technical analysis tools. I used charting tools and indicators to plot and calculate the upper and lower boundaries of the channel according to my needs and preferences. Please remember that this simulated version is for reference only; there is no guarantee that it will be exactly identical to the built-in channel indicator in NinjaTrader. The original built-in indicator may have more complex calculation methods with more precise results. Therefore, before engaging in actual trading activities, it is recommended that you carefully study and understand the principles and usage methods of the original indicator.
The Ninja Channel belongs to a type of technical indicator used for analyzing price range fluctuations and trends. It constructs an upper-lower boundary channel based on high-low points or moving average line fluctuations of prices to assist traders in determining overbought/oversold zones, trend strength/weaknesses,and price reversal points.
The main uses of Ninja Channel include:
1.Trend determination: The Ninja Channel helps traders determine price trends.When prices are located above half partofthechannel,it indicates an uptrend; when prices are located below half partofthechannel,it indicates adowntrend. Traders can formulate corresponding trading strategies based on trend analysis.
2.Overbought/oversold zones: The upper and lower boundaries of the Ninja Channel can be used to determine overbought and oversold zones.When prices touch or exceed the upper boundary of the channel, it may indicate an overbought market condition with a potential price pullback or reversal; when prices touch or fall below the lower boundary of the channel, it may indicate an oversold market condition with a potential price rebound or reversal.Traders can develop counter-trend or reversal trading strategies based on these overbought/oversold zones.
3.Dynamic support and resistance: The upper and lower boundaries of the Ninja Channel can be seen as dynamic support and resistance levels.When prices approach the upper boundary ofthechannel,theupperboundarymay act asresistance, limiting upward price movement; when prices approachthelowerboundaryofthechannel,thelowerboundarymayactassupport,limiting downward price movement.Traderscanmake trading decisions based on these dynamic supportandresistancelevels.
Of course, for this newly created indicator,some aspects are still unfamiliar.However,the learning process can refer to some common channel-type technical indicators including Bollinger Bands,Keltner Channels,and Donchian Channels. Each indicator has its unique calculation method and parameter settings.Traderscan choose suitable indicators according to their own needsandpreferences.
In summary,NinjaChannel is a type of technical indicator used for analyzingprice range fluctuationsandtrends.It helps traders determine trends,overbought/oversoldzones,anddynamic support/resistance levels in order to formulate appropriate trading strategies.However,technicalindicatorsareonly auxiliary tools.Traderstill needsto consider other factorsandsrisk managementstrategiesinorder tomakemore informedtradingdecisions.
[blackcat] L2 Market Facilitation IndexThe Market Facilitation Index (MFI) is a technical indicator that measures the ease with which the market is able to move based on the volume traded. It was developed by Dr. Bill Williams as part of his trading system.
The MFI is calculated by taking into account the difference between the current typical price (average of high, low, and close) and the previous typical price, multiplied by the volume. This difference is then divided by the sum of volume over a specified period.
The MFI helps traders to identify periods of high or low market facilitation. High MFI values indicate that the market is facilitating trade and moving with ease, suggesting increased activity and potential trading opportunities. Conversely, low MFI values suggest a lack of market facilitation, indicating decreased activity and potential consolidation or sideways movement.
Traders can use the MFI in conjunction with other technical indicators and price analysis techniques to make informed trading decisions. It can be used to confirm trends, identify potential reversals, and assess the strength of market movements.
The Market Facilitation Index provides valuable insights into market dynamics, as it focuses on the relationship between price movement and trading volume. By incorporating volume data into its calculations, the MFI captures the impact of volume on market activity.
This indicator is particularly useful in identifying periods of market consolidation or range-bound trading. When the MFI shows low values, it suggests that market participants are hesitant and there may be a lack of clear trends. Traders can interpret this as a potential signal to avoid entering new positions or to tighten their stop-loss levels.
Conversely, when the MFI indicates high values, it signifies that the market is experiencing high levels of activity and price movement. This can be an indication of a strong trend, and traders may look for opportunities to enter positions in line with the prevailing market direction.
In addition to identifying market trends and potential reversals, the MFI can also help traders gauge the strength of price movements. By comparing the MFI values during different price swings or trends, traders can assess whether the market is experiencing increasing or decreasing levels of facilitation. This information can be valuable in determining the overall momentum and sustainability of a trend.
It's important to note that while the Market Facilitation Index can be a useful tool in technical analysis, it should not be used in isolation. Like any indicator, it has its limitations and may not always accurately reflect market conditions. Therefore, it is advisable to combine the MFI with other technical indicators, chart patterns, and fundamental analysis to gain a more comprehensive understanding of the market.
In conclusion, the Market Facilitation Index is a powerful technical indicator that measures the ease with which the market is able to move based on trading volume. It helps traders identify periods of high or low market facilitation, confirm trends, identify potential reversals, and assess the strength of market movements. However, it should be used in conjunction with other analysis methods for comprehensive market evaluation.
The Opening Range / First Bar By Market Mindset - Zero To EndlesThe script shows the opening range of the instrument based on different resolutions and timeframes.
Inputs :
1. Resolution
It decides the calculation frequency of the script.
In Auto resolution, Standard values have been used.
2. Timeframe
It decides the timeframe for the OHLC values.
By default, it will use the chart timeframe and so chart OHLC values.
3. Lookback
It decides the no. of ranges shown on the chart.
Middle Line can be hidden from the settings.
The script can be used for any instrument and on any timeframe.
If price is above the opening range or the middle line, a trader should look for long opportunities.
If price is below the opening range or the middle line, a trader should look for short opportunities.
A sideways or choppy move is exoected if Middle line is crossed again and again.
For trading, wait for atleast 1st bar to close. and let the opening range build up first.
Happy Trading
Multi Timeframe Moving AveragesThe Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that allows traders to visualize and analyze moving averages from multiple timeframes on a single chart. This can be helpful for identifying trends, support and resistance levels, and potential entry and exit points.
The indicator is highly customizable, allowing traders to choose the number of moving averages to plot, the timeframe for each moving average, and the color and style of each line. Traders can also choose to plot the moving averages as solid lines, dashed lines, or filled bands.
The indicator also includes a number of additional features, such as:
The ability to plot standard deviations around the moving averages
The ability to display a table of all the moving averages on the chart
The ability to draw arrows on the chart to indicate when prices cross the moving averages
The Multi Timeframe Moving Averages indicator can be used by traders of all experience levels and is a valuable tool for any technical trader's arsenal.
EXAMPLE USAGE
One way to use the Multi Timeframe Moving Averages indicator is to identify trends. If the moving averages on all timeframes are sloping in the same direction, then the market is likely trending in that direction. For example, if the 50-day, 100-day, and 200-day moving averages are all sloping upwards, then the market is likely in a bullish trend.
Another way to use the Multi Timeframe Moving Averages indicator is to identify support and resistance levels. Moving averages can act as both support and resistance levels, depending on the direction of the trend. For example, if the market is in a bullish trend, then the 50-day moving average can act as a support level. If the market price falls below the 50-day moving average, it could signal a potential reversal of the trend.
The Multi Timeframe Moving Averages indicator can also be used to identify potential entry and exit points. For example, a trader could enter a long position when the price crosses above the 50-day moving average and exit the position when the price crosses below the 200-day moving average.
BOLLINGER BANDS SIGNAL
For every available timeframe, if prices bounce off the lower band and cross above their moving average, the upper band becomes the upper price target. A crossing below the moving average would identify the lower band as the downside target. In a strong uptrend, prices will usually fluctuate between the upper band and the average. In that case, a crossing below the average warns of a trend reversal to the downside.
USER INPUT SETTINGS
The elements below reflect the indicator’s settings menu structure:
Near Hit % : Reduce/increase target distance by setting them closer/further away from the band. This is a percentage of the distance between the moving average and its bands.
Gradient (Size & Style) : if on, plots a customizable gradient of colors instead of lines to represent standard deviations. Each color can be changed in the Moving Average Settings” section of the settings menu
Arrows (width & Shift) : if on, will display arrow-shaped lines at the right of the real-time bar. After an MA crossover/crossunder, the arrow starts at the moving average and ends at the corresponding band until the target gets hit.
Backtest Table (Location & Size) : if on, shows a timeframe screener table. Use “Small” as a Size for better mobile screen displays. This table allows you to see active targets and their directions across every timeframe. The table also displays the weighted average (%) of Hit targets signals, from the chart's timeframe point of view to all other timeframes.
St. Dev. (length & Mult.) : Bollinger Bands / Standard deviation lookback period & multiplier
Trade Labels : off by default, highlight crossovers, crossunders, and target hit with a label numbered with its corresponding moving average from the settings menu: MA01, MA02, etc.
Moving Averages : Show/hide plotted Moving Averages Lines
Moving Average Settings (plotted)
These are the 5 moving averages and corresponding bands that can be plotted on the chart. For each of those, you can customize their timeframes, types (SMA, EMA, etc.), and lookback periods
Other Moving Averages (no plots)
Similar to the above, these moving averages will reflect on the vertical arrows and inside the table
CONCLUSION
The Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that can be used to identify trends, support and resistance levels, and potential entry and exit points. The indicator is highly customizable and includes a number of additional features, such as the ability to plot standard deviations and display a table of all the moving averages on the chart. The Multi Timeframe Moving Averages indicator is a valuable tool for any technical trader's arsenal.
MFR RangeHello Traders!
You requested it for many months, we are finally making our proprietary Range available to all.
First of all, how should a trader consider a Range in general:
In trading, a "range" refers to a specific price interval or zone within which an asset's price moves or consolidates for a period of time. Ranges are characterized by relatively horizontal or sideways price movements, where the price oscillates between a defined upper and lower boundary. Traders often use ranges to identify potential trading opportunities, manage risk, and make trading decisions.
Here's how ranges are used in trading:
1. Range Identification:
Traders identify ranges by observing price charts and looking for periods where the price appears to be moving horizontally with clear upper and lower boundaries.
Common range patterns include rectangles, channels, and horizontal consolidations.
2. Range Trading Strategies:
Range trading strategies aim to profit from price movements within the established range. Traders typically use two main approaches within a range:
Buying near the range's lower boundary: Traders buy when the price approaches the lower end of the range, anticipating a bounce or reversal towards the upper boundary. This is often referred to as "buying support."
Selling near the range's upper boundary: Traders sell when the price approaches the upper end of the range, anticipating a pullback or reversal towards the lower boundary. This is known as "selling resistance."
3. Risk Management:
Stop-loss orders are crucial when trading ranges. Traders set stop-loss orders just outside the range's boundaries to limit potential losses if the price breaks out of the range unpredictably.
4. Range Breakouts:
Ranges do not last indefinitely, and eventually, the price may break out of the range, leading to a significant price movement.
Traders often look for breakout patterns and use breakout trading strategies to capitalize on the potential for a strong price movement after the range is broken.
5. Volatility Consideration:
Some traders may assess the volatility within the range. If the price oscillates within the range with high volatility, they may consider trading shorter timeframes for smaller, quicker profits.
Lower volatility may prompt longer-term traders to take positions within the range, expecting a slower, more controlled price movement.
6. Time Frame Analysis:
Traders may analyze the time frame in which the range has developed, in our case MFR range are based solely on the Daily timeframe.
7. Confirmation Indicators:
Traders often use technical indicators like Relative Strength Index (RSI), Moving Averages, or Bollinger Bands to confirm range trading signals and assess overbought or oversold conditions.
8. Range Boundaries as Support and Resistance:
Once a range is identified, its upper and lower boundaries can serve as key support and resistance levels even after the range is broken. Traders pay attention to these levels for future trading decisions.
9. Range Expansion:
Some traders look for signs of range expansion, where the price starts to break out or trend strongly. This can signal the end of a range-bound market and a transition to a trending market.
It's important to note that while range trading can be profitable, it requires careful analysis and risk management. Traders must be prepared for the possibility of a breakout that can result in significant losses if they are on the wrong side of the trade. Additionally, market conditions can change, and ranges can evolve into trends or other patterns, so traders need to adapt their strategies accordingly.
What is specific to MFR range?
This script calculates and plots a trading range on a daily timeframe based on historical price data. Based on Benoit Mandelbrot and Edgar E. Peters publications on Range, we run a set of calculations over a defined period. The script will define those to generate the "Range High" and "Range Low". These values are used to define the upper and lower bounds of the trading range.
In short, how could I use this script?
A trader could use the Range to find overbought or oversold points to enter a position. The Lower Range being the price to buy an asset and the Upper Range being the place to sell an asset. This is recommended to be implemented only when our other indication called Trend matches the strategy: buy when the trend is bullish or short when the trend is bearish.
It's important to note that while Range is a useful tool, it should not be relied upon solely for making trading decisions. It's recommended to use it in conjunction with other technical analysis tools and consider other factors such as market conditions, risk management, and fundamental analysis. Remember that the Range indicator is just one tool among many, and it's important to consider other factors such as volume, momentum, volatility, and overall market conditions when making trading decisions. Additionally, using stop-loss orders and proper risk management techniques is crucial to mitigate potential losses.
We hope that you will find these explanations useful, please contact us by private message for access.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorised. This script is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. Myfractalrange is not responsible for any losses you may incur. Please invest wisely.
DP_52W_HIGH_LOW_INDICATORThis indicator tracks the 52W High and Low of any script and provides a visual interpretation of the stock price movement.
It can be used as a quick tracking indicator for trading stocks / ETFs at their 52W Low.
A typical strategy will include buying such stocks at 52W Low and selling at 52W High.
🐰Born4TradeBorn4Trade : Here we collect the Intraday HIGH and LOW and it's divided by 2 and 3 parts, Which gives an edge to trade.
Fibonacci Ranges (Real-Time) [LuxAlgo]The "Fibonacci Ranges" indicator combines Fibonacci ratio-derived ranges (channels), together with a Fibonacci pattern of the latest swing high/low.
🔶 USAGE
The indicator draws real-time ranges based on Fibonacci ratios as well as retracements. Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.
Each range extremity/area can also be used as support/resistance.
🔶 CONCEPTS
Fibonacci Channels
Latest Fibonacci
Both, Latest Fibonacci and Fibonacci Channels , display different Fibonacci levels (labels not included in the code):
However, the 2 react in a totally different way.
🔹 Fibonacci Channels
2 conditions must be fulfilled until a Fibonacci Channel is displayed:
New swing high/low
close has to be between chosen limits/levels ( Break level )
As visual guidance, chosen Break levels are accentuated by 2 small gray blocks:
Once the channel is displayed, it will remain visible until x consecutive bars break out of the chosen Break level at closing time.
• x consecutive bars is set by Break count .
The amount of breaks is counted in the code. When the price, without breaking the user-set limit, closes back between the 2 levels, the count is reset to 0.
By enabling Channels and Shadows you can see previous channels (" Shadows ", which is always delayed with 1 bar)
Previous channels can be helpful in finding potential support/resistance areas, especially from large channel blocks
The more narrow Break levels are set the less chance the price closes between these 2 levels, and the quicker close breaks out.
In other words, narrow levels give fewer & smaller channels, broader levels give more & larger channels.
Note:
• swing settings: L & R
• Break count (x consecutive bars that close outside chosen levels to invalidate the Fibonacci Channel )
will also be of influence in displaying the channels.
• Show breaks enable you to visualize signals when there is a break:
• Alerts can also be set ( Break Down / Break Up )
🔹 Latest Fibonacci
This displays the Fibonacci levels between the latest swing high and swing low, independently from the Fibonacci Channel .
The Lastest Fibonacci can be helpful in detecting the current trend against the larger Fibonacci Channel .
🔶 SETTINGS
🔹 Swing Settings
L: set left of pivothigh / pivotlow
R: set right of pivothigh / pivotlow
🔹 Fibonacci Channels
Channel : Channel / Channels + Shadows / None
Break level
-0.382 - 1.382
0.000 - 1.000
0.236 - 0.764
0.382 - 0.618
Break count
🔹 Fibonacci
Toggle
Colours: [ -0.382 - 0 ], [ 0.236 - 0.382 ], [ 0.5 ], [ 0.618 - 0.764 ], [ 1 - 1.382 ]
[blackcat] L2 Zero Lag Hull Moving AverageZero Lag Hull Moving Average (ZLHMA) is a technical indicator that is based on the principles of Zero Lag Hull Moving Average (HMA). It is designed to provide a smoother and more accurate representation of price trends by reducing lag and improving the responsiveness of the moving average line.
Compared to traditional moving average lines, the Zero Lag Hull Moving Average has the advantage of being able to capture price trend changes more precisely. It achieves this by utilizing a higher degree of smoothness through the use of weighted moving averages, and by incorporating the calculation method of Hull Moving Average (HMA) to further eliminate lag.
The calculation process of the Zero Lag Hull Moving Average involves two main steps. First, the Hull Moving Average (HMA) is calculated by taking the difference between two weighted moving averages applied to the price data. This helps to smooth out the price fluctuations and reduce lag. Then, the difference between two weighted moving averages is applied once again to the HMA, resulting in the Zero Lag Hull Moving Average. This final step further enhances the accuracy and timeliness of the indicator.
The Zero Lag Hull Moving Average offers several advantages for traders. Firstly, it provides a quicker response to changes in price trends, allowing traders to make more timely and informed trading decisions. This can be particularly useful in fast-moving markets where speed is crucial. Secondly, by reducing lag, the Zero Lag Hull Moving Average helps traders avoid missing important market signals and potential trading opportunities. It provides a more accurate representation of the current market conditions, enabling traders to act with greater confidence.
However, it is important to note that the Zero Lag Hull Moving Average should not be used as the sole basis for making trading decisions. It is recommended to consider other technical indicators, as well as fundamental and market analysis, to gain a comprehensive understanding of the market dynamics. Traders should also conduct thorough backtesting and validation of their trading strategies to ensure their effectiveness.
In conclusion, the Zero Lag Hull Moving Average is a powerful tool that can enhance the accuracy and responsiveness of technical analysis. By reducing lag and providing a more accurate representation of price trends, it can assist traders in making better-informed trading decisions. However, it should be used in conjunction with other indicators and analysis methods for a comprehensive approach to trading.
Please note that the information provided by blackcat1402 is for educational purposes only and should not be considered as financial advice. It is essential to conduct thorough research, backtesting, and validation before implementing any trading strategies.
Momentum ChannelbandsThe "Momentum Channelbands" is indicator that measures and displays an asset's momentum. It includes options to calculate Bollinger Bands and Donchian Channels around the momentum. Users can customize settings for a comprehensive view of momentum-related insights. This tool helps assess trend strength, identify overbought/oversold conditions, and pinpoint highs/lows. It should be used alongside other indicators due to potential lag and false signals.
Nifty 50 5mint Strategy
The script defines a specific trading session based on user inputs. This session is specified by a time range (e.g., "1000-1510") and selected days of the week (e.g., Monday to Friday). This session definition is crucial for trading only during specific times.
Lookback and Breakout Conditions:
The script uses a lookback period and the highest high and lowest low values to determine potential breakout points. The lookback period is user-defined (default is 10 periods).
The script also uses Bollinger Bands (BB) to identify potential breakout conditions. Users can enable or disable BB crossover conditions. BB consists of an upper and lower band, with the basis.
Additionally, the script uses Dema (Double Exponential Moving Average) and VWAP (Volume Weighted Average Price) . Users can enable or disable this condition.
Buy and Sell Conditions:
Buy conditions are met when the close price exceeds the highest high within the specified lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
Sell conditions are met when the close price falls below the lowest low within the lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
When either condition is met, it triggers a "long" or "short" position entry.
Trailing Stop Loss (TSL):
Users can choose between fixed points ( SL by points ) or trailing stop (Profit Trail).
For fixed points, users specify the number of points for the stop loss. A fixed stop loss is set at a certain distance from the entry price if a position is opened.
For Profit Trail, users can enable or disable this feature. If enabled, the script uses a "trail factor" (lookback period) to determine when to adjust the stop loss.
If the price moves in the direction of the trade and reaches a certain level (determined by the trail factor), the stop loss is adjusted, trailing behind the price to lock in profits.
If the close price falls below a certain level (lowest low within the trail factor(lookback)), and a position is open, the "long" position is closed (strategy.close("long")).
If the close price exceeds a certain level (highest high within the specified trail factor(lookback)), and a position is open, the "short" position is closed (strategy.close("short")).
Positions are also closed if they are open outside of the defined trading session.
Background Color:
The script changes the background color of the chart to indicate buy (green) and sell (red) signals, making it visually clear when the strategy conditions are met.
In summary, this script implements a breakout trading strategy with various customizable conditions, including Bollinger Bands, Dema-VWAP crossovers, and session-specific rules. It also includes options for setting stop losses and trailing stop losses to manage risk and lock in profits. The "trail factor" helps adjust trailing stops dynamically based on recent price movements. Positions are closed under certain conditions to manage risk and ensure compliance with the defined trading session.
CE=Buy, CE_SL=stoploss_buy, tCsl=Trailing Stop_buy.
PE=sell, PE_SL= stoploss_sell, tpsl=Trailing Stop_sell.
Remember that trading involves inherent risks, and past performance is not indicative of future results. Exercise caution, manage risk diligently, and consider the advice of financial experts when using this script or any trading strategy.
Percentage Range Consolidation HistogramThe Percentage Range Consolidation histogram is a measure of volatility, ranking current price range compared to past ranges.
🟩 USAGE
Here there are 2 heavy contractions of price shown on chart that lead to a big rally. Shows a possible way to approach trading this. Take into account that this is for illustration purposes only and these entry methods have not been tested for long term profitability.
Same price behaviour.
🟩 CALCULATION
The script will use 3 different ranges all configurable by the user to check for low volatility on different zone lengths . On default zone 1 will be 10 period, 2 will be 30 period and 3 is 50 periods long.
It will then measure the percentage these ranges have from top (highest close) to bottom (lowest close) and plot those numbers as 3 gray histograms.
For each of these histograms separately it will use 'percentage zone PNR Length setting' as a lookback to rank current zone percentage compared to past results.
How it will do that is using the 'percentage zone PNR % setting' it will draw a line using ta.percentile_nearest_rank() formula. At default this is 20% meaning that only 20% of lookback values where below this level.
When the histogram is below this white line (small range compared to past ranges) it will color the histogram. Yellow for zone 1, orange for zone 2 and blue for zone 3.
There is also a 'Percentage zone % filter' which you can use as a maximum % current zone for it to be considered a small range. On default this is set to 15%. You can turn this off by selecting 'median' as 'Consolidation filters' instead of 'all' . Or only use this by selecting 'percentage'
🟩 BAR COLORING
Now that you understand how to find small ranges (contractions of price) with the indicator there is a bar coloring option in the indicator.
You can select how many of the 3 zones have to be ranging for it to color the bar. On default this is set to 3 so the script will only color when price is in a very small range. As illustrated by the above charts these can lead to the beginnings of big trends.
Relational Quadratic Kernel Channel [Vin]The Relational Quadratic Kernel Channel (RQK-Channel-V) is designed to provide more valuable potential price extremes or continuation points in the price trend.
Example:
Usage:
Lookback Window: Adjust the "Lookback Window" parameter to control the number of previous bars considered when calculating the Rational Quadratic Estimate. Longer windows capture longer-term trends, while shorter windows respond more quickly to price changes.
Relative Weight: The "Relative Weight" parameter allows you to control the importance of each data point in the calculation. Higher values emphasize recent data, while lower values give more weight to historical data.
Source: Choose the data source (e.g., close price) that you want to use for the kernel estimate.
ATR Length: Set the length of the Average True Range (ATR) used for channel width calculation. A longer ATR length results in wider channels, while a shorter length leads to narrower channels.
Channel Multipliers: Adjust the "Channel Multiplier" parameters to control the width of the channels. Higher multipliers result in wider channels, while lower multipliers produce narrower channels. The indicator provides three sets of channels, each with its own multiplier for flexibility.
Details:
Rational Quadratic Kernel Function:
The Rational Quadratic Kernel Function is a type of smoothing function used to estimate a continuous curve or line from discrete data points. It is often used in time series analysis to reduce noise and emphasize trends or patterns in the data.
The formula for the Rational Quadratic Kernel Function is generally defined as:
K(x) = (1 + (x^2) / (2 * α * β))^(-α)
Where:
x represents the distance or difference between data points.
α and β are parameters that control the shape of the kernel. These parameters can be adjusted to control the smoothness or flexibility of the kernel function.
In the context of this indicator, the Rational Quadratic Kernel Function is applied to a specified source (e.g., close prices) over a defined lookback window. It calculates a smoothed estimate of the source data, which is then used to determine the central value of the channels. The kernel function allows the indicator to adapt to different market conditions and reduce noise in the data.
The specific parameters (length and relativeWeight) in your indicator allows to fine-tune how the Rational Quadratic Kernel Function is applied, providing flexibility in capturing both short-term and long-term trends in the data.
To know more about unsupervised ML implementations, I highly recommend to follow the users, @jdehorty and @LuxAlgo
Optimizing the parameters:
Lookback Window (length): The lookback window determines how many previous bars are considered when calculating the kernel estimate.
For shorter-term trading strategies, you may want to use a shorter lookback window (e.g., 5-10).
For longer-term trading or investing, consider a longer lookback window (e.g., 20-50).
Relative Weight (relativeWeight): This parameter controls the importance of each data point in the calculation.
A higher relative weight (e.g., 2 or 3) emphasizes recent data, which can be suitable for trend-following strategies.
A lower relative weight (e.g., 1) gives more equal importance to historical and recent data, which may be useful for strategies that aim to capture both short-term and long-term trends.
ATR Length (atrLength): The length of the Average True Range (ATR) affects the width of the channels.
Longer ATR lengths result in wider channels, which may be suitable for capturing broader price movements.
Shorter ATR lengths result in narrower channels, which can be helpful for identifying smaller price swings.
Channel Multipliers (channelMultiplier1, channelMultiplier2, channelMultiplier3): These parameters determine the width of the channels relative to the ATR.
Adjust these multipliers based on your risk tolerance and desired channel width.
Higher multipliers result in wider channels, which may lead to fewer signals but potentially larger price movements.
Lower multipliers create narrower channels, which can result in more frequent signals but potentially smaller price movements.
Nadaraya-Watson Envelope: Modified by YosietRange Filter indicator based on the LuxAlgo Nadaraya-Watson Envelope () indicator adding the SMA 30 high and SMA 7 low to predict the changes of the trends lines price.
WARNING: This indicator, as the same as the original, repaints the chart and could affect the exact values of the prices.
SMA Low 7 was identified using tensorflowJS years ago as accurate and abstract rsi indicator
SMA High 30 was identified using tensorflowJS years ago as accurate and strong trend line
This two SMAs were added to the original indicator Nadaraya-Watson to predict the exact points where the price will change direction or will re-test the trend to continue on.
The signals will act as the Williams Fractals, replacing the original signals of the indicator.
For those ICT/SMC traders, the bands and SMAs can toggle off in the settings of this indicator.
SETTINGS
Can set the source of the UPPER band indivuadilly
Can set the source of the LOWER band indivuadilly
Can toggle the visibility of the bands, this will not affect the calculations
Can toggle the visibility of SMAs
ALERTS AND SIGNALS
When the SMA LOW 7 cross under or over the bands, will trigger a signal orange
When the SMA 30 High cross over the upper band, will trigger a short signal purpple
HOW TO USE IT
If the both signals appears (sma 7 low and sma 30 high) crossing the upper band at the same point, this means that the price will drop strongly.
If the sma 7 low cross signal (orange triangle) appears under the price and lower band, means that the price will go up.
The separation of the signals from the chart will suggest the force of the movement. While more distance be, strongest reaction of the price.
DISCLAIMER : This indicator or script does not imply or constitute financial advice, investment advice, trading advice or any other type of advice or recommendation by and for TradingView. Use it at your own risk and your own decision.
ATR Clouds*Updated with Version 5*
ATR Clouds
The "ATR Clouds" indicator provides a visual representation of the stock's volatility based on the Average True Range (ATR) calculation. It operates by plotting two bands around the closing price of a stock, using the ATR as a measure of volatility.
Features:
ATR Calculation: The Average True Range is a commonly used metric to understand the volatility of an asset. The indicator calculates the ATR over a user-defined period, with the default being 14 periods.
ATR Bands: Using the ATR value, the script defines two bands:
Upper Band: This is calculated by adding the ATR value to the closing price of the stock. It represents a higher volatility boundary.
Lower Band: This is derived by subtracting the ATR value from the closing price. It indicates a lower volatility boundary.
Cloud Visualization: The space between the upper and lower bands is shaded to create a "cloud" on the chart. This cloud gives traders a clear visual cue of the stock's current volatility range. The cloud has an 80% transparency, allowing the underlying price chart to remain visible.
Customization: Users have the ability to adjust the period for the ATR calculation based on their preferences.
Usage:
Traders can use the ATR Clouds indicator to get a sense of the stock's volatility. Wider clouds indicate periods of higher volatility, while narrower clouds suggest lower volatility. This can be beneficial for se
Kviatek - Multi Hour VWAPThis is an experimental script, that plots 24 VWAPs, each starting at a new hour and lasting for 24hours.
After using session anchored VWAPs i kept wondering if the price reacts to VWAPs that begin at periods lower than sessions.
Color of each VWAP changes upon crossovers of the following VWAP, giving us an understanding of trends and whether we're trading with the trend or against it.
By the nature of the script I recommend using it on low timeframes, 5 and 15-minute ones ideally.
Auto Range [lovealgotrading]
OVERVIEW:
An indicator that automatically draws a range and generates signals according to changing market conditions. ( This indicator does not REPAINT )
ALGORITHM OF THE INDICATOR:
> When we examine the price, it generally moves in trend only 30 percent of the time and in consolidation 70 percent of the time.
> While the price is consolidating, it creates a range and continues to move within the range until this range is broken, BUT the market conditions are constantly changing and our range levels are expected to change with each new bar. I developed an indicator considering this situation.
> When Range Trading, we determine the high and low levels and we can open trades according to the price's reactions at these levels.
> However, after we draw a range, market conditions constantly change, and opening a transaction without taking into account the changing market conditions is an obstacle to our success.
IMPLEMENTATION DETAILS WITH EXAMPLE:
What kind of algorithm do I use to draw a range automatically?
For example, let's set the Number of line value to 4 and set our Period to 14.
1- Let our highest 4 values be = 100, 110, 120, 130, the average of these values is
2- (100+110+120+130)/4 = 115, in this case our Range High Value becomes 115.
3- Within the period we have determined (we have currently set 14, but you can change it), the price sees the highest level of 140.
4- In this case, our 4 largest levels = 110 120 130 140 and our average becomes (110 + 120 + 130 + 140) / 4 = 125 and the range high Our level changes automatically and becomes 125.
5- Let's take the example below, where we determine our 4 highs within the 14 bars we set and average them, if our high changes, our range high goes up.
>> I tried to draw the change with the red arrow
How does this situation appear on the indicator?
>>> Classic Range Trade and Auto Range Trade <<<
Classical Range Trade:
Auto Range Trade:
SETTINGS PANEL:
Which Signals Are More Important (Example Study)
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
KSMT Toolbox - MidTFThis tool allows you to quickly identify the macro and micro trend's direction and enter and exit position at a more favorable price.
When the pink lines are angled up you should look for a long position and enter only when the candles are colored green.
And when the pink lines are angled down you should look for a short position and enter only when the candles are colored red.
This tool is only meant to be a practice tool and should be used to train your eye on candle movements to gain a sense of when you should enter/exit.
Practice is what differentiates a good trader and a bad one.
#KSMT #KSMT_Armenia