Squeeze Momentum Strategy based on Indicator [LazyBear][Bitduke]I improved Squeeze Momentum Indicator by LazyBear (momentum filter, changed data source to ohlc4) and transformed it into a strategy, adding a risk management system + ability to customize time frames for backtest.
Shortly about Squeeze Momentum Indicator:
This is a derivative of John Carter's "TTM Squeeze" volatility indicator, as discussed in his book "Mastering the Trade" (chapter 11).
Backtested on XBTUSD, ETHUSD (Bitmex). As you may notice it shows good results on 1h - 4h timeframes on these timeframes among these pairs. Relatively low drawdown ~ 12% (to date).
Indikator Momentum (MOM)
Squeeze X Alerts BFThis is an alerts script for my Squeeze X strategy .
The default settings are the same. The alerts are based on the long and short signals that occur upon a cross of the momentum line to the positive or negative respectively.
Green background is bullish, red is bearish. Bright green lines indicate a long signal, bright red a short signal.
White background means no trade since we are in a period of choppy/sideways price action.
It can be useful to use momentum as a divergence indicator against price as an aside.
Momentum BFThe momentum strategy is simple, if price action is higher than it was for x bars back, and also higher than it was last candle, we have upwards momentum. This momentum will be positive until a candle closes lower than the previous candle and also lower than x bars back - at which point we have downwards momentum.
The concept behind the Momentum Strategy is that when the momentum crosses from negative to positive, we go long and when it crosses from positive to negative we go short. We stay in that position until momentum crosses back the opposite direction.
INSTRUCTIONS:
Go long at the green background on the chart
Go short at the red background on the chart
The yellow lines are where your stop loss should be for longs
The orange lines are where your stop loss should be for shorts
I have included the options in Settings to change the stop loss type between ATR derived and Fixed percentage based. The default stop loss is a fixed 7%.
You can also select if you want only longs, only shorts or both.
The backtest was done with BTCUSD on Coinbase 1D.
Aroon Histogram + CMO [ChuckBanger]This is a combination of Aroon and Chande Momentum Oscillator . I made a histogram of Aroon , aqua line is Chande Momentum and the orange line are a simple moving average of Chande Momentum as a signal line.
One strategy you can use this for is to buy or sell when the signal line crosses the CM line or you can buy and sell when CM line is highest or lowest
You should also study how the indicators work separately:
Aroon Oscillator
www.investopedia.com
Chande Momentum Oscillator
www.investopedia.com
Volume ⨃ αMomentum 🦝🦾First attempt playing around with mixing volume and momentum... I find it to be nonsense, but putting it up for the moment.
Derivative Oscillator Arrows [Salty]Values above zero are considered bullish, and larger arrows print when the cross over occurs in the bullish area.
Values below zero are considered bearish, and larger arrows print when the cross under occurs in the bearish area.
ANN MACD Future Forecast (SPY 1D) NOTE : Deep learning was conducted in a narrow sample set for testing purposes. So this script is Experimental .
This system is based on the following article and is inspired by an external program:
hackernoon.com
None of the artificial neural networks in Tradingview work and are not based on completely correct logic. Unlike others in this system:
IMPORTANT NOTE: If the tangent activation function is used, the input data must also have tangent values (compared to the previous values of 1 bar).
Inputs were prepared according to this judgment.
1. The tangent function which is the activation function is written correctly. (The tangent function in the article: ActivationFunctionTanh (v) => (1 - exp (-2 * v)) / (1 + exp (-2 * v)))
2. Missing bias parts in the formulas were added.
3. The output function is taken from the next day (historical), so that the next bar can be predicted, which is the truth.
4.The forecast value of the next bar is subtracted from the current bar change and the market direction is determined.
5.When the future forecast and the current close are added together, the resulting data is called seed.
The seed carries data both from the present and from yesterday and from the future.
6.And this seed was subjected to the MACD method.
Thus, due to exponential averages, more importance will be given to recent developments and
The acceleration situations will show us the direction.
However, a short position should be taken for crossover and a long position for crossunder .
Because the predicted values work in reverse.Even though we use the same period (9,12,26) it is much faster!
7. There is no future code that can cause Repaint.
However, the color after closing should be checked.
The system is completely correct.
However, a very narrow sample was selected.
100 data: Tangent diffs ; volume change, bollinger bands values changes (Upband , Midband , Lowband) and LazyBear's Squeeze Momentum Indicator (SQZMOM_LB) change and the next bar data (historical) price change were put into the deep learning test.
IMPORTANT NOTE : The larger the sample set and the more effective dependent variables, the higher the hit rate of the deep learning test!
EDIT : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned. Best regards!
Squeeze X BF 🚀Credit to LazyBear and Kiasaki for code used in this indicator.
Squeeze Momentum indicator illustrates when a momentum squeeze is happening by calculating when Bollinger Bands are within a Keltner Channel.
This simple strategy is based on when the momentum is crossing positive or negative.
INSTRUCTIONS
Green = Long
Red = Short
White = No Trade
derivative oscillator cuMinor modification to Everget's implementation of Constance Brown's Derivative Oscillator.
Toggles for DOSC Columns, Line, Circles
Signal line toggle
Color change
Misc. Comments + Source attribution
Momentum 4 Ways Smoothed [Salty]This is an enhance version of Momentum 4 Ways that shows 4 ways to calculate momentum and display each one along with their combined average value.
This study was created to compare 4 different momentum values against their combined average using different display styles to allow the user to experiment with different views of momentum.
- Added the ability to smooth the Average Momentum value. Default Smoothing value is 5.
- Added the ability to use different average calculations. Default is WMA.
- Added the ability to select the number of momentum values to average (1-4). Default is 4.
- Added the ability to use VWAP instead of price as the input.
The Smoothed Average Momentum line is color coded so that it is green when it is moving in the bullish direction and red when it is moving in the bearish direction.
Function : Know Sure Thing ! (KST)Firstly : Know Sure Thing, or KST , is a momentum oscillator developed by Martin Pring to make rate-of-change readings easier for traders to interpret. In a 1992 Stocks and Commodities article, Mr. Pring referred to the indicator as "Summed Rate of Change ( KST )," but the KST term stuck with technical analysts. The indicator is relatively common among technical analysts preferring momentum oscillators to make decisions.
References : Investopedia (www.investopedia.com )
Let's start :
Simply :
KST : Above point 0 means long position (positive zone), below point 0 (negative zone) means short position.
I liked this indicator more than RSI because we can evaluate the breaking points of the channels we draw on the indicator according to the regions.
Plus area (positive area), breaking the channel upwards may indicate a very strong rise, and minus area (negative area) the channel downwards may indicate a very strong fall.
As a person who is very keen to identify major trends in advance, I like the KST indicator to approach the target quickly and simply. I also find it very successful in terms of divergences.
CAUTION : This indicator has been written before many times on TV. I have no effort on it. I saved loads only for variable periods. But I have enough experience to say that you are successful in trends with KST . Nevertheless, do not use it alone, as other promoters may benefit.
For example , I divided the standard periods into 4 as in the script. With a correct adaptive period, it has the potential to contribute greatly to accurate moves! You can use with mutable variable periods. Abundant trend lines can be drawn on the indicator and divergences between price and indicator can be sought. Best regards!
TA-Money Flow-Version5This is the MACD of a stochastic OBV movement indicator, Squeeze Momentum Indicator, and addition coloring for Market Direction Indicator . It is good (right) to work with both price and volume.
In this version we've moved the divergence highlighting to symbols at the ends of the histograms. Same coloring scheme as previous, yellow is divergence of either OBV or SQZ , red is both divergence. In the previous version we added in the "squeeze on - blue" highlighting to show follow through of divergence (or just squeeze/stall). We also added in another old script, but colors so well, Lazybears (Market Direction Indicator, linked below). Also incorporated a 3 color or 5 color scheme from the MDI script as a bool. It works great on any time frame, but you need to have volume data. Not sure where I originally got this (stoch-OBV, somewhere off Tradingview several years ago, thanks to the person who shared), Squeeze/MDI is Lazybear, links below.
Enjoy.
Version 5:
Moved divergence highlighting to symbols on histogram
Added coloring based on MDI
TA-Money-Flow-Version4
TA-Money-Flow-Version3
TA-Money-Flow-Version2
Squeeze-Momentum-Indicator-LazyBear
Market-Direction-Indicator-LazyBear
Momentum 4 Ways [Salty]This script provides the ability to see 4 momentum values at once and a combined average of all 4 values. The user can see how fast momentum values are affecting the slow momentum values when all values are combined. Also, if the combined average value is greater than zero then momentum is considered bullish. Otherwise, values below zero are considered bearish.
MACD MOMENTUM STRATEGYHey,
First of I'm not so familiar with Pine Editor, yet.
But a do need some help with a trick thing I*ve been working on.
As you can see I*ve merge the MACD and the MOMENTUM indicators in the same "chart" this have been working pretty well for me as a trading strategy. But now a chat tho create a real strategy with Pine Editor based on the same data. The thing is that I can't seem tho get the MOMENTUM indicator to and the MACD indicator in the same (different) scale in my strategy as when I merge them.
I suspect this got something to do with my chose of source för the MOMENTUM indicator, but I'm not 100.
I would be grateful for all kinds of feedback and tips for a solutions on this.
Thanks.
Rsi momentum experimentalThis is RSI momentum , I try to make it as experiment so I hope it not bad:)
the up strength is in blue and the down momentum is in red
Waddah Attar Explosion [smillal]This is just a slightly altered version of Lazy Bear's great indicator
with the added feature to draw the explosion line in different colors while it is currently rising or falling.
Ehlers Triple Delay-Line DetrenderThis indicator was originally developed by John F. Ehlers (Stocks & Commodities , V.18:7 (July, 2000): "Optimal Detrending").
Mr. Ehlers applied the ideas of the radar systems for the financial time series detrending.
Mr. Ehlers constructed the Triple Delay-Line Canceller first, then smoothed it with the Modified Optimum Elliptic Filter with minimal lag. The smoothed detrended signal is smoothed again with the Modified Optimum Elliptic Filter to obtain signal line.
As result, the crossings of the two indicator lines catch every major cyclic move and the detrender itself can be used as the first step in more sophisticated analyses.
BP Scalper with resistance barsThis Script is used for scalping on the 15 min. It can do the other time frames but i built it for primarily the 15. There is some logic where i use the previous candles and i'm using intervals of 4 to get 1 hour estimates. This also works with the 1 hour, because the 4 hour is what it will compare with.
It uses Buy volume and sell volume to create the indicators.
If the buy volume starts losing traction on the sell volume the indicator triggers.