BBPCTIndicator tracks percentage distance between current price and its historical deviations, to produce premium and discount zones, suggest mean reversions,cooldowns and pullbacks
Script so far is traditional,simple, and straight forward ,tinkered it real quick on friend request after failing to find properly done and intuitive work on Bollinger Bands % in pine library
It might or might not be re-published as open source or study protected script , really depends on how future updates goes,how much work will be put in and how unique end result will be.
//Input Options in first release
Option to switch between small (6) variety of filters
(This time no non-traditional filters to avoid overwhelming and confusing users ,current list still yields good diversity for changing indicators behavior and pinpointing best suited filtering direction, in future current types will be swapped with more advanced ones and consolidated into three options tailored for different market conditions - trending,ranging, and balanced(?) - jack of all trades master of none.)
Option to toggle basic warnings about possible reversals,option for colored bars(candles) and/or arrow plots
OB/OS levels can be adjusted via inputs
Note: Current default compiling will lack traditional values as i ditched them and set to personal preference, set to 100 0 for traditional look
Sigma can be changed in inputs,length obviously can be changed too
Source can be changed
//Upcoming updates
Polishment- algorithmic change for cores logic
Attempt to build logic to differentiate pullbacks from reversals
More complex reversal recognition and their confirmations
Proper color coding
//Screencaps
Dont use comment section for asking access , got two warnings already from tradingview moderators because people flood the comment section and apparently its offence from my end to not provide directions for access.
If u are willing to test indicator and actually deliver feedback,ideas, params - Dm(direct message) and we add u ,expiration timer will be set in place to clean up in case no feedback is delivered.
P.S its not likely i will add more people to testing after people count reach 40-50 or script becomes older than week
Meanreversion
GMS: Candlestick Patterns with RSI FilterI wanted to apply an RSI filter to some of the new Candlestick Patterns (in the indicators tab) since some of them looked to be quite effective for picking reversals. Turns out it's a pretty good pairing.
You can modify the RSI length in addition to the upper and lower thresholds. I also added in check boxes to combine different bullish and bearish patterns.
The candlestick patterns included are:
1. Long Upper Shadow
2. Long Lower Shadow
3. Doji
4. Bullish Harami
5. Bearish Harami
6. Bullish Engulfing
7. Bearish Engulfing
Hope it helps!
Andre
Hammer & Shooting Star IndicatorA hammer candle is defined here as 1) the lower shadow (wick) is at least twice the length of the main body and 2) the close is in the top half of the range.
A shooting star has the opposite conditions 1) the upper shadow is at least twice the size of the main body and 2) the close is in the lower half of the range.
These candles should not be used by themselves but used in context ie with Bollinger bands, RSI or other oscillators they can form part of a mean reversion system.
Wick SniperThis indicator is free to all Oasis Trading Group members.
The Wick Sniper was created to catch volatile moves that are extended from the mean. It uses an advanced ATR formula to follow price like a band, with an upper deviation and a lower deviation. I have also added a 1 candle offset so that the moves are not in "hindsight". Feel free to experiment with the inputs to find what is best for your asset.
For Access or Questions: Private message us. Thank you.
Bars above/below EMACount of previous bars above or below a chosen Exponential Moving Average. Typically price reconnects with well defined EMAs regularly. If the price has been above/below an EMA for too long, you can expect a reconnect in a short order and bet on mean reversion strategies.
Channel ATR1 - What is the Channel ATR indicator
This is an envelope indicator (like the Bollinger bands indicator) used to evaluate how much the price diverge from it's moving average.
This indicator can be used as a system on it's own. I recommend to use it when the market goes side way, although, you can also use it when the market is trending.
What makes this indicator so relevant and reliable ? The use of the ATR to build the envelope. Read below if you wan to know more.
2 - How is the Channel ATR computed
The main component is an EMA. The envelope is made of 3 layers, each is the Average True Range, plot at a multiple distance from the EMA (1*EMA, 2*EMA, 3*EMA) . If you don't know what is the ATR, it's basically a measure of the volatility (you can read more about it here ).
Each layer of the envelope is a multiple of the measure of the volatility. Let's see how to use it.
3 - How to use the Channel ATR indicator
You can use this indicator in different strategies :
- Return to the mean: When the price goes out of the envelope, it's an excess of the market. You can take advantage of this by betting to a return to the EMA value.
- Trend following : If the market is tending, you can buy/sell when the price touch the EMA and place a target at another level in the envelope.
- Stop loss: Since each envelope layer is built from the ATR (i.e. the volatility), you can use it to place your stop at least at 1 ATR from your entry, to not be hit by the market noise.
- Find your own way : The Channel ATR is a very rich and powerful indicator, you can try to built your own trading system on the top of it.
EMA Mean Reversionthis is a mean reversion strategy using ema std deviations
use flat scaling 5 orders buy and sell - just close it back when it hits the VWMA
strategy operates to make dozens of small profitable trades in exchange for a larger loss on rare trending moves.
It works by projecting five 0.5% std deviations from the ema as volatility bands to help you scale into shorts and longs. generally flat scaling will work better than ascending. there is no SL logic for the strategy - positions should be closed when prices crosses back through the VWMA . To be used on lower timeframes only as the bands to do not expand or contract according to ATR
GMS: Mean Reversion StrategyThis is based on my GMS: Mean Reversion Indicator ()
Features:
- % Based Profit Target and Stop Loss
- SMA Trend Filter
- Can choose trade exit based off a moving average or linear regression curve
- Filter for long only trades, short only trades, or both at the same time.
Source code is open, so feel free to take a look!
I hope it helps,
Andre
Data MeanCalculating the Mean, given a set of data.
I'd assume BTCUSD needs to touch this on the daily, as it hasn't yet.
"reverting to the mean" is essential in market dynamics.
GMS: Mean Reversion IndicatorThis is just the close represented as a standard deviation away from an "x" period linear regression. You can select the price source as well.
PivotBoss Vwap BandsThis script has the Vwap and three standard deviation to it. Used for mean reversion
MXKE | Swing Trader AssistIntroduction
Swing Trader Assist indicator is designed to assist in the systematic identification of Hammers & Lookback signals within Uptrending markets, Stars & Lookback signals within Downtrending markets, and Mean Reversion signals within Sideways markets. The trader must first identify a strong market trend, then apply the indicator. Application of the indicator to weak trends will render equally weak signals. Application of the indicator to strong trends will render equally strong signals. Identification of strong trends is the responsibility of the individual trader and is instrumental to the successful deployment of this indicator and accompanying trading plan.
*Please comment below to request access*
*Please share with me on Twitter your usage and/or ideas for improvement so that I may improve this indicator in the future*
Market Types
Uptrend: Higher highs + Higher lows
Downtrend: Lower highs + Lower lows
Sideways: Higher highs + Lower lows (Expanding Range) or Lower highs + Higher lows (Narrowing Range)
Position Sizing
1R = .25%-2% of total nominal capital dependent upon timeframe and risk appetite
Order Types
Entry: Buy Stop 1 tick above High of “Up” Signal Bars; Sell Stop 1 tick below Low of “Down” Signal Bars
Stop: Bar Close <= 1 tick below Low of “Up” Signal Bar; Bar Close >= 1 tick above High of “Down” Signal Bar
Profit Target: 1.5R distance from “Up” or “Down” fill level with the option to trail stop on each new swing high/low; Bollinger Band Midline minimum 1.5R distance from “Sideways” fill level with option to trail stop on continuation to the opposite end of the range (opposite Bollinger Band)
Trading Plan
❑ Market Type is clearly identifiable as Up, Down or Sideways
❑ Swing Trader Assist indicator is set to the corresponding Market Type: Up, Down or Sideways
❑ Position size is no more than .25%-2% of total nominal capital (based on distance from Signal Bar fill level to Signal Bar stop level as 1R)
❑ Distance from Signal Bar fill level to potential Profit Target is minimum 1.5R
❑ On Hammer or Star fill: close position into trend extension at 1.5R+ or adjust trailing stop on each new swing high/low
❑ On Mean Reversion fill: close position at midline or adjust trailing stop on each continuation to opposite end of range
Usage Notes
The indicator will display developing signals intrabar and it is therefore suggested to wait until bar close to act on any signals. “Autodetect” setting under “Market Type” is currently in beta mode. While it is designed to reveal only relevant signals within strong trends based on a series of EMAs, this setting has not been extensively tested. Use with caution.
The indicator is not meant to be a mechanical trading system. It is designed to assist the trader in objectively and systematically identifying signal bars during the execution of the below swing trading plan. It is up to the trader to determine if overall price action warrants acting upon the signal bars or not.
Case Studies
MA strategyTrading strategy on moving averages. Based on Mean reversion. These algorithmic strategies are based on a concept that assumes a regular return of the price to a certain average level, provided that a sufficiently long time distance is considered. The main objective of such strategies is to determine the expected level of price return. Interconnected with Envelopes.
Trap Out The Bandos by ZFelds3 Deviation Bollinger Bands w/ Lookback Periods based on the Fibonacci sequence.
Median plot based on standard 2 deviation Bollinger Bands.
Trend Following or Mean RevertingThe strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.
ATR-ranged Donch on 15min// This is a simple Mean Reversion & Breakout Indicator.
// A Donchian Channel is plotted. A threshold equal to 0.25 of Daily ATR.
// If price reverses from this threshold, then it can be taken as possible Mean Reversion.
// If price crosses the previous Donchian levels, it can be taken as a possible breakout.
// Typical of such strategy is the whipsaw effect when price movement is just flat.
// I have marked the region where the lower and higher thresholds are closer to be an indicative of whipsaw.
// But it is not really effective to avoid whipsaw.
Mean Reversion Strategy by KrisWatersThis is a type of mean reversion strategy. It only generates long signals when the price is far away from the mean. It tries buy from the dip. Use it with BTC/USDT pair on 4 hour timeframe.
Colour Coded Bollinger BandsBollinger Bands coloured to more clearly show periods of contraction and expansion. Green filled bands indicate expansion/increasing bandwidth, and red fill indicates contraction/decreasing bandwidth.
Mean Street V1script for mean reversion conditions - tweak-able based on the volatility of the asset its used on, and the time frame
Global Market Signals: Is the Trend Your Friend? AlgorithmWelcome!
This is a fully customizable strategy to help generate great trade signals as well as provide basic analysis on any market of your choice. All the trades occur at the open of a candle.
Settings:
1. Long or Short
2. Look back length
3. New Highs or New Lows?
4. Trade Duration
5. Trend SMA Length
6. Above or Below Trend SMA
Example:
Using a Daily SPY chart.
The Default Settings are:
1. Long
2. 10
3. New Lows
4. 5
5. 200
6. Above
What this means is that you will be going long when there is a new 10 day lowest close, you'll hold the trade for 5 days, and the trades only occur above the 200 day simple moving average.
**When you test your settings, make sure that in the Properties tab, you have the "Order Size" set at 100 and in the drop down menu to the right, make sure "% of equity" is selected.**
Bollinger Band Strategy (Basic) Version 1 This strategy is for learning purposes only. Pay special attention to these strategies on longer aggregation periods (like 1 hr chart or more). Don't expect accurate results when you set a limit to 10 cents above your entry to be accurate. For example if you set the chart to 1 day, the price may move down and hit a stop 10 times then tag your limit. If this doesn't make sense, just don't use strategies here. Learn more first. That being said, I don't have specific recommendations for each aggregation period, backtesting isn't always perfect.
Now then, this strategy can be used as the traditional BB method by setting the "Stop" and "Limit Out" to like 10000, check "Reversal Entry" and uncheck "Limit Time of Day" This will keep the strategy running just reverse your position when price crosses outside each band.
INPUTS:
Length - length of WMA that I used for mean of Bollinger Band (this may suppose to be SMA, too bad)
Source - O-H-L-C basis for WMA
Deviation - normal Standard deviation that would be set when using Bollinger Band
Trailing stop check box - your stop value will be either a hard stop or trailing stop for an exit
Stop - the stop value - remember you can set this really high and it won't stop out
Limit Out - the limit value for exit
Reversal Entry check box - This changes each entry from a reversal (traditional idea of BB) to enter a trend trade - hopefully version 2 will have choice to trend one direction and reversal in the other.
Limit Time of Day - Especially when trading futures, you may want to only trade a specific time of day, when this box is checked, you can set the entry times below, exit will still only occur based on limit/stop or a flip entry order (the opposite entry condition is met)
Tips:
when I don't know a thing about a price range, like gold. I can set the limit out to 10000 and play with a trailing stop to get a better idea of what is even possible before tuning further.