Condition sur bougie précédente

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

    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_BywanJC_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.
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

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_BywanJC_Bywan
2 years, 9 months ago.

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