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?

PRC is also 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 • 03/25/2016 #

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

    // 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]

  6. ipbvba • 03/25/2016 #

    erreur dans le code en ligne 2

  7. mvinter • 03/25/2016 #

    Hi Doctrading im trying to use your tenkansen Kijunsen crossover screener but keep getting message error in line 3 ??? any ides ???
    INDICATEUR = 0

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

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

    Chikou = close[26]

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

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

    // VENTE
    C1v = close < SSpanA and close < SSpanB
    C2v = Tenkansen crosses under Kijunsen
    C3v = Tenkansen < SSpanA and Tenkansen < SSpanB
    C4v = Kijunsen < SSpanA and Kijunsen < SSpanB
    C5v = Chikou < SSpanA[26] and Chikou < SSpanB[26]

    IF C1v and C2v and C3v and C4v and C5v THEN
    INDICATEUR = -1
    ENDIF

    screener[INDICATEUR]

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
marcosamo Hello and thank you for this indicator, I have a small problem, it only shows the pawn at th...
marcosamo in fact I just saw a rider, so everything works sorry for my previous question
swapping perfect marcosamo, coupled with ichimoku-price-pattern this is better ;)
quibe56 Bonjour, à priori les couleurs pour le Katana ne fonctionnent pas ( départ haussier ou élan...
swapping Bonjour quibe56, n'ayant pas rencontré ce défaut je continu néanmoins à structurer le code p...
XXXXVII Great job! Indeed it leaves to think ..
Jigsaw20000 Bonjour, vous auriez un conseil pour régler l'affichage de l'indicateur ? les textes s'affic...
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
CaptainCaveman I am reluctant to say this buy I was a member of Dr Elder trading group for a while . The fa...
micquan The design is too complex and the performance is low.
gabri
6 years ago
Jérôme Dumortier Thank's a lot !!!
Gaby333 Thanks Mate
Usul83 Do not understand the specifications
gblast I added this indicator to my pro real time but its not showing up on my candles. Its invisible
Rafa
7 years 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...
Rafa Hay una actualización de esta estrategia. Si miras mis posts es más robusta el screener. Un ...
javier.puig.rovira@gmail.com Cruce te refieres a: Tenkan Sen, con Kijun Sen?
Rafa Hola Javier, Perdona pero no entiendo tu pregunta, no veo ninguna variable que sea solo "cru...
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
7 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 ?
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...
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...
pp_playaflamenca Excuse me,... reading your code about spanB: [ SenkouSpanBFutureW = (Highest[SenkouSpanPerio...
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...
swede_trader It doesn't generate anything for me. And I can't debug it, any tips?
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...
Ronny Should C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26] be C5 = Chikou > SSpanA and...
Emperor.it Chikou = close[26] it's a mistake. Chikou Span is today's closing moved back 26 periods. It...
Nicolas Indeed, there is a mistake in that code. It is often the case when using Ichimoku and its tr...

Top