Réglages CurrentDayOfWeek Erronés

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #183629 quote
    wtangsiriwtangsiri
    Participant
    Junior

    Bonjour Nicolas,

    j’ai eu des éxécutions de mes algos qui tournent bizarrement et J’ai décidé de faire un test sur l’instruction CurrentDayOfWeek

    IF (CurrentDayOfWeek = 5) THEN
    Friday = 1
    ELSE
    Friday = 0
    ENDIF

    RETURN Friday

    J’obtiens la valeur 1 uniquement après le vendredi 17/12/2021 à 6heures 55, Avant le vendredi 17/12/2021 à 6heures 55, la valeur retournée est zéro

    Pouvez vous m’aider à régler mon système ?

    Merci beaucoup

    #183634 quote
    fifi743fifi743
    Participant
    Master

    bonjour,

    essais

    openCurrentDayOfWeek

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

Réglages CurrentDayOfWeek Erronés


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
wtangsiri @wtangsiri Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by fifi743fifi743
4 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/20/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...