valeur du spread comme condition

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #173275 quote
    bertrandpinoybertrandpinoy
    Participant
    Veteran

    Bonjour,

    Je supprime les conditions “timeEnterBefore AND timeEnterAfter “.

    C’est le Spread qui va être une condition. : Si le Spread <= x

    Je cherche sur le forum mais je ne trouve pas la formule.?

    Merci, cordialement.

    #173285 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour,

    Si la question concerne un mot-clé pour utiliser le spread, plutôt que comment on écrit un bloc if…then…endif”, il n’y a pas de mot clé qui retourne le spread par code.

    bertrandpinoy thanked this post
    #173286 quote
    bertrandpinoybertrandpinoy
    Participant
    Veteran

    Ok…

    “if spread >= x then”

    pose problème. Avez-vous le bon block pour moi?

    merci encore.

    #173287 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    A ce moment là, si “spread” est une variable personnelle qui a plusieurs valeurs définies ailleurs dans le code selon l’horaire, je ne vois pas de problème de syntaxe dans “if spread >= x then”. Il faut voir le reste du code pour chercher s’il y a un bug ailleurs que cette ligne.

    #173318 quote
    VonasiVonasi
    Moderator
    Master

    Sujet déplacé sur le forum français comme vous l'avez posté dans le forum anglais. Le sujet a également été déplacé vers le forum ProOrder depuis le forum ProBuilder car il s'agit d'un sujet de stratégie et non d'un sujet d'indicateur.

    bertrandpinoy thanked this post
Viewing 5 posts - 1 through 5 (of 5 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

valeur du spread comme condition


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 07/07/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...