Squeeze Momentum Strategy [LazyBear] Buy Sell TP SL Alerts-Modified version of Squeeze Momentum Indicator by @LazyBear.
-Converted to version 5,
-Taken inspiration from @KivancOzbilgic for its buy sell calculations,
-Used @Bunghole strategy template with Take Profit, Stop Loss and Enable/Disable Toggles
-Added Custom Date Backtesting Module
------------------------------------------------------------------------------------------------------------------------
All credit goes to above
Problem with original version:
The original Squeeze Momentum Strategy did not have buy sell signals and there was alot of confusion as to when to enter and exit.
There was no proper strategy that would allow backtesting on which further analysis could be carried out.
There are 3 aspects this strategy:
1 ) Strategy Logic (easily toggleable from the dropdown menu from strategy settings)
- LazyBear (I have made this simple by using Kivanc technique of Momentums Moving Average Crossover, BUY when MA cross above signal line, SELL when crossdown signal line)
- Zero Crossover Line (BUY signal when crossover zero line, and SELL crossdown zero line)
2) Long Short TP and SL
- In strategies there is usually only 1 SL and 1 TP, and it is assumed that if a 2% SL giving a good profit %, then it would be best for both long and short. However this is not the case for many. Many markets/pairs, go down with much more speed then they go up with. Hence once we have a profitable backtesting setting, then we should start optimizing Long and Short SL's seperately. Once that is done, we should start optimizing for Long and Short TP's separately, starting with Longs first in both cases.
3) Enable and Disable Toggles of Long and Short Trades
- Many markets dont allow short trades, or are not suitable for short trades. In this case it would be much more feasible to disable "Short" Trading and see results of Long Only as a built in graphic view of backtestor provides a more easy to understand data feed as compared to the performance summary in which you have to review long and short profitability separately.
4) Custom Data Backtesting
- One of most crucial aspects while optimizing for backtesting is to check a strategies performance on uptrends, downtrend and sideways markets seperately as to understand the weak points of strategy.
- Once you enable custom date backtesting, you will see lines on the chart which can be dragged left right based on where you want to start and end the backtesting from and to.
Note:
- Not a financial advise
- Open to feedback, questions, improvements, errors etc.
- More info on how the squeeze momentum works visit LazyBear indicator link:
Happy Trading!
Cheers
M Tahreem Alam @mtahreemalam
Buysellsignal
EMA Slope/Angle OscillatorEMA Slope/Angle Oscillator, Multiple Moving Average Oscillator, Multiple type
Moving Averages HMA,EMA,WMA,SMA, VWMA,VWAP provided.
The angle is calculated between the Slow MA and Fast MA and the difference between the angle is plotted as Histogram.
Additionally Buy Sell Signals are plotted as green and red Dots.
its very easy to judge the movement of price Bearish/Bullish.
Bearish if price below 0 line
Bullish if price above 0 line
Zero crossing is Moving Average Crossover.
Trend Filter is provided to filter opposite signals.
Angle Threshold is provided to filter low angle false signals.
Dead zone is plotted around Zero Line. Trades can be taken after Threshold angle or Dead zone is crossed
Its interesting to see how different Moving Averages move along with price Action.
Current Trend [KPM] - Buy / SellYou can filter the trend with this indicator. Green Lines indicate a short-term up trend and Red lines indicate a short-term downtrend. and black lines indicate short-term consultation.
I'm not regarding anything with this indicator. All risk is yours
Thank you
Sherry on cryptoIf the price is above the 200 EMA, you are allowed to open only long positions and avoid shorts.
If the price is below the 200 EMA, you are allowed to open only short position and avoid longs. Don't use this indicator alone, use RSI, Stochastic RSI etc. Do not use this indicator like a bot, do TA and FA as well. This is just an indicator, do not always rely on it. It requires experience. This indicator has different winrate in different timeframes. Set its value accordingly.
TUE ADX/MACD Confluence V1.0The ADX and MACD confluence can be a powerful predictor in stock movements. This script will help you find those confluences in an easy to understand visual manner.
It includes Buy and Sell signals for detected confluences, and will show colored candles to help you determine when to exit a trade. When the candles turn to white that means the detected confluence is no longer in play and you may want to consider a trailing stop loss.
The Buy and Sell signals will display on the first occurrence of each confluence.
It's important to understand that both of these are lagging indicators, but with a careful attention to your stoploss you can easily generate a positive profit factor.
This code is provided open source and you're free to use it for any purpose other than resale.
TUE ADX Crossover Signals V1.0This simple indicator gives you a way to visualize ADX crossovers on your chart and is a good companion if you like to trade with the ADX.
Green candles have a DI+ over DI- crossover, and vice versa for the red candles.
It gives you the ability to turn on and off BUY and SELL signals generated from the ADX crossovers.
Code is provided open source, feel free to use it for any purpose other than resale.
Trend & Momentum V2Declutter your charts. Simple indicator combining trend and momentum using Moving Average (currently default to 9-day EMA) and RSI (default length of 8). A long signal is generated when the price closes above the moving average and the moving average color turns red to green which indicated that the momentum measured using RSI is greater than 50. A short signal is generated when the price closes below the moving average and the moving average color turns green to red indicating RSI is below 50. Confirmation is done if there is no reversal on the next candle. For best results use multiple timeframe charts to trade on the right side of trend and momentum.
Trend MasterThis is a trend aggregator for confirmation and trend signals. It basically aggregates many buy/sell signals and confirmation and by combining them provides a strong buy/sell signal or trend confirmation.
The actual layout idea and trend confirmation is derived from Trend Meter and this indicator uses few other indicator, such as Chandelier Exit, WaveTrend, QQE Signals, Parabolic SAR and AlphaTrend. This indicator aggregates signal from different methods to find out more powerful and confirmed Trend and combines them into one Signal. It also uses Technical Ratings from TradingView team to filter out false signal, it tremendously opts out false signals and improve profitability.
The first seven dots are these
All 3 Trend Meters Now Align
MACD Crossover - Fast - 8, 21, 5
RSI 13: > or < 50
RSI 5: > or < 50
MA Crossover
MA Crossover
Chaikin Money Flow
Alphatrend
Technical Ratings
Then trend
Chandelier Exit
WaveTrend
QQE Signals
Parabolic Sar
All 3 Trend Meters aligns and A signal from trend i
Instructions
Change buy/sell policy based on market trend
Works on all TimeFrame but gives more accuracy on 4H, 1D.
Buy when green big dot appears at the bottom.
Sell when red big dot appears at the bottom.
Red/green dot at the top line appears when three trend meter is aligned and this is a good confirmation.
Any red/green dot below horizontal bars are trend signals.
Big red/green got at the bottom appears whenever there's a good confirmation from trend meter and a buy/sell signal comes from any trend signals.
Also look on the technical ratings bar, green means buy, red means sell and yellow means neutral.
Look for Support or Resistance Levels for price to be attracted to.
Find confluence with other indicators.
The more Trend meters are lit up the better.
Alert
01 Buy Signal = Strong Buy Signal
02 Sell Signal = Strong Sell Signal
03 Buy Signal = Strong Buy Signal
04 Sell Signal = Strong Sell Signal
Thanks to TradingView Technical Ratings authors, evergot, Lij_MC, KivancOzbilgic for their work. This indicator was heavily inspired from their work.
Buy/Sell Aggregated Delta Pressure - InFinitoModified & Updated script from MARKET VOLUME by Ricardo M Arjona @XeL_Arjona that Includes Aggregated Volume , Delta Buy/Sell Pressure
Aggregation code originally from Crypt0rus
***The indicator can be used for any coin/symbol to aggregate volume , but it has to be set up manually***
***The indicator can be used with specific symbol data only by disabling the aggregation option, which allows for it to be used on any symbol***
- Calculated based on Aggregated Volume instead of by symbol volume . Using aggregated data makes it more accurate and allows to compare volume flow between different kinds of markets (Spot, Futures , Perpetuals, Futures+Perpetuals and All Volume ).
- As well, in order to make the data as accurate as possible, the data from each exchange aggregated is normalized to report always in terms of 1 BTC . In case this indicator is used for another symbol, the calculations can be adjusted manually to make it always report data in terms of 1 contract/coin.
- Buy/Sell Pressure: Smoothens the buy and sell volume into a signal for each. Which makes it easier to identify Buy and Sell Volume Flow.
- Buy/Sell Delta Pressure: Calculates the difference between Buy & Sell Pressure and plots a Delta signal that shows who is in control currently.
- Buy/Sell + Delta Pressure: Displays both Buy & Sell Pressure and Delta pressure. This can help to visualize who is in control but also how much pressure there is on each side.
- A Moving Average can be plotted to the Delta pressure. This, with confluence, can give great entries/exits
Things to look for:
- Divergences: If price keeps moving in one direction but the pressure to that side decreases it can be inferred that the move might slow down soon or revert. As well if pressure to one side increases but price does not react to it, it signals that the other side is stronger.
- MA/Zero Crossovers: Delta Pressure Crossover of its moving average or the 0 Line can indicate direction changes prematurely
Momentum 2.0 [AstrideUnicorn]Momentum 2.0 is a normalized Momentum oscillator with a moving base-level. The oscillator value is normalized by its standard deviation, similar to the z-score technique. Instead of the zero level, the indicator uses the base-level calculated as the inverted long-term average value of the oscillator. Similar to the zero-level crossing signal used for the Momentum oscillator, our oscillator calculates the base level crossing signal.
The moving base-level helps to reduce the number of false signals. In an uptrend the base-level is below zero, in a downtrend it is above it. This allows us to take into account the trend stability effect. In this case, to form a reversal signal, the oscillator must cross a lower value in an uptrend and a higher value in a downtrend.
HOW TO USE
When the oscillator crosses above the base-level, it gives a bullish signal, when below it gives a bearish signal. The signals are displayed as green and red labels, respectively.
The color of the histogram shows the current direction of the price momentum. Green indicates an upward move and red indicates a downward move. The blue line represents the base-level.
SETTINGS
Oscillator Period - determines the period of the Momentum oscillator
Base Level Period - determines the period used for long-term averaging when calculating the base-level and normalizing the oscillator
Double EMA WIth Pullback Buy Sell Signal - Smarter AlgoBuilt with love "Double EMA With Pullback Buy Sell Signal "
This indiator will help you to find a Double EMA Pullback Signal
You can combine with your own strategy, or use this purely
DISCLAIMER :
Measure the risk first before use it in real market
Backtest The Strategy was very important, so you know the probability
Fundamentally Logical :
Pullback (Some Previous candle is Red for Bull Pullback vice versa)
the Entry candle must be a Candlestick Pattern
Features :
1. Double EMA
2. Pullback Signal
How to use it :
1. Adjust the Pullback Backstep
2. Adjust the EMA Period
3. Adjust the Style to your preferences
Regards,
Hanabil
Long Term Buy/Sell Signal by BonyThis script attempts to use Exponential Moving averages (short-term and long-term convergence) of different lengths in order to identify trade entries and exits for bullish & bearish trades. I would strongly recommend using this as a guide to enter or exit long-term swing trades on growth names such as Apple, Tesla, Microsoft to keep your emotions out of the trading. You use this script by entering a trade when it signals a green BUY signal with a UP arrow and exiting when it signals red. The general idea is that one is fast and one is slow-moving EMA and these indicate when to buy/sell when they crossover the overbought/sold lines.
Disclaimer:
This script is for educational purposes only. The market is always moving up or down, so always trade with caution and use your best judgment for every trade.
GREEN MILE & RED SKY by OnurThis indicator is the upgrated version of "GREEN MILE by Onur". Indicator shows fibonacci buying + selling levels due to the past 3500 (adjustable and 1500 by default) candles. Prices in the dark green area is a strong buying signal. Prices in the dark red areas is strong selling signal
Decreasing period value makes indicator effective from long term to short term.
Works harmoniously with MACD & RSI indicators.
Williams Fractals StrategyThis indicator made with using Williams Fractals, 20 50 100 Moving Averages and Relative Strength Index. You can easily find entry points by using Long (L), Short (S) signals.
Note : Settings are optimized for BTC:USDT Perpetual 15min TF. For use different pairs or TFs you may need to change settings.
Moving Avarage Percentage difference bands It creates a buy and sell signal according to the up and down percentage differences of fast and slow moving averages. Green band breaks are buy and red band breaks are sell signals difference there is a threshold value for optimization, high values generate more signals, but the risk of these signals increases..
hızlı ve yavaş hareketli ortalamaların yüzdesel farklarının aşağıya ve yukarıya kırılımlarına göre alım ve satım sinyali oluşturur yeşil bant kırılımları al kırmızı bant kırılımları sat sinyalidir optimizasyon için eşik değeri eklenmiştir yüksek değerler daha fazla sinyal almanıza sebep olur ama riskli sinyal sayısı artar düşük değerler daha az sinyal almanızı sağlar ama riskli sinyal sayısıda azalır.
Multi-Indicator Rating PanelThis is a panel for multiple indicators recommendations as often and popularly used with that chart. This idea is derived from the great minds that developed such amazing indicators for our technical analysis of our charts.
The ratings would be self-explanatory in terms of buying/ selling/ weak buy/ weak sell and as for oscillators in terms of trending or consolidation.
These indicator recommendations are just for indicatiive purposes only. you can manipulate the outputs by changing the script or through input panel.
In Future, I'll try to add more and more indicators to suffice everyone's need.
TV Community AlgoTV Community Algo is a free TradingView script that I designed from the ground to benefit the traders of this community. It has plenty of features that you will enjoy, and I have included documentation for how to use this below!
Settings:
Basic:
Turn the Void Lines on or off
Turn the Dashboard on or off
Turn the Signal Bars on or off
Turn the Support & Resistance Lines on or off
Turn the EMA 8 and EMA 200 on or off
Turn the Buy & Sell Signals on or off
Turn the Fibonacci Retracement Tool on or off
Style:
Change the Dashboard's distance from the price action
Change the Dashboard's Color and Transparency
Change the Dashboard Text Color
Change the Fibonacci Deviation
Make the Fibonacci Retracement Tool reverse
Make the Fibonacci Lines extend left, right, both directions, or none
Turn Fibonacci Prices on or off
Turn Fibonacci Levels on or off and change between percent or value
Change Fibonacci Label Position from the left or the right
Usage:
This algo has many uses including but not limited to:
Finding entries and exits using the EMA 8 and EMA 200 crossovers
Using the Void Lines to identify bounces or reversals
Using the Signal Bars to identify trend and confirmation for entries and exits
Using the Dashboard information for confirmation and informational purposes
In the images below, I give a few examples of the many uses of the TV Community Algo!
VOID LINES
The Void Lines are very helpful when it comes to identifying reversals.
TV COMMUNITY ALGO DASHBOARD
The Dashboard is filled with useful information that all traders can benefit from!
SIGNAL BARS
The colored candles known as Signal Bars inform you of when the price action is above or below the midpoint of the Void Lines.
AUTO SUPPORT & RESISTANCE LINES
These lines help traders find accurate levels of support & resistance on all time frames, and the lines change color depending on if the price is above or below them.
EMA 8 AND 200
The EMA 8 and EMA 200 crossovers can be used as entry and exit signals.
BUY & SELL SIGNALS
The BUY & SELL signals can be used to find optimal entries and exits for trades on any time frame. Smaller time frames are best for scalping, while larger time frames are more suited for longer trades. When combined with the EMA lines and Dashboard information, these signals can produce incredibly profitable trades.
AUTO FIBONACCI RETRACEMENT TOOL
The Auto Fibonacci Retracement Tool allows you to plot perfect Fib Lines every time.
Conclusion:
I truly hope that the TV Community Algo benefits the TradingView community and that you all find some value in it. I worked very hard on this product and I would love to see it put to good use.
with love,
-Lemon 🍋
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) creativecommons.org
Robust Channel [tbiktag]Introducing the Robust Channel indicator.
This indicator is based on a remarkable property of robust statistics , namely, the resistance to the presence of data points that deviate significantly from the established trend (generally speaking, outliers ). Being outlier-resistant, the Robust Channel indicator “remembers” a pre-existing trend and thus exhibits a very peculiar "lag" in case of a sharp price change. This allows high-confidence identification of such price actions as a trend reversal, range break, pullback, etc.
In the case of trending and range-bound market conditions, the price remains within the channel most of the time, fluctuating around the central line.
Technical details
The central line is calculated using the repeated median slope algorithm. For each data point in a lookback window of a user-specified Length , this method calculates the median slope of the lines that connect that point to all other points inside the window. The overall median of these median slopes is then calculated and used as an estimate of the trend slope. The algorithm is very efficient as it uses an on-the-fly procedure to update the array containing the slopes (new data pushed - old data removed).
The outer line is then calculated as the central line plus the Length -period standard deviation of the price data multiplied by a user-defined Channel Width Factor . The inner line is defined analogously below the central line.
Usage
As a stand-alone indicator, the Robust Channel can be applied similarly to the Bollinger Bands and the Keltner Channel:
A close above the outer line can be interpreted as a bullish signal and a close below the inner line as a bearish signal.
Likewise, a return to the channel from below after a break may serve as a bullish signal, while a return from above may indicate bearish sentiment.
Robust Channel can be also used to confirm chart patterns such as double tops and double bottoms.
If you like this indicator, feel free to leave your feedback in the comments below!
Delta-RSI Strategy (with filters)Delta-RSI Strategy (with filters):
This is a version of the Delta-RSI Oscillator strategy with several criteria available to filter entry and exit signals. This script is also suitable for backtesting over a user-defined period and offers several risk management options (take profit and stop loss).
Since the publication of the Delta-RSI Oscillator script, I have been asked many times to make it compatible with the Strategy Tester and add filtering criteria to minimize "false" signals. This version covers many of these requests. Feel free to insert your favorite D-RSI parameters and play around!
ABOUT DELTA-RSI
Delta-RSI represents a smoothed time derivative of the RSI designed as a momentum indicator (see links below):
INPUT DESCTIPTION
MODEL PARAMETERS
Polynomial Order : The order of local polynomial used to interpolate the relative strength index (RSI).
Length : The length of the lookback frame where local regression is applied.
RSI Length : The timeframe of RSI used as input.
Signal Length : The signal line is a EMA of the D-RSI time series. This input parameter defines the EMA length.
ALLOWED ENTRIES
The strategy can include long entries, short entries or both.
ENTRY AND EXIT CONDITIONS
Zero-crossing : bullish trade signal triggered when D-RSI crosses zero from negative to positive values (bearish otherwise)
Signal Line Crossing : bullish trade signal triggered when D-RSI crosses from below to above the signal line (bearish otherwise)
Direction Change : bullish trade signal triggered when D-RSI was negative and starts ascending (bearish otherwise)
APPLY FILTERS TO
The filters (described below) can be applied to long entry, short entry and exit signals.
RELATIVE VOLUME FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the current volume is greater than N times the average over the last M bars.
VOLATILITY FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the N-period average true range, ATR, is greater than the M-period ATR. If N < M, this condition implies increasing volatility.
OVERBOUGHT/OVERSOLD FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the value of 14-period RSI is in the range between N and M.
STOP LOSS/TAKE PROFIT
Fixed and trailing stop loss as well as take profit options are available.
FIXED BACKTESTING START/END DATES
If the checkboxes are not checked, the strategy will backtest all available price bars.
Moving Regression Band Breakout strategyFollowing the introduction of the Moving Regression Prediction Bands indicator (see link below), I'd like to propose how to utilize it in a simple band breakout strategy :
Go long after the candle closes above the upper band . The lower band (alternatively, the lower band minus the 14-period ATR or the central line ) will serve as a support line .
Exit as soon as the candle closes below the support line .
To manage the risk of false breakouts, a fixed stop loss is set to the value of the support line at the time of opening a position. When the support line moves above the position opening price, shift the stop loss to breakeven.
The same logic but in reverse applies to short positions.
As an option, it is possible to allow long entries only when the slope of the Moving Regression curve is positive (and short entries when the slope is negative).
Model parameters:
Length and Polynomial Order define the lag and smoothness of the model.
Multiplier specifies the width of the channel.
As the default model parameter values, I set those that I found to provide optimal risk / reward ratio on the daily timeframe (for both trending and range-bound market). However, the settings are very flexible and can be well-adjusted to particular market conditions. Feel free to play around and leave feedback in the comments!
Here's the original Moving Regression Prediction Bands script:
Chaikin Money Flow with Volume PercentsShowing the CMF, with green / red fill for positive / negative values, overlaid with Volume Percentage, displaying buying as green and positive, selling as red and negative.
Moving RegressionMoving Regression is a generalization of moving average and polynomial regression.
The procedure approximates a specified number of prior data points with a polynomial function of a user-defined degree. Then, polynomial interpolation of the last data point is used to construct a Moving Regression time series.
Application:
Moving Regression allows one to smooth noise on the analyzed chart, assess momentum, confirm trends, and establish areas of support and resistance.
In addition, it can be used as a simple stand-alone forecasting method to identify trend direction and trend reversal points. When the local polynomial is predicted to move up in the next time step, the color of the Moving Regression curve will be green. Otherwise, the color of the curve is red. This function is (de)activated using the Predict Trend Direction flag.
Selecting the model parameters:
The effects of the moving window Length and the Local Polynomial Degree are confounded. This allows for finding the optimal trade-off between noise (variance) and lag (bias). Higher Length and lower Polynomial Degree (such as 1, i.e. linear), will result in "smoother" time series but at the cost of greater lag. Increasing the Polynomial Degree to, for example, 2 (squared) while maintaining the Length will diminish the lag and thus compromise the noise-lag tradeoff.
Relation to other methods:
When the degree of the local polynomial is set to 0 (i.e., fitting data to a constant level), the Moving Regression time series exactly matches the Simple Moving Average of the same length.
Price Action Movements by RPThis is the Indicator which will enhance finding Buying and Selling opportunity on any market.
Mostly suited for day Trading and some indicator can be used for signalling stock on longer time frame.
Indicators used to create this strategy is as follows:
- Exponential Moving Average (EMA)
- Supertrend
- Volume Weighted Average Price (VWAP)
- Exponential Moving Average of Volume Weighted Average Price (MVWAP)
- Previous Day Volume Weighted Average Price (PVWAP)
- Previous Day High, Low and Close (PDH, PDL, PDC)
- And Current Day Support and Resistance points based on Previous day Price Movement.
This will indicate where to buy and Sell with Indicator based on Following criteria,
Buy Signal given,
- When Close is above Exponential Moving Average 9
- When Close is above Exponential Moving Average 21
- RSI above 55
- Supertrend is positive
- Volume is above 300 moving Average
- Close is above Volume Weighted Average Price
Sell Signal given,
- When Close is below Exponential Moving Average 9
- When Close is below Exponential Moving Average 21
- RSI below 45
- Supertrend is negative
- Volume is above 300 moving Average
- Close is below Volume Weighted Average Price
Trades can use this Study according to their need of the Indicator.
Users can Tick the indicator which they want to add on Charts to study.
Only Exponential Moving Average indicator can be used.
Only Supertrend can be used.
Volume Weighted Average Price, Previous Day Volume Weighted Average Price, Exponential Moving Average of Volume Weighted Average Price and Previous Day High, Low and Close can be used as a particular study.
Support and Resistance can be used along with Previous Day High and Previous Day Low as a particular study.
This is multipurpose Study which will help Trading Society immensely.
Thank You.