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

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
tba69 I think I got excited too fast ... will IG go to version 11 soon?
Nicolas @tba69 That's ok, the strategy is good IMO, thanks again for sharing :)
Nicolas Once beta is over, they should be able to upgrade to v11. I'm confident that it will happen ...
Jan Wind
2 months ago
allanrobinson Hi Thank you for this. I have replaced the S, M, L and cm with backtested figures in prepar...
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 ...
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...
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...
gabri
2 years ago
gabri You are welcome!!
Jérôme Dumortier Thank's a lot !!!
Gaby333 Thanks Mate
Rafa
2 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...
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
3 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...
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...
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...

Top