Indicateur Ichimoku – Kijun tenkan cross

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54583 quote
    Houdini
    Participant
    New

    Bonjour,

    Je sais qu’il existe déjà un indicateur sur le site concernant le sujet de mon topic mais ma demande est la suivante:

    Est-il possible d’afficher sur prorealtime une ligne vertical dans la fenêtre des prix à chaque croisements de kijun/tenkan?

    ( un peu comme sur l’image en pièce jointe ) 

    Merci beaucoup!

    images.jpg images.jpg
    #54586 quote
    zen83
    Participant
    Senior

    oui tout à fait //croisement kijun tenkan indiqué par ligne verticale// rouge si kijun croise tenkan à la hausse// verte si tenkan croise kijun à la hausse// bleu si kijun croise tenkan à la baisse// orange si tenkan croise kijun à la baissep1=9p2=26tenkan=(highest[p1](high)+lowest[p1](low))/2kijun=(highest[p2](high)+lowest[p2](low))/2if kijun crosses over tenkan thenDRAWVLINE (barindex)coloured (200,0,0)endifif tenkan crosses over kijun thenDRAWVLINE (barindex)coloured (0,200,0)endifif kijun crosses under tenkan thenDRAWVLINE (barindex)coloured (0,0,255)endifif tenkan crosses under kijun thenDRAWVLINE (barindex)coloured (237,127,16)endifreturn tenkan,kijun    

    //croisement kijun tenkan indiqué par ligne verticale
    // rouge si kijun croise tenkan à la hausse
    // verte si tenkan croise kijun à la hausse
    // bleu si kijun croise tenkan à la baisse
    // orange si tenkan croise kijun à la baisse
    p1=9
    p2=26
    tenkan=(highest[p1](high)+lowest[p1](low))/2
    kijun=(highest[p2](high)+lowest[p2](low))/2
    if kijun crosses over tenkan then
     DRAWVLINE (barindex)coloured (200,0,0)
    endif
    if tenkan crosses over kijun then
     DRAWVLINE (barindex)coloured (0,200,0)
    endif
    if kijun crosses under tenkan then
     DRAWVLINE (barindex)coloured (0,0,255)
    endif
    if tenkan crosses under kijun then
     DRAWVLINE (barindex)coloured (237,127,16)
    endif
    return tenkan,kijun

    Edit: code ci-dessus édité par modérateur pour mettre au bon format, merci d’utiliser le bouton <> (insert PRT code) dans l’éditeur de message pour qu’un code apparaisse au format PRT

    Kijun-Tenkan-X.itf
    #54591 quote
    zen83
    Participant
    Senior

    si tu désires changer les RVB des couleurs voici la palette de couleurs

    http://www.toutes-les-couleurs.com/en/rvb-color-code.php

    #54603 quote
    Houdini
    Participant
    New

    Parfait! Merci beaucoup! 🙂 

    #54877 quote
    Ruddy
    Participant
    Senior

    Bonjour,

    Parce que j’utilise beaucoup les lignes verticales sur le graphique des prix,  j’ai modifié l’indicateur “Tenkan Kijun X” initié par HOUDINI. Cet indic est surtout plus facilement lisible que quand il est placé dans une fenêtre distincte.

    Je l’ai aussi simplifié. En effet, un croisement à la hausse de Tenkan/Kijun est identique à un croisement à la baisse de Kijun/Tenkan. Il en va de même pour un croisement à la baisse de Tenkan/Kijun et un croisement à la hausse de Kijun/Tenkan.

    Ruddy

    // Indication du croisement kijun tenkan sur le graphique des cours initié par HOUDINI
    // Croix et texte vert clair si tenkan croise kijun à la hausse
    // Croix et texte orange si tenkan croise kijun à la baisse
    
    p1=9
    p2=26
    tenkan=(highest[p1](high)+lowest[p1](low))/2
    kijun=(highest[p2](high)+lowest[p2](low))/2
    
    
    Atr = averagetruerange[10](Close)*2
    if tenkan crosses over kijun then
    Drawtext("▲", barindex,low-(Atr/2), dialog, standard, 20)coloured(0, 200, 0)
    Drawtext("T x K", barindex,low-(Atr*1.5), dialog, standard, 15)coloured(0, 200, 0)
    endif
    
    if tenkan crosses under kijun then
    Drawtext("▼", barindex,high+(Atr/2), dialog, standard, 20)coloured(237, 127, 16)
    Drawtext("T x K", barindex,high+(Atr*1.5), dialog, standard, 15) coloured(237, 127, 16)
    endif
    
    return tenkan,kijun
    
    

     

    Kijun-Tenkan-X_2.itf
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Indicateur Ichimoku – Kijun tenkan cross


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Houdini @houdini Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Ruddy
8 years, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/03/2017
Status: Active
Attachments: 3 files
Logo Logo
Loading...