ligne de code pour conditions sur plusieurs jours

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #202325 quote
    nakinvest
    Participant
    New

    Bonsoir,

    J’aurai  besoin d’une aide pour transformer les lignes en dessous en ligne de code. Ce qui m’embête c’est entre autre  la condition sur plusieurs jours(for x days).

    • Daily close for 7 days ago is greater than daily close for 20 days ago.
    • 200-day simple moving average of close for today is greater than 200-day simple moving average of close for 20 days ago.
    • Daily slow stoch %K (5, 3) for today is greater than daily slow stoch %D (5, 3) for today.(comment paramétrer le stoch %D?)

    Si quelqu’un peut m’aider à surmonter ces obstacles, ce serait sympa.

    Merci de votre aide

    #202326 quote
    JC_Bywan
    Moderator
    Master

    Bonsoir

    1)

    close[7]>close[20]

    2)

    ma200 = average[200](close)
    
    ma200 > ma200[20]

    3)

    stoK = Stochastic[5,3](close)
    
    paramD=4 // ou choisir autre valeur que 4, car pas donné dans la question
    
    stoD = StochasticD[5,3,paramD]
    
    stoK > stoD
    #202327 quote
    nakinvest
    Participant
    New

    Bonsoir,

    Merci. Je m’en  vais tester tout ça de suite.

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

ligne de code pour conditions sur plusieurs jours


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
nakinvest @nakinvest Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by nakinvest
3 years, 5 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 10/11/2022
Status: Active
Attachments: No files
Logo Logo
Loading...