Range Strat - MACD/RSIThis strategy uses a trend based indicator (MACD) for entry/exit signals with a momentum oscillator (RSI) to act as confirmation. Although relying on a trend based indicator this has been created for range bound crypto markets, which have been in a period of chop since June 2022.
Long/Short signals are generated from MACD with the RSI oscillator thresholds suppressing entries at price extremes. This is not a mean reversion RSI strategy! As the indicators are contrary to each other you will need to be generous with the RSI settings in order for signals to trigger.
Strategy is designed for use on the 4h timeframe, it may work well on higher timeframes, but lower time frames will lead to false signals. Use fixed percentage of equity for order size to capture the compounding effect. As a reversal strategy bear in mind that should market trend strongly in either direction stops will be required.
The RSI thresholds can be tailored to provide higher frequency or safer signals. Similarly tweaking MACD settings will provide earlier/more frequent or safer signals. As this is intended to enter near range high / low you should check the visual cues to ensure a ping-pong effect is observed, so that peaks and troughs are captured. Once an observable range is established the strategy works well across a range of crypto markets,
The script is open source, so feel free to amend as you wish. Using a different momentum oscillator may provide better results. I have prior coding experience, but first time using PineScript was last night, so it's not very tidy. I will update this with some additional customisation and TP/SL in the near future.
Usage: Range bound markets
Markets: Cryptocurrency Alts/BTC/ETH
Timeframe: 4h
Reversal
Triple RSI strategyThis strategy is commonly used both in forex and stock markets for reversal trading. when the rsi line reaches and crosses simultaneously at 3 rsi setups i.e at 7, 14, and 21, a signal is generated.
This strategy works best in 1-hour timeframe. It provides over 60 to 80 percent accuracy in 1-hour timeframe.
In the stock market, this strategy provides an excellent entry point, if one is seeking small profits.
One can expect to make around 10 to 50 pips in the forex market easily. However, I advise seeking support from price action from the lower timeframe in the forex market.
I hope you like it.
Follow for more strategies and scripts like this.
Munich's Momentum Wave V2MUNICH'S MOMENTUM WAVE VERSION 2 IS LIVE!!!
There are a few big things to note with this one.
I decided to upload this as an entirely new script due to the number of changes differing from the first version, but as the last one, this will still work on ANY TIMEFRAME, ANY ASSET CLASS, ANY PRICE! .
This momentum wave indicator now will give you data for when trend could turn, and two momentum indicators to help you decide when to take an entry.
First off,
*I have added an alma ma (alma) that will track momentum alongside price action and further lead the indicator consisting of the Munich waves.
* The background feature will track the price using a method derived from the Bollinger bands, after calculations, it will color the background based on the average of the momentum's ema's, the alma ma, and also the alma in comparison to the alma's value pre offset ( the offset is 3, following the basis).
*There are now 5 basis values given from the increase in ema samples.
If anyone has any questions feel free to pm me or comment below. Thank you guys for the support! :)
INDEX:BTCUSD TVC:NDQ AMEX:SPY BITSTAMP:ETHUSD BINANCE:BTCUSDT FX:USDJPY NASDAQ:AAPL
PrevHighLow Trend IndicatorPrevHighLow Trend Indicator which is calculated by using prev lowest and highest of p1 -period and p2 -period for two MAs.
First MA is made of prev highest of p1-period / prev lowest of p1-period.
Second MA is faster, made up of p2(<p1)- period(same formula).
Can be used in the next way: slower MA(straight line) shows main trend, faster shows temporary trend.
BUY, when first MA and second MA are green; Exit: second MA changes from green to red.
SELL, when first MA and second MA are red; Exit: second MA changes from red to green.
RSI Assistant basically filtres signals in the way, when signals from RSI and Faster MA are similar? it signals about it with labels: BUY for long, SELL for short. You can either enable or disable it. Also customizable so you can find your setup. RSI Assistant, depending on you customize it, can help you either follow trend or show reversals. Just find your own setup and watch things happen!
Feel free to leave valuable feedback and your setups which you consider to be good.
Hope you PHLTI usefull. Good luck!
Whisker Reversal Oscillator [SpiritualHealer117]The Whisker Reversal Oscillator can be used to spot strength or weakness in trends. It is designed for stocks, commodities and forex trading, and is intended to be calculated from the high, close, low, and open over a given length.
Features:
The Whisker Reversal Oscillator shows the average length of the top and bottom whiskers on candlesticks over a defined length. It plots the percentage difference between the whiskers and the length of the body, with the yellow line representing the average length of the top whisker, and the bottom line indicating the average length of the bottom whisker.
Interpreting the signals:
The Whisker Reversal Oscillator is interpreted in the same way as a candlestick reversal pattern, where it being bullish or bearish depends on the trend. In a bull trend, if the yellow line passes above the blue line, it means the top whiskers are longer on average than the bottom whiskers, which may show that bulls were too weak to hold a rally, and signal a reversal. On the other hand, in a bear trend, if the yellow line is above the blue line, it indicates that the bulls were able to push the price up, which would be bullish. If the blue line crosses over the yellow line in an uptrend, it's often a bearish sign, but if it happens in a downtrend, its a bullish sign.
Generally speaking, a cross in the lines is indicative of a potential reversal, and when the lines cross over 1, it means that the whiskers were bigger than the candlestick bodies over your selected length, indicating that a big swing will come.
ZigZag with Retracement LevelsThis is a modification to "ZigZag with Fibonacci Levels" by LonesomeTheBlue.
By default, the script finds the ZigZag, draws Fibonacci lines and labels accordinly. ZigZag period can be set.
The modification to the original script provides the following features:
1) Option for user to customize retracement levels, if they don't want to use Fibonacci levels. This allows for different strategy adoptions.
2) Option to show Fibonacci or custom retracement levels based on the latest pivot (including the current bar)
For example:
Enjoy and happy trading~!!
50% Strat RetracementThe purpose of this script is to show/alert you when there is a 50% Strat Reversal. It works very well to find possible 3 candles.
The arrows, and line can be turned on and off.
You can change the 50% to say 45% so that you will be alerted before it actually hits the 50% retracement.
The script will only alert if the reversal is a 2up red candle, a 2up green candle which will hopefully turn into a 3 candle.
Infiten's Adjusted Bull-Bear Power Oscillator An extension of TradingView's new ADR and bull-bear power indicators, this indicator is helpful for spotting abnormal bullish and bearish activity to get good contrarian entry points.
How to interpret the indicator
When the white columns cross over the red line, it's a bearish indicator since the asset has been overbought.
When the white columns cross under the green line, it's a bullish indicator since the asset has been oversold.
How it's calculated
The adjusted bull-bear power oscillator is calculated by multiplying the bull-bear power indicator by my NDO indicator, to adjust the bull-bear power for volume. The upper green line and lower red line are calculated as the product of a multiplier input and the average daily range indicator.
TrapLightTrap Light is built off the stochastic RSI to provide convenience and make your entries while scalping either long/short more straightforward.
Notes/Disclaimer:
This indicator is not guaranteed to work every time. Use it at your own discretion and perform your own due diligence. None of this is financial advice.
The main idea behind this is that when the stochastic RSI reaches such extremes that it often moves in a favorable direction.
K = momentum or the blue line of the stochastic RSI indicator.
Perks:
Don't have to look away from candlesticks and measure stochastic RSI's K level.
Simple visual indication of what to do.
Don't have to stare at your chart all day waiting for things to get exciting.
How to Use:
(Above the current candlestick on any timeframe)
1. When K is greater than or equal to 99.5, it shows a sell signal. This is to indicate a short entry.
2. When K is less than or equal to 0.5, it shows a buy signal. This is to indicate a long entry.
3. If neither the conditions for a short/long entry are present, it shows a circle that is like a traffic light.
Red Light: When K is between 99.5 and 95, a red circle is shown to indicate that a short entry may be available soon.
Yellow Light: When K is between 95 and 5, a yellow circle is shown to indicate that neither a long nor short entry may be available soon.
Green Light: When K is between 5 and 0.5, a green circle is shown to indicate that a long entry may be available soon.
Alerts:
Set an alert on the ticker you trade to notify you when either the green or red light is present so that you have time to prepare to make an entry either long/short.
The Code:
The PineScript is open-source and annotated to explain different parts of the script for ease of understanding.
@Credit to Kingson1 for this strategy and his feedback on its creation/implementation.
3C QFL Mean reversalWhat is QFL trading strategy?
QFL stands for Quickfingersluc, and sometimes it is referred to as the Base Strategy or Mean Reversals. Its main idea is about identifying the moment of panic selling and buying below the base level and utilizing Safety orders.
What is Base level or Support Level?
Base level or Support Level refers to the lowest price level that was reached before the moment the price started increasing again. At that level, you can notice that buyers of some cryptocurrencies make a strong reaction.
In this strategy we can also reverse the strategy and go short. But i must warn you that that is alot riskier.
QFL is meant to be used on higher TF's like 1hr, 2hr and 4hr. But this strategy also work well on lower Timeframes.
The script also simulates DCA strategy with parameters used in 3commas DCA bots for futures trading.
Experiment with parameters to find your trading setup.
Beware how large your total leveraged position is and how far can market go before you get liquidated!
Do that with the help of futures liquidation calculators you can find online!
Included:
An internal average price and profit calculating, instead of TV`s native one, which is subject to severe slippage.
A graphic interface, so levels are clearly visible and back-test analyzing made easier.
Long & Short direction of the strategy.
Table display a summary of past trades
Vertical colored lines appear when the new maximum deviation from the original price has
been reached
All the trading happens with total account capital, and all order sizes inputs are expressed in percent.
William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]William Blau Ergodic Tick Volume Indicator (TVI) is a volume/volatility indicator that is used for finding reversals in price movement
What is William Blau Ergodic Tick Volume?
This is one of the techniques described by William Blau in his book "Momentum, Direction and Divergence" (1995). If you like to learn more, we advise you to read this book. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.
William Blau's definition of TVI ergodicity is that the indictor is ergodic when periods are set to 32, 5, 1, and the signal is set to 5. Other combinations are not ergodic, according to Blau.
How to use TVI
TVI bar color change is a signal to enter the market. When the TVI changes from yellow to red, it is a signal to buy and if the TVI bar changes from blue to green, it is a signal to sell.
Just like the MACD and TRIX, the zero line on the indicator determines market sentiment and trend. If the TVI bars are above the zero line it's bullish and if the TVI bars are below the zero line the trend is bearish. Zero line crosses can be used to determine continuation and trend entries as well.
Included
Bar coloring
35+ moving averages for both TVI and the signal
Zone Strength [wbburgin]The Zone Strength indicator is a multifaceted indicator combining volatility-based, momentum-based, and support-based metrics to indicate where a trend reversal is likely.
I recommend using it with the RSI at normal settings to confirm entrances and exits.
The indicator first uses a candle’s wick in relation to its body, depending on whether it closes green or red, to determine ranges of volatility.
The maxima of these volatility statistics are registered across a specific period (the “amplitude”) to determine regions of current support.
The “wavelength” of this statistic is taken to smooth out the Zone Strength’s final statistic.
Finally, the ratio of the difference between the support and the resistance levels is taken in relation to the candle to determine how close the candle is to the “Buy Zone” (<-0.5) or the “Sell Zone” (>0.5).
wbburgin
Swing Failure Reversal StrategyThis strategy is using Swing Failure Patterns as a reversion indicator.
The strategy automatically adapts itself to the timeframe of the current chart.
Swing Failure Pattern occurs when the price trend fails to set new highs in uptrend or meet new lows in a downtrend. This pattern helps traders decide when to enter and exit the market. Usually, traders enter in the downtrend i.e. lower price highs and lower price lows, and exit in the uptrend situation i.e. higher price highs and higher price lows. Thus, traders go against the current trend. This helps the traders take advantage of early trend reversal indicators.
Types of Failure Swing :
Failure Swing Top: This occurs when the stock price goes higher whereas the RSI fails to make a higher high and falls below the recent fail point. The Fail Point is where the RSI line is below the recent swing low. This Failure Swing indicates a short position.
Failure Swing Bottom: This occurs when the stock price gets lower whereas RSI fails to make a lower low and rises over the recent fail point. Fail point is the point where the RSI line is above the recent swing high. This Failure Swing indicates a long position.
Neo's %KIn my opinion the %K is the only part of the stochastic that you actually need. It's the fast RSI, so it responds much better to large price movements and reveals divergence a lot sooner than %D. The %D has no real confluence with the rest of my strategy so, I only use %K.
Horns Pattern Identifier [LuxAlgo]The following script detects regular and inverted horn patterns. Detected patterns are displayed alongside their respective confirmation and take profit levels derived from the pattern measure rule. Breakout of the confirmation levels are highlighted with labels.
This script is a continuation of the educational idea regarding horns patterns.
Settings
Threshold: Controls the maximum allowed slope of the line connecting two horns, with higher values allowing a higher slope.
Usage
Horn patterns are chart patterns introduced by Bulkowski in his book "Encyclopedia of Chart Patterns". We covered this pattern in the following post: Horn Tops & Bottoms Patterns - How To Find and Trade Them
The script allows the user to quickly determine the presence of a regular or inverted horn pattern, alongside automatically displaying the confirmation level and take profits associated with a detected pattern. These are calculated based on the rules described by Bulkowski.
Horn patterns are highlighted by a line connecting the horns, the dotted lines represent the confirmation level, once the price crosses this level a label will appear, either bullish or bearish depending on the detected pattern. The dashed line represents the take profit level.
Infiten's Price Percentage Oscillator Channel (PPOC Indicator)What is the script used for?
Infiten's Price Percentage Oscillator (PPOC Indicator) can be used as a contrarian indicator for volatile stocks and futures to indicate reversals, areas of support and resistance. For longer term trading, if the Short SMA or prices go above the High PPO Threshold line, it is a sign that the asset is overbought, whereas prices or the Short SMA going below the Low PPO Threshold line indicates that the asset is oversold.
What lines can be plotted?
Low PPO Thresh - Calculated as -PPO Threshold * Short MA + Long MA : Gives the price below which the PPO hits your lower threshold
High PPO Thresh - Calculated as PPO Threshold * Short MA + Long MA : Gives the price above which the PPO hits your upper threshold
MA PPO : Plots candles with the Low PPO Thresh as the low, High PPO Thresh as the high, Short MA as the open, and Long MA as the close.
Short SMA : plots the short simple moving average
Long SMA : plots the long simple moving average
Customizable Values :
Short MA Length : the number of bars back used to calculate the short moving average for a PPO
Long MA Length : the number of bars back used to calculate the long moving average for a PPO
PPO Threshold : the percent difference from the moving average expressed as a decimal (0.5 = 50%)
Recommendations:
Longer timeframes like 300 days are best with larger PPO Thresholds, I recommend using a PPO Threshold of 0.5 or higher. For shorter timeframes like 14 days I recommend setting smaller PPO Thresholds, like 0.3 or lower. I find that these values typically capture the most extremes in price action.
FaustFaust is a composite indicator that combines 3 volume indicators: TSV, OBV, and PVT.
TSV moving average is plotted as an oscillator. OBV and PVT are calculated internally.
Four divergences are calculated for each indicator (regular bearish, regular bullish, hidden bearish, and hidden bullish) with three look-back periods (high, mid, and small).
For TSV, the fattest plotted line is the divergence with the highest look-back period, and the thinnest line is the divergence with the shortest look-back period.
For PVT, the larger the circle, the higher the divergence look-back period.
For OBV, the larger the triangle, the higher the divergence look-back period.
wnG - Spikes IdentifierThis indicator, based on the ATR, allows you to identify the potential reversal on price and helps you identify the Support and Resistance.
When the price moves far away from the multiple moving average, the background color changes :
- Red for Short potential entry
- Green for Long potential entry
There are 2 ways to use this script :
- Conservative : Use it in your trading system to Take Profit ==> when the background turns red, close LONG position (and green = close short).
- Aggressive : As soon as the background turns red, enter SHORT (and green = long).
For aggressive use, I recommand you to couple this script with an oscillator to confirm the signals (RSI stochastic for example).
You can customize the sensibility with 4 levels :
- low probability of reversal
- medium probability of reversal
- high probability of reversal
- very high probability of reversal
PS : the "High" and "Very High" probability setup are the only one I'm using in my trading systems.
RSI MTF Ob+OsHello Traders,
This indicator use the same concept as my previous indicator "CCI MTF Ob+Os".
It is a simple "Relative Strength Index" ( RSI ) indicator with multi-timeframe (MTF) overbought and oversold level.
It can detect overbought and oversold level up to 5 timeframes, which help traders spot potential reversal point more easily.
There are options to select 1-5 timeframes to detect overbought and oversold.
Aqua Background is "Oversold" , looking for "Long".
Orange Background is "Overbought" , looking for "Short".
Have fun :)
CCI MTF Ob+OsHello Traders,
This is a simple Commodity Channel Index (CCI) indicator with multi-timeframe (MTF) overbought and oversold level.
It can detect overbought and oversold level up to 5 timeframes, which help traders spot potential reversal point more easily.
There are options to select 1-5 timeframes to detect overbought and oversold.
Green Background is "Oversold" , looking for "Long".
Red Background is "Overbought" , looking for "Short".
Have fun :)
Fibonacci Progression with Breaks [LuxAlgo]This indicator highlights points where price significantly deviates from a central level. This deviation distance is determined by a user-set value or using a multiple of a period 200 Atr and is multiplied by successive values of the Fibonacci sequence.
Settings
Method: Distance method, options include "Manual" or "Atr"
Size: Distance in points if the selected method is "Manual" or Atr multiplier if the selected method is "Atr"
Sequence Length: Determines the maximum number of significant deviations allowed.
Usage
The indicator allows highlighting potential reversal points, but it can also determine trends using the central level, with an uptrend detected if the central level is higher than its previous value and vice versa for a downtrend.
When an uptrend is detected, and the price deviates significantly upward from it a first checkmark will be highlighted alongside the Fibonacci sequence used as a multiplier, if the price deviates downward, a cross will be shown instead, then the distance threshold will be multiplied by the next value in the Fibonacci sequence.
If the price deviates from the central level such that the length of the sequence is greater than the user set Sequence Length , a break label will be shown alongside a new central level with a value determined by the current closing price, while the Fibonacci multiplier will be reset to 1.
Upper and lower extremities made from the central level and threshold distance are highlighted and can be used as support and resistances.
K's Reversal Indicator IK's reversal indicator I is a special combination between Bollinger bands and the MACD oscillator. It is a contrarian indicator that depends on the following conditions:
• A buy signal is generated whenever the current market price is below the 100-period lower Bollinger band while simultaneously, the MACD value must be above its signal line. At the same time, the previous MACD value must be below its previous signal line.
• A sell (short) signal is generated whenever the current market price is above the 100-period upper Bollinger band while simultaneously, the MACD value must be below its signal line. At the same time, the previous MACD value must be above its previous signal line.
The way to use K's reversal indicator is to combine it with your already long/short bias in a sideways/range market in order to maximize the probability of success.
Limitations of the indicator include the following:
• There are no clear exit rules that work well on average across the markets. Even though K’s reversal indicator gives contrarian signals, it does not show when to exit the positions.
• As with other indicators, it underperforms on some markets and is not to be used everywhere.
• False signals tend to occur during trending markets but there is no proven way to detect a false signal.
Esqvair's Neural Reversal Probability IndicatorIntroduction
Esqvair's Neural Reversal Probability Indicator is the indicator that shows probability of reversal.
Warning: This script should only be used on 1 minute chart.
How to use
When a signal appears (by default it is a green bar), a reversal should be expected.
The signal appears when the indicator value >= Threshold.
If you want more signals, you must lower the threshold, if less, you must increase the threshold.
For some assets, like Forex pairs, you have to optimize the threshold yourself, but for most stocks, the default threshold works well.
How well a threshold fits an asset depends on the volatility of the asset.
For most assets, the indicator ranges from 35 to 75.
Settings
Smoothing - The default is 1, which means no smoothing. Indicator smoothing by SMA.
Threshold - default 71.0 is responsible for the occurrence of signals, read "How to use" part to learn more
The Indicator
This indicator is a pre-trained neural network that was trained outside of TradingView and then its structure and weights values were converted to PineScript.
Warning: A neural network is a black box in the sense that although it can approximate any function, studying its structure will not give you any idea about the structure of the function being approximated.
Possible questions
Why does the indicator value most time range from 35 to 75 when the probability should ranges from 0 to 100?
-Due to some randomness in the markets, a neural network can never be 100% sure.
What data was used to train the neural network?
-This was BTCUSD 1 minute chart data from 02/05/2020 to 02/05/2022.
Where did you train the neural network and convert it to PineScript?
-I used a programming language that I know.