VAWSI and Trend Persistance Reversal Strategy SL/TPThis is a completely revamped version of my "RSI and ATR Trend Reversal Strategy."
What's New?
The RSI has been replaced with an original indicator of mine, the "VAWSI," as I've elected to call it.
The standard RSI measures a change in an RMA to determine the strength of a movement.
The VAWSI performs very similarly, except it uses another original indicator of mine, the VAWMA.
VAWMA stands for "Volume (and) ATR Weight Moving Average." It takes an average of the volume and ATR and uses the ratio of each bar to weigh a moving average of the source.
It has the same formula as an RSI, but uses the VAWMA instead of an RMA.
Next we have the Trend Persistence indicator, which is an index on how long a trend has been persisting for. It is another original indicator. It takes the max deviation the source has from lowest/highest of a specified length. It then takes a cumulative measure of that amount, measures the change, then creates a strength index with that amount.
The VAWSI is a measure of an emerging trend, and the Trend Persistence indicator is a measure of how long a trend has persisted.
Finally, the 3rd main indicator, is a slight variation of an ATR. Rather than taking the max of source - low or high- source and source - source , it instead takes the max of high-low and the absolute value of source - the previous source. It then takes the absolute value of the change of this, and normalizes it with the source.
Inputs
Minimum SL/TP ensures that the Stop Loss and Take Profit still exist in untrendy markets. This is the minimum Amount that will always be applied.
VAWSI Weight is a divided by 100 multiplier for the VAWSI. So value of 200 means it is multiplied by 2. Think of it like a percentage.
Trend Persistence weight and ATR Weight are applied the same. Higher the number, the more impactful on the final calculation it is.
Combination Mult is an outright multiplier to the final calculation. So a 2.0 = * 2.0
Trend Persistence Smoothing Length is the length of the weighted moving average applied to the Trend Persistence Strength index.
Length Cycle Decimal is a replacement of length for the script.
Here we used BlackCat1402's Dynamic Length Calculation, which can be found on his page. With his permission we have implemented it into this script. Big shout out to them for not only creating, but allowing us to use it here.
The Length Cycle Decimal is used to calculate the dynamic length. Because TradingView only allows series int for their built-in library, a lot of the baseline indicators we use have to be manually recreated as functions in the following section.
The Strategy
As usual, we use Heiken Ashi values for calculations.
We begin by establishing the minimum SL/TP for use later.
Next we determine the amount of bars back since the last crossup or crossdown of our threshold line.
We then perform some normalization of our multipliers. We want a larger trend or larger VAWSI amount to narrow the threshold, so we have 1 divide them. This way, a higher reading outputs a smaller number and vice versa. We do this for both Trend Persistence, and the VAWSI.
The VAWSI we also normalize, where rather than it being a 0-100 reading of trend direction and strength, we absolute it so that as long as a trend is strong, regardless of direction, it will have a higher reading. With these normalized values, we add them together and simply subtract the ATR measurement rather than having 1 divide it.
Here you can see how the different measurements add up. A lower final number suggests imminent reversal, and a higher final number suggests an untrendy or choppy market.
ATR is in orange, the Trend Persistence is blue, the VAWSI is purple, and the final amount is green.
We take this final number and depending on the current trend direction, we multiply it by either the Highest or Lowest source since the last crossup or crossdown. We then take the highest or lowest of this calculation, and have it be our Stop Loss or Take Profit. This number cannot be higher/lower than the previous source to ensure a rapid spike doesn't immediately close your position on a still continuing trend. As well, the threshold cannot be higher/ lower than the the specified Stop Loss and Take Profit
Only after the source has fully crossed these lines do we consider it a crossup or crossdown. We confirm this with a barstate.isconfirmed to prevent repainting. Next, each time there is a crossup or crossdown we enter a long or a short respectively and plot accordingly.
I have the strategy configured to "process on order close" to ensure an accurate backtesting result. You could also set this to false and add a 1 bar delay to the "if crossup" and "if crossdown" lines under strategy so that it is calculated based on the open of the next bar.
Final Notes
The amounts have been preconfigured for performance on RIOT 5 Minute timeframe. Other timeframes are viable as well. With a few changes to the parameters, this strategy has backtested well on NVDA, AAPL, TSLA, and AMD. I recommend before altering settings to try other timeframes first.
This script does not seem to perform nearly as well in typically untrendy and choppy markets such as crypto and forex. With some setting changes, I have seen okay results with crypto, but overfitting could be the cause there.
Thank you very much, and please enjoy.
Cerca negli script per "reversal"
Opening Range Reversal ZonesThis script finds a reversal zone beyond the opening range for the selected period. I borrowed most of the opening range script itself from asenski.
I added a few things:
Trade Entry Times -- this restricts the "alert times."
Shading for the above mentioned times for the two "reversal" zones
A couple of other visuals for lines for the hi, mid, low of the opening range and lines for the fibs
Alerts while in the trading entry time session for fibbonacci crossovers.
I use this on NDX, SPY, and QQQs and have found buying "at the money" 0DTE puts in the "red zone" or 0DTE calls in the "green zone" frequently wins.
I have no statistics, as I am very methodical when I choose to enter, paying attention to the news, recent momentum, etc, and am not blindly entering when alert comes, but when one does, I do research and enter a trade.
In any case, thought I would share.
Relative Price Volume
Relative Price Volume is an indicator which shows anomalies between price and volume on a chart over a given period. The goal is to identify potential reversal and/consolidation areas for price as it relates to volume. It is a simple variation of a Volume at Price indicators. It can also be used to mark potential support and resistance lines on the chart as the areas it signals is where the price battles are waged.
Settings:
Period = length for which to calculate average candle body and average volume
Long Factor = relative size multiplier to determine if a candle is larger than average or if volume is higher than average
Short Factor = relative size multiplier to determine if a candle is smaller than average or if volume is lower than average
Anomaly Conditions
1. If a candle is larger than average and volume is lower than average, then this is an anomaly, and we should be on alert for a change in momentum.
2. if a candle is smaller than average and volume is higher than average, then this too is an anomaly and should put us on alert.
The indicator will draw a cross on the chart indicating the candle is that is flashing the warning that the run is done and a potential consolidation and/or reversal is pending. Used in conjunction with support and resistance levels this could signal a time to enter or exit a trade.
The default size factors considers a candle or volume:
1. Larger than average if it is 60% or more (.6) larger than average.
2. Smaller than average if it is 40% or less (.4) smaller than average.
Hope this helps! Happy trading!
ETS Price Deviation Reversal AreasThis indicator tracks the degree to which price moves away from an average and triggers potential direction changes based on standard deviation levels.
The reason I created this script is because I wanted to see how far price moved away from the moving average in a more clearly defined way than just saying "wow, price is pretty far away from the 9 EMA..." or whichever moving average you were looking at.
Typically when price moves "too far" away from the moving averages, it corrects itself, I think mainly because a lot of people say "wow, price is pretty far away from the 9 EMA..." and then enter a trade. This indicator tries to make it easier to see when that switches around, which could indicate that price will be reversing.
Of course the indicator is not a silver bullet, but I have found it pretty useful and I hope that you do too!
It also tries to avoid giving signals when prices are in a very small range. When the deviation bars contract, the indicator switches to only signal "breakout" type moves to try and limit whipsaw signals.
The smaller dots are spots that could indicate a potentially early reversal, and the larger dots show up a bit later when the reversal is a bit more established. There are also alerts that you can use if you want.
Change this code as you want to, but please let the community know and send me a message if you found something to share! Thanks!
Fear Of Missing Out grid of forex tradingAbstract
This script finds potential safe grids placing limit orders without fear of missing out.
This script computes grids according to power of 1.0025 .
You can reference those price levels for your trading.
Introduction
Grid trading is a popular trading method.
Traders plan several price levels as grids and repeat buying at lower grids and selling at higher grids.
Grids can be round number like multiple of 100 pips.
Grids can also be support and resistance according to price history.
Some traders may think they need to adjust grids to trade.
However, there are several problems in choosing grids.
One problem is rate of change is related and therefore exponential. 20 to 30 is different from 30 to 40.
Another interesting point is there are some special impressing reversal price levels.
Several months ago, I had a question why usdjpy bounced near 108.3 .
After using a calculator, I found that 108.3 = 100 * 1.083 ≒ 100 * pow(1.0025,31) .
1.0025 , as known as 0.25% of change, is a potential stop out zone.
Therefore, we can compute grids and one grid is a little more than 1.0025 times than an another one.
After we finished computing grids, we can consider buy and sell near those grids.
Note that different traders may obtain different grid values.
For example, from 1.0 to 2.0 , it can be splited as 270 grids or 277 grids because pow(1.0025,277)<2 .
Those grids cannot always imply potential reversal points but they can be useful for traders looking for 0.25% profit targets with reducing fearing of buying or selling too early.
Computing grids
This script split from 1.0 to 10.0 into three segments.
One is 1.0 to 2.0 .
The second segment is from 2.0 to 5.0 .
The third segment is from 5.0 to 10.0 .
This script does the same thing for 0.1 to 1.0 , 10.0 to 100.0 , and so on.
For 1.0 to 2.0 and 5.0 to 10.0 , this script split a segment as 270 grids.
For 2.0 to 5.0 , this script split a segment as 360 grids.
The last step is display the next grids to the daily low and daily high.
Maybe also display the grids behind grids shown.
Parameters
x1,x2,x3,x4 : display the next x1,x2,x3,x4 grids to daily high and daily low. 1 means the next grid to daily high and daily low. 2 means the next grid to 1.
x_seg : default 2.0 . This script split from 1.0 to 10.0 into three segments. One is 1.0 to x_seg. The second segment is from x_seg to 10.0/x_seg . The third segment is from 10.0/x_seg to 10.0 .
x_grid1 : how many grids in the first segment
x_grid2 : how many grids in the second segment
x_lowprice : add this number for bigger grid distance. Generally, you don't need this number when trading forex but you may need it in stock trading. For stocks with price between 50 to 100, I recommend you use x_lowprice=100.
Conclusion and suggestions
This script can find potential grids for trading.
If price touches grids usually, we can consider buy and sell after price touches grids.
If price reverses before touching grids usually, we may consider buy and sell before price touches grids.
Those grids can remind us don't buy too much unless the price touches the next grid.
For instruments with less volatility, maybe we need more grids.
For traders with more money, they may also consider more grids for more dedicated range trading to collect more profit.
Reference
Sorry, I forgot them.
Continuation and Reversal Patterns
This script helps in identifying the reversal and continuation patterns in the japanese candle sticks this can be applied across all time frames
we can configure the maximum number of weak candles in the zone such that we can configure the strength as per end user but maximum base candles is restricted to 5
as any candles greater than that will make the pattern weak
Note : This is not a strategy rather a useful tool which suggests there might be continuation to the existing trend or there might be reversal , so use them with combination of other indicators and price action for better results
Key ReversalA key reversal is possible reversal in trend when a the candle engulf completely, the body and wick, of the two previous candles.
HOLP/LOHPThe HOLP strategy was developed by trader-author John F. Carter in his book 'Mastering the trade: proven techniques for profiting from intraday and swing trading set ups' (ISBN 0-07-145958-8). The strategy, which gives buy signals, is a reversal strategy. Reversal strategies try to determine the point in time when a trend reverses direction. In his book John F. Carter is actually skeptical of taking a position against the trend, quoting classics like "never catch a falling knife" (buy a steep sell off) and "never step in front of a train" (short sell a strong market). Given his skepticism he decides to base his strategy on the one single factor which he deems relevant: the market price.
Inverse BandsThis was the result of quite some time spent examining how much information could be gleamed by studying the interactions between Keltner Channels, STARC Bands and Bollinger Bands. I was surprised by the results.
First of all, there are four fills that are black. Set the transparency of those to 0 and you'll see this indicator the way that it's meant to be seen. Those fills belong to unused sections of the Bollinger Bands.
There are two clouds which represent STARC Bands and the Keltner Channel. There is some delay when they flip from bullish (green) to bearish (red), but they are indicative of the trend. The space between them is black and the narrower that space is, the greater volatility is. Because of this, we don't need the exterior Bollinger Bands.
The Bollinger Bands remain visible as the yellow interior clouds on the top cloud and the blue interior clouds on the bottom cloud. Often, the thicker the yellow or blue cloud is, the less severe a throwback from a given trend reversal will be. Often the thinner that yellow or blue cloud is, the more severe the trend reversal will be. If price is rising into a thin interior yellow cloud, the following dip will be substantial. If price action dips towards a thicker interior blue cloud, often the pump following that dump will be less enthusiastic.
We preserve the Keltner Channel and STARC bands as our cloud because the way that they interact with the three basis lines yields a lot of information.
The yellow Bollinger basis line tells us about trend strength. The closer the BB basis line is to the top of the top cloud or the bottom of the bottom cloud, the stronger the trend is. When it enters the cloud very close to the bottom of the bottom cloud, you know you're looking at a strong pump, and vice versa when it's close to the top of the top cloud.
The purple Keltner Channel basis line and orange STARC Band basis line can forecast short term trend changes one candlestick in advance by contacting any line in either cloud. The moment either basis line touches or crosses any boundary of the clouds, you know that the next candle will change directions. In an uptrend, a touch or cross means the next candle will have a lower high point. In a downtrend, a cross or touch means the next candle will have a higher high point. This is most useful in scalping.
It'd be pretty easy to slap some crossover alerts on to this and useful considering that they come a candle in advance. Feel free to further explore and develop this.
Pivot Reversal AlertsPivot Reversal Study script, for generating Alerts and visual plotting of Pivot Reversal lines on the charts. Use a Strategy script (like Figs & Dates), for backtesting different settings on various time frames and charts.
Pivot of Pivot Reversal Strategy [QuantNomad]Continue looking for more signifcant pivot points.
This script is based on my "Significant Pivot Reversal Strategy".
In this strategy I use concept of pivot of pivot points.
So for PoP I require that pivot highs point should have 2 lower pivot highs points around them and pivot low 2 higher pivot lows points.
Transparent lines represent usual pivot levels ints.
Not transparent lines represent pivot of pivot levels.
Link to original script:
QuantNomad - Significant Pivot Reversal Strategy AlertsAlerts for "Significant Pivot Reversal Strategy":
As one of the ways to filter out insignificant levels I decided to check that pivot point is not above/below neighbors, but check that it's above/below at least by a certain amount.
I use ATR, so in params, you can set length of ATR and also ATR multiplier. The new level will be calculated only if PP will be above/below neighbors by atr * atr_mult.
It seems this approach might help in some cases.
QuantNomad - Significant Pivot Reversal StrategyI'm working on improving the Pivot Points Reversal Strategy.
As one of the ways to filter out insignificant levels I decided to check that pivot point is not above/below neighbors, but check that it's above/below at least by a certain amount.
I use ATR, so in params, you can set length of ATR and also ATR multiplier. The new level will be calculated only if PP will be above/below neighbors by atr * atr_mult.
It seems this approach might help in some cases.
Here I have PivotPoint + RSI strategy:
Pivot Point Reversal + RSI AlertsThese are alerts for previously published strategy:
This strategy joins the Pivot Reversal strategy with the RSI indicator.
We check RSI level at the pivot point level and only if RSI condition is satisfied we update levels for stop orders.
Inside Reversal Engulfing BarInside bar bullish = yellow
Inside Bar bearish = orange
engulfing bar bullish = green
engulfing bar bearish = red
reversal bar bullish = blue
reversal bar bearish = purple
PivotBoss Extreme Reversal SetupPATTERN SUMMARY
1. The first bar of the pattern is about two times larger than the average size of the candles in the lookback
period.
2. The body of the first bar of the pattern should encompass more than 50 percent of the bar's total range, but
usually not more than 85 percent.
3. The second bar of the pattern opposes the first. If the first bar of the pattern is bullish (C > 0), then the second
bar must be bearish (C < 0). If the first bar is bearish (C < 0), then the second bar must be bullish (C > 0).
PATTERN PSYCHOLOGY
The extreme reversal setup is a clever pattern that capitalizes on the ongoing psychological patterns of
investors, traders, and institutions. Basically, the setup looks for an extreme pattern of selling pressure and then
looks to fade this behavior to capture a bullish move higher (reverse for shorts). In essence, this setup is visually
pointing out oversold and overbought scenarios that forces responsive buyers and sellers to come out of the dark
and put their money to work-price has been over-extended and must be pushed back toward a fair area of value
so two-sided trade can take place.
This setup works because many normal investors, or casual traders, head for the exits once their trade
begins to move sharply against them. When this happens, price becomes extremely overbought or oversold,
creating value for responsive buyers and sellers. Therefore, savvy professionals will see that price is above or
below value and will seize the opportunity. When the scared money is selling, the smart money begins to buy, and
Vice versa.
Look at it this way, when the market sells off sharply in one giant candlestick, traders that were short
during the drop begin to cover their profitable positions by buying. Likewise, the traders that were on the
sidelines during the sell-off now see value in lower prices and begin to buy, thus doubling up on the buying
pressure. This helps to spark a sharp v-bottom reversal that pushes price in the opposite direction back toward
fair value.
Kozlod - Pivot Reversal Strategy Alerts V2Its' new version of previously published Kozlod - Pivot Reversal Strategy Alerts
Indicator now better correspond to original strategy. However, there can be some differences. Problem is that it's pretty tricky to implement in plain PineScript same "stop" logic used in strategy.entry of the original script
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.
EMA Technical Analysis with Reversal ZonesKey Features:
1. EMA Analysis:
• Plots multiple EMAs: 5, 9, 13, 21, 50.
• Highlights bullish/bearish crossovers:
• EMA 5/13 crossover
• EMA 9/21 crossover
• Crossovers are marked with colored circles on the chart.
2. VWAP (Volume-Weighted Average Price):
• Custom color changes based on price relation:
• Green if above
• Red if below
3. MACD:
• Customizable MACD settings.
• Evaluates both signal line crossover and MACD > 0 condition.
• Displayed in the table for quick trend strength checks.
4. PSAR (Parabolic SAR):
• Plotted as dots with color change based on price relation.
5. RSI & Bollinger Bands:
• RSI helps gauge momentum.
• Bollinger Bands mark overbought/oversold extremes.
• Close proximity to upper/lower bands is highlighted with custom logic.
6. ADX (Trend Strength):
• Assesses whether the market is trending strongly.
• Indicates bullish or bearish strength with arrows or dots in the table.
7. SPX/VIX Market Sentiment Integration:
• Uses SPX (S&P 500) and VIX data for additional context.
• Custom coloring for fear/greed scenarios.
8. Dynamic Status Table:
• Located at a user-defined screen position.
• Displays real-time conditions for all indicators.
• Uses colored dots/arrows for quick scanning.
9. Reversal Zones:
• Uses Bollinger Bands + RSI to define:
• Oversold (Red Background)
• Overbought (Green Background) zones
10. Confirmation Zones:
• Combines EMA and MACD crossovers for:
• Bullish confirmation (Green Background)
• Bearish confirmation (Red Background)
11. Alerts:
• Built-in alerts for:
• EMA crossovers
• Deep overbought/oversold
• Confirmation signals
Sweep Reversal 5M PRO – by [TuNombre]🔹 **Sweep Reversal 5M PRO – by ** 🔹
This indicator is built to detect high-probability *Institutional Sweeps* using Swing Failure Patterns (SFP), fully filtered with Smart Money Concepts (SMC) logic and volume confirmation.
✅ Identifies key liquidity grabs
✅ Confirms with strong impulse candle + increasing volume
✅ Filters out false signals (doji, weak zones, low volume)
✅ Optimized for the 5-minute timeframe (5M)
✅ Compatible with push alerts to your mobile
---
**How to use it:**
1. Wait for a “BUY” or “SELL” signal on the chart
2. Only enter if the next candle confirms with momentum
3. Place a tight stop just beyond the sweep
4. Recommended Take Profit: 1:1 minimum / 2:1 ideal
---
💡 Inspired by institutional trading (SMC, ICT-style setups)
🔒 Developed by – private or team-based use
📲 Activate alerts to get real-time trade opportunities on your phone
---
⚠️ This script does not repaint.
Built for serious traders who want precision, not noise.
DAMA OSC - Directional Adaptive MA OscillatorOverview:
The DAMA OSC (Directional Adaptive MA Oscillator) is a highly customizable and versatile oscillator that analyzes the delta between two moving averages of your choice. It detects trend progression, regressions, rebound signals, MA cross and critical zone crossovers to provide highly contextual trading information.
Designed for trend-following, reversal timing, and volatility filtering, DAMA OSC adapts to market conditions and highlights actionable signals in real-time.
Features:
Support for 11 custom moving average types (EMA, DEMA, TEMA, ALMA, KAMA, etc.)
Customizable fast & slow MA periods and types
Histogram based on percentage delta between fast and slow MA
Trend direction coloring with “Green”, “Blue”, and “Red” zones
Rebound detection using close or shadow logic
Configurable thresholds: Overbought, Oversold, Underbought, Undersold
Optional filters: rebound validation by candle color or flat-zone filter
Full visual overlay: MA lines, crossover markers, rebound icons
Complete alert system with 16 preconfigured conditions
How It Works:
Histogram Logic:
The histogram measures the percentage difference between the fast and slow MA:
hist_value = ((FastMA - SlowMA) / SlowMA) * 100
Trend State Logic (Green / Blue / Red):
Green_Up = Bullish acceleration
Blue_Up (or Red_Up, depending the display settings) = Bullish deceleration
Blue_Down (or Green_Down, depending the display settings) = Bearish deceleration
Red_Down = Bearish acceleration
Rebound Logic:
A rebound is detected when price:
Crosses back over a selected MA (fast or slow)
After being away for X candles (rebound_backstep)
Optional: filtered by histogram zones or candle color
Inputs:
Display Options:
Show/hide MA lines
Show/hide MA crosses
Show/hide price rebounds
Enable/disable blue deceleration zones
DAMA Settings:
Fast/Slow MA type and length
Source input (close by default)
Overbought/Oversold levels
Underbought/Undersold levels
Rebound Settings:
Use Close and/or Shadow
Rebound MA (Fast/Slow)
Candle color validation
Flat zone filter rebounds (between UnderSold and UnderBought)
Available MA type:
SMA (Simple MA)
EMA (Exponential MA)
DEMA (Double EMA)
TEMA (Triple EMA)
WMA (Weighted MA)
HMA (Hull MA)
VWMA (Volume Weighted MA)
Kijun (Ichimoku Baseline)
ALMA (Arnaud Legoux MA)
KAMA (Kaufman Adaptive MA)
HULLMOD (Modified Hull MA, Same as HMA, tweaked for Pine v6 constraints)
Notes:
**DEMA/TEMA** reduce lag compared to EMA, useful for faster reaction in trending markets.
**KAMA/ALMA** are better suited to noisy or volatile environments (e.g., BTC).
**VWMA** reacts strongly to volume spikes.
**HMA/HULLMOD** are great for visual clarity in fast moves.
Alerts Included (Fully Configurable):
Golden Cross:
Fast MA crosses above Slow MA
Death Cross:
Fast MA crosses below Slow MA
Bullish Rebound:
Rebound from below MA in uptrend
Bearish Rebound:
Rebound from above MA in downtrend
Bull Progression:
Transition into Green_Up with positive delta
Bear Progression:
Transition into Red_Down with negative delta
Bull Regression:
Exit from Red_Down into Blue/Green with negative delta
Bear Regression:
Exit from Green_Up into Blue/Red with positive delta
Crossover Overbought:
Histogram crosses above Overbought
Crossunder Overbought:
Histogram crosses below Overbought
Crossover Oversold:
Histogram crosses above Oversold
Crossunder Oversold:
Histogram crosses below Oversold
Crossover Underbought:
Histogram crosses above Underbought
Crossunder Underbought:
Histogram crosses below Underbought
Crossover Undersold:
Histogram crosses above Undersold
Crossunder Undersold:
Histogram crosses below Undersold
Credits:
Created by Eff_Hash. This code is shared with the TradingView community and full free. do not hesitate to share your best settings and usage.
Abhi's Bollinger Band Reversal SignalThis Pine Script indicator is designed to detect reversal trade opportunities using Bollinger Band breakouts. It identifies both buy and sell setups with clearly defined entry, stop-loss (SL), and target (TP) conditions. It also manages trades visually with real-time signal plotting, and limits entries per trading day.
⚙️ How It Works
🔽 Sell Signal Conditions
- The previous candle must close above the upper Bollinger Band, and its entire body must be above the band
- The current candle must fail to break the previous high, and must break below the previous low
- Entry is taken at the previous candle’s low, with SL at its high
- Target is calculated based on a configurable Risk:Reward ratio
🔼 Buy Signal Conditions
- The previous candle must close below the lower Bollinger Band, and its entire body must be below the band
- The current candle must fail to break the previous low, and must break above the previous high
- Entry is at the previous candle’s high, with SL at its low
- Target is calculated using the same Risk:Reward ratio
⏰ Time-Based Exit
- If a trade is still active by a user-defined exit time (e.g. 15:15), the trade is closed
- Labels are plotted to show whether this exit was a profit or loss
🧩 User Inputs
- Start Time for signals
- Exit Time for open trades
- Bollinger Band Settings: Period and Std Dev
- Max Entries Per Day
- Risk:Reward Ratio: Dropdown for 1:1, 1:1.5, ..., 1:3
🎨 Visual Features
✅ BUY and SELL signals are plotted when valid conditions are detected
🟢 TP and 🔴 SL labels show trade outcome
🕒 TIME EXIT labels appear at user-set exit time with green/red coloring based on profitability
📉 Bollinger Bands plotted for visual context
📌 Notes:
- Designed for intraday trading, resets entry counter daily
- Uses bar_index > tradeBarIndex to avoid SL/TP being triggered on the same candle as entry
- Tracks only one trade at a time (tradeActive) — ensures clear, non-overlapping logic
[SHORT ONLY] 10 Bar Low Pullback█ STRATEGY DESCRIPTION
The "10 Bar Low Pullback" strategy is a contrarian short trading system designed to capture pullbacks after a new 10‐bar low is made. it identifies a potential short opportunity when the current bar’s low breaks below the lowest low of the previous 10 bars, provided that the bar exhibits strong internal momentum as measured by its IBS value. An optional trend filter further refines entries by requiring that the close is below a 200-period EMA.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) measures where the closing price falls within the high-low range of a bar. It is calculated as:
ibs = (close - low) / (high - low)
- Low IBS (≤ 0.2): Indicates the close is near the bar's low, suggesting oversold conditions.
- High IBS (≥ 0.8): Indicates the close is near the bar's high, suggesting overbought conditions.
█ SIGNAL GENERATION
1. SHORT ENTRY
A Short Signal is triggered when:
The current bar’s low is below the lowest low of the past X bars (default: 10).
The bar’s IBS is greater than the specified threshold (default: 0.85).
The signal occurs within the defined trading window (between Start Time and End Time).
If the EMA Filter is enabled, the close must be below the 200-period EMA.
2. EXIT CONDITION
An exit Signal is generated when the current close falls below the previous bar’s low (close < low ), indicating a potential bearish reversal and prompting the strategy to close its short position.
█ ADDITIONAL SETTINGS
Lookback Period: Defines the number of bars (default is 10) over which the lowest low is calculated.
IBS Threshold: Sets the minimum required IBS value (default is 0.85) to qualify as a pullback.
Trading Window: Trades are only executed between the user-defined Start Time and End Time.
EMA Filter (Optional): When enabled, short entries are only considered if the current close is below the 200-period EMA, with the EMA period being adjustable (default is 200).
█ PERFORMANCE OVERVIEW
Designed for shorting opportunities, this strategy aims to capture pullbacks following an aggressive 10-bar low break.
It leverages a combination of a lookback low and IBS measurement to identify overextended bullish moves that may revert.
The optional EMA filter helps confirm a bearish market environment by ensuring the price remains under the trend line.
Suitable for use on various assets, including stocks and ETFs, on daily or similar timeframes.
Backtesting and parameter optimization are recommended to tailor the strategy to specific market conditions.