range_statA basic statistic to describe "ranges". There are three inputs:
- short range
- long range
- moving average length
The output is a ratio of the short range to the long range. In the screenshot example, the short range is a single day (bar) and the long range is five days. A value near "1" would mean that every day entirely fills the five day range, and that a consolidation is likely present. A value near 0 would mean that each day fills only a small portion of the five day range, and price is probably "trending".
The moving average length is for smoothing the result (which also lags it of course).
The mean, and +- 2 standard deviations are plotted as fuchsia colored lines.
Consolidation
Average HL Range - SATThis indicator dynamically display consolidation range base on three series ( high, low and close). it also display range breakout when a close occurs outside of the range. HeikinAshi and Diffrent Timeframe data can be requested to reduce the noise from the market. All setting are configurable : entryprice, takeprofits, Risk: REward, Dark Mode
Trend Finder with Coefficient of VariationCoefficient of variation (“COV”) is a statistical measure used to describe the variability of values within a data set, it’s calculated by taking the standard deviation divided by the mean.
Traditionally, COV is applied to the expected returns of competing investment portfolios. A risk adverse investor prefers to accept a portfolio with a relatively lower COV value.
On the other hand, when applying COV to price charts, the difference is that instead of looking at expected returns, we now treat price as the source of data. We look at price from a moving average perspective. This script purely focuses on price.
What this indicator does:
Firstly, to go over the parameters:
Let ‘n’ be the lookback period for computing COV, and ‘m’ be the period for comparing the ranking of COVs.
Logics in a nutshell:
This program will (A) calculate the COV by dividing the moving standard deviation by moving average over ‘n’ bars, and then (B) illustrate the relationship of how COV at each bar ranks compared to COVs over past ‘m’ bars. We use a color scale (default black and yellow) for visualizing ranking in terms of percentiles. If COV is below its median value, then we assume that price is consolidating.
Hypothesis:
Using COV on top of regular SMA signals should reduce a lot of unwanted noise such as consecutive crossovers during ranging-periods. Traders want volatility, but not too much of it when sniping for entry opportunities (speaking of initial position; need to add to winning positions after, but this is for another topic). For this reason, the median value of COV is suitable as a metric for signals.
Applications:
We use the median value of COV to form a decision rule. A signal is generated when COV > median(COV,m), and the direction of trend is determined based on relative position of price with respect to sma(price,n). When the value of COV is increasing, it can also be thought of seeing Bollinger Bands beginning to bulge. When trends begin, this program will plot triangles to signify entry opportunities.
BE- InsideOut Explosion - Trade the Benefit Of DoubtDear Traders,
Here with presenting the new Indicator which is primarily built based on the the concept Contraction & Explosion.
Idea behind this Indicator: I am sure every trader would have heard about consolidation and Expansion. When we we look deep inside the consolidation zone it leaves a mark
on the direction most of the time and just explode breaking the consolidation zone. What if the explosion is to trap the retailers like me!!. That's why I call this as Benefit of doubt. If the direction of is right I just sail with the trade right inside the consolidation zone. If I am on the wrong side ! No worries My Money management rules and Protection Legs kicks in and saves my capital.
This Indicator Analyses the Volume, and Chart Patterns inside the Zones and if the price breaks the patterns, initiate the trades. You can trade with Dhan HQ or Algoji.
What this indicator is providing:
Based on the chart patterns and using the inputs provided for RISK and Money Management options, Indicator continuously scans for trading opportunities and provides alerts for possible trades. I have tried to capture some analytical inputs for one to think and take control over the Reward, Risk and Money management parameters to tweak the indicator accordingly.
Note: Indicated PNL is calculated on the Futures Chart with 2 Lots taken per trade.
If you are a Options Traders:
1. Auto Strike is inbuilt and can be traded only if you are trading via AlgoJi.
You will constantly be informed about trade summary, PNL and SL updates as per your preferred choice.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy 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. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Consolidation BoxThis script aims to help identify sideways markets. Once price leaves the Box the market will usually start a trending phase. Users can set a percent range to detect markets moving sideways within the range.
Consolidation Breakout [Indian Market Timing]OK let's get started ,
A Day Trading (Intraday) Consolidation Breakout Indication Strategy that explains time condition for Indian Markets .
The commission is also included in the strategy .
The basic idea is ,
1) Price crosses above upper band , indicated by a color change (green) is the Long condition .
2) Price crosses below lower band , indicated by a color change (red) is the Short condition .
3) ATR is used for trailing after entry
// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The Indian Markets open at 9:15am and closes at 3:30pm.
The time_condition specifies the time at which Entries should happen .
"Close All" function closes all the trades at 2:57pm.
All open trades get closed at 2:57pm , because some brokers dont allow you to place fresh intraday orders after 3pm.
NSE:NIFTY1!
// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 114 CLOSED TRADES )<————————— //
// ═══════════════════════════════════════════════ //
LENGTH , MULT (factor) and ATR can be changed for better backtest results.
The strategy applied to NIFTY (3 min Time-Frame and contract size 5) gives us 60% profitability , as shown below
It was tested for a period a 8 months with a Profit Factor of 2.2 , avg Trade of 6000Rs profit and Sharpe Ratio : 0.67
The graph has a Linear Curve with consistent profits.
NSE:NIFTY1!
Save it favorites.
Apply it to your charts Now !!
Thank me later ;)
Consolidation and Breakout (Inside Bars)Consolidation indicates moments of market indecision when there is no shift in price. It is neither positive nor negative. Usually, after a price burst or strong trend movement that market falls back into a phase when traders are cautious about possible overbought or oversold positions. During this period, market reconciles before another breakout or trend emerges. Once you have identified consolidation, the next step is to keep an eye on a possible breakout.
This indicator would be useful for Breakout traders.
A candle's high and low is marked and if consequent candle fails to close above or below the marked candle, it's considered as an inside bar.
This can help breakout traders in tackling fakeouts since the wick above or below the initial candle are neglected and only the candle close above or below the range are considered as breakout.
Day Trade Indicator [by KN Lo]Design for LONG and Day Trade only
=============================
features (this indicator is able to):
- show EMA 9, 50, 200 & VWAP
- show Candle Pattern (e.g. Engulfing, Shooting Star)
- show HMA fast(10) / slow(50) lines
- show Breakout Signal (Blue triangle)
- show RSI Divergence
- find Volitility Decreasing
- find Consolidation stage
- change Background color (green) when positive figures
- show indicator table
=============================
indicator table:
- Price over VWAP
- Price over EMA200
- EMA9 > EMA50 > EMA200
- RSI < 80
- EMA9 > VWAP
- MACD fast > slow
- HMA fast > slow
- RSI Divergence (compare with previous higher high)
- Breakout Signal when the price is higher than previous high
- Volitility: the difference between previous high (9 periods) and previous low (9 periods), average by SMA, if lower than -30, show in green color.
- Consolidation: consider previous 7 periods to find consolidation stage.
Flag DetectorThis script attempts to find consolidations or retracements within the context of a previous uptrend - basically looking for flag type patterns. It first measures an initial move (referred to as the flag pole in this script) and then looks for consolidation after that move within a certain range. If the consolidation is within the rage, it plots a dot under the candle to show you the consolidation areas. It's not fool proof, but seems to do a decent job of identifying pullbacks and sideways consolidations reasonably well.
Highs/Lows difference [OrganicPunch]Highs/Lows difference indicator
To visually evaluate the difference between highs and lows of a price range.
This handsome indicator shows:
difference between highs of 2 candles by displaying it in green histogram
difference between lows of 2 candles by displaying it in red histogram
difference between both highs and lows by displaying a circle at the level of the difference
To read the numerical value, point at the circle of the relevant bar you are interested in, and see the scale.
Indicator is useful in creating strategies where you want to filter out consolidations/ranges (or to locate them), e.g. "Open trade when H/L difference is larger than 200", or "Look for candles with H/L difference lesser than 50".
The exact value of needed H/L difference can be found using this indicator.
Glow Node ScreenerGlow Node Screener
Our Screener helps you identify whether a pair is in a strong trend for 32 different pairs including crypto.
Using our screener with a strategy will help you weed out bad markets that are ranging at a higher timeframe.
Which will in turn help reduce some of the bad trades you may take due to signals appearing in consolidation.
Very useful to choose which pairs you may like to trade for that day and what to avoid.
Higher Timeframe
The higher timeframe is automatically selected for you on the 15M - 30M - 1H - 4H time frames. You can override this by toggling the override button and selecting your timeframe manually
Pairs:
XAUUSD
XAGUSD
AUDCAD
AUDCHF
AUDJPY
AUDNZD
AUDUSD
CADCHF
CADJPY
CHFJPY
EURAUD
EURCAD
EURCHF
EURGBP
EURJPY
EURNZD
EURUSD
GBPAUD
GBPCAD
GBPCHF
GBPJPY
GBPNZD
GBPUSD
NZDCAD
NZDCHF
NZDJPY
USDCAD
USDCHF
USDJPY
BTCUSD
ETHUSD
LTCUSD
more will be added if requested
Glow-NodeThis indicator uses multiple different indicators in confluence to identify the direction of the trend, pullback zones, accurate entry points and even exit points to give you a simpler trading experience!
Colour Changing Candles
Our first focus was to identify the direction of the trend so we created an indicator to do just that. Instead of having lots of indicators covering your screen we have set the candles to change colour when the trend changes direction! This means you can focus on taking buy trades when the candles are blue and sell trades when the candles are purple.
Glow Cloud
Our unique cloud works as a support and resistance zone, as well as giving you additional confirmation of the direction of the trend. When the price is above the cloud we’re in a buying market and when the price is below the cloud we’re in a selling market. We can also use breakouts and retests of the cloud to find good trade ideas.
Integrated Volume Indicators
Our volume indicators are working hard in the background to give us a better understanding of the market bias. Although you cannot see the indicators, they are used in confluence with the rest of the features to give us more accurate signals. You can also see whether the volume indicates bullish or bearish momentum using the confirmation table.
Main Signals
Our main signals work best between the 15m-4h timeframes. This feature will send you trading signals based on a few different strategies including MA crossovers. Glow Node will only send the signal when all of the confirmations align, giving you an extremely accurate trade set up. The confirmations consist of the market being in an uptrend, bullish volume, above the cloud and then a cross over signal with our secret tool for a buy trade and vice versa for a sell trade.
Scalping Signals
We know how much you all love scalping! When you drop to a 5 minute timeframe or lower, the main signals disappear and you will only be able to see the scalping signals. The scalping signals are triggered when the market pulls back to the cloud and rejects it meaning you can catch all the pullbacks and continuation as you trade with the trend! We’re honestly extremely excited about this feature!
Confirmation Table
Our confirmation table will tell you if all of the features above are in confluence with each other giving you great trading opportunities. It will also show you what direction the market is trending on higher timeframes. This means you can trade with a higher timeframe trend without having to change your screen. You also don’t have to put lots of effort into adding more confirmations if you miss a signal you can use your own strategy and the confirmations from this table to create your own trade ideas.
Stop Loss Indicators
Stop losses are always a topic of conversation when it comes to trading, do you place your stop loss below the previous low? Previous candle? Below a moving average? There’s so much confusion when it comes to where to put your stop loss so we added 2 different stop loss features which you can decide between. We are always optimising our stop loss settings with the current market conditions so that you can take less losing trades and focus more on winners!
Distance from Vwap// How it Works \\
Measuring the distance of the close price from a higher timeframe VWAP - Volume Weighted Average Price
There is a threshold which is calculated by looking back at the previous x amount of bars and storing the highest/lowest values
If the distance from the vwap stretches above that threshold, the histogram will go green if price is above VWAP and red if its below the vwap
If the distance from the vwap reaches below the low threshold you will see the histogram flashes orange
// Settings \\
In the settings you have the ability to change what timeframe the indicator is calculated on, as well as this you can change the timeframe the VWAP is calculated on.
I always recommend using a higher timeframe vwap as they tend to me more respected
e.g on the hourly timeframe, I use the weekly VWAP, on 1 minute timeframe you may want to use 4 hour timeframe but obviously feel free to experiment
// Use Case \\
When histogram is flashing green, prices is pulling far away from the vwap, obviously you don't want to be buying a falling knife but if you have levels of confluence this can help spot reversals.
I personally wait until the first candle after its been green to get confirmation of the fall weakening. Vica versa for reds and shorts/sells.
When you see orange flashes, this shows that price has been consolidating and the price is very close to the higher time frame VWAP which could be considered a safe entry point as they tend to lead to a big move to follow
// Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
Accumulation_&_Distribution_Aka_ConsolidationZone - BasicDear Traders,
It so happens to the traders that once in their lifetime journey they be sure to here the below statement.
1. I got struck in the consolidation zone
2. Signals from technical indicators failed because prices were consolidating.
3. Its pretty tuff to detect consolidation zone. (programmatically)
I don't know about other but I have heard this throughout my trading journey. Hence I started to debug the above 3 statements and came up with this indicator which detects consolidation zones in the chart.
there are 3 inputs settings
1. ATR multiplier = can be used to filter the consolidation box height. higher the value bigger the box (vertical view) and smaller the value smaller the box height.
2. Show Last No of Zones = set the No of previous zones you would like to see.
3. Consolidation Size = If set to small. all kind of sizes will be plotted ( majorly works for day trading) if set to wide, script looks for major consolidation zones (majorly works for higher timeframes). if set to medium, script looks medium size to wide size zones majorly for timeframe with more than 30 min.
What's this indicator is taking into account?
1. Moving Averages
2. Linear Regression curves
3. ATR
4. BB
5. BBW
6. Couple of Math calculation to support the zone identification.
Note: Plz do suggest for any kind of improvements or feedbacks.
Regards
MM Chop FilterBased On the "Chop and explode Indicator by fhenry0331
We Updated to Pine 5
- Added break out alerts and Signals
-Customize thresholds
How To use
when the line is blue confirmed Buy
Line is Red confirmed Sell
ALWAYS use in confirmation with your strategy and Trade with the trend.
Match with the on chart version for best results
Consolidation Zone Hunter NPR BasedThis script will search for zones where the range between the high and low is lower than avg % nearest rank of last X bars.
After X(=30) bars of consolidating range it will signal that the market is in a range and draw the top, bottom and middle of that range.
When price breaks the consolidating range the range is cleared, this is where you long/short the breakout. After this it will look for the next range and do the same.
Visual Explanation
Ex's DMI DivergenceThis indicator I am posting open for everyone to see and use.
This is a modified DMI indicator, It has a DMI+ and DMI- and a 3rd line that is the average divergance/convergance of the two.
This indicator is used to recognize periods of consolidation, directional strength and retracements/reversal
There are some key things to watch for:
-When the Div/Conv line is yellow it means that the DMI+/- average distance is moving closer together(converging)
-When the Div/Conv line is aqua it means that the DMI+/- average distance is moving further apart(diverging)
-One DMI must be below the top threshold and other DMI must be below at least the Top threshold(or bottom if you prefer) to be considered valid
Signs of condolidation/possible reversal/weak strength:
-When the DMI+/- are crossing at any location stay mindful of entries
-If both DMI's are above the threshold there is no clear direction
-When the DMI Div/Conv is yellow it means trend is slowing down and aqua means it is picking up
Price Action: Inside Bar BoxesThis script automatically draws rectangles around bars inside IB pattern.
Note :: because Pinescript does not allow changes to already drawn charts on historical bars, checkbox "show only last box" doesn't work for arrows
Three Week Tight Pattern IndicatorThree Week Tight Pattern is a consolidation indicator which give extra buy point on strong fundamental stocks. You can read about it from IBD here: www.investors.com
[KL] Relative Volume + ATR StrategyThis strategy will enter into long position when (a) current volume is above the average volume, and when (b) volatility of prices (based on ATR) is relatively low.
Backtested on hourly timeframes, win rates range between 35% to 50% on stocks with positive drifts (i.e. tendency to move upwards). Default setups are as follows:
- Average volume is computed using simple moving average (sma) of 14 periods. By default, 1.4x ratio seems to work well on most large cap stocks. If it's too high, then amount of potential points for entry will decrease. But if it's too low, then this indicator becomes meaningless.
- ATR (for determining volatility), look back period is 14 (following conventions). I have noticed that the profits could change drastically when changed to different values for each individually security. Feel free to experiment around with this parameter.
Other information: This strategy is based off of one of my previous scripts; a script called "Relatively Volume Strategy". The objective of this new script is to simplify the process of determining periods of low volatility. In this new script, we assume prices are consolidating when current ATR is within its moving average value by +/- one standard deviation.
Av3Based on the ANNE EA v3 for MT4. For use on FOREX.
if ATR is greater than ATR average taken from last 5 candles, then market considered as trending, and so Open(0)>Close(1)=buy Open(0)Close(1)=sell Open(0)<Close(1)=buy.
If trending, then buy high & sell low, if consolidation then buy low sell high.
Exit is by trail and Take Profit.
PM me for edit or MT4 version info.
[KL] Relative Volume StrategyThis strategy will Long when:
Confirmation #1: when volume is relatively high
Confirmation #2: during periods of price consolidation (See )
It exits when either (a) stop loss limit is reached, or when (b) price actions suggest trend is bearish.
Measuring price volatility to assume consolidation:
For each candlestick, we quantify price volatility by referring to the value of standard deviations (2x) of closing prices over a look-back period of 20 candles. This is exactly what the Bollinger Band (“BOLL”) indicates by default.
Knowing the value of standard deviation (2x) of prices (aka the width of lower/upper BOLL bands), we then compare it with ATR (x2) over a user-defined length (can be configured in settings). Volatility is considered to be low, relatively, when the standard deviation (x2) of prices is less than ATR (2x).
Support and Resistance V1 This script is based on Range Support and Resistance .
It works by taking the range of the day,week and month calculating them and plotting 3 layers of Support and Resistance , as soon as it gets non directional /range bound , bar color turns GRAY if its in Bullish Trend and Pink if its in Bearish Trend .. As soon as bar turns Aqua it defines BULLISH Trend and RED bar color defines Bearish Trend . This way you can easily visualize the areas of support and resistance .
-----------------
Disclaimer
Copyright by FaizanNawazz.
The information contained in my scripts/indicators/strategies/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators are only for educational purposes!
Happy Trading!