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:
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.

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?
//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)