VWAP 45 minutes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #265083 quote
    legggolegggo
    Participant
    Average

    bonjour


    Qui pourrait me donner le code d’ un VWAP m45 , j’ ai essayé avec ce que j ai trouvé sur le forum mais le vwap m45 que je code ne correspond pas au VWAP45 que je configure avec intervalle de temps sur la plateforme ,

    je souhaite intégrer le code a un autre indicateur c est pour cela que j en ai besoin pour ceux qui ce demande pourquoi je n’ utilise pas celui de la plateforme

    merci

    #265086 quote
    JSJS
    Participant
    Master

    Bonjour legggo,

    Il existe de nombreuses variantes du VWAP…

    Ci-dessous, voici une version intraday de base :

    If day <> day[1] then // (if intradaybarindex=0)
    
    d = 1
    
    VWAP = typicalprice
    
    else
    
    d = d + 1
    
    if summation[d](volume) > 0 then
    
          VWAP = summation[d](volume * typicalprice) / summation[d](volume)
    
    Endif
    
    Endif
    
    Return VWAP
    


    Iván González thanked this post
    #265089 quote
    legggolegggo
    Participant
    Average

    merci pour ta réponse , c est la version que j avais , j ai essayé de la passer en timeframe 45 minutes mais cela ne correspond pas au vwap m45de la plateforme , ci joint le vwap m45 sur un graph m1 et graph m5 c est que j aimerais obtenir

    vwap-m45-sur-graph-M5.jpg vwap-m45-sur-graph-M5.jpg vwap-m45-sur-graph-M1.jpg vwap-m45-sur-graph-M1.jpg
    #265092 quote
    JSJS
    Participant
    Master

    Essaie celle-ci… 

    interval=45
    
    
    gtf=gettimeframe
    
    
    tf=gtf/60
    
    
    dbars=interval/tf
    
    
    d = dbars
    
    
    if summation[d](volume) > 0 then
    
    
    VWAP = summation[d](volume * typicalprice) / summation[d](volume)
    
    
    Endif
    
    
    Return VWAP
    


    Iván González, Nicolas and titi thanked this post
    Scherm­afbeelding-2026-09-15-om-02.35.27.png Scherm­afbeelding-2026-09-15-om-02.35.27.png
    #265097 quote
    legggolegggo
    Participant
    Average

    super ça marche !


    merci beaucoup

    JS, Nicolas and robertogozzi thanked this post
Viewing 5 posts - 1 through 5 (of 5 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

VWAP 45 minutes


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
legggo @legggo Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by legggolegggo
4 weeks ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 09/14/2026
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...