ChrisMoody

CM Stochastic POP Method 2-Jake Bernstein_V1

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
CM Stochastic POP Method 1 - Jake Bernstein_V1

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/77187122/TradingView%20Posts/JakeBernstein%20Stochastic%20Pop.pdf

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
CM Stochastic POP Method 1 - Jake Bernstein_V1
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/77187122/TradingView%20Posts/JakeBernstein%20Stochastic%20Pop.pdf

Link to Original Version of Indicator with Updated Settings.
CM Stochastic POP Method 1 - Jake Bernstein_V1

Remove from Favorite Scripts Add to Favorite Scripts
//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)
Xilpa
2 years ago
Hi Chris,

I just noticed the colours on the candles and they follow the same colour on the Stochastic Pop indicator below. Where can I get the code to the candles!?

Thanks again for your amazing work!!
Reply
ChrisMoody PRO Xilpa
2 years ago
It's in the code for the lower indicator. Just go to indicator settings, then inputs tab...and check the box
Reply
Xilpa ChrisMoody
2 years ago
Got it - thanks mate!
Reply
Nice job on the system Chris. Do you have any idea when the back-testing/strategies feature will be released by TV?
Reply
ChrisMoody PRO dave.seremek
2 years ago
Any day now...Realistically within weeks...Just my guess though
Reply
Hey Guys...If you don't mind...Let's take any discussion to this thread...

2 Stochastic POP Trading Systems From Jake Bernstein


2 Stochastic POP Trading Systems From Jake Bernstein
Reply
sibirak PRO
5 months ago
HI Chris, great indicatator as ussual:)
Could you please recomend another indicator which wil be with this one?
Thanks in advance
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