probleme creation indicateur

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #237061 quote
    bobobobo
    Participant
    Average

    Bonjour à tous,

    J’essaie de créer l’indicateur suivant:

    c1=(high>=low[1] and high<=min(open,close)[1]) or (high<=high[1] and high>=max(open,close)[1])
    c2=(high>=low[2] and high<=min(open,close)[2]) or (high<=high[2] and high>=max(open,close)[2])
    c3=(high>=low[3] and high<=min(open,close)[3]) or (high<=high[3] and high>=max(open,close)[3])
    c4=(high>=low[4] and high<=min(open,close)[4]) or (high<=high[4] and high>=max(open,close)[4])
    c5=(high>=low[5] and high<=min(open,close)[5]) or (high<=high[5] and high>=max(open,close)[5])
    c6=(high>=low[6] and high<=min(open,close)[6]) or (high<=high[6] and high>=max(open,close)[6])
    c7=(high>=low[7] and high<=min(open,close)[7]) or (high<=high[7] and high>=max(open,close)[7])
    c8=(high>=low[8] and high<=min(open,close)[8]) or (high<=high[8] and high>=max(open,close)[8])
    c9=(high>=low[9] and high<=min(open,close)[9]) or (high<=high[9] and high>=max(open,close)[9])
    c10=(high>=low[10] and high<=min(open,close)[10]) or (high<=high[10] and high>=max(open,close)[10])
    c11=(high>=low[11] and high<=min(open,close)[11]) or (high<=high[11] and high>=max(open,close)[11])
    c12=(high>=low[12] and high<=min(open,close)[12]) or (high<=high[12] and high>=max(open,close)[12])
    c13=(high>=low[13] and high<=min(open,close)[13]) or (high<=high[13] and high>=max(open,close)[13])
    c14=(high>=low[14] and high<=min(open,close)[14]) or (high<=high[14] and high>=max(open,close)[14])
    c15=(high>=low[15] and high<=min(open,close)[15]) or (high<=high[15] and high>=max(open,close)[15])
    c16=(high>=low[16] and high<=min(open,close)[16]) or (high<=high[16] and high>=max(open,close)[16])
    c17=(high>=low[17] and high<=min(open,close)[17]) or (high<=high[17] and high>=max(open,close)[17])
    c18=(high>=low[18] and high<=min(open,close)[18]) or (high<=high[18] and high>=max(open,close)[18])
    c19=(high>=low[19] and high<=min(open,close)[19]) or (high<=high[19] and high>=max(open,close)[19])
    c20=(high>=low[20] and high<=min(open,close)[20]) or (high<=high[20] and high>=max(open,close)[20])
    return c1+c2+c3+c4+c5+c6+c7+c8+c9+c10+c11+c12+c13+c14+c15+c16+c17+c18+c19+c20

    Quelque chose doit m’echapper car impossible de valider le code.

    Voilà le message qui apparait.

    Ligne 1 caractères manquants.Suggestions fin du code

    Merci par avance pour votre aide

    #237062 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonsoir, le code fonctionne pour moi en le rentrant dans une fenêtre d’édition de code “indicateurs”.

    Une hypothèse possible serait de l’avoir entré par erreur dans une fenêtre d’édition de code “probacktest et trading automatique” (cf les 3 onglets en haut de la fenêtre “indicateurs et systèmes de trading”), car alors il ne reconnaitrait pas la ligne return exclusive aux indicateurs, et il écrirait le message d’erreur cité.

    Iván González thanked this post
    #237065 quote
    bobobobo
    Participant
    Average

    Merci bien pour la réponse…..C’est ok

Viewing 3 posts - 1 through 3 (of 3 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

probleme creation indicateur


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobo @bobo Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by bobobobo
2 years ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 09/03/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...