TradingView

# CM Stochastic POP Method 2-Jake Bernstein_V1

18295瀏覽
18295
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:
https://dl.dropboxusercontent.com/u/7718...

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

Two Important Items to understand about this method:
• 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:
Total Trades = 151
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:
Total Trades = 151
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)
Green = Long Trade
Blue = No Trade
Red = Short Trade

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 PDF:
https://dl.dropboxusercontent.com/u/7718...

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(NoTrade() ? blue : na)
barcolor(Short() ? red : na)```
I am unable to backtest if I add this script to the chart.

Beginner question...but how do you implement a script to automate with a pair of your choice. Are these indicators just for reference?

Hi Chris,

I was wondering what the parameters were for the stochastic pop method 1 & 2. Also i am wondering if i can get a copy of the pdf that you had previously posted. Thank you in advance and thank you for everything that you do!!

This is sick man. sick... I am totally happy.!

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 ?