ChrisMoody

CM_Williams_Vix_Fix_V3_Ultimate_Filtered_Alerts

9377 25 1694
New Williams Vix             Fix - Major Update - Filtered Entries - Additional Alerts - And Much More...

***01-05-2015 Major Updates Include:

***ALL Features Available To Turn On/Off On The INPUTS Tab!!!

FILTERED ENTRIES -- Plus AGGRESSIVE FILTERED ENTRIES - HIGHLIGHT BARS AND ALERTS
*Alerts Enabled for 4 Different Criteria
*Ability To Plot Alerts True/False Conditions on top of the WVF Histogram
*Ability To Turn Off the Histogram and just see True/False Alerts Conditions.
*Ability to Turn All Price Bars Gray, and Color the Price Bars to Match the WVF Colors Exactly, Including All 3 Entry Types.
*Added Inputs To Adjust the 3 Numerical Inputs That Define The PRICE ACTION FILTER! Explained in Video.
*Main Video is 34 Minutes…However, the New Features Are Extensive and I Go Thru All Features In Depth.
*I Recommend Using the VSTOP Indicator. I Go Through How To Customize It In Video.


Videos:

Video: The Evolution of the Williams Vix             Fix - 12 Minutes.
http://vimeopro.com/user32804960/tradingview-indicators/video/115923112

Video: Williams Vix             Fix V3 - Major Update - Additional Alerts and Filtered Entries - 34 Minutes.
***Video Covers In Detail How To Use The Multiple Alerts And Plot Styles Available.
http://vimeopro.com/user32804960/tradingview-indicators/video/115973132


Posts To Reference…

New Video on How to Create Alerts W/ Any Custom Indicator.
https://www.tradingview.com/v/y2l1BpbN/#tc127166

Great Confirming Indicator for the Williams Vix             Fix
Great Confirming Indicator For The Williams Vix Fix


CM_WILLIAMS_VIX_FIX FINDS MARKET BOTTOMS
CM_Williams_Vix_Fix  Finds Market Bottoms
Remove from Favorite Scripts Add to Favorite Scripts
//Created By ChrisMoody on 12-26-2014...V3 MAJOR Update on 1-05-2014
//01-05-2014 Major Updates Include: 
//FILTERED ENTRIES ---  AND AGGRESSIVE FILTERED ENTRIES - HIGHLIGHT BARS AND ALERTS
//Ability to Change All Bars To Gray, and Plot Entries AND Highlight Bars That Match The Williams Vix Fix
//Alerts Enabled for 4 Different Criteria
//Ability To Plot Alerts True/False Conditions on top of the WVF Histogram
//Or Get Rid Of the Histogram and just see True/False Alerts Conditions.

study(title="CM_Williams_Vix_Fix_V3_Ultimate_Filtered_Alerts", shorttitle="CM_WVF_V3_Ult", overlay=false)
//Inputs Tab Criteria.
pd = input(22, title="LookBack Period Standard Deviation High")
bbl = input(20, title="Bolinger Band Length")
mult = input(2.0    , minval=1, maxval=5, title="Bollinger Band Standard Devaition Up")
lb = input(50  , title="Look Back Period Percentile High")
ph = input(.85, title="Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%")
new = input(false, title="-------Highlight Bars Below Use Original Criteria-------" )
sbc = input(true, title="Show Highlight Bar if WVF WAS True and IS Now False")
sbcc = input(false, title="Show Highlight Bar if WVF IS True")
new2 = input(false, title="-------Highlight Bars Below Use FILTERED Criteria-------" )
sbcFilt = input(true, title="Show Highlight Bar For Filtered Entry")
sbcAggr = input(false, title="Show Highlight Bar For AGGRESSIVE Filtered Entry")
new3 = input(false, title="Check Below to turn All Bars Gray, Then Check the Boxes Above, And your will have Same Colors As VixFix")
sgb = input(false, title="Check Box To Turn Bars Gray?")
//Criteria for Down Trend Definition for Filtered Pivots and Aggressive Filtered Pivots
ltLB = input(40, minval=25, maxval=99, title="Long-Term Look Back Current Bar Has To Close Below This Value OR Medium Term--Default=40")
mtLB = input(14, minval=10, maxval=20, title="Medium-Term Look Back Current Bar Has To Close Below This Value OR Long Term--Default=14")
str = input(3, minval=1, maxval=9, title="Entry Price Action Strength--Close > X Bars Back---Default=3")
//Alerts Instructions and Options Below...Inputs Tab
new4 = input(false, title="-------------------------Turn On/Off ALERTS Below---------------------" )
new5 = input(false, title="----To Activate Alerts You HAVE To Check The Boxes Below For Any Alert Criteria You Want----")
new6 = input(false, title="----You Can Un Check The Box BELOW To Turn Off the WVF Histogram And Just See True/False Alert Criteria----")
swvf = input(true, title="Show Williams Vix Fix Histogram, Uncheck to Turn Off!")
sa1 = input(false, title="Show Alert WVF = True?")
sa2 = input(false, title="Show Alert WVF Was True Now False?")
sa3 = input(false, title="Show Alert WVF Filtered?")
sa4 = input(false, title="Show Alert WVF AGGRESSIVE Filter?")

//Williams Vix Fix Formula
wvf = ((highest(close, pd)-low)/(highest(close, pd)))*100
sDev = mult * stdev(wvf, bbl)
midLine = sma(wvf, bbl)
lowerBand = midLine - sDev
upperBand = midLine + sDev
rangeHigh = (highest(wvf, lb)) * ph

//Filtered Bar Criteria
upRange = low > low[1] and close > high[1]
upRange_Aggr = close > close[1] and close > open[1]
//Filtered Criteria
filtered = ((wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand and wvf < rangeHigh))
filtered_Aggr = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and not (wvf < upperBand and wvf < rangeHigh)

//Alerts Criteria
alert1 = wvf >= upperBand or wvf >= rangeHigh ? 1 : 0
alert2 = (wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand and wvf < rangeHigh) ? 1 : 0
alert3 = upRange and close > close[str] and (close < close[ltLB] or close < close[mtLB]) and filtered ? 1 : 0
alert4 = upRange_Aggr and close > close[str] and (close < close[ltLB] or close < close[mtLB]) and filtered_Aggr ? 1 : 0

//Highlight Bar Criteria
barcolor(sbcAggr and alert4 ? orange : na)
barcolor(sbcFilt and alert3 ? fuchsia : na)
barcolor(sbc and ((wvf[1] >= upperBand[1] or wvf[1] >= rangeHigh[1]) and (wvf < upperBand and wvf < rangeHigh)) ? aqua : na)
barcolor(sbcc and (wvf >= upperBand or wvf >= rangeHigh) ? lime : na)
barcolor(sgb and close ? gray : na)

//Coloring Criteria of Williams Vix Fix
col = wvf >= upperBand or wvf >= rangeHigh ? lime : gray

//Plots for Williams Vix Fix Histogram and Alerts
plot(swvf and wvf ? wvf * -1 : na, title="Williams Vix Fix", style=columns, linewidth = 4, color=col)
plot(sa1 and alert1 ? alert1 : 0, title="Alert If WVF = True", style=line, linewidth=2, color=lime)
plot(sa2 and alert2 ? alert2 : 0, title="Alert If WVF Was True Now False", style=line, linewidth=2, color=aqua)
plot(sa3 and alert3 ? alert3 : 0, title="Alert Filtered Entry", style=line, linewidth=2, color=fuchsia)
plot(sa4 and alert4 ? alert4 : 0, title="Alert Aggressive Filtered Entry", style=line, linewidth=2, color=orange)
glennjoy1 PRO
2 years ago
Thanks Chris, I love this indicator. If used sensibly it has great merit. I use it with Lazy Bear's Ultimate Oscillator, But looking at your filters has given me a reason to re-look at it using the filters. Keep up the fantastic work.
Reply
ChrisMoody PRO glennjoy1
2 years ago
If 1 person actually got the point that "Price Action Based Filters" are the key...My work is done....

That 1 filter eliminates 90% of the bad entries....I haven't run the numbers but visually it looks like about 80% of the entries would have worked well.
Reply
Algyros PRO ChrisMoody
2 years ago
This really is a terrific "indicator," if it can still be called that. Thank you Chris.
Reply
grahvity
2 years ago
Hey Chris, It seems to work really well with bitcoin and a confirmation indicator you recommended earlier. Thanks for the awesome update!
snapshot
Reply
ChrisMoody PRO grahvity
2 years ago
Thanks for posting your results.
Reply
pcmourao
2 years ago
I'm pretty sure that someone has already asked this but i can't seem to find it. Is there an way that using the same Script, we can find tops as well as bottoms?
Reply
alexlega pcmourao
2 years ago
I think this is meant to be asymmetric and works mostly in an uptrend to identify pullbacks.
Reply
glennjoy1 PRO alexlega
2 years ago
You are very right
Reply
ChrisMoody PRO alexlega
2 years ago
You nailed it. Anytime you have a Uptrend...then pullbacks that trigger here are great Entries. If the symbol is in a downtrend...this can be a great place to scale out of a short position.
Reply
ChrisMoody PRO pcmourao
2 years ago
No...it's just designed for market bottoms. I'm about to code it combined with a good topping indicator we found.
Reply
Doomxxgamer
2 years ago
Hello I'm new to tradingview and I want to say that this is a Great indicator you built. Now I am a fan!!!! I know this works well in the upward trend, Is there an Indicator like this that can work for a downward trend?
Reply
Doomxxgamer Doomxxgamer
2 years ago
Wait never mind its perfect!!!!! Sorry
Reply
alexlega Doomxxgamer
2 years ago
Have u tweaked it?
Reply
ChrisMoody PRO Doomxxgamer
2 years ago
See my post right above this one
Reply
tradearcher PRO Doomxxgamer
2 years ago
No need to tweak it. If its not an up trend, it can be sideways or down trend.
Reply
alexlega
2 years ago
Hi, Chris.
Thanks for sharing all this!
Just wondering what resource you could recommend to learn more about price action filters.

Reply
ChrisMoody PRO alexlega
2 years ago
Simple Clear Question...However this requires a Lengthy response. If there is interest for me to do a webinar discussing this subject..let me know
Reply
tradearcher PRO ChrisMoody
2 years ago
I agree, it can be lengthy. So I relate it to music frequencies and an equalizer. Moving averages are just low a pass filter cutting out the noise from the higher frequencies. The different kinds of moving averages (simple, exponential, ... ) are just different ways of applying a low pass filter its cutoff, gain, and resonance. Roughly. I am sure Chris has some great material on it as well. I like the history of indicators as well because it shows you the mindset of the market then and how they are adopted.
Reply
ChrisMoody PRO tradearcher
2 years ago
Great Post...Thanks
Reply
parth
a year ago
ChrisMoody: Can the above 74 line code be used for ThinkorSwim...? I mean - can one just copy and paste it..? Please let me know. Thanks.
Reply
MONEYMENOW PRO
9 months ago
Nice..
Reply
tanmaybartarya
6 months ago
i just recently came to see all your posts and indicators and tutorial videos. I am so thankful to you for taking your time and helping other people out. This indicator is by far the simplest and the best indicator i have used till now. All the time i took to learn price action really helps with this indicator. I have placed 15 trades using this indicator and have won 14 of them. The one i lost was my mistake as i got overconfident and took the trade in a hurry. Now my second step is to use vdubus money management plan with this indicator and hopefully it all works out. Thank you.
Reply
tanvirmk tanmaybartarya
5 months ago
Which instrument did you trade? Stocks/forex
Reply
jayleo tanmaybartarya
3 months ago
I'm interested to know as well! Mind sharing what kind and interval u trade?
Reply
Chris i have a problem when i load this script it comes up with error do you know how i can fix this
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out