Point and Figure (PnF) MomentumThis is live and non-repainting Point and Figure Chart Momentum tool. The script has it’s own P&F engine and not using integrated function of Trading View.
Point and Figure method is over 150 years old. It consist of columns that represent filtered price movements. Time is not a factor on P&F chart but as you can see with this script P&F chart created on time chart.
P&F chart provide several advantages, some of them are filtering insignificant price movements and noise, focusing on important price movements and making support/resistance levels much easier to identify.
Momentum indicator measures the rate of change or speed of price movement. It compares the current price with the previous price from a number of periods ago. By analysing the rate of change , possible to gauge the strength or “momentum”. By using this script we get Point and Figure chart momentum.
If you are new to Point & Figure Chart then you better get some information about it before using this tool. There are very good web sites and books. Please PM me if you need help about resources.
Options in the Script
Box size is one of the most important part of Point and Figure Charting. Chart price movement sensitivity is determined by the Point and Figure scale. Large box sizes see little movement across a specific price region, small box sizes see greater price movement on P&F chart. There are four different box scaling with this tool: Traditional, Percentage, Dynamic (ATR), or User-Defined
4 different methods for Box size can be used in this tool.
User Defined: The box size is set by user. A larger box size will result in more filtered price movements and fewer reversals. A smaller box size will result in less filtered price movements and more reversals.
ATR: Box size is dynamically calculated by using ATR, default period is 20.
Percentage: uses box sizes that are a fixed percentage of the stock's price. If percentage is 1 and stock’s price is $100 then box size will be $1
Traditional: uses a predefined table of price ranges to determine what the box size should be.
Price Range Box Size
Under 0.25 0.0625
0.25 to 1.00 0.125
1.00 to 5.00 0.25
5.00 to 20.00 0.50
20.00 to 100 1.0
100 to 200 2.0
200 to 500 4.0
500 to 1000 5.0
1000 to 25000 50.0
25000 and up 500.0
Default value is “ATR”, you may use one of these scaling method that suits your trading strategy.
If ATR or Percentage is chosen then there is rounding algorithm according to mintick value of the security. For example if mintick value is 0.001 and box size (ATR/Percentage) is 0.00124 then box size becomes 0.001.
And also while using dynamic box size (ATR or Percentage), box size changes only when closing price changed.
Reversal : It is the number of boxes required to change from a column of Xs to a column of Os or from a column of Os to a column of Xs. Default value is 3 (most used). For example if you choose reversal = 2 then you get the chart similar to Renko chart.
Source: Closing price or High-Low prices can be chosen as data source for P&F charting.
There is 2 options for P&F Momentum
Length: Length for the P&F Momentum, default value is 10
Display as: there are two options and can display as “Histogram” or “Line”
모멘텀 인디케이터 (MOM)
Growing or Waning Patterns [Alerts]Example how to color patterns of 3 bodies growing or waning by percentage with or without trend. Also included option for alert triggers. The yellow triangles on the chart denote where the alert triggers will fire.
• Choose Pattern Of Filter: shows bodies growing or waning or both.
• Sample Lengths Of AvgBar: number of recent bars to use for average size.
• BigBar Is Min% Of AvgBar: the minimum percent of average the big bar must be.
• MedBar Is Max% Of BigBar: the maximum percent of big bar the medium bar can be.
• SmlBar Is Max% Of MedBar: the maximum percent of medium bar the small bar can be.
• Repeat Pattern If n Bars: the number of bars to ignore repeat patterns, 1 allows all.
• Trending: on requires the growing or waning patterns to also be trending.
• GrayBars: colors non pattern bodies gray.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
MomBSThis script is a momemtum buy/sell indicator that works very well on sideways markets, particularly trading stablecoins against each other or against fiat. Trading stablecoins is only profitable when your exchange fees are roughly no more then 0.2%, and is one of the best ways to mitigate risk in your portfolio.
This indicator also works very well on stocks and ETFs on 1 day candlestick charts.
It has clear visual references where buys and sells should take place. Blue arrows underneath, pointing up, are buy signals and and the alert condition of BUY ASSET.
There are also clear references of blue arrows pointing down, above the candlestick , to indicate a sell signal. The alert condition of SELL ASSET.
Oct 25 Added momentum filter to reduce weaker signals
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).
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