ChrisMoody

CM_Price-Action-Bars-Price Patterns That Work!

21639 56 3769
Price Action Indicator - Price Patterns That Work!
9 Minute Video Goes Into Detailed Explanation

4 Simple but Effective Price Patterns!
Yellow = Inside Bar – Breakout Patterns
Orange = Outside Bar – Breakout Patterns
Green/Red = Pin Bars
Aqua/Fuchsia = Shaved Bars

***MANY Features and Customizing Options…Detailed Overview In Video.
How To Turn Bars Patterns On And Off.
Ways To Customize.
General Thought Process of the 4 Price Action Patterns.
What Each Setting in the Inputs Tab Does.



***Special Announcement. Video Below Just Updated. Received a Special Promotion from the creator of these Price Action Bars and Many other Price Action Setups. Hedge Fund Manager and Founder of 2ndSkiesForex.com Chris Capre.

1st 10 minutes of Video is covering throughout process and how to implement the Indicators.
2nd 12 minutes covers a Special Promotion offered to TradingView members directly from Chris Capre.

Video Link Below.
http://vimeopro.com/user32804960/tradingview-indicators/video/117308294

This Version of the video will be taken down 2/01/2015 and the original video will be uploaded again.
Remove from Favorite Scripts Add to Favorite Scripts
//Created By ChrisMoody on 1-20-2014
//Credit Goes To Chris Capre from 2nd Skies Forex

study("CM_Price-Action-Bars", overlay=true)

pctP = input(66, minval=1, maxval=99, title="Percentage Input For PBars, What % The Wick Of Candle Has To Be")
pblb = input(6, minval=1, maxval=100, title="PBars Look Back Period To Define The Trend of Highs and Lows")
pctS = input(5, minval=1, maxval=99, title="Percentage Input For Shaved Bars, Percent of Range it Has To Close On The Lows or Highs")
spb = input(false, title="Show Pin Bars?")
ssb = input(false, title="Show Shaved Bars?")
sib = input(false, title="Show Inside Bars?")
sob = input(false, title="Show Outside Bars?")
sgb = input(false, title="Check Box To Turn Bars Gray?")

//PBar Percentages
pctCp = pctP * .01
pctCPO = 1 - pctCp

//Shaved Bars Percentages
pctCs = pctS * .01
pctSPO = pctCs

range = high - low

///PinBars
pBarUp() => spb and open > high - (range * pctCPO) and close > high - (range * pctCPO) and low <= lowest(pblb) ? 1 : 0
pBarDn() => spb and open < high - (range *  pctCp) and close < high-(range * pctCp) and high >= highest(pblb) ? 1 : 0

//Shaved Bars
sBarUp() => ssb and (close >= (high - (range * pctCs)))
sBarDown() => ssb and close <= (low + (range * pctCs))

//Inside Bars
insideBar() => sib and high <= high[1] and low >= low[1] ? 1 : 0
outsideBar() => sob and (high > high[1] and low < low[1]) ? 1 : 0

//PinBars
barcolor(pBarUp() ? lime : na)
barcolor(pBarDn() ? red : na)
//Shaved Bars
barcolor(sBarDown() ? fuchsia : na)
barcolor(sBarUp() ? aqua : na)
//Inside and Outside Bars
barcolor(insideBar() ? yellow : na )
barcolor(outsideBar() ? orange : na )

barcolor(sgb and close ? gray : na)
coondawg71 PRO
2 years ago
Nice !
+1 Reply
ucsgears PRO
2 years ago
Great candlestick identifiers. No guess work involved.
Reply
TASAVANT
2 years ago
Great one Chris thanks
Reply
TASAVANT
2 years ago
I like these bars when they are combined with larger than average volume, would you be able to add a volume filter ?
Reply
ChrisMoody PRO TASAVANT
2 years ago
I can add a volume filter to anything...however...I posted this for any of Chris Capre's Students to have...and he trades Forex so we can't reference Forex Volume...
Reply
Andrek1876
2 years ago
thanks Chris
Reply
StockSwinger PRO
2 years ago
Thanks Chris: Very Helpful!

Where can I find an explanation of empty brackets ( ) That you utilized throughout this indicator's code?

Thanks, Michael
Reply
ChrisMoody PRO StockSwinger
2 years ago
Oh...I didn't understand the question in the PM you sent me....

If your referring to the brackets under PinBars, Shaved Bars etc...if you want to do a highlight bar...you could skip that step and put the code in the barcolor plot statement....OR you can write out the statement and then just put the name followed by the open/Close Parenthesis in the barcolor plot statement.

It's useful for creating True/False conditions...b/c in the barcolor plot the question mark is followed by the color you want to use. So to highlight only 1 bar based on a TrueFalse Condition...that's the way I do it anyways.

Also note the Open/Close Parenthesis after the name are followed by the Equals sign and Greater than sign...

Let me know if that is not what you meant...or if I didn't answer it clearly
Reply
ChrisMoody PRO ChrisMoody
2 years ago
Note...the last barcolor plot is turning ALL the bars Gray..so in that situation I didn't need to use the method mentioned above.
Reply
B120626 ChrisMoody
2 years ago
it is similar in concept to writing a function and then calling that function.
Reply
StockSwinger PRO ChrisMoody
2 years ago
As always Chris, I am grateful for your assistance - Michael....... You too BallsOut ;√)
Reply
ChrisMoody PRO StockSwinger
2 years ago
No Problem...Great Question..will make sure I show this example in PineScript video Tutorials I'm recording...
Reply
moneymaking
2 years ago
Hey ChrisMoody, I just wanted to say that the video that you posted about the CHF big move and how it affected you, really opened up my eyes and has completely changed my perspective of the FX market. I really appreciate you for posting your experience with such an unexpected move. I certainly have learned a lot from this and I hope other traders did too. I wish you the very BEST and thank you once again for sharing the video. Good Luck to You!!
+1 Reply
ChrisMoody PRO moneymaking
2 years ago
Any time...
Reply
Mo6e
2 years ago
Thank you, will exercise it definitely.
Reply
Alphaoptions
2 years ago
You are on a roll - and love it when you include the video. Looking for that 2nd video on the pivot levels and how you used them for several years! I am thinking these would go well with those.
Reply
ChrisMoody PRO Alphaoptions
2 years ago
Thanks...and the videos on Pivots are coming well...should be done soon...Possibly today.
Reply
ChrisMoody PRO
2 years ago
Hey Guys...

Just got a email from Chris Capre....I'm going to update the video with a special announcement from Chris. It will take sever hours from when this post hits...

I WILL POST BELOW AFTER VIDEO IS UPDATED.
+1 Reply
ChrisMoody PRO
2 years ago
***Special Announcement. Video Below Just Updated. Received a Special Promotion from the creator of these Price Action Bars and Many other Price Action Setups. Hedge Fund Manager and Founder of 2ndSkiesForex.com Chris Capre.

1st 10 minutes of Video is covering throughout process and how to implement the Indicators.
2nd 12 minutes covers a Special Promotion offered to TradingView members directly from Chris Capre.

Video Link Below.
http://vimeopro.com/user32804960/tradingview-indicators/video/117308294

This Version of the video will be taken down 2/01/2015 and the original video will be uploaded again.
Reply
ChrisMoody PRO ChrisMoody
2 years ago
Guys,

Check out the video above. The first 10 minutes goes into a little more depth of the use of the indicators. The last 12 minutes goes into depth on a fantastic offer Chris Capre made to TradingView members.

PLUS...I had one big favor to ask...In the end of the video I listed Chris Capres email address, Send Chris and email telling him how we would LOVE to have him on TradingView' Live Webinar. Chris Gives Fantastic Information!!!
Reply
Tony201500
2 years ago
Hi Chris, I just signed up to the site today. Being completely new to trading I have been reading up on Binary Options on the MT4 platform. Precisely BO for currencies.
Reading up on the comments by our fellow traders it seems you are god-send :). I have just a few teething questions if you may... these may already be asked and answered by you. I have yet to test the waters.

what charting software can I use with the VIX FIX script
how do I attach this script or any other script to a chart

Can the scripts be ported to MT4.

Many thanks and kudos to the great work you are doing!
Reply
rmwaddelljr
2 years ago
Chris, Please interpret what this line is saying: pBarUp() => spb and open > high - (range * pctCPO) and close > high - (range * pctCPO) and low <= lowest(pblb) ? 1 : 0 (New to this stuff)
Thanks.
Reply
ChrisMoody PRO rmwaddelljr
2 months ago
@rmwaddelljr, The spb and open... at beginning refers to the code in the inputs section:
spb = input(false, title="Show Pin Bars?")
So if the checkbox is checked it will show pin bar...the false after input means the box is un checked by default.

In English:
pBarUp() => is plot statement to show a Highlight bar.
spb and open > high...etc the spb as described above lets you turn the paint bar on and off.

The rest is just the conditions...gets a little technical to explain but it's saying what the bar has to do ( or how it has to form) and then it references the percent of the range created in the definitions right under the inputs section.

The ? 1 : 0 ... at the end if the entire condition is true (including turning on the show Bars then it will plot...else it won't.
Reply
GRACIAS
Reply
michel1
2 years ago
I like this price action Filter. Is it possible to change it somehow so the the bullish outside bar has a different color than the bearish outside bar. I'm a very bad programmer and have no clou how to add this. Would be very nice. Thanks for the filter anyway.
Reply
ChrisMoody PRO michel1
a year ago
It's easy...No coding required. All you have to do is put the indicator on the chart. Then right by the name click on the little gear wheel and go to the Styles Tab. Adjust however you want...and TradingView will remember your preference so the next time you put the indicator on a chart..it will look the same way you had it last time.
Reply
KavneetSingh
a year ago
Hi
How can i get this indicator?
Reply
ChrisMoody PRO KavneetSingh
a year ago
When you look at the chart you see the name of the indicator. All you have to do is go to indicators at the top of the screen on your chart...then in the top left box type in the name of the indicator that is on the screen. Then you will see it in the Public Library.

Try that out...there are additional ways. But here is the link,

CM_Price-Action-Bars-Price Patterns That Work!
Reply
ChrisMoody PRO ChrisMoody
a year ago
Also at the top of the page...under the chart...where you see the code...in the top right Click On Add To Favorite Scripts. Then it will be in your Favorites Section under the indicators Tab. That's the easiest way.
Reply
dorbesh.numan
a year ago
is it working for amibroker
Reply
hello, how do you have the indicator for mt4?
Reply
ChrisMoody PRO EmanueleSmoothDePascale
a year ago
Respectfully...We only support TradingView here. Hope you understand. Although the code is open sourced...so it would be a easy conversion.
+1 Reply
franciskim
a year ago
Hi ChirsMoody, great work. Does this indicator repaint?
Reply
ChrisMoody PRO franciskim
a year ago
If you look at the code....it has to meet a specific criteria. So it can repaint Intra-Bar ( The Current Bar It's On ). But once the Bar Closes IT WILL NEVER REPAINT IN HINDSIGHT!!! I would never code an indicator or Strategy that would do that. You would be surprised at how many "Top Educators" code indicators that do this and they look great in hindsight...But it's misleading and flat out unethical in my opinion.
+2 Reply
Peter73 PRO
a year ago
Nice, thanks.

what do you think of this EMA6 strategy;
https://www.youtube.com/watch?v=1xi-8ggs1o0

Can you put it into a script?


Reply
ChrisMoody PRO Peter73
a year ago
Peter,

Thanks for the question. Unfortunately....and I'm honored by this...But I get so many requests I can't answer them all.

What I am interested in doing is speaking to the Founders of TradingView and offering to do Free Webinars for people who want to learn how to code. That way I can help Every One Who Wants Help..at the Same Time.

If you think this is something you would be interested in...Or anyone else...Let me know...Just respond below.
Reply
Peter73 PRO ChrisMoody
a year ago
ok thxs
Reply
WarrenHartigan ChrisMoody
a year ago
sounds great! i would be interested
Reply
ChrisMoody PRO WarrenHartigan
a year ago
Thanks Warren...I believe we will do something at some point. I like dealing with Traders who want to learn. As mentioned above...I'm Honored...but I receive so many PM's I can't return them all. The only option for me to really contribute is to do Webinars. I'm happy to do Free ones for the community. I'm sure we can get something going that would benefit a lot of traders....
+3 Reply
ThomasRozinski ChrisMoody
8 months ago
Hey Chris!

I know this is a little old, but I would love to be part of your Webinars to learn how to code. That would be so awesome and such a great idea! I use your scripts all the time, and would love to learn from someone who is as experienced as you. Let me know if this ever happens, and I'll sign up immediately.

Thank You,
Thomas
Reply
fbatistat PRO ChrisMoody
5 months ago
I also would be interested Chris.
Reply
iambinarybrendan
10 months ago
Amazing, thank u thank u thank u!!!!!
Reply
telepatico
9 months ago
Chris; This video has a great source of information as someone can learn by purchasing what is needed or keep going to all of the classes. Thanks a lot.
Reply
wicky
9 months ago
Sir Really good work i like it the moost but I am facing an issue that when I compile it .It is give unidentified bugs
Reply
wicky
9 months ago
can u tell me that where to paste it PLease
Reply
elbistan
7 months ago
Hi Chris, Great work. I wanted to ask is it possible to add some code to the script to show a Pin Bar when the condition of "Open and Close within the previous candle" has been met.
Thankyou.
Reply
liamtwine
7 months ago
when i add this to my chart it doesnt do anything. nothing has changed. what have i done wrong
Reply
elbistan liamtwine
7 months ago
By default is disabled you have to enable it in the settings. Watch the video link given above is very helpfull. Good luck.
Reply
mode2nd PRO liamtwine
6 months ago
it is need to change setting
Reply
fbatistat PRO
5 months ago
Hi everybody! I've been struggling to make the Pin Bar alert work, have this until now but it's not working:

//PinBars
barcolor(pBarUp() ? lime : na)
barcolor(pBarDn() ? red : na)

Barup() => spb and open > high - (range * pctCPO) and close > high - (range * pctCPO) and low <= lowest(pblb) ? 1 : 0
Bardown() => spb and open < high - (range * pctCp) and close < high-(range * pctCp) and high >= highest(pblb) ? 1 : 0

condH = Barup() and Bardown() ? 1 : 0

alertcondition(condH ,title="Pin Bar",message="Pin Bar Alert")

Hope anyone of you could help me change or add something to make it work.

Thanks to ChrisMoody.
Reply
vhilford PRO
3 months ago
I am in TradingView, added Price Action Indicator, the "Check Box To Turn Bars Gray" does not turn the bars gray. Out of the others, only the "Show Pin Bars" colors these candles green. None others work... Any suggestions?

Reply
ChrisMoody PRO vhilford
2 months ago
@vhilford,

Don't know what to say. Chart below...PBars Work, Shaved Bars Work, Inside and Outside bars work...turning bars gray works...

snapshot

Reply
jascom vhilford
24 days ago
@vhilford

Having the same problem. New to Trading View so it could be due to my unfamiliarity with everything. Have you found a solution?
Reply
JENPO1975
2 months ago
Why are my pinbars at the bottom hardly ever green, but in the video they are?
Reply
JENPO1975 JENPO1975
2 months ago
@JENPO1975, I mean they are never green indicating a reversal, or red at the top of an uptrend to indicate a possible reversal. I am specifically referring to the indicator, because it is claiming to do this.
Reply
ChrisMoody PRO JENPO1975
2 months ago
@JENPO1975,

In the video I stated This setup came from Chris Capre but BY Default I wasn't using the same settings he uses....that is taught in his course.

The setup is great for 2 things.

1. Finding market Tops and Bottoms...This takes a skill set of being able to analyze the market....with the Bars confirming the analysis...
2. It's a great reversion to the mean setup as shown in the chart below...but you need a filter.

I plotted on the chart the same moving average that Chris Capre uses. All Green Bars Below the moving avg resulted i a move back to the moving avg. All red Bars Above the Moving Avg resulted in price moving back down to the moving avg.

Different symbols on different timeframes trade differently. I just picked the same exact symbol on the same exact timeframe I posted 2 years ago...Looks decent to me.

snapshot
+1 Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
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 Account and Billing Sign Out