convergence multi timeframe CCI

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #126393 quote
    graff.laetitiagraff.laetitia
    Participant
    Junior

    Bonjour
    J’ais quelque difficulter a coder un indicateur pour une convergence CCI entre plusieur unitée de temps , je souhaite un batonnais quand par exemple en 15 min le cci est supérieur a 0 , et en 5 min aussi et que en 1 min ca croise 0 .
    J’ais essayer de faire ca mais dans mon code il y a des chose qui ne fonctionne pas .
    ( X = 1)

    Merci d’avance pour votre aide 🙂

    #126394 quote
    graff.laetitiagraff.laetitia
    Participant
    Junior

    j’ais pas vue que ma capture d’ecran n’avais pas ete mise

    problem-code-.png problem-code-.png
    #126396 quote
    graff.laetitiagraff.laetitia
    Participant
    Junior

    ca c’est le code , mais je ne sais pas si on peut bien le voir , j’ais timeframe qui est souligner et CCI

    //indicateur=0
    CommodityChannelIndex= CCI[20](close)
    // achat
    timeframe (x minutes )
    CCI[20](close)
    C1=CCI[20](close)> 0
    TIMEFRAME(X min)
    CommodityChannelIndex= CCI[20](close)
    C2=CCI = CCI[20](close)>0
    TIMEFRAME(X min)
    CommodityChannelIndex= CCI[20](close)
    C3= CCI crosses over 0
    IF C1 and C2 and C3
    INDICATEUR= 1
    endif
    //vente
    TIMEFRAME(X min)
    CommodityChannelIndex= CCI[20](close)
    Cv1= CCI[20](close)< 0
    TIMEFRAME(X min)
    CommodityChannelIndex= CCI[20](close)
    CCI = CCI[20](close)< 0
    Cv2= CCI> 0
    TIMEFRAME(X min)
    CommodityChannelIndex= CCI[20](close)
    Cv3= CCI crosses under 0
    IF Cv1 and Cv2 and Cv3
    INDICATEUR= -1
    ENDIF
    return INDICATEUR as CCI
    #126397 quote
    NicolasNicolas
    Keymaster
    Legend
    • Utilisez toujours le bouton “Insert PRT Code” lorsque vous mettez du code dans vos messages pour faciliter la lecture par les autres.

    C’est normal, il n’y a pas encore de support pour les autres unités de temps quand on crée un indicateur (ça arrivera bientôt en v11).

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

convergence multi timeframe CCI


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by NicolasNicolas
6 years, 5 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/16/2020
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...