Ichimoku Tenkan-Kijun Cross (screener)

Ichimoku Tenkan-Kijun Cross (screener)

This code is a screener for the famous “Tenkan-Kijun Cross” strategy.

Buy conditions :

Tenkan crosses over Kijun

Tenkan & Kijun > Kumo

Close > Kumo

Chikou > Kumo

Sell conditions : the opposite

You can also set it like an indicator, with “+1” for buy conditions, and “-1” for sell conditions.

It can be very useful if you like Ichimoku.

Of course, you can also try it with some other parameters, such as weak TKC on the opposite side of the Kumo, or inside the Kumo.

Use it well !

Happy Trading !

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. gino • 03/25/2016 #

    bonjour doctrading
    j’aurais voulus savoir si il vous était possible de faire un autre screener sur la base de l’ichimoku?
    un qui indiquerais uniquement le croisement a la hausse de la tenkan sur la kijun. 
    j’ai essayé de reprendre le votre et de le modifier mais je n’y arrive pas je ne suis pas très douer
    merci par avance et aussi pour votre travail sur ce site.

  2. Doctrading • 03/25/2016 #

    Bonjour,
    Voilà le code. Il est tellement simple que je ne l’ai pas vérifié.
    Bons trades 😉
    INDICATEUR = 0

    Tenkansen = (highest[9]+lowest[9])/2
    Kijunsen = (highest[26]+lowest[26])/2

    // ACHAT
    C1 = Tenkansen crosses over Kijunsen

    IF C1 THEN
    INDICATEUR = 1
    ENDIF

    // VENTE
    C1v = Tenkansen crosses under Kijunsen

    IF C1v THEN
    INDICATEUR = -1
    ENDIF

    screener[INDICATEUR]

  3. gino • 03/25/2016 #

    merci beaucoup

  4. Olivier7 • 329 days ago #

    Hi Doctrading,

    Thank you very much for everything you have been doing on this site, it’s really helpful for newcomers.

    I’m trying to run a slightly modified version of your scan.

    But instead of matching “now” I would like the results to match a variable day in the past, (for example 7 days ago)…

    What I’m basically trying to achieve is to have :
    • Tenkan over the Kijun
    • Tenkan & Kijun > Kumo
    • Close > Kumo
    • Chikou > Kumo

    And this should match the 7th bar ago (not the current one..)

    I was wondering, is that actually possible to run a scan back in time ?

    Thank you for your help…

    So far I came up with this.

  5. Olivier7 • 329 days ago #

    // Original code
    // Ichimoku Tenkan-Kijun Cross (screener)
    // https://www.prorealcode.com/prorealtime-market-screeners/ichimoku-tenkan-kijun-cross-screener/

    INDICATEUR = 0

    period1 = 9
    period2 = 26
    period3 = 52

    howManyDaysAgo = 7

    period1 = period1 + howManyDaysAgo
    period2 = period2 + howManyDaysAgo
    period3 = period3 + howManyDaysAgo

    Tenkansen = (highest[period1](Dclose(howManyDaysAgo)) + lowest[period1](Dclose(howManyDaysAgo))) / 2
    Kijunsen = (highest[period2](Dclose(howManyDaysAgo)) + lowest[period2](Dclose(howManyDaysAgo))) / 2

    SSpanA = (tenkansen[period2]+kijunsen[period2])/2
    SSpanB = (highest[period3](high[period2])+lowest[period3](low[period2]))/2

    Chikou = close[period2]

    // ACHAT
    C1 = close > SSpanA and close > SSpanB
    C2 = Tenkansen > Kijunsen
    C3 = Tenkansen > SSpanA and Tenkansen > SSpanB
    C4 = Kijunsen > SSpanA and Kijunsen > SSpanB
    C5 = Chikou > SSpanA[period2] and Chikou > SSpanB[period2]

    IF C1 and C2 and C3 and C4 and C5 THEN
    INDICATEUR = 1
    ENDIF

    screener[INDICATEUR]

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
gabri
11 months ago
Andyswede Really nice one! Thank´s a lot :)
gabri You are welcome!!
Rafa
1 year ago
Eusebio Garcia Nuez tambien con que indicador se puede compaginar el ichimoku
Rafa El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
Rafa El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
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 ...
Iber0 Asi quedaria con el spread de IG [IMG]http://i65.tinypic.com/2418ism.jpg[/IMG]
avatar
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?
Rohan
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...
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 // Check this error on Vallourec UT1h for candle 13/11/2017 09:00 p1=9 p2=26 Tenkansen ...
Sebausse I have corrected the code which was only returning "buy" condition: Tenkansen = (highest[...

Top