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 • 15 days ago #

    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
khashayar
11 months ago
ichimoku soft
ichimoku soft
2
Indicators
DELBERT Bonjour , je voudrais savoir si votre indicateur peut être installé sur PRT V.10.3 ou s'il e...
khashayar Hi I wrote for version 11. But I think it works for version 10.3 as well. Thanks
Boris Hi IVMcm, thanks for your amazing work. I have tested all of your indicators and use some of...
IV Mcm With pleasure and thanks!
ashiash how to use this indicator can i use tradingview platform
Maxime Baudin Merci l'ami, passe une bonne semaine
IV Mcm Merci de même ;)
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 !!!
IV Mcm Line 68 and 70, you must delete the instruction at the end of the line "" Bordercolor(0,0,0,...
BoutDePain This instruction is for the V11 maybe that you are using V10.3 then you can safely remove it.
Protagonist Bonjour, Je vois l'instruction inRange mais je ne trouve pas sa signification. Pouvez-vous...
fazel53 How do i attach this indicator to my mt5 platform?
Nicolas You can't! All indicators here are for ProRealTime trading platform: https://www.prorealtime...
Mika83 Pas mal du tout !!
finedeclaire Bonjour, Comment fait on pour afficher la colonne de droite. J'ai la V11 je ne trouve pas. M...
finedeclaire Pardon, j'ai trouver, désolé
Nicolas le code est déjà sur cette page, inutile de fournir un autre format ?! Les fichiers itf sont...
Novice-Surfer Hello IV Mcm, You are my leader ! Your work is incredibly precise, thank you very much f...
Mikolajek Merci pour votre excellent travail !
IV Mcm Bonjour, Je ne reconnais pas cette ligne dans le code, essayer de télécharger directement le...
Manu L. Bonjour, Possible de créer un screnner multiframe Mois dans Ichimoku semaine dans Ichimok...
Zigo
3 years ago
denmar Neat. Thanks.
Zigo Line 39 TS has to be KS Line 41 TS has to be KS
cristofer Same here, as the long version, adding SMA200: sma200 = Average[200](Close) > Close ...
cristofer mate, I just realised that the formula for TenakanSen is wrong, it should be: TS=(highe...
cristofer Very nice! thanks for sharing this. I added (as a personal preference) that the Close mus...
cristofer same here with the TS formula: TS=(highest[9](high) + highest[9](low))/2 source: h...
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
pat95162 Salut Pourquoi je n'ai pas les même résultats que vous
UkCoopDownUnder Any hints for us, on which variables we should be optimising ? As of November 2020, the cu...
Jan
4 years ago
Kovit Hi guys, please could someone help with a bit of Ichimoku code that will improve performance...
Kovit lol I should be more exact with my wording, more accurately I was looking for an indicator t...
jm121212 how can we change the default settings?
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site -> https://fr.piliapp.com/symbol/

Top