Gap de x points.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119058 quote
    UmbraproUmbrapro
    Participant
    Junior

    Bonjour j’aimerais pouvoir rajouter à mon robot une variable : Faire en sorte qu’il soit actif uniquement les jours ou il y a un gap de plus de x points. (J’utilise le dax en 5 min sur les fut de 8hà22h)

    Si jamais vous avez la ligne de code, merci d’avance :=)

    #119059 quote
    fifi743fifi743
    Participant
    Master
    if time>080000 and time <220000 and abs(dclose(0)-Dopen(0))>x then
    ........
    endif

    bonsoir,

    j’ai un doute avec mon dclose(0)

    je ne sais pas si il faut metttre 1 ou 0

    a essayer

    #119073 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ça devrait être

    dclose(1)

    le reste a l'air bien.

    fifi743 thanked this post
    #119088 quote
    UmbraproUmbrapro
    Participant
    Junior

    Merci

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

Gap de x points.


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Umbrapro @umbrapro Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by UmbraproUmbrapro
6 years, 8 months ago.

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