Ideas Scripts Chart Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# CM_Williams_Vix_Fix Finds Market Bottoms

82971 178
Larry Williams Developed This Incredible Indicator. It Gives The Same Readings The VIX             does for Stock Index’s…But This Indicator Works on All Asset Classes.

I Customized The Settings Slightly To Create “Percentile” Based Highlight Bars…So You May Need To Adjust Slightly For Your Asset Class. These Are The Standard Settings Shown Here. Designed For Daily Charts…But Works GREAT On Intra-Day Charts!!!

```study("CM_Williams_Vix_Fix", overlay=false)
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%")
pl = input(1.01, title="Lowest Percentile - 1.10=90%, 1.05=95%, 1.01=99%")
hp = input(false, title="Show High Range - Based on Percentile and LookBack Period?")
sd = input(false, title="Show Standard Deviation Line?")

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
rangeLow = (lowest(wvf, lb)) * pl

col = wvf >= upperBand or wvf >= rangeHigh ? lime : gray

plot(hp and rangeHigh ? rangeHigh : na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(hp and rangeLow ? rangeLow : na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(wvf, title="Williams Vix Fix", style=histogram, linewidth = 4, color=col)
plot(sd and upperBand ? upperBand : na, title="Upper Band", style=line, linewidth = 3, color=aqua)```
Example of 60 Minute Chart of Forex

ChrisMoody
Daily Chart of Oil...

ChrisMoody
60 Minute Chart of Oil

ChrisMoody
Every Major and Minor Bottom in AAPL

ChrisMoody
Fantastic! Thanks for adding the pdf.
ChrisMoody
Thank you very much for being the extreme version of "GENEROUS!". !! Your detailed replies to questions prove you "CARE!"!! You Sir, are REMARKABLE!!
Thanks a lot for the comment..I really appreciate it.
ChrisMoody
Hi Chris, How do I get to use this bottom identifier?
ChrisMoody
@ChrisMoody, This is also promising ;can someone provide your feedback for this new idea
ChrisMoody
Wow. Nice Indeed. Thanks Chris
Are you a millionaire yet? This is cool! Time to backtest! Im still testing the oldschool trading range
2use
Test it out...believe it or not I'm not a big "Indicator" fan...most are useless. I have a lot of respect for Larry Williams so I decided to code this one up. Added the Bollinger Bands he talked about in the pdf and a Percentile of the Highs in order to get a color coded signal....I'm pretty impressed with the results of this Indicator....

The "Old School" levels is a cool indicator....I love the history of the market...so when I heard about that one I had to code it. Owen developed that formula before computers were around. Haven't spent the time to back test either one..and not sure I will. But visually they both look very good.
ChrisMoody
Which ones are you a fan of then?
ChrisMoody
do you have a YouTube video I'm more of a visual learner
AleksandrRogozinskii
Hi Chris......Thanks for sharing your work...awesome stuff
DAVIDO122
No problem...thanks for the comment
DAVIDO122
can you share the indicators please ? my email is ayassine31@yahoo.fr
The indicators you develop for TradingView, are simple and easy to use! TY for another great one!
elp
The indicators I code will always be "Simple and Easy to Use"!!! They have to be in order for me to use them!!!

Thanks for the comment
Great find and nice job porting it into TV. A per-symbol vix is exactly what I've been needing in one of my systems. Thanks Chris!
TheLark
It's always a honor to have TheLark...AKA..."The Coding Genius"...comment on one of my posts....

Catch you soon...
ChrisMoody
Still don't think I deserve such a title, but thanks Chris lol
TheLark
You are among the finest in programming indicators..Sir "The Lark"..ChrisMoody, you too have been very helpful.. We poor people need you to help us pay our increasing water, power, food bills... You guys are Robinhoods of modern times..God Bless u guys..
Any chance you can do the inverse on the same indicator, by finding tops?
pcmourao
It looks liek he already had something built in to it, but was not using it (perhaps not finished?) Anyways, replace line 22 with:
col = wvf >= upperBand or wvf >= rangeHigh ? lime : wvf <= lowerBand or wvf <= rangeLow ? red : gray

You'll now see red at possible tops
TheLark
Thanks TheLark
TheLark
It seems the script identifies better bottoms than it does tops.... is that normal?
pcmourao
That's pretty much do to the way market bottoms and tops are reached. Bottoms tend to be violent (volatile spikes), where tops are much more round, and can remain relatively non volatile while it slowly marches up
TheLark
i see..... thanks, if you base your analysis on this indicator, where exactly would you assume a LONG position judging by the bars?
pcmourao
I never base my analysis on a single indicator, but the initial spike after a period of consolidation *looks* decent (untested)
TheLark
oops i misread,was thinking short. Single indicator comment still stands, but I'd probably play with the first lower bar after a large spike or something
TheLark
thanks
pcmourao
Also, search google for VIX systems for some ideas on how you might be able to trade it, what chris has highlighted is only one example
TheLark
Wow...I was typing the paragraph below explaining why I didn't put that feature in...and you got all the answers out while I was typing one paragraph....thats why your "The Coding Genius"
ChrisMoody
smh haha thanks Chris, we both said the same thing in different ways, I'm sure people will find both useful :)
TheLark
Thanks Chris and Lark.. You guys rock! Can you post the whole code with the inverse added?
pcmourao
Initially I had the lower percentile color coded also for exactly what you are asking. I took it off b/c while it does catch some tops...it gives so many false signals in my opinion it is statistically not valid.

The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility...and professionals come in and capitalize on the situation. At market tops there is no one panicking...just liquidity drying up. the Put/Call ratio is better for seeing this...and Sentiment Index's (Have to emphasize ONLY ones that are calculated properly). I know a famous trader who produces a Sentiment Index that institutions pay for(It's real Pricey)...Going to see about getting it on TradingView but that will be months to years down the road. Will have to convince him to create a Hybrid version....His Institutional clients don't want data the retail trader has access to...or a better way to say it is they are willing to pay a large premium for valuable data...which basically prices the retail trader out.
ChrisMoody
I was experimenting with it and I love this one, many thanks, and I am saying this after few days of learning Ichimoku.. anyways I just want to bring my small contribution to your idea; I noticed that if you set your highest percentile to 1, there is less noise, and increase the probability of catching the actual bottom. I am not sure if this is valid for all instruments or time frames, I did not backtested it, just a thought.
cristian.d
Christian,

A few important items regarding this script. There are two criteria that create the green bars. 1. The Highest percentile setting. 2. LookBack Period Standard Deviation and the two settings below (these 3 are parameters of Bollinger Bands).

Setting the Highest percentile setting to 1 means 100%...which means that calculation CAN NOT trigger the green bars since it is impossible for the bars to be higher than the 100th Percentile...so if your using that setting it will only work effectively on certain instruments/certain timeframes. (Your only using the Bollinger Bands at this point.)

The Highest percentile...or percentile based settings will give much better results...I added in the Bollinger Bands since Larry has one form of the indicator set up with Bollinger Bands. I coded that one alone...But it leaves too much room for interpretation for most traders.

The indicator wasn't designed to give a pinpoint entry. Therefore I prefer the lower indicator on your chart...whatever system you use should create the entry when you see the green bars. The entry could be as simple as the candle closing above the high of the previous candle..which is a simple way of saying buying pressure is coming into the market. I personally use my Heikinashi paint bar study looking for the colors to reverse.

I originally coded indicator to plot red bars at the lower threshold like your top indicator. I ended up taking it off b/c while it will catch tops...on most instruments the success ratio is less than 50%. In a earlier comment I explained Why the VIX is much better at catching bottoms than tops. So use cautiously.

Obviously use however you want...I just wanted to make sure you understood that using a setting of 1 takes the Percentile Threshold out of play. I put that indicator on all lower indicators that don't have a limited value (like RSI)...and usually keep the setting at 90 or 95%...and it filters out everything but Largest Extremes...which tend to come before the biggest moves. It's the "Rubber Band" analogy
ChrisMoody
Thanks Chris for the detailed explanation, now I got it. I realized that your settings work better yesterday, but like any other indicator work better in combination with other indicators... no such thing as sure thing indicator.
ChrisMoody
Wow, hope its sooner rather than later
Can this script be modified for a ThinkOrSwim platform? That will be great if that can be done. Thanks very much!!!
geedee01
Almost any Indicator can be programmed for any platform with a decent coding language. The answer is Yes for TOS...but I don't support that platform.
ChrisMoody
nice indicator did any body code this for tos or ninja trader if so let me know nice work man .
geedee01
declare lower;
declare zerobase;
input period = 22;

plot WVF = (highest(close,period)-low)/(highest(close,period))*100;
WVF.setDefaultColor(color.white);

input BBlength = 20;
input BBNum_Dev_Dn = -2.0;
input BBNum_Dev_up = 2.0;

def sDev = stdev(data = WVF, length = BBlength);
def MidLine = Average(data = WVF, length = BBlength);
plot LowerBand = MidLine + BBnum_Dev_Dn * sDev;
plot UpperBand = MidLine + BBnum_Dev_Up * sDev;

LowerBand.SetDefaultColor(color.DARK_green);
UpperBand.SetDefaultColor(color.DARK_red);

LowerBand.SetLineWeight(2);
UpperBand.SetLineWeight(2);
Hi Chris,

First off, thanks for sharing your script! I had a quick question, would it be possible to add a moving average type filter to the script. If the VIX bars are greater than the average of "X" prior VIX bars, and it is green, i think this would help filter out any potential false bottoms.
See comment I left Christian above...Moving averages won't work NEARLY as effectively as a Percentile of Extreme moves.
ChrisMoody
Chris, do you think it would be possible to replicate same analysis chart as was presented on this short video from Bloomberg? Plotting percentile of stocks trading at their 3-month highs or lows seems to be very interesting analysis method. Please have a look here:
http://www.bloomberg.com/video/investors-take-gains-from-industrial-sector-pain-1LK6tHyeTZyKMA9sdRbVFw.html

Bart S.
Bart_S
Bart...Thanks for the reply...I just got back in town and have several videos to get out and a lot of PM's to go through...If I haven't responded about the video in the link above by tomorrow please remind me...Thanks
I can see how the highest bar in the histogram lines up well with the swing lows. Should one wait until the bars turn from green to grey to enter? How do you decide on entry price? Thank you a lot.

Julian g.
STOXXResearch
Sorry for the delayed response...I never saw your question.

This Indicator references this indicator and also has a link in for a great entry filter...it's the RSI EMA one...
Chris,
I just started using this indicator. Here's my chart setup (I use Renko bars, a squeeze indicator, vix fix indicator, full stoch, and the SuperTrend indicator). It looks great. What are your thoughts? I'm thinking of removing the full stoch and adding the RSI Ema indicator for confirmation.
what do you think of this setup?
thanks,
dougl
dougl1965
Hey Dougl, Please put up a screen shot. Thanks
dougl1965
Thanks a lot! I'll look at it this weekend
Best!
hey, i probably have better examples also? what i want to do is refine this setup if needed? make it the best it can be.
but I would also like to create some scripts to track various things (indicators) and give me a summary chart.

when the squeeze is lime green in color u get real good moves. so i try to look at 3 charts (60 min, 15 min and a 5 min).
often times i find myself trading on a 1 min chart.
dougl
dougl1965
I'm a big fan of Renko Bars. Can't tell what your settings are on the chart you showed. Take a look at the chart below. Very High Probability setups. You can't see well but yellow dots show entry in the 90%+ range...Red Dots show shorts in the 90%+ range. Also OK to enter if near bottom band and Will Vix Fix gives signal.

More to it than that. I'm slammed until late this week but remind me and I'll show you the setup. I've used it for years.

Not in any way tryin gto be discouraging...But your basing decisions on (What I've personally Found) are the wrong type of indicators to use with Renko Bars. You want a Oscillator like the bands on the top price chart. And you don't even need the lower indicator once I explain the signals on the top bands.

I could trade just Renkos Bars alone and beat you consistently. with the indicators your using. They are all lagging indicators. Which means they get you in to trades late and keep you out of trades that will end up being huge moves. Understanding Price Action is the Key. Then you'll need 0 indicators.

Hello;

Thanks for this awesome indicator!!

I wonder how to use for short positions. Any idea?
400golpes
ok...I see the answer in the post.
400golpes
Sorry I never responded....missed the notification you left a comment
ChrisMoody
Chris, what indicators are you using in your chart above? or where do i get the code? I used my setup in my chart above to get long SPY late last week. I like it. Still tinkering with indicators that help confirm the setup.
dougl1965
If your talking about the chart directly above...Renko Bars, One of the add on Developers named Pro Trading Indicators., The indicator is called Smart Points. and it reacts very well to Renko Charts. The have another indicator I use for Breakouts on Gold and Oil...
ChrisMoody
I've used the Smart Points and their Breakout indicator for 5+ years...If you end up trying it for a month...let me know and I'll show you the setups I use
ChrisMoody
Chris, I'll go ahead and get the Pro Traders Indicators package. Can you send me your setups? Also, do you have a way to setup alerts to take advantage of the Vix Fix or the other indicators? It would be optimal if I could setup alerts also. Thanks again!
dougl1965
If you PM me a screenshot showing you have there package I'll do a private screen share with you and show you some "Good" setups I've found. I adjust there stock settings depending on what I'm trading. Not trying to sell you on it... I have no financial interest in there company. It will just be easier to show you vs. having to write it all out. Plus tailoring the settings based on what type of trader you are will be easier to do than writing out 10 different scenarios.
Please add a Laguerre filter to this Vix Fix like TheLark did with the PPO (https://www.tradingview.com/v/jVe9imdO/). The result could be interesting.
ChartArt
I double that !
ChartArt
I appreciate all of your input...I'm getting ready to code the updates to the Laguerre PPO adding in the inverse for Tops and bottoms. However, I have my doubts regarding the suggestion to mess with this indicator. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.

Experience tells me this will not create a result that makes the indicator any better. Your taking two completely different codes designed for different reasons. This one is way at the bottom of my list. someone else who wants to take the time will get to it much faster that I will. I have a long backlog of codes to create.
ChrisMoody
I'm actually quite unimpressed by the Vix Fix so far. It gives so many false signals to buy during a strong sell-off. But maybe I have a different opinion, because I mainly trade Bitcoin which behaves differently than the usual stock market, where people buy up every weakness like crazy instead of letting it fall down (great example: https://www.tradingview.com/v/ALX0hVJV/).

"Experience tells me this will not create a result that makes the indicator any better." I hope the Laguerre filter magically reduces the noise of false signals. But since this is only an experiment I will just follow your updates and be happy once you found the time to create it.
ChartArt
I think bitcoin trading is unique given the people trading it are of a different audience
Hey Chris can you invert the "CM_Williams_Vix_Fix" it would be so much easier to use?

Thanks!!
BizkitBR
It's an easy fix...but I don't want to post another code just for that. Simply add * -1 to the plot statements as shown below. Or you can just copy those plot statements and paste them over the current ones.

plot(hp and rangeHigh ? rangeHigh * -1 : na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(hp and rangeLow ? rangeLow * -1: na, title="Range High Percentile", style=line, linewidth=4, color=orange)
plot(wvf * -1, title="Williams Vix Fix", style=histogram, linewidth = 4, color=col)
plot(sd and upperBand ? upperBand * -1: na, title="Upper Band", style=line, linewidth = 3, color=aqua)

ChrisMoody
Thanks dude... you rock !!!
BizkitBR
No problem
ChrisMoody
You know, indeed it seems visually better :)
2use
Well thanks 2use...for saying I messed it up the first time around...No more custom codes for you!!!!
ChrisMoody
You got it wrong, im saying that today are doing better than yesterday, and yesterday than the day before, so you are always at the top ! ;)
2use
I know...I was just being sarcastic....Your Great!!!
ChrisMoody
I tried to change this, but it's lock in read only mode
Love this indicator, it really works! Another one that seems interesting is the "Cook Cumulative Tick indicator" if you ever had time would it be possible to code this one?
elp
Well actually I went up to see Mark Cook at his farmhouse several years ago. So I know the code for the indicator your speaking of. However, Mark charges 4K for the 4 day session at his house and I wouldn't feel right releasing his content...he's a good guy. With that being said, I'd have to revisit the formula anyway to see if we can pull in that data. His actual formula is a lot more detailed than others taking a shot and just adding up the daily NYSE TICK.

Did you attend his 4 day session...or did you just read about the indicator?
ChrisMoody
I was reading about his indicator. Can understand you not wanting to code it here if you have a good relatioship with him. Creating a rift with friends over a n indicator is not worth it.

I am not a big indicator person but will look at a few if they can give good results. The Vix-Fix along with your ultimate moving average works well in identifying a trend change. TY for coding them and am looing forward to any new ones you bring here!
elp
give me the link to the article you read. The formula he actually uses himself would be close to impossible to code b/c of the data sources he uses. We may be able to find a workaround from someone else creating a indicator on a different platform that comes real close. As long as the formula isn't exactly like the one from his paid workshop I can code it.
most interesting indicator! Question... are you applying this indicator to current charting?,,, Thanks
DaveMackay
I created this for community to add to the available codes people have access to...I'm aware of it bit it is not a indicator i use all the time...I haven't released most of the stuff I actually use yet. But this is a good one.
This is the most awesome indicator I´ve seen in many years. It really works!!!
400golpes
Larry Williams has created some great indicators over the last few decades...I just incorporated a Percentile rank to highlight extreme moves....
ChrisMoody
Please, which settings do you think that can be right for hourly charts?
400golpes
Did you get an answer to this question?
I like this indicator and the cm_MacD_system,are there modified ones that will work with TOS,
or these indicators are for Trading View only.
SaulMarques
TradingView only...In a very short time TradingView will have the same capabilities as TOS...Strategies, Scanning Capability, and a Big surprise that will be released in a couple of weeks.
ChrisMoody
Chris, can you pop a quick chart on here using the Vix Fix, with renko bars and the best indicators (the free indicators here on tradingview) to give you confirmation on setups? I'd just like to see what your best chart would look like? Even if you would never use it.

Also, separate issue but I still need to get the vix fix working for identifying short setups. Can you point me in the proper direction there too?
thanks!
dougl1965
You should take a look at my indicators and you would have a good idea....but it doesn't make sense for me to create a chart of things I don't use...and I haven't released any of my proprietary indicators yet.

The Vix is specifically known for pinpointing market bottoms...There is not use in trying to make it do something it just doesn't do. I did code this indicator as I just happened to notice it is great for market tops...

I just pulled up a random chart of the SPY and put the default settings for the Vix Fix on Renko Bars.... I Think if you look at the chart...you'll agree...you don't really need anything else...

ChrisMoody
very nice Chris! Me, like everybody else is concerned with identifying short setups in case the market does a nose dive? But this chart looks awesome! You talk about simple? If the market continues its upward movement and pulls back occasionally...this looks real good. Just gotta figure out where to get out? Maybe never? haha
dougl1965
15+ years of experience tells me never to Try to Pick a Top Or Bottom...When the market turns over you will get a fall...then a lower high...then a down move that takes out the previous low...Then start looking for shorts...

Here is a chart with both indicators....The Vix Fix pinpoints market bottoms more precisely...The other indicator doesn't work as well on Renko bars...But I've found Indicators that confirm on Daily or Weekly Candle or Bar charts are more reliable...Then Trade the Renkos accordingly.

Same chart but with Daily Bars...Of course when th emarket is in a Downtrend the tops the lower indicator picks will be more significant...while the Vix Fix will just pinpoint small up moves.

Hi, Can anyone show me how I create an alert based on the Williams Vix Fix ?? Anthony
anthony.pace.102
About to record a video on how to set alerts in custom Indicators...Will Include this in video...
ChrisMoody
Awesome!
ChrisMoody
Chris, if you can do that with the alerts, this could be a game changer?
dougl1965
Just Posted Video on How To Get Alerts To Work On any Custom Indicator. I provided Example for Williams Vix Fix.

Here is the thread for anyone that has requests for getting Alerts to work on Custom Indicators.

Here is a Direct link to Video.

Brand New V3 of CM_Williams_VixFix Just Released. MAJOR Update!!!!

Hello Chris,

1. The alert was at 6pm GMT but I received it 7pm GMT.
2. My question was weather to go long or short.
AlisonOppong
Sorry I didn't include the screen short. The alert was on the USDJPY
AlisonOppong

Here is the Link...make sure you watch the Video...it lats around 30 minutes but I added in a LOT of new features.

After you have the latest version of the indicator and you've have wached the video....then ask me any questions you have.
Very clear, concise. The WVF Pdf is a great supporting Doc. Many thx!
BrentWatson
No problem
ChrisMoody
How do I add the most recent version of the script to my tradingview account? ... I can't manage to do that anymore.
pcmourao
Come on man...you not a new guy any more...

The links are in the Related Links at the top of the page under the chart...

Then a few posts above I showed a picture of the new indicator...and gave the link...

But for you man...here it is...

ChrisMoody
thks ;)
ChrisMoody
How would you manage to use this to find market tops as well?
pcmourao
You should read this thread and the ones that are under related ideas at the top of the page. Lot of great information in there. You'll find it is in NO WAY designed to find market tops.

In the threads above the discussion is how we came across the two versions of this indicator.

Then here is Version 2 of the indicator.

Vix Fix is better at Market Bottoms than the indicator above. In one of those threads we've discussed combining the two indicators to create a great indicator for catching Tops and Bottoms.
ChrisMoody
Thanks Moody ;)
Again thanks Chris for this (excuse the pun) pivotal trading tool. Like you have outlined below which charts it works well in if we could ALL do a little research here to identify which charts and time frames it works well in and which charts/commodities/currencies/stocks etc. to avoid using it. Like do not use it on the VIX for example. Trading it with filters seems to work pretty well on the emini 120min chart for eg. with and exit strategy you choose.
glennjoy1
Thanks for the info....

ChrisMoody
Hey would you please tell me where can I get the codes for mt4 platform?.
ChrisMoody
Hi, How do I get the product?
agbana.olabode
It's a custom code I wrote. I don't code for MT4 platform
wow; remarkable work.
tomburcap1
Thank You...Greatly appreciate it..
What do you think about the TD Sequential Indicators from Tom DeMark ? Do you think that you could create it on tradingview ? It could be great to have this indicators on tradingview :)
Why is Every World Capitalized, Bro?
script seems super cool!! . but Why Is Every Word Capitalized, Bro (including the 'D' in 'intraday'? lol
Hello Chris Moody: Thank you for sharing the Williams Fix code so very generously. When I copy paste the code in TOS, it says invalid Statement: at 2:1.
Can you help fix this...? Thanks.
parth
This code is only for TradingView. Other platforms use their own unique coding language. There are no platforms I know of where the code doesn't have to be adjusted from 1 platform to another.
Hi Chris

Can let me know for which platform Williams Vix FIx is coded for ?

It's a custom code I wrote from Larry Williams original code. So it would have to be coded for any other platforms specific coding language.
ChrisMoody
hi there Chris Moody i was trying to reach you,i was wondering what would be the good indicator for binary option or template i can use in tradingview for 60 second trades.Waiting your response
how i can find the Williams vix fix to use it like and indicator
hi there Chris Moody i was trying to reach you,i was wondering what would be the good indicator for binary option or template i can use in tradingview for 60 second trades.Waiting your response
HOw do I add pre formatted scripts?
thanks for sharing!
Jason_jianlin
Anytime
Thanks for sharing Chirs. Can you explain why and when it turns green please?
Vincent121
See the links I posted below for more updated versions. But essentially I use a Percentile Rank to find extreme moves.
Thanks for a great indicator, def one of my favorites. Was wondering if it's possible to use this with prorealtime? Tried myself, but I don't really know anything about programming.

Tried copy/paste and got this.

Syntax error: line 1, character 6 One of the following characters would be more suitable than "(": - "," - "="
TheYangGuizi
The code won't transfer from TradingView to another platform. However, an experienced coder on that platform could convert the code.
Any version of market top and bottom on this one? Thanks.
Any version of market top and bottom on this one? Thanks.
syracusepro
It's been over a year...so I need to finish this one up.

In the mean time make sure you've seen these more advanced versions:

This one isn't bad...but I can do better...

ChrisMoody
Thanks a lot Chris.
syracusepro
Anytime...
ChrisMoody
@ChrisMoody, Hi Chris. Did you get to updating these? Also, what are the names of the updated versions?
What expiry will go with it in binary
Hi Chris! It's good indicator! But is it only for buy signals? Not for short?
Anna_Nasonova
Look at the first chart right above this comment. Read the callouts....then click on the chart and you can get that indicator.

Hope that helps
ChrisMoody
Thanks for your reply! But it seems to me that these two indicators are different! I think second indicator is worth than first one. That's why I asked you about first indicator for sell signals.
I tried this great looking indicator, but it refuses to compile! When I look to the sources, it shows a closed lock. Must one be a paying member to make use of this indicator?
watchme3
appears to only work on Monthly Time Frame
Hey Chris, I noticed that when these signals occur around the lower bollinger band and you take the trade when you get a bullish candle (for example, a morning star) and then use the upper bollinger band as your profit target, you get some amazing setups that almost never fail! A good example is AKS right now at 4.45. If I'm correct, 5.35 should be next and where I will take my profit
thomas.gigure
Do you use a scanner to get those stocks? Thanks for sharing AKS...keeping on watchlist
tanvirmk
Yeah I use stockfetcher.com and look for morning star reversal patterns. I also wait for the last 10 minutes to place all of my trades because in the case of AKS that candlestick pattern yesterday is not as bullish as I hoped. It lost a bit at the end of the day. I want the close of day to be near the high of day, not in the middle of the candle
thomas.gigure
Is that parameter 'pattern is Bullish Morning doji Star' ? I tried bullish morning start on stockfetcher but it's not taking it. Do I need a paid account for that?
Here are my parameters:

pattern is Bullish Morning doji Star
volume above 50000
price above 2
price below Median Bollinger Line(20,2)

It shows PHDG and DCI
tanvirmk
Here is what I use. You need to sort through and find the best setups like the ones that have a lot of room to run to the top bollinger band and have a good candle with good volume. A good example of one to buy at Friday's close is EBIO. Looks like it could go to 2.3-2.5. I don't necessarily always find morning star patterns so really any bullish reversal pattern works most of time.

Close is above close one day ago
Volume(10) is above Average Volume(10)
Price is below 5
market is not OTCBB
Price is above 1
Price is below Median Bollinger Line(20,2)
thomas.gigure
thomas.gigure
EBIO went up 18% today while broad market went down. Nice pick!
tanvirmk
Thanks dude. I forgot to mention one thing, make sure the 10 day moving average is above the 90 day moving average when you buy these setups.
Just paste this into stock fetcher in addition to the other lines and you're good to go. EBIO is up pre market today as well :)

MA(10) is above MA(90)
tanvirmk
EBIO hit my target today for a 50% gain. I hope you're using this method to your advantage now
thomas.gigure
Congrats.Now picking winning stocks is easy. Thanks to Larry Williams and Chris.
I am yet to use this.
Thanks... Testing !!
The pdf does not exist any more?
nb2211
The .pdf is here:
k.boritz
Thanks very much for creating this Chris - really useful. I wonder if you or anyone else knows if there is any means within TV of setting an alert for an indicator like this across a number of stocks simultaneously? i.e. can an alert be set for a whole Watchlist in one go or do they have to be set on each chart individually? I suspect it's individually, but just thought I'd check. Thanks.
Sorry a newbie question - how do we get the vertical lines at peaks from the indicator, to show on the price panel as per the pics ?
i m new sir.. can i use in ami broker afl?
there is one error find
Akashparkar
@Akashparkar, No...Code is different for all charting platforms. This code is Java Based...isn't AmiBroker using C based code?
hi Chris,
this is great ... do you have an .ex4 version ?
Hi Chris ...
Great indicator, is there a way to add it to metatrader 4 platforms ?
Hi, the PDF link no longer works. Are you able to repost?
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
Home Stock Screener Forex Signal Finder 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