erreur codage

Viewing 12 posts - 1 through 12 (of 12 total)
  • #249024

    Bonjour

    j ai poste un fichier concernant un souci de syntax

    pouvez  vous m aider

    merci..

    #249026

    copie ce code dans probuilder

     

    1 user thanked author for this post.
    #249027

    Merci de votre reponse… je joins un fichier .. je suis pas expert en codage si vous pouvez encore m aider… merci

    #249035

    Bonjour. Voici ton code sans erreurs.

    Pour la prochaine fois, il vaut mieux que tu partages le code et tes questions directement ici. Pour partager du code, il te suffit de cliquer sur le bouton pour ajouter du code PRT.

    1 user thanked author for this post.
    #249036

    Voici une petite variation de ton code pour détecter le pullback après le croisement et non pendant le croisement des moyennes.
    Je n’ai pas voulu trop modifier la logique de ton code, simplement attendre que le croisement soit déjà effectué.

    2 users thanked author for this post.
    #249073

    Bonjour

    Actuellement je fais des test d  indicateur …je ne suis pas un expert ..les corrections que vous avez apporter on bien fontioner mais je dois affiner  merci de votre aide…j ai toujours des problème  de syntax

    pouvez vous faire une correction sur ce code ..

    // — Module 1 : Détection Breaker Block M3 —
    DEFPARAM CumulateOrders = False

    // Cassure de structure simple (BOS haussier)
    bosUp = close > highest[5](close[1])
    // Cassure de structure baissière
    bosDown = close < lowest[5](close[1])

    // Enregistrer la zone du breaker block
    IF bosUp THEN
    breakerHigh = high
    breakerLow = low
    breakerMid = (breakerHigh + breakerLow) / 2
    DRAWRECTANGLE(“BreakerHaussier”, barindex, breakerHigh, barindex+5, breakerLow) coloured(255,200,0)
    ENDIF

    IF bosDown THEN
    breakerHigh = high
    breakerLow = low
    breakerMid = (breakerHigh + breakerLow) / 2
    DRAWRECTANGLE(“BreakerBaissier”, barindex, breakerHigh, barindex+5, breakerLow) coloured(200,50,50)
    ENDIF

    Merci..

    #249074
    3 users thanked author for this post.
    #249075
    JS

    Bonjour,
    Il est important de bien faire la distinction entre les indicateurs et les systèmes de trading, car chacun a une syntaxe autorisée différente…

    DefParam CumulateOrders = False appartient à un système de trading, et non à un indicateur…

    De plus, un indicateur doit toujours se terminer par RETURN

    Essayez d’exécuter ce code sous le module « Indicateurs »…

    3 users thanked author for this post.
    #249098

    bonjour

    j essai de faire codage sur structure de marche probleme de syntax

    merci pour la correction…

    // Paramètre de sensibilité
    DEFPARAM CumulateOrders = False
    depth = 5

    // Détection d’un Swing High (Haut de structure)
    swingHigh = (high > highest[depth](high[1])) AND (high >= highest[depth](high[-depth]))

    // Détection d’un Swing Low (Bas de structure)
    swingLow = (low < lowest[depth](low[1])) AND (low <= lowest[depth](low[-depth]))

    // Affichage des points
    IF swingHigh THEN
    DRAWSHAPE(1, style = shapeCircle, color = green, size = 2, position = aboveBar)
    ENDIF

    IF swingLow THEN
    DRAWSHAPE(1, style = shapeCircle, color = red, size = 2, position = belowBar)
    ENDIF

    RETURN

    #249101

    deja enlever le – devant depth

    1 user thanked author for this post.
    #249102

    Merci de votre reponse

    ci joint fichier + erreur

    #249104

    Existe-t-il une commande DrawShape

     ? Essayez DrawText ?

     

     

    1 user thanked author for this post.
Viewing 12 posts - 1 through 12 (of 12 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login