Kumo Break

Kumo Break

Hello friends,

After several attempts and after much annoying Nicholas, I have managed to realize the Screener of the complete kumo break.

This time he takes into account all the scenarios.

In this strategy the line Chikou Span is important because it is of confirmation, that is why the Screener only takes into account the crosses of Chikou with the cloud.

Break in Length: Several conditions. A) Current price> than the Cloud; B) (Option 1) the Span A in n periods> Span B in n periods then the break occurs when Chikou Span crosses Span A, c) (Option 2) Span A in n periods <Span B in n periods Break occurs when Chikou Span Crosses on SpanB long.

Following the same example but in reverse the conditions for Short are established.

As notes there are other conditions that are not used, but that are valid for other strategies with Ichimoku, Depending on the strategy you can “activate” or “disable” conditions, so I left it that way.


Hola amigos,

Tras varios intentos y después de molestar mucho a Nicolás, he conseguido realizar el Screener de la rotura de kumo completa.

En esta ocasión tiene en cuenta todos los escenarios.

En esta estrategia la línea Chikou Span es importante porque es de confirmación, es por esto por lo que el Screener sólo tiene en cuenta los cruces de Chikou con la nube.

Rotura en Largo: Varias condiciones. a) Precio actual > que la Nube; b) (Opción 1)  la Span A en n periodos > Span B en n periodos entonces la rotura se produce cuando Chikou Span cruza en largo Span A, c) (Opción 2) Span A en n periodos < Span B en n periodos la rotura se produce cuando Chikou Span Cruza en largo SpanB.

Siguiendo el mismo ejemplo pero a la inversa se establece las condiciones para Corto.

PS. Como notas hay otras condiciones que no se usan, pero que son válidas para otras estrategias con Ichimoku, Dependiendo de la estrategia se puede “activar” o “desactivar” condiciones, por eso lo dejé así.

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?

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

  1. volpiemanuele • 07/07/2017 #

    I have developed some strategy with ichimoku and I can developed other based on your screener. In which time frame do you use your screener ? Thanks emanuele

    • Rafa • 07/07/2017 #

      Hi Emanuale, I am using it in 15 minutes but I cross check H1 and H4

  2. volpiemanuele • 07/07/2017 #

    Thanks, in the next days I developed a stretegy based on your screener… I attach here the code and the results. 

    • Rafa • 07/07/2017 #

      Thanks Emanuele, 
      It would be very interesting to see…
      Best regards

  3. Rafa • 07/07/2017 #

    I have just realized is not finished yet. If we want to make it complete, we need to compare prices in different timeframes for example 4 hours and 1; or daily and 4 hours. I tried few things but is not working. Any ideas?

  4. volpiemanuele • 07/07/2017 #

    I have optimized it on Wallstreet cash 1 euro…tf 3h..best result
    //* Estrategia Rotura de Kumo Completa
    //* Autor: Rafa Barreto: Ayuda Nicolás
    DEFPARAM CumulateOrders = false
    // ===== VALORES MODIFICABLES =====

    // -- Construyendo la graficación Ichimoku --
    // -- Valores NO Standar: Fibonacci: 8; 21; 55 --
    // -- Valores NO Standar: Actuales : 7;22;44
    // -- Valores Standar: 9; 26; 52

    PeriodoCorto = 9
    PeriodoMedio = 26
    PeriodoLargo = 52

    Tenkan = (highest[PeriodoCorto](High) + lowest[PeriodoCorto](Low)) / 2
    Kijun = (highest[PeriodoMedio](High) + lowest[PeriodoMedio](Low)) / 2
    SpanA = (TenKan[PeriodoMedio] + Kijun[PeriodoMedio]) / 2
    SpanB = (highest[PeriodoLargo](High[PeriodoMedio]) + lowest[PeriodoLargo](Low[PeriodoMedio])) / 2
    Chikou = Close

    // ===== A partir de aquí no se toca el código =====

    // --- Condiciones de Posiciones Largas ---

    Condicion1Larga = (close > SpanA) AND (close > SpanB)
    //Condicion2Larga = (Tenkan > SpanA) AND (Tenkan > SpanB)
    //Condicion3Larga = (Kijun > SpanA) AND (Kijun > SpanB)
    //Condicion4Larga = (Chikou > SpanA) AND (Chikou > SpanB)
    Condicion5Larga = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio])
    Condicion6Larga = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio])
    //Condicion7Larga = chikou > close[PeriodoMedio]

    if not onmarket and (Chikou CROSSES OVER SpanA[PeriodoMedio] AND (Condicion1Larga AND Condicion5Larga )) or (Chikou CROSSES OVER SpanB[PeriodoMedio] AND (Condicion1Larga AND Condicion6Larga)) then
    buy 1 shares at market

    // -- Condiciones de Posiciones Cortas ---

    Condicion1Corta = (close < SpanA) AND (close < SpanB)
    //Condicion2Corta = (Tenkan < SpanA) AND (Tenkan < SpanB)
    //Condicion3Corta = (Kijun < SpanA) AND (Kijun < SpanB)
    //Condicion4Corta = (Chikou < SpanA) AND (Chikou < SpanB)
    Condicion5Corta = (SpanA[PeriodoMedio] < SpanB[PeriodoMedio])
    Condicion6Corta = (SpanA[PeriodoMedio] > SpanB[PeriodoMedio])
    //Condicion8Larga = chikou < close[PeriodoMedio]

    if not onmarket and (Chikou CROSSES UNDER SpanA[PeriodoMedio] AND (Condicion1Corta AND Condicion5Corta) ) or (Chikou CROSSES UNDER SpanB[PeriodoMedio] AND (Condicion1Corta AND Condicion6Corta) ) then
    sellshort 1 shares at market

    set stop ploss X

    • Rafa • 07/07/2017 #

      Thanks a lot..
      Best regards

  5. Eusebio Garcia Nuez • 94 days ago #

    como seria el codigo del indicador no del screener

    • Rafa • 94 days ago #

      No entiendo la pregunta… El indicador viene por defecto en PRT, pero en el SCREENER tienes el código de todos los elementos del Ichimoku

  6. Eusebio Garcia Nuez • 91 days ago #

    mi pregunta es si se puede hacer un indicador que aparezca como alerta o chivato en la rotura de la nube

  7. Eusebio Garcia Nuez • 91 days ago #

    tambien con que indicador se puede compaginar el ichimoku

    • Rafa • 91 days ago #

      El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden combinar indicadores claro… con los que quieras.

  8. Rafa • 91 days ago #

    El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden combinar indicadores claro… con los que quieras.

Register or


avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
7 months ago
Andyswede Really nice one! Thank´s a lot :)
gabri You are welcome!!
nwesterhuijs Thanks, only saw it just now.
juanj For the latest version and discussions see the Ichimoku thread here: https://www.prorealcod...
Louwrens Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is...
inavsan ¿Puede ser que estén cambiados los conceptos alcista y bajista?
Rafa Hay una actualización de esta estrategia. Si miras mis posts es más robusta el screener. Un ...
Boursomaniac In addition, if you want to get more information on how to use the candlestick and evening a...
Francesco78 Merci, tres interessant
Magnatolia Hi, this is amazing! Thanks! Question, I'm on end of day data. How do you actually implem...
Iber0 Asi quedaria con el spread de IG [IMG]http://i65.tinypic.com/2418ism.jpg[/IMG]
bjoern Seems to work nice on BUND - M15 with SL 70 and TP 120
hvluthy@sunrise.ch I tried to backtest this code but don't get any restults. Can any body help me?
2 years ago
Newtrader Thanks. The indicator is great. It has a great potential.
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...
Rohan Thanks. It sometimes tests better when you remove the "close" part of the code - only look a...
gabri Ichimoku is one of the best trend indicator ever together with the Guppy EMA's. I agree with...
primo1 thanks
pascal3431 Salut Doc , Je ne vois pas ce qui fait office de stop dans ce code .. un retour dans le nua...
Doctrading Bonjour, Il s'agit juste d'une stratégie où on est toujours en position : soit à l'achat / ...
pascal3431 Bonjour, après quelques essais sur EUR/USD au M15 en rajoutant(car sinon on est en perte) u...
Doctrading Nice Job ! Here is my version of the code :  KBO = 0 Tenkansen = (highest[9](high)+lowe...
gefinance Thanks for this code. The only thing left missing is the time lapse, otherwise, lots of old...
Nicolas Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
sourberry Thank you , this is a great indicator works beautifully. Could you kindly modify to scr...
grizzly Great work - i use the cloud in some of my auto systems and very reliable.
Dymjohn Thanks for the comment grizzly, I like the look of your position sizing coding but won't use...
Elsborgtrading Hi John, and nice to see you took the Ichimoku a step further:-) One thing though, I think t...
Julio Hi Doctrading, Is it possible to flip this to a "going bearish" by simply switching the cod...
Doctrading Hello, Yes, you can do it very simply...
Tarek Laaroussi Hi doctrading i am the one who sent you the email first thanks for the code . It really wo...
mcha bonjour, merci pour cet échange mais il me semble que ce twist des SSA  et SSB serait plus ...
Pasq Concernant la remarque précédente, il est possible de remplacer les 2 lignes de code de cett...
Nicolas Merci Pasq. On peut retrouver ce code corrigé sur le forum, je viens d'en retrouver un exemp...
cami1974 Hello, Thanks for this code. It seems that "crosses over" and "crosses under" function...
cami1974 Hello, Thanks for this code. It seems that "crosses over" and "crosses under" function...
cami1974 // Check this error on Vallourec UT1h for candle 13/11/2017 09:00 p1=9 p2=26 Tenkansen ...
gino merci beaucoup
Olivier7 Hi Doctrading, Thank you very much for everything you have been doing on this site, it's ...
Olivier7 // Original code // Ichimoku Tenkan-Kijun Cross (screener) // https://www.prorealcode.com/...