Condition sur bougie précédente

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #226855 quote
    RICOU
    Participant
    New

    Bonjour,

    existe t-il un code qui puisse mettre une condition sur la bougie précédente :

    par exemple si la bougie précédente “ma condition” then …..

    Par avance merci,

    #226867 quote
    JC_Bywan
    Moderator
    Master

    Si le nom de ta condition est “macondition”, alors “macondition[1]” est sa valeur en bougie précédente, et tu peux faire en lecture de bougie courante:

    macondition= …

    if macondition[1] then

    endif

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

Condition sur bougie précédente


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
RICOU @ricou Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_Bywan
2 years, 1 month ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 01/24/2024
Status: Active
Attachments: No files
Logo Logo
Loading...