MESA Adaptive Moving Average - MTF and Divergence analysisThe latest iteration of the MESA Adaptive Moving Average - rewritten to make use of Pinescript v4 Arrays.
Explanation of settings and example use cases:
Fast Limit: Lower values will reduce the reactivity of the MA to rapid price changes.
- For instance, if you want to ignore price spikes on a low timeframe, then reduce Fast Limit
Slow Limit: Lower values will reduce the reactivity of the MA to slow price changes.
- For instance, if you want the MA to ignore small retracements during a trend, then reduce Slow Limit
Show MESA for next higher timeframe: Display the MA of the next standard timeframe that TV offers.
- Displays 3min if the chart timeframe is 1min. Displays D if the chart timeframe is 4H. Does not work with custom timeframes.
Show MESA for custom higher timeframe: Display a secondary MESA plot with a custom timeframe, selectable via the Custom Timeframe drop-down. Overrides the previous setting, if enabled. This functionality is experimental since it provides a higher sample rate than would normally be available. Take precautions making entries using only Custom Timeframe MESA.
- For instance, you made a decision on the 4H chart using MESA and are now watching the 15min to time a trade entry. Enable and select "4H" from the drop-down menu
Show Divergence between MESA Timeframes: Since divergence can differ greatly between assets, we form a baseline by continuously tracking the difference between the chart MA and higher timeframe MA. We note the maximum divergence in each direction (bullish and bearish). A white circle is plotted when divergence is close to the historical maximum. When a record-breaking divergence occurs, a yellow circle is plotted. You can tweak these indications by adjusting the Divergence Threshold %
- Multi-timeframe divergence is typically a weak indication of trend exhaustion, especially if Volume is not present.
Show Divergence between Source & MESA: Again, divergence can differ greatly between assets. This time, we form a baseline by continuously tracking the difference between the chart MA and Source (usually Close). We note the maximum divergence in each direction (bullish and bearish). A purple triangle is plotted when divergence is close to the historical maximum. When a record-breaking divergence occurs, a lime-green triangle is plotted. You can tweak these indications by adjusting the Divergence Threshold %
- Price divergence is a strong indicator of over-extension. It works well for timing reversals on intraday timeframes.
Source: The input data to perform MESA calculations on.
I've really enjoyed trading with this indicator, especially when combined with my previous two tools:
Empirical Suite : factors Trend, Price momentum, Volume, and Volatility
Squeeze Zone : provides a visual representation of volatility squeezes and attempts to predict breakout directions
Use this indicator to get a sense of overall trend, from any chart timeframe, as well as indications of over-extensions and exhaustion.
Cerca negli script per "reversal"
Cuban's Price Action ChannelThe latest in the indicator series tailored to discretionary traders.
This script draws a channel by using the highs and lows of previous timeframes. The H1 and H4 fill is extremely useful for taking low timeframe front-side reversals in a ranging environment, while providing high timeframe levels to take profit at, and plan your next trade.
I believe this script provides a solid fundamental price action understanding and foundation to anyone's discretionary trading setup.
VPTbollfib & Camarilla (Danarilla)I do not own the original indicators. This is just a combination of the two because of their nature to work in a similar way.
Camarilla Pivots run on the basis of intraday range trading. Usually after daily open you look the fade whatever move happened before. by shorting R3/H3 levels or longing R3/L3. Targeting the other side of the range. This is the infamous PivotBoss level calculations and you would want to activate camarilla and turn off the normal pivots. They use the previous days volatility to plot the next days levels.
But what about some confirmation?
Well RafaelIzoni (who made it open source for improvement) threw together this VPTbollfib. It is volume price trend crossing down a fib line using bollinger bands as price envelope. The beauty of this is that It will signal usually counter to current price action based on selling into uptrends or vise versa. Meaning you get signals to counter price. Which is what you might be looking for on range day trade scalps for camarilla. A wick reversal or engulfing + volume based signal is a very happy pairing together. And those signals are usually suitable for the target of the range you are day trading. Hourly time frame works quite well for both. And camarilla should also be on daily settings.
Special Thanks to Nanda (who published the pivotboss indicator AND) Helped to merge the scripts together.
This indicator alone is an entire trade system. Camarilla already is. If you know the rules. it can be used for entries, exits, risk management to trade the range on TREND, COUNTER TREND, and BREAKOUT plays. The bollinger band fibs add confirmation to the trends levels. And the VPT adds a secondary confirmation to take a camarilla trade.
Try it out. I think you will find both the levels on camarilla and the VPT signals quite suprising.
Higher Highs & Lower Lows Stochastics - Vitali ApirineThis is my modified "Higher Highs & Lower Lows Stochastics" employing PSv4.0, originally formulated by Vitali Apirine for TASC - February 2016 Traders Tips. Reading through a TASC magazine of mine, behold, I found a little known indicator that I can't find anywhere on all of Tradingview. That was a tragedy I felt I had to resolve... This indicator is best described as a dual momentum indicator, being helpful with anticipating reversals, spotting emerging trends, and defining correction periods. I felt it worthy of justice to unveil this for all TV members to utilize and also learn from. It's uniqueness is beyond past due for the honor it deserves on Tradingview.
As always, I have included advanced Pine programming techniques that conform to proper "Pine Etiquette". For those of you who are newcomers to Pine Script, this code release may also help you comprehend the "Power of Pine" by employing advanced programming techniques while exhibiting code utilization in a most effective manner. This script's uniqueness displays that we can now override built-in Pine functions. Firstly, you may have noticed that I replaced ema(), sma(), highest(), and lowest(). If you weren't aware of this Pine capability, well, here is a prime example... Now you know! Just heed caution when doing so to ensure your replacement algorithms are 100% sound. Lastly, I also added an additional "Median" line where the companion stochastics seemingly appear to gravitate within a central zone.
NOTICE: You may have observed, there is highest(), lowest(), ema(), and sma() custom functions overwriting Pine built-ins, some of which are audaciously used in ternary. "IF" you are planning to use Pine Script v4.0 functions in ternary, be forewarned, they WILL NOT operate as expected in most scenarios. The reason why I legitimately used them here in ternary is because they are ONLY manually controlled by an input(). If these were dynamically controlled with bar-to-bar dynamic conditional logic, you would most certainly run into serious unexpected programming issues, potentially resulting in hours of frustrations and guaranteed loss of hair. That's my lesson for this release, so never ever forget this when utilizing the full potential of the "Power of Pine". For more information concerning these potential dilemmas, please consult "Execution of Pine functions and historical context inside function blocks" in the "Pine Script v4 User Manual".
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... You have the source!
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
CuandoCrypto's Swing Trade IndicatorThis indicator combines RSI, MACD, Williams %R and Z-Score to determine if there's a high probability of an imminent trend reversal. This indicator is best used on higher timeframes.
Magick SuperpositionExperimental histogram based on multi indicator signals.
Generates a score based on:
Trend
Volatility
Momentum
Price and volume changes
Candlestick patterns
and many more.
Can be used to detect top and bottoms, reversals, trend, best moments to enter a trade and more.
Invite-only.
Trial available.
Engulfing Candles DetectorHello traders
Credit to HPotter for that script
I took his script and added alerts to it. 2 lines lol
But anyway, useful to detect reversals by coloring bullish/bearish engulfing candles :)
Enjoy
David
MidnightMouse Bounce FestIdentifies areas with highly oversold conditions, leading to a high probability of a bounce or trend reversal. Does not include sell signals.
Super Karate Monkey Death Reversal Detectoruna herramienta para detectar cambios en la tendencia unas barras antes de que ocurra
A simple tool to detect trend reversals a couple candles before
PivotBoss Doji Reversal SetupPATTERN SUMMARY
1. The open and close price of the doji should fall within 10 percent of each other, as measured by the total range
of the candlestick.
2. For a bullish doji, the high of the doji candlestick should be below the ten-period simple moving average (H <
SMA(lO)).
3. For a bearish doji, the low of the doji candlestick should be above the ten-period simple moving average (L >
SMA(lO)).
4. For a bearish doji, one of the two bars following the doji must close beneath the low of the doji (C < L or C <
L ).
5. For a bullish doji setup, one of the two bars following the doji must close above the high of the doji (C > H )
or C > H )
PATTERN PSYCHOLOGY
The doji candlestick is the epitome of indecision. The pattern illustrates a virtual stalemate between buyers
and sellers, which means the existing trend may be on the verge of a reversal. If buyers have been controlling a
bullish advance over a period of time, you will typically see full-bodied candlesticks that personify the bullish
nature of the move. However, if a doji candlestick suddenly appears, the indication is that buyers are suddenly
not as confident in upside price potential as they once were. This is clearly a point of indecision, as buyers are no
longer pushing price to higher valuation, and have allowed sellers to battle them to a draw-at least for this one
candlestick. This leads to profit taking, as buyers begin to sell their profitable long positions, which is heightened
by responsive sellers entering the market due to perceived overvaluation. This "double whammy" of selling
pressure essentially pushes price lower, as responsive sellers take control of the market and push price back
toward fair value.
RSI+ with Bollinger BandsRelative Strenght Index + SMA on RSI + Bollinger Bands on it - very good solution to see reversals and see lows and highs.
Use different timeframe.
StdDev is 2.17 by default to get 97% probability.
RSI + SMA с наложенными Bollinger Bands - прекрасное решение для поиска разворотных точек и аномального поведения цены.
Используйте разные таймфреймы одновременно.
StdDev = 2.17 по умолчанию для обеспечения попадания в диапазон в 97% случаев.
Stream Influxes and ReversalsI have a really interesting script for you guys today. While walking home I had an interesting idea that I wanted to visualize, but had no clue how it would turn out. This script is the result and it seems to provide some larger information.
For anyone who doesn't know the definition of concavity here is a super quick calculus lesson: Concavity is a fancy word for the sign of the second derivative of something. This is the SLOPE OF A SLOPE; how fast is the rate of change changing? An example is position, if you are in a place and want to go to another place the first derivative how you move there is the velocity, if you are measuring the derivative of velocity that is called acceleration. If you are speeding up then you have positive concavity. If you are slowing down you have negative concavity. On a graph positive concavity looks like a cup, negative concavity looks like an upside down bowl. Infection is just a fancy word for when it is zero, which means - to + or + to - So...
If we look at the concavity of the edges it seems to provide us clues about how the price is moving and where it wants to reverse. I made boxes around points of inflection (pos --> neg or neg --> pos concavity)
The purple lines are just moving averages of the green dots. The green dots are where the edges are at each time step, just the average of all of them at once. If price is wiggling a lot then it creates lots of edges, the green dots get plotted close to the price line, which moves up the purple lines.
The red line is a highlight of the last line, helps guide the eye.
The other smooth red lines are a shout out to bollinger bands, set the band width smaller to find break outs or squeezes.
There really isn't a defined strategy for how to use this, but with all the messages I am getting about these scripts everyone is always surprising me with what they see. So I hope some of you can make some good calls with this!
Theres lots of calculations here and it takes a long time to load, if it won't load, just toggle something back and forth till it does.
Happy trading everyone! I hope these scripts give some of you financial freedom. If you're making really good profits then share some of it with those who are less fortunate. Cheers
double bollinger bandssimple, yet effective tool to catch reversals for short-term binary options trading.
B3 Donchian CloudsThis is the Donchian Channel expressed with a percentage cloud. Default 12.5% of the range will be filled at each edge, this helps to show reversal possibilities as price returns to the area between the clouds. This offers a usage to essentially fade the turtle trader system. That system is loosely based on the playing of the breakouts of the the channel... as you can see the that last turtle trade long in YM1! was and is off the charts awesome. I will look for the fall out of the cloud to short the market.
B3 ECOBlau's Ergodic Candlestick Oscillator = a decent trend finder, however slightly lagged. It can help you to see a reversal entry if you are looking for one. I find the one line ECO hard to use, so I have created this histogram version with a signal line. The colors help to show you whats going on with the ECO and its bias. This indicator shows up in a couple books by people other than Blau, and namely by Krausz. You can also see divergences, for example in pic above the lower or second of the two green humps showing that the general uptrend might be weakened as this run contained less momentum. Tighten up the signal line to see a faster change in its color. These settings are the B3 input settings for default, meaning the ones I use in trading. They are not however the default values you might read about other places.
Volume ReversalsThe "Volume Reversals" indicator is a trading tool designed to identify potential buy and sell signals based on volume patterns.
Features
Filter Signals : Traders can enable or disable additional filtering of signals, which refines the conditions under which buy and sell labels are displayed.
Buy and Sell Labels: The indicator dynamically places labels on the chart to signify buy ("▲+") and sell ("▼+") opportunities. Buy labels appear at low points of bars with a green upward-pointing arrow, while sell labels appear at high points with a red downward-pointing arrow.
Customizable Alerts: Users can set alerts for buy and sell signals, receiving notifications when conditions match predefined patterns.
Logic Explained
Volume Comparison: The script examines a sequence of the last five volume bars to detect increasing or decreasing trends.
Price Action Analysis: Each volume bar is paired with a corresponding price action (bullish or bearish) from the same period.
Signal Conditions: A signal is generated under two scenarios:
Normal Conditions: Sequential increase/decrease in volume over three bars accompanied by bearish/bullish price action, followed by a dip in volume with a bullish/bearish bar.
Filtered Conditions (if filter is active): Requires all last four bars to be bearish/bullish, the most recent bar's volume to be less than the immediate previous, and then exceeds the volume two bars prior, closing bullish/bearish.
This indicator is suited for various assets and timeframes, especially in markets where volume plays a significant role in price dynamics.
Catching Trend Reversals by shorting tops and buying bottomsHOLP (High of the low period) and LOHP (Low of the high period)
Catching Trend Reversals by shorting tops and buying bottoms
using this Swing High/Low Indicator
Trading Strategy comes from Mastering the Trade, by John Carter pg 300.
Trading Rules for Sells, Buys are reversed
1. Identifying a trending market, where today's price is making a 20-day high (17-18 day highs are also fine)
Note this is configurable by setting the trending period variable (defaults to 20)
For example if price is making a 20 period high or 20 period low, it will show a triangle up/down above the candle.
2. Identify the high bar in the uptrend
3. Go short once the price action closes below the low of this high bar
4. The initial stop is the high of the high bar.
5. If you are in the trade on the third day or period, use a 2 bar trailing stop.
You can check 2-bar trailing stop to draw the line, defaults to off.
Stop is indicated by the white dot.
Code Converted from TradeStation EasyLanguage
I can't find the original source anymore for the swing high/low plots, but if someone knows,
let me know and I'll credit here.
MTF ATR Levels by makuchakuKnowing how big a range one is operating in (from a higher time frame perspective) is very important to understand where the reversals could potentially come from.
This indicator uses the closing price of previous HTF candle and plots its ATR range - and several levels on top of it.
+/- 75%
+/- 100%
+/- 150%
+/- 200%
+/- 300%
Auto-Dispersion BandsIntroduction
A really old indicator as well, thus i have no much ideas of what is going on with it, but i know that those bands returns good reversals points. The indicator don't use standard deviation, instead its a simple differencing of the price and the price length bars back who will provide a dispersion measurement, thus the name auto-dispersion.
The Indicator
The smooth parameter allow the band to cross the price, if smooth is low the chance of crosses are lower.
smooth = 3
[CS]_ColorCode_V1 Multitimeframe Cardwell ReversalsToday I decided to create a powerful indicator for helping in identifying trend continuation and reversals using Cardwell's famous techniques.
For the whom interested Cardwell's work is widely presented in different textbooks such as "John Hayden" The Complete RSI Guide and accessible online.
From "John Hayden" The Complete RSI Guide:
Wilder (Author of RSI) states in his opinion that the greatest value of the RSI is in pointing out a divergence between the graphs for the RSI and price behavior. Their graphical behavior reveals a bullish divergence (or as he calls
it a bottom failure swing) when the price makes a new low, while the RSI continues under 30 and fails to make a new low. When the RSI proceeds to exceed the previous RSI peak, a short-term buy signal occurs
according to Wilder.
However, what the average investor comprehends is a small part of the dynamic overall picture. For example, if the range effectively shifts in a bull market so
that 80 is overbought, then Andrew Cardwell realized that the support level must also shift. Inversely if the oversold level in a bear market will shift down to 20, then the resistance level in a bear market must also
shift.
Another tools I prefer to use to indicate trend is moving averages, the standard workhorse used by most technical traders. Moving averages are valuable, as they will remove the volatility from whatever they are
calculated from. For example, calculating a moving average based on the RSI, effectively removes the volatility and gives a smoother signal. In fact, the trend can be confirmed by calculating a 9 period simple
moving average and a second 45 period weighted moving average on both the RSI and price.
From Cardwell's famous RSI Workbook, when the:
1. The 9 period on price is above the 45 period on price, and The 9 period on RSI is above the 45 period on RSI the trend is up.
2. The 9 period on price is below the 45 period on price, and The 9 period on RSI is below the 45 period on RSI the trend is down.
3. The 9 period on price is above the 45 period on price, and The 9 period on RSI is below the 45 period on RSI the trend is sideways to up.
4. The 9 period on price is below the 45 period on price, and The 9 period on RSI is above the 45 period on RSI the trend is sideways to down.
Since the RSI is more volatile than the price, the 9 period simple moving average (SMA) on RSI will cross its respective 45 period weighted moving average (WMA) before the 9 period (SMA) on price will cross its
respective 45 period moving average. I place more emphasis on the moving averages based on price than those based on RSI. Staying aware of what the moving averages are doing will help you to stay focused on
the overall trend. When I am talking to another trader, I will often say that the moving average on price is positive.
This implies that the short term, 9 period SMA is, above the longer term, 45 WMA. The largest moves will frequently come when both moving averages are moving in the same direction. One more thought on
moving averages. You will find the moving average 45 WMA will prove to be support or resistance on both price and RSI. For example, you will often see a bullish market retrace to its respective 45 period
moving average (price and/or RSI). When this is observed it is another sign of what the trend actually is.
On the indicator:
1. is represented in Green Color
2. is represented in Red Color
3. is represented in Light-Green-Grey
4. is represented in Light-Pink-Grey
1. + Overbought (RSI Above 80) is represented in Acqua
2. + Oversold (RSI Below 20) is represented in Purple
1. + RSI Turned Bearish (RSI Below 50) is represented in Orange
2. + RSI Turned Bullish (RSI Above 50) is represented in Blue
In Addition a counter is displayed about the positives or negatives timeframes and an average line is computed across timeframes with green / red color comparison.
Timeframes are specified in the indicator panel and are the following:
- Weekly
- Daily
- 12h
- 4h
- 2h
- 1h
- 30 min
Enjoy,
CryptoStatistical
Keltner Channel with auto highlighting of Bear/Bull reversals*** New version @ ****
All options configurable.
Reversals are marked using crosses. as well as highlighted using green/red color (depending on bull/bear). Enjoy!
Three Bar ReversalThis script was written to make it easier to discover three bar reversal patterns.
A three bar reversal occurs when these conditions are met:
Long Setup (Reversal Up)
1. Bar 1 closes down
2. Low of Bar 2 is below the low of Bar 1 and Bar 3
3. Bar 3 closes above the high of both Bar 1 and Bar 2
Short Setup (Reversal Down)
1. Bar 1 closes up
2. High of Bar 2 is above the high of Bar 1 and Bar 3
3. Bar 3 closes below the low of both Bar 1 and Bar 2
When this indicator is added to your chart, you will see "Reversal Up" or "Reversal Down" when one of the above conditions are met.
It is recommended to use the 1 minute time frame for short scalps and 5 minute time frame for longer held day trade positions.
This indicator also has an alert option.
To enable an alert:
1. Create a new alert
2. Set condition "Reversal" and "Any alert() function call"
3. Give the alert a unique name
It is good to have an alert for different tickers and different time frames!
When the alert is triggered, you will receive a message:
Reversal up on: ticker-ID-here
or
Reversal down on: ticker-ID-here
Never miss a trade setup again!
PivotBoss Outside Reversal SetupPATTERN SUMMARY
1. The engulfing bar of a bullish outside reversal setup has a low that is below the prior bar's low (L < L ) and a
close that is above the prior bar's high (C > H ).
2. The engulfing bar of a bearish outside reversal setup has a high that is above the prior bar's high (H > H )
and a close that is below the prior bar's low (C < L ).
3. The engulfing bar is usually 5 to 25 percent larger than the size of the average bar in the lookback period.
PATTERN PSYCHOLOGY
The power behind this pattern lies in the psychology behind the traders involved in this setup. If you have
ever participated in a breakout at support or resistance only to have the market reverse sharply against you, then
you are familiar with the market dynamics of this setup. What exactly is going on at these levels? To understand
this concept is to understand the outside reversal pattern. Basically, market participants are testing the waters
above resistance or below support to make sure there is no new business to be done at these levels. When no
initiative buyers or sellers participate in range extension, responsive participants have all the information they
need to reverse price back toward a new area of perceived value.
As you look at a bullish outside reversal pattern, you will notice that the current bar's low is lower than the
prior bar's low. Essentially, the market is testing the waters below recently established lows to see if a downside
follow-through will occur. When no additional selling pressure enters the market, the result is a flood of buying
pressure that causes a springboard effect, thereby shooting price above the prior bar's highs and creating the
beginning of a bullish advance.
If you recall the child on the trampoline for a moment, you'll realize that the child had to force the bounce
mat down before he could spring into the air. Also, remember Jennifer the cake baker? She initially pushed price
to $20 per cake, which sent a flood of orders into her shop. The flood of buying pressure eventually sent the price
of her cakes to $35 apiece. Basically, price had to test the $20 level before it could rise to $35.
Let's analyze the outside reversal setup in a different light for a moment. One of the reasons I like this setup
is because the two-bar pattern reduces into the wick reversal setup, which we covered earlier in the chapter. If
you are not familiar with candlestick reduction, the idea is simple. You are taking the price data over two or more
candlesticks and combining them to create a single candlestick. Therefore, you will be taking the open, high, low,
and close prices of the bars in question to create a single composite candlestick.
Take a look at Figure 2.13, which illustrates the candlestick reduction of the outside reversal setup.
Essentially, taking the highest high and the lowest low over the two-bar period gives you the range of the
composite candlestick. Then, taking the opening price of the first candle and the closing price of the last candle
will finish off the composite candlestick. Depending on the structure of the bars of the outside reversal setup, the
result of the candlestick reduction will usually be the transformation into a wick reversal setup, which we know to
be quite powerful. Therefore, in many cases the physiology of the outside reversal pattern basically demonstrates
the inherent psychological traits of the wick reversal pattern. This is just another level of analysis that reinforces
my belief in the outside reversal setup.