Kase Dev Stop v3

v10.3
Kase Dev Stop v3

As requested in the forum, here is a new version of the Cynthia Kase Dev Stop indicator.

Originally developed bu Cynthia Kase (in her book “Trading With the Odds”). This version is calculating the DevStops exactly as described in the book.

Engineering a Better Stop: The Kase DevStops
What all of this boils down to is that we need to take variance and skew into consideration when we are establishing a system for setting stops. Three steps that we can take in order to both better define and to minimize the threshold of uncertainty in setting stops are:

  • Consideration of the variance or the standard deviation of range.
  • Consideration of the skew, or more simply, the amount at which range can spike in the opposite direction of the trend.
  • Reformation of our data to be more consistent (this step is examined in detail in Chapter 81, while minimizing the degree of uncertainty as much as possible).

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. juanj • 06/29/2018 #

    I have experimented with the Kase Dev Stop system by building a basic strategy from it and then using the optimization engine to find the deviation value that best captures the point of no return. In the standard model as provided above the biggest deviation factor is 3.6 (basically supposed to filter >99% of rebounds), yet even in the example above I counted at least 8 instances where price rebounded back after closing outside KDev3. In my testing, I have found deviation factors of >4 and < 5 to be much more reliable. Also switching the stops based on a breach of this larger deviation yields the best trend validation.

    • Nicolas • 06/29/2018 #

      Thanks for the studies. What about the switch of the trend triggered by the slow and fast periods of moving average? Did you changed it?

  2. juanj • 06/29/2018 #

    Hi Nicolas, yes I did also change that. Found an EMA of 5 in conjunction with an EMA of 9 to work best

  3. Bard • 06/29/2018 #

    Hi Nicolas and Juanj I hope this is alright but I’ve moved the discussion here:
    https://www.prorealcode.com/topic/kase-dev-stop-dev-stops-4-5-6-0-using-sar-to-flip-devs/ where I’ve added a SAR version of the Dev Stops with Devs 4.5 and 6.0.

    I’ve done this mainly because I have a lot of issues posting right here in this part of the PRC site.. like when adding links and PRT code. Not sure why? I’m using a new Macbook 3.1ghz with Touchbar using the latest Safari.

    Best
    Bard

  4. ooples • 06/29/2018 #

    I have questions about this code. Is pricc the same as price? Also what is the custom close definition? What does pricc[2] mean?

    • Nicolas • 06/29/2018 #

      Definition of CustomClose: https://www.prorealcode.com/documentation/customclose/
      [2] means the value of this variable 2 bars back

  5. Bard • 06/29/2018 #

    Just wondered Nicolas, say you had set DEFPARAM CumulateOrders = True, is there anyway for this Dev Stop to be coded so that it takes out each individual Long position as the price crosses under eg Dev Stop 3.6?

    Otherwise it just dumps all the trades at once giving back a lot of profits! Pls see image here:
    https://www.dropbox.com/s/sobjtbrjfh4zfyj/Dev-Stop-4.5-All%20Cumulative-Orders-exited-at-the-same-time.png?dl=0

  6. Bard • 06/29/2018 #

    Sorry pls ignore last image, try this – it actually has the Dev Stop indicator!
    https://www.dropbox.com/s/hr81jy41vz9302s/Dev-Stop-4.5-All%20Cumulative-Orders-exited-at-the-same-time.png?dl=0

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
Faisalx Hola Ivan. Thanks for your great job. I would appreciate if you have look at my request http...
roccafragius Thank you for all these useful information!! Very great job Ivan! THank you so much
geroniman Merci Ivan, super travail. On peut toujours compter sur toi pour apporter des innovations su...
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.
Fgats https://www.prorealcode.com/topic/indicateur-3-sigma-documentation/ lien pour la documentat...
DELBERT Bonjour , merci pour le partage et la traduction , je vais essayer d'assimiler ce nouvelle i...
mfejza also, for long trailing stop d2=low d1=lowest[3](d2)+1/3*AverageTrueRange[20](close) d3...
CederTrader Hi Denis, does this indicator add to the chart as panel, or on the candles. Thanks
Nicolas Add it on the price chart as described in this video: https://www.prorealcode.com/blog/video...
Denis Hello Nicolas and Ceder Trader, Sorry, I only just saw your replies. The indicator is alre...
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
Zigo Zou je graag helpen, maar mijn computer is in onderhoud. Einde deze week, kan ik hopelijk te...
Zigo @ DimKar Midline = (stlong + stshort)/2 Return stLong coloured(0,255,0) as"StopLong", M...
DimKar Dear Zigo thank you very much for your answer !!!
Pensera Bonjour Nicolas, comment est-il possible de backtester cet indicateur? cela fait une erreu...
Nicolas Oui bien sûr, il doit y avoir pas mal de sujets dans le forum à ce propos.
simmerseb Bonjour, merci beaucoup pour cet indicateur je le trouve très clair et pertinent.
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
segie Can something similar be done with Supertrends?
Vonasi Not sure I fully understand what you are asking for. Are you asking for MTF Supertrend level...
Kris75 very interesting; thanks !
Nicolas remplacer les valeurs de coloured(0,255,0) par coloured(r,g,b) et ajouter ces noms de variab...
mohamed merci Nicolas!
sacram14 Merci Nicolas pour ce set-up que je ne connaissais pas ! J'ai tenté de reprendre le code pou...
Nicolas Just add it on the price series.
yomisadiku Hello Nicolas, Can I use high and low price at lines hh=max(hh,close) and ll=min(ll,close) ...
Nicolas Yes you can do that, the impact will be that the trailing stop line will be much close to th...
redactv7 On my charts, the indicator doesnt go on the upper pannel, on prices, but under like an osci...
Nicolas apply in on the chart, look at this how-to video: https://www.prorealcode.com/blog/video-tut...
jonpt88 interesting code thanks!
nfulcher Please could someone explain how the following code is calculated:- iDI = TEMA[3](DI[DI2]...
oakenstream Jan, I find sometimes that the priceexit variable is never set. It seems to happen when the ...
Matt66612 I do not understand the first time I launch the backtest I got the same result as you. but ...
Vonasi
6 years ago
Balmora74 Thanks for this code. i will try to adapt it in the EUR/USD Pac Man Strategy who is based on...
Vonasi I still have two versions of the PacMan strategy on forward test although there have been va...
Balmora74 I use your version on a real account and the strategy is profitable and i did not have any p...

Top