# CM Stochastic POP Method 2-Jake Bernstein_V1

7996 14
Yesterday Jake Bernstein authorized me to post his updated results with the Stochastic Pop Trading System he developed many years ago.

You can take a look at the Original System with Updated Settings at
This indicator is a different set of rules Jake mentioned in the PDF he allowed me to post.

To view the PDF use this link:

Today we’re releasing the version described in the PDF that uses the StochK values of 55, 50, and 45. The rules are discussed in the PDF but here is a simple breakdown:
• Enter Long when StochK is below 50 and Crosses Above 55
• Exit Long on Cross Below 55
• Enter Short when StochK is Above 50 and crosses Below 45
• Exit Short on Cross Above 45

• To code the rules Precisely we need a function that will be available when Strategy Capabilities are released on TradingView.
• There is one of Jakes Profit Maximizing Strategies that needs to be integrated with this code…which again we need the Strategy based Function that will be coming soon.

To Compare this system to the Stochastic Pop Method 1 System shown yesterday at I used the same Symbol and dates for you to compare…but remember to give this Method 2 System a Fair Look/Evaluation…we need the Soon To Be Released…TradingView Strategy Capabilities.

BackTesting Results Example: EUR-USD             Daily Chart Since 01/01/2005

Strategy 1 – Stochastic Pop Method 2 System:
Go Long When Stochasticis below 50 and Crosses Above 55. Go Short When Stochastic is above 50 and Crosses Below 45. Exit Long/Short When Stochastic has a Reverse Cross of Entry Value.

Results:
Profit = 40,758 Pips
Win% = 37.1%
Profit Factor = 1.26
Avg             Trade = 270 Pips Profit
***Most Consecutive Wins = 4 ... Most Consecutive Losses = 7

Strategy 2:
Rules - Proprietary Optimization Jake Will Teach. Only Added 1 Additional Exit Rule.
Results:
Profit = 60.305 Pips
Win% = 37.1%
Profit Factor = 1.38
Avg             Trade = 399 Pips Profit
***Most Consecutive Wins = 4 ... Most Consecutive Losses = 7
Indicator Includes:

-Ability to Color Candles (CheckBox In Inputs Tab)

Jake Bernstein will be a contributor on TradingView when Backtesting/Strategies are released. Jake is one of the Top Trading System Developers in the world with 45+ years experience and he is going to teach TradingView.com’s community how to create Trading Systems and how to Optimize the correct way.

Link to Original Version of Indicator with Updated Settings.

```//Created by ChrisMoody on 4-14-2015
//Original Creator is Jake Bernstein from www.Trade-Futures.com

study(title="_CM_Stochastic POP Method 2_V1", shorttitle="CM_Stochastic POP Method 2_V1")

length = input(14, minval=1, title="Stochastic Length - Default 14")
smoothK = input(5, minval=1, title="Smooth K - Default 5")
ul = input(55, minval=50, title="Buy Entry/Exit Line")
ll = input(45, maxval=50, title="Sell Entry/Exit Line")
st = input(false, title="Change Barcolor To Show Long, Short, or No Trades")

//Stochastic Calculation
k = sma(stoch(close, high, low, length), smoothK)

//Upper and Lower Entry Lines
uline = ul
lline = ll

//Bar Color Definitions
Long() => st and k >= uline ? 1 : 0
Short() => st and k <= lline ? 1 : 0
NoTrade() => st and (k > lline and k < uline) ? 1 : 0

//Color Definition for Stochastic Line
col = k >= uline ? green : k <= lline ? red : blue

//Stochastic Plots
plot(k, title="Stochastic", style=line, linewidth=4, color=col)
p1 = plot(uline, title="Upper Line", style=line, linewidth=4, color=green)
p2 = plot(100, title="100 Line", color=white)
fill(p1, p2, title="Long Trade Fill Color", color=green, transp=90)
p3 = plot(lline, title="Lower Line", style=line, linewidth=4, color=red)
p4 = plot(0, title="0 Line", color=white)
fill(p1, p3, title="No Trade Fill Color", color=blue, transp=90)
fill(p3, p4, title="Short Trade Fill Color", color=red, transp=90)

//Bar Color Plots
barcolor(Long() ? lime : na)
barcolor(Short() ? red : na)```
Came up with a really good strategy. Use a 90 day moving average as your trend (price is above, only go long, vice versa). Buy when you get the stochastic pop (stochastic %K crosses above 55). Use the super super trend indicator here on tradingview (can't remember who coded it) as your stop loss. When price crosses below the super super trend line, close your position. Works really really well. You can also screen for stocks on stockfetcher.com with this criteria. Let me know if anybody needs help with this method.
thomas.gigure
@thomas.gigure, can u please share a chart to understand this a bit more clearly ?
thanks
krunalbarot
@krunalbarot, I changed it up a tiny bit. You use stochastics (70,3,3) as the trend instead of the 90 day moving average. Above 50 bullish, below 50 bearish. I'll post a chart in one sec
krunalbarot
thomas.gigure
@thomas.gigure, thanks mate.. so this in on a daily chart ?
krunalbarot
@krunalbarot, Yes. Can be used on any time frame though
HI Chris, great indicatator as ussual:)
Could you please recomend another indicator which wil be with this one?
Hey Guys...If you don't mind...Let's take any discussion to this thread...

Nice job on the system Chris. Do you have any idea when the back-testing/strategies feature will be released by TV?
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter