Flèches dans Probacktest

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #208882 quote
    Seblecoach01Seblecoach01
    Participant
    New

    Bonsoir,

    Afin de tester des entrées possibles en position suivant mes critères, j’aurais voulu afficher des flèches à chaque fois que les conditions sont remplies.

    Pour celà j’utilise le code suivant :

    IF NOT LongOnMarket AND Condition1=1 and Condition2=1 THEN
    DRAWARROWUP (xArrow,yArrowDown) COLOURED (49,140,231,Transparance)
    DRAWTEXT ("Achaaaat",barindex, yTextDown, Dialog, Bold, 14) COLOURED(49,140,231,Transparance)
    ENDIF

    Lorsque je valide le Backtest, j’ai un message d’erreur me disant qu’une autre expression serait plus appropriée que DrawArrowUp.

    J’aurais donc voulu savoir si il est possible de faire ce genre d’opération dans Probacktest (et si oui comment) ou si cela est tout bonnement impossible.

    Je vous remercie par avance pour vos réponses et vous souhaite une excellente soirée.

    Seb.

    #208895 quote
    NicolasNicolas
    Keymaster
    Legend

    On ne peut pas utiliser les instructions graphiques lors de backtests.

    On peut utiliser l’instruction GRAPH qui permet de visualiser une valeur. Ici une condition booléenne (0=faux ; 1=vrai):

    GRAPH NOT LongOnMarket AND Condition1=1 and Condition2=1 as "condition d'achaaaat"
    Seblecoach01 thanked this post
    #208906 quote
    Seblecoach01Seblecoach01
    Participant
    New

    Bonjour Nicolas et merci pour la réponse.

    Je vais tester tout ça.

    Bonne journée.

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

Flèches dans Probacktest


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Seblecoach01Seblecoach01
3 years, 7 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 01/31/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...