Kase Peak Oscillator

Kase Peak Oscillator

The Kase Peak Oscillator is made of statistical observation of prices over the last KPeriod. It automatically adapt its cycle to any timeframe or instrument by using a percentile rank of what happen now in comparison of the whole distribution of past values.

The KPeriod would be adapted to trade horizons.

 

 

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. Bard • 04/30/2016 #

    Hi Nicolas,
    I found the original code for the Kase Peak Oscillator in Metatrader.
    The current public version uses predefined fixed values of 2.08 and -1.92 for the Peak Out line. As you’ll recall the KPO uses a 50 period cycle look back (looking for max values of the RWI Low and Highs) which allows it to use “a statistical measure of trend or serial dependency over a look-back length that adapts automatically to the most significant cycle length.”
    I also have the code for the Kase Permission Screen and the Kase CD (convergence/divergence) Indicator. Would you like me to post it here or add it to the conversation in post #5675 — Choppiness Index and Range Trading where I posted info about Kase’s PeakOscillator? There is also an improved version of the Kase Dev Stop using a RWI crossover.
    Cheers
    Brad

    • Nicolas • 04/30/2016 #

      You can create a new thread instead to keep things clear. Do you need new conversion to prorealtime from these new codes? 

  2. Bard • 04/30/2016 #

    Yes thanks, if you could, they’re in Metatrader and I think you will find them an improvement, particularly having the Kase CD as well. I’ll clean them up a bit so the lines and lines of spacing of between portions of the code are minimised.p.s. I posted on the indicator builder part of the forums earlier (Subject starts with “This looks interesting – this indicator measures how many ATR units…” The first post had a wrong bit of code but I couldn’t find it when i searched the forum, I reposted with the correct bit of code and now I come back to that Safari tab hours later and the text is still in the bottom of the window in the editor? So I looked for it but again but I can’t see it in the forum, so I posted it again… It occurs to me now that there may actually be 3 posts up now…. sorry if there is, (it’s the last one thats relevant).Cheers

  3. Bard • 04/30/2016 #

    p.s. Is there a way to send you a private message on this forum Nicolas?

    • Nicolas • 04/30/2016 #

      You can use the contact form in the help section of the navigation bar (top menu) of the website.

  4. Bard • 04/30/2016 #

     Cheers Nicolas, I sent an email earlier this evening.

  5. Bard • 04/30/2016 #

    Hi Nicolas, re-upping the coding request as you suggested for the genuine version of Kase’s Oscillator and Con/Divergence indicator. If you recall this is the one that had a statistical 78% leading signal entry accuracy (the indicator is accurate in signifying coming market turns) when tested on 47,000 days of data, or about 185 years in total. A higher accuracy entry will have a positive knock on effect on the more important aspects of money management risk/reward ratios, that can in turn increase trade size, and lower drawdowns. Thanks, Bard

    • Nicolas • 04/30/2016 #

      FYI: I found this other code in an old NL forum: 
      pri=Customcloselen=psmooth=catr = AverageTrueRange[len](pri)/// Kase Peak Osc ///RWH=(High-Low[len])/(atr*SQRT(len))RWL=(High[len]-Low)/(atr*SQRT(len))X=RWH-RWLpek=WeightedAverage[smooth](X)mean=Average[len](pek)sd=STD[len](pek)c1=(mean+(1.33*sd)) > 2.08c2=(mean-(1.33*sd)) < -1.92c3=pek[1] >= 0 And pek > 0c4=pek[1] <= 0 And pek < 0If c1 Thenv1=mean+(1.33*sd)Elsev1=2.08EndifIf c2 Thenv2=mean-(1.33*sd)Elsev2=-1.92EndifIf c3 Thenv3=v1Elsif c4 Thenv3=v2Elsev3=0Endif/// Kase CD ///pk=WeightedAverage[smooth](X)KCD=(pk)-Average[8](pk)Return pek as “Kase Peak Osc”, v3 as “Peak Osc Line”, KCD as “Kase CD”(p = length (30) ; c = smooth (3))

  6. Bard • 04/30/2016 #

    Thanks very much Nicolas, but I can’t post my reply here if I want to add a url link. When I added a URL link in my first original reply I inserted the url and this page then just jumped to the bottom of the page and every time I try to get back to this text field where I am writing this now  it jumps back to the bottom of the page? It’s impossible and very frustrating as I’ve never seen this problem with my Macbook + Safari on any other public forums I have used! I just refreshed this page to see if that helped thinking the cookie might at least save my original reply here (because I can’t access it due to the jumping page issue) but it’s an empty white text box and I have lost the text of my original reply… so I’m having to start my reply all over again. (What your reading right now is my second attempt and I won’t be able to add the url link I wanted).I am going to move this Kase Peak Oscillator, Kase CD and Kase Permission Screen to a new thread as you suggested.I was trying to reply to point out that the 2.08 and -1.92 for the Peak Out line are an incorrect work around to Kase’s original code which I emailed you on the 1st March. Pls see my very first comment above.CheersBard

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
tatankayotanka
9 years ago
T3 Velocity mix
T3 Velocity mix
4
Indicators
Maximus Hello, I have not found better tool for analyzing divergences. Congrats !
tatankayotanka Ciao , tu come lo usi?
Fabius965 Ciao tatankayotanka.....ho provato a caricare il tuo indicatore ciclico, ma quando chiedo la...
Rohan
9 years ago
gabri Great job!! I love everything that involve Ichimoku. Did you think about changing the line t...
Rohan Thanx gabri. Yes I did play around with the offset. It works but I like the "earlier" warnin...
Dom Dominics Hi, Is this code can be used for MT4 ?
Nicolas
9 years ago
Haos Visual
Haos Visual
8
Indicators
Lyny @Nicolas, how can i put this code in ProOder when for example i want to buy 1 share with con...
Nicolas Please open a new topic on forums for coding requests, I'll help you there. 
Johan Swarts Lyny / Nicolas Please advise whether you proceded with the code in ProOrder and if so where...
gabri Ichimoku is one of the best trend indicator ever together with the Guppy EMA's. I agree with...
primo1 thanks
traderkarnik Rohan, Have you tried encorporating momentum indicator? if waiting for future cross in your...
Bard Thanks for posting this indicator @Nicolas, I'm wondering if it's possible to have a % ROC s...
Nicolas Hi Bard, angle of a MA is nothing more than a ROC oscillation. I assume, that's why you foun...
bolsatrilera
9 years ago
Twiggs Money Flow
Twiggs Money Flow
6
Indicators
Nicolas https://www.prorealcode.com/documentation/average/ 0 = SMA 1 = EMA 2 = WMA 3 = Wilder 4 = Tr...
century thanks alot . it's all i need ;)
dcos Any ideas why this would return an empty chart? Imported the ITF and it doesn't seem to want...
Nicolas
9 years ago
Jurik MACD
Jurik MACD
1
Indicators
ramonjp Hi Nicolas, this sentence is correct?? ftmp0 = (1-falpha)*price + falpha*tmp0[1] I thi...
Nicolas
9 years ago
Gann HiLo activator
Gann HiLo activator
3
Indicators
maxxb salve,  vorrei sapere perchè nel suo grafico compare sul prezzo mentre a me compare a parte...
AleX Sul grafico principale accanto alla voce Prezzo (vedi in alto a sinistra proprio sotto l'are...
maxxb perfetto non lo sapevo ....  ciao grazie..     
Nicolas
9 years ago
Holt EMA
Holt EMA
1
Indicators
robertanthonyuk Hi,What do the each colour represent? Rob
bolsatrilera
9 years ago
MACD MIRROR
MACD MIRROR
0
Indicators
Pere
9 years ago
Nicolas
9 years ago
StepRSI
StepRSI
5
Indicators
Nicolas Thanks for this modification, I still do not have tested it, where did you get this idea to ...
rfsteve Trial and error from study of indicators call it coding mad science was trying to find an in...
Maxime Baudin Nice! Thanks :)
bolsatrilera
9 years ago
Volume climate
Volume climate
0
Indicators
Nicolas Je vais faire l'indicateur et expliquer comment en même temps dans un sujet de forum. Plus s...
gregus merci nicolas toute ma gratitude est pour toi sa sera bien pratique car je pense ne pas etre...
Nicolas Ok merci donc d'ouvrir un sujet spécifique pour cette demande donc :) 
Nicolas
9 years ago
Signal to noise ratio
Signal to noise ratio
9
Indicators
robcole Hello Nicolas, I found this indicator by a google search. since I am mt4 user and you wro...
Nicolas Hi Rob, sorry I do not offer MT4 support and I coded this one months ago, I think you'll hav...
robcole Thx for your reply, i understand, my hope was that you stillhave the mt4 version... however,...
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
algotrader This indicator looks coolBut on attempt to use it for a strategy dev'I get an error.."The in...
dajvop @algotrader if you at the bottom of the code add: RETURN Buffer1 as "up", Buffer2 as "down",...
Bateson Si cela peut servir, l'indicateur Sadukey a été créé en utilisant un générateur de filtre ap...
Nicolas Je l'ai converti depuis un code pinescript. De mémoire il s'agit bien d'une variation d'une ...
Captain_Walker @Nicolas, I've copied your code into PRT indicator panel to create it. When I attempt to sav...
Nicolas Download the itf file and import it.
Nicolas Please post any question on forums, thanks.
Lavallette Bonjour Nicolas. J'utilise la version 11 et moi aussi j'ai une ligne horizontale malgré l'a...
Nicolas il faut modifier la ligne 20 avec: if adaptive=1 and averagePeriod > 1 and barindex>(...

Top