Earnings S/R Levels [LazyBear]These levels are based on price around earnings day. I have implemented support for 2 calculation modes:
Mode 1: Level = (low of 1 day prior to earnings + high of 1 day after earnings) / 2.0
Mode 2: Level = (hl2 of 1 day prior to earnings + hl2 of 1 day after earnings + close from earnings day) / 3.0
Chart above shows "Mode 1". Mode can be changed via options page.
This indicator was requested by user @mika2k1ff. I learnt more about this idea from @DanV and @TimWest (Thanks guys :)). BTW, TimWest has an indicators package, "Key Hidden Levels", that has this and more.
Do let me know how you use this, I am very intrigued by the potential this idea shows. Thanks.
For a complete list of my indicators:
- GDoc: docs.google.com
- Chart:
Custom
MAC-Z VWAP Indicator [LazyBear]This a modified MAC-Z using Z-VWAP. Since this uses VWAP, the signals are derived indirectly from both volume and price action.
I have also included a way to smooth MACZ-VWAP, you can enable it via options page.
Note that this will not work on any FX pair, as volume is not available.
Referenced indicators:
Z-distance from VWAP:
MAC-Z Indicator:
Z-Score:
Complete list of my indicators:
GDoc: docs.google.com
Chart:
Enhanced Index [LazyBear]The Enhanced Index (EIDX) is a modified William %R that behaves much like the original, to indicate overbought and oversold market conditions.
EIDX has the advantage of
- Reacting more quickly to changes in buying power.
- Predicting market turning points better than other oscillators. Divergences are more pronounced.
List of my other indicators:
CM_Twiggs Money FlowFull Credit goes to LazyBear for publishing Original Code.
I added:
Threshold lines that changes the color of Histogram based on if it exceeds Threshold lines. Ability to turn off and on.
Ability to Turn Histogram Off/On
Ability to turn Twiggs Money Flow Line Off/On
Colored Volume Bars [LazyBear]Edgar Kraut proposed this simple colored volume bars strategy for swing trading.
This is how the colors are determined:
- If today’s closing price and volume are greater than 'n' days ago, color today’s volume bar green.
- If today’s closing price is greater than 'n' days ago but volume is not, color today’s volume bar blue.
- Similarly, if today’s closing price and volume is less than 'n' days ago, color today’s volume bar orange.
- If today’s closing price is less than 'n' days ago but volume is not, color today’s volume bar red.
Buy the green or blue volume bars, use a 1% trailing stop, and stand aside on red or orange bars.
As you see, this is more for entry confirmation. I have not tested this on any instrument.
You may have to tune the lookback period for your instrument. Default is 10.
More info:
"A color-based system for short-term trading" - www.traders.com
List of all my indicators:
Z distance from VWAP [LazyBear]This calculates normal distance of price from VWAP. This is a mean reverting idea (something like ZScore), but using both "volume" and "close".
Useful for finding OB/OS areas and potential turning points.
Complete list of my indicators:
Indicator: Intrady Momentum IndexThe Intraday Momentum Index (IMI), developed by Tushar Chande, is a cross-breed between RSI and candlestick analysis. IMI determines the candle type that dominated the recent price action, using that to pinpoint the extremes in intraday momentum.
As the market tries to bottom after a sell off, there are gradually more candles with green bodies, even though prices remain in a narrow range. IMI can be used to detect this shift, because its values will increase towards 70. Similarly, as the market begins to top, there will be more red candles, causing IMI to decline towards 20. When the market is in trading range, IMI values will be in the neutral range of 40 to 60.
Usually intraday momentum leads interday momentum. QStick can show interday momentum, it complements IMI. You will find it in my published indicators.
I have added volatility bands based OB/OS, in addition to static OB/OS levels. You can also turn on IMI Ehlers smoothing. BTW, all parameters are configurable, so do check out the options page.
List of my other indicators:
-
- Google doc: docs.google.com
Substratum Module [snowsilence]This module is meant to act as a framework and platform over which to develop other indicators. On its own it does essentially nothing, yet simplifies the work of adding basic customizations and flexibility to ideas immediately. The chart on this post is not a demo, so its better to just try adding the indicator to a test chart — you may find it more convenient to set "overlay=true" in the study header — and look into the settings for an intuitive sense of its purpose.
Please build off of this, let me know if you find it useful, and credit/reference me where it seems reasonable. Feedback is always appreciated!
Ehlers Smoothed Stochastic & RSI with Roofing FiltersRoofing filters, first discussed by Mr.John Ehlers, act as a passband, filtering out unwanted noise from market data and accentuating turning points.
I have included 2 indicators with filters enabled. Both support double smoothing via options page. All the parameters are configurable.
Info on Roofing Filter and Ehlers Super Smoother:
----------------------------------------------------
The Ehlers' Roofing Filter is an expansion on Ehlers Super Smoother Filter, both being smoothing techniques based on analog filters. This filter aims at reducing noise in price data.
In Super Smoother Filter, regardless of the time frame used, all waves having cycles of less than 10 bars are considered noise (customizable via options page). The Roofing Filter uses this principle, however, it also creates a so-called "roof" by eliminating wave components having cycles greater than 48 bars which are perceived as "spectral dilation". Thus, the filter only passes those spectral components whose periods are between 10 and 48 bars. This technique noticeably reduces indicator lag and also helps assess turning points more accurately.
More info:
- Spectral dilation paper: www.mesasoftware.com
- John Ehlers presentation: www.youtube.com
------------------------------------------------------
If you want to use RSI %B and Bandwidth, follow this guide to "Make mine" this chart and get access to the source:
drive.google.com
For the complete list of my indicators, check this post:
CM_OldSchool_Projected_high_LowHeard this story from Larry Williams…the trader who holds the record for winning the U.S. Trading Championship by turning $10K in to 2 Million.
A trader named Owen Taylor developed this formula as a Floor Trader before to calculate the Projected High and Low of the next day.
The formula worked so well…Owen charged other Traders 1K to get it.
I was pretty impressed with the results…so I coded it for the Weekly, Monthly, Quarterly, and Yearly Projected High Low.
While Owen considered these levels to be major support and resistance, Larry has developed many strategies based on the Breakout of the Projected High Low.
Therefore I coded it so the Levels would plot Yellow, and change to Green if the Projected High was taken out, and Red if the Projected Low was taken out.
***I’ve noticed on many instruments, Stocks, Index’s, Forex etc., depending on the instrument it works great as Support/Resistance or Breakouts.
***On a Daily Chart put the Quarterly and Yearly levels on SPY and EURUSD and go back about 10 years. Levels are pretty accurate.
Indicator: Weis Wave Volume [LazyBear]This indicator takes market volume and organizes it into wave charts, clearly highlighting inflection points and regions of supply/demand.
Try tuning this for your instrument (Forex not supported) by adjusting the "Trend Detection Length". This "clubs together" minor waves. If you like an oscillator-kind-of display, enable "ShowDistributionBelowZero" option.
Note: This indicator is a port of a clone of WeisVolumePlugin available for another platform. I don't know how close this is to the original Weis, if any has access to it, do let me know how this compares. Thanks.
More info:
weisonwyckoff.com
Complete list of my indicators:
Indicator: Vervoort Smoothed Oscillator [LazyBear]This is Mr. Sylvian Vervoort's take on improving some well-known indicators (%B and Stoch) using smoothing techniques. A combination of TEMA and WMA does a nice job smoothing out %B, derived from zero-lag “Rainbow” data series. The same Rainbow series, averaged with the typical price, smooth the Stochastic K oscillator to produce slowStoch.
Vervroot's strategy for this oscillator (detailed explanation in the reference material below):
- It must be bullish for a buy signal and bearish for a sell signal. This means that both the oscillators must be moving up or down.
- Use the oscillators for detecting divergences. Divergence even in one is still valid.
- Stoch crossing 50 is a good confirmation signal. Momentum usually is an excellent leading indicator, so keep an eye on Stoch.
More info:
www.traders.com
www.scribd.com
Complete list of my indicators (Check the comments, I keep the list updated there):
RSI Bands, RSI %B and RSI BandwidthRSI bands provide an intuitive way of visualizing how the price movement causes RSI to move with in its range (0-100). Upper/Lower bands signify overbought and oversold levels respectively (Default: 70/30, you can customize them via options page). These bands closely match what Constance Brown explains in her book "Technical Analysis for the Trading Professional".
I have also coded up 2 scripts to visualize %B and Bandwidth, just as in BollingerBands. As you can see %B is equivalent to the actual RSI. Along with RSI_Bandwidth and %B, the bands convey a lot of information.
Another tip is to render Bollinger Bands along with RSIBands...endless possibilities :)
I have included all 3 scripts in the same chart, as they are all related. Since TradingView doesn't allow sharing more than one script in the same chart, you can only "Add script" RSI Bands.
If you want to use RSI %B and Bandwidth, follow this guide to "Make mine" this chart and get access to the source:
drive.google.com
For the complete list of my indicators, check this post:
DEnvelope [Better Bollinger Bands]*** ***
Bollinger Bands (BB) usually expand quickly after a volatility increase but contract more slowly as volatility declines. This extended time it takes for BB to contract after a volatility drop can make trading some instruments using BB alone difficult or less profitable.
In the October 1998 issue of "Futures" there is an article written by Dennis McNicholl called "Better Bollinger Bands", in which the author recommends improving BB by modifying:
- the center line formula &
- different equations for calculating the bands.
These bands, called "DEnvelope", follow price more closely and respond faster to changes in volatility with these modifications.
Fore more indicators, check out my "Master Index of indicators" (Also check my published charts page for new ones I haven't added to that list):
More scripts related to DEnvelope:
------------------------------------------------
- DEnvelope Bandwidth: pastebin.com
- DEnvelope %B : pastebin.com
Sample chart with above indicators: www.tradingview.com
MAC-Z Indicator [LazyBear]This indicator is a composite of MACD and Z-Score (requested by @ChartAt). The general idea is that counter-trend component of the Z-score is used to adjust/improve the trend component of the MACD. The advantage is that it is a more accurate and “assumption-free” and can more accurately describe how a market or stock actually works in a given time frame.
I have also added support to smooth out the MAC-Z using Laguerre filter (Thanks @TheLark for the excellent LMA). Note that smoothing removes the "noise" component additive of Z-Score, so you may miss some good signals. By default Laguerre smoothing is OFF, I suggest playing with the Gamma to see if you can find a proper trade-off value.
Theme credits --> @liw0
More info:
cssanalytics.wordpress.com
BBImpulse IndicatorBBImpulse is part of the latest indicators package offered by John Bollinger. Excerpt from their market blurb (www.bbforex.com):
"BBImpulse is derived from %b. Its value is the periodic change of %b, so if %b was 0.45 this period and 0.20 last period the present value of BBImpulse is 0.25. We present two reference levels on the chart, an alert level and an impulse level."
"Generally the market moves in the direction of the latest alerts and/or impulses except towards the end of a move where one can take advantage of exhaustion/reversal signals from this indicator."
"Ian Woodward employs BBImpulse for his Kahuna signals using key levels of 0.24 and 0.40."
I added support for the following:
- Highlighting alert/impulse trigger bars
- Rendering the range (check options page).
I noticed that the range, by itself, highlights lot of info:
- Tapering in (narrowing) of range may signify topping or falling prices.
- Tapering out (expanding) may signify nearing a bottom or rising prices.
- Range getting "ranged" between alert or impulse levels signify a major move in the direction of the last impulse trigger. I think for this, alert level ranging intensity is greater than impulse level ranging intensity.
Someone more familiar with BB will have more observations, I am sure. Please do share here so we BB noobs can learn :)
For more indicators, check out my complete list here:
Squeeze Momentum Indicator [LazyBear]
Fixed a typo in the code where BB multiplier was stuck at 1.5. Thanks @ucsgears for bringing it to my notice.
Updated source: pastebin.com
Use the updated source instead of the what TV shows below.
This is a derivative of John Carter's "TTM Squeeze" volatility indicator, as discussed in his book "Mastering the Trade" (chapter 11).
Black crosses on the midline show that the market just entered a squeeze (Bollinger Bands are with in Keltner Channel). This signifies low volatility, market preparing itself for an explosive move (up or down). Gray crosses signify "Squeeze release".
Mr.Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change). My (limited) experience with this shows, an additional indicator like ADX / WaveTrend, is needed to not miss good entry points. Also, Mr.Carter uses simple momentum indicator, while I have used a different method (linreg based) to plot the histogram.
More info:
- Book: Mastering The Trade by John F Carter
List of all my indicators:
Indicator: Premier Stochastic OscillatorThe PSO, developed by Lee Leibfarth, is a rewired version of a short-period stochastic. This provides a quick response to changes in market direction. This highly sensitive indicator allows for early anticipation of price turns and can be used to establish definitive trading zones that identify potential trading opportunities.
Rules as suggested by Mr.Lee:
For long trades:
(1) Premier stochastic crosses below 0.90
(2) premier stochastic crosses below 0.20
For short trades:
(1) Premier stochastic crosses above -0.90
(2) premier stochastic crosses above -0.20
More info on the trading zones and other nuances:
www.investopedia.com
Indicator: Trend Trigger FactorIntroduced by M.H.Pee, Trend Trigger Factor is designed to keep the trader trading with the trend.
System rules according to the developer:
* If the 15-day TTF is above 100 (indicating an uptrend), you will want to be in long positions.
* If the 15-day TTF is below -100, you will want to be short.
* If it is between -100 and 100, you should remain with the current position.
More info:
Original Article by Mr.Pee: drive.google.com
Indicator: Price Headley Accelaration Bands [LazyBear]The Acceleration Band System was published in "Big Trends in Trading" by Price Headley in 2002. The system designed to catch stocks as they start to trend but before they go parabolic. The system is simple but supposed to be very effective.
This system makes use of %R and ADX a lot to determine the entries/exits. Refer to the documents listed below for the complete set of rules.
More info:
* System Trading Rules: drive.google.com
* www.bigtrends.com
* www.slideshare.net
Indicator: HawkEye Volume IndicatorHawkEye volume, developed by Nigel Hawks, is supposed to be a premier VSA indicator. Documentation on this is scarce (looks like the training seminars/sessions conducted by the parent company cover this in detail), if you come across any (other than what I have mentioned on that chart) do let me know.
I am not sure how much this resembles the commercial indicator out there as I don't have access to one (noticed the "clone" part? :) ). This is a direct port of a similar MT4 indicator. If you have access to the commercial indicator in another platform, do post some comparison results.
Kaufman Stress IndicatorStress Indicator, first proposed by Mr. Perry Kaufman, provides an easy way for trading pairs / arbs.
Kaufman's trading rules for Stress Indicator:
- Decide on a pair to trade: For ex., AAPL v QQQ
- Calculate the Stress Indicator (SI) for that pair
- Buy the stock when SI 50
- Calculate the 60-day moving average of QQQ
- If the trend of QQQ is down, hedge the stock position with QQQ equal to the risk of the stock using the 20-day ATR of each
- Exit the hedge when the stock position exits, or exit the hedge when the trend of QQQ turns up
- Do not trade stocks under $3
Explanation of all potential SI applications is beyond this post. For more info:
- ptasite.s3.amazonaws.com
- www.futuresmag.com
- kaufmansignals.com
- TASC 2014 March issue.
Though Kaufman's Stress stategy is built on top of this Stress Indicator, I suggest reading up his full strategy guidelines before applying this.
Kaufman suggests using 60SMA on the index to track the slope. I have included a custom SMA (find it in the middle pane) that can show SMA for any selected symbol. Use the guide below to import that in to your charts: drive.google.com
Volume Flow Indicator [LazyBear]VFI,introduced by Markos Katsanos, is based on the popular On Balance Volume (OBV) but with three very important modifications:
* Unlike the OBV, indicator values are no longer meaningless. Positive readings are bullish and negative bearish.
* The calculation is based on the day's median (typical price) instead of the closing price.
* A volatility threshold takes into account minimal price changes and another threshold eliminates excessive volume.
A simplified interpretation of the VFI is:
* Values above zero indicate a bullish state and the crossing of the zero line is the trigger or buy signal.
* The strongest signal with all money flow indicators is of course divergence.
I have exposed options to plot a signal EMA. All parameters are configurable.
Markos suggests using 0.2 coeff for day trading and 0.1 for intra-day.
More info:
www.precisiontradingsystems.com