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 #

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

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

    // ACHAT
    C1 = Tenkansen crosses over Kijunsen

    IF C1 THEN

    // VENTE
    C1v = Tenkansen crosses under Kijunsen

    IF C1v THEN


  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/


    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


Register or


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

+1 more likes

Related users ' posts
2 months ago
denmar Neat. Thanks.
Zigo Line 39 TS has to be KS Line 41 TS has to be KS
Gubben Since july 24th it's doing well. Started with a longer drawdown than expected but now it's 1...
Tony87 Gubben do we have a progress report?
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
1 year ago
gabri Hi, I would recommend to try some other entry criteria: 1) chikou crossing over max(spanA,sp...
693579 As Allanrobison pointed out..... After setting Variable, "summation" from pro builder needs ...
Bard Thanks for this Ichimoku strategy Jan, I wonder now, how this strategy would benefit if the ...
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/
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 ..
juanj @zebra would you be so kind as to post your latest 4H USD/JPY results here: https://www.pror...
Holy Grail Thank you juanj for sharing this code, Backtests looks great in USDJPY and Crude Oil Is a...
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
3 years ago
gabri You are welcome!!
Jérôme Dumortier Thank's a lot !!!
Gaby333 Thanks Mate
gblast I added this indicator to my pro real time but its not showing up on my candles. Its invisible
3 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]
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?
3 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...