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 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:
dl.dropboxuserconten...n Stochastic Pop.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 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:
dl.dropboxuserconten...n Stochastic Pop.pdf

Link to Original Version of Indicator with Updated Settings.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
//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)