Indicateur tendance multi time frame

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182444 quote
    matthieuatd
    Participant
    Average

    Bonjour

    Je cherche à coder un indicateur qui permette de m’indiquer sous le graphique idéalement lorsque le prix se trouve simultanément sous une mm7 et mm20 simple en M15/H1/H4. Est ce possible ?

    Merci d’avance pour votre aide

    #182453 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    pour le prix sous les 2 mm de chacune des 3 UT, on peut tester ceci:

    timeframe(4h)
    
    mm7tf4h=Average[7](close)
    mm20tf4h=Average[20](close)
    
    timeframe(1h)
    
    mm7tf1h=Average[7](close)
    mm20tf1h=Average[20](close)
    
    timeframe(15minutes)
    
    mm7tf15mn=Average[7](close)
    mm20tf15mn=Average[20](close)
    
    timeframe(default)
    
    c4h = close<mm7tf4h and close<mm20tf4h
    c1h = close<mm7tf1h and close<mm20tf1h
    c15mn = close<mm7tf15mn and close<mm20tf15mn
    
    dessous = c4h and c1h and c15mn
    
    return dessous
    #182469 quote
    matthieuatd
    Participant
    Average

    Merci cela semble fonctionner parfaitement!

Viewing 3 posts - 1 through 3 (of 3 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

Indicateur tendance multi time frame


Trading Général : Analyse Marchés & Discrétionnaire

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by matthieuatd
4 years, 9 months ago.

Topic Details
Forum: Trading Général : Analyse Marchés & Discrétionnaire
Language: French
Started: 11/28/2021
Status: Active
Attachments: No files
Logo Logo
Loading...