Gap de x points.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119058 quote
    Umbrapro
    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
    fifi743
    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
    robertogozzi
    Moderator
    Master

    Ça devrait être

    dclose(1)

    le reste a l'air bien.

    fifi743 thanked this post
    #119088 quote
    Umbrapro
    Participant
    Junior

    Merci

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

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 Umbrapro
6 years, 1 month ago.

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