MarketProfile indicator

MarketProfile indicator

Marketprofile: This is a complex script with various functions, including volume profile calculation, market session detection (such as the Asian session), opening range breakout management, and much more.

It uses a combination of technical analysis methods such as ATR (Average True Range), VPOC (Volume Point of Control), VAH (Value Area High), VAL (Value Area Low) and draws various graphical elements on the chart for visualization such as rectangles, lines and arrows to highlight price levels or important events.

The code is structured with several control flow instructions (if-else, while loops) to analyze price and volume data at different times of the day, with the aim of identifying potential trading opportunities. It adjusts dynamically according to market activity and makes extensive use of variables and arrays to store and manipulate data throughout the trading session.

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Olivier44 • 46 days ago #

    Very good work. Thanks for sharing

  2. larouedegann • 46 days ago #

    Très joli mais sans mode d’emploi
    inexploitable

    • Nicolas • 46 days ago #

      Pas sympa 🙁

    • philippe59139 • 45 days ago #

      Bonsoir Larouedegann et à l’ensemble de notre communauté,

      Nous nous trouvons sur Prorealcode, un espace dédié au partage gratuit où chaque membre de la communauté peut bénéficier des idées et contributions de tous. la plateforme est animée par un esprit de partage, de convivialité et de bienveillance, valeurs qui constituent le cœur de notre engagement collectif.

      Chaque utilisateur est invité à explorer et à utiliser les divers programmes disponibles, en y apportant sa touche personnelle. Nous encourageons donc, mesdames et messieurs, votre participation active : à vos programmes, et longue vie à ProRealCode !

      Pour ceux parmi vous qui recherchent des programmes accompagnés de modes d’emploi détaillés ou d’autres fonctionnalités spécifiques, Marketplace constitue une option plus adaptée à vos besoins.

      Je vous souhaite à tous une excellente fin de journée.

      Cordialement,
      Philippe.

  3. DELBERT • 45 days ago #

    Bonjour , merci pour le partage GRATUIT . Je voudrais vous demander comment adapter ce Marketprofile aux horaires Europe , OPR , pré-market , ….Exemple pour le DAX . Merci pour votre réponse et pour tous vos partages . Salutations .

    • philippe59139 • 45 days ago #

      Bonjour, OPR pour Moi serait de 9h à 9h15 et tu d’accords avec ce créneau?

  4. DELBERT • 45 days ago #

    Bonsoir , donc OPR = 9h00 a 9h15 et IB = 8h00 a 9h00 , que je dois changer a l’intérieur du programme . ( Début L , Fin L ) ? Merci pour votre réponse . Salutation .

    • philippe59139 • 44 days ago #

      voici pour toi,
      1-//defparam drawonlastbaronly=true
      2-//HourStart=1
      3-//HourStop=23
      4-starttimeUS = 090000
      5-endtimeUS = 091500
      6-IB=010000
      7-atr=AverageTrueRange[14](close)
      8-dataOggi=date
      9-debutL = 080000
      10-finL = 090000

      260-debutN = 090000
      261-finN = 091500

  5. DELBERT • 44 days ago #

    Bonsoir . SUPER , merci beaucoup , c’est très sympa a vous . Salutations .

  6. el titi • 43 days ago #

    Bonjour, merci beaucoup pour ce partage. Je vais regarder avec attention ce script et analyser comment l’intégrer dans mes setup. Au top

  7. Armand2020 • 41 days ago #

    Bonjour , super taf!! serait il possible de faire un poc dynamique en timeframe 5 min en modifiant quelques parametres?

  8. philippe59139 • 34 days ago #

    voici ce qu’il faudrait faire ou ajouter:
    //poc dynamique

    defparam calculateonlastbars=1000

    HourStart=SesStart //15
    HourStop=SesStop //23
    //pocdefinition=10
    //SesShow=1

    Compteur=0

    once CompteurPoc=0
    once SelEnd=0
    once SelStart=0
    once SesRTH=0
    once SesETH=0
    once ColoreSfond=0

    Compteur=Compteur+1

    BarTemps=openhour[Compteur]//OraBarra

    if BarTemps=HourStart and SelStart=0 then //Début de la session
    SelStart=1
    SelEnd=0
    SesRTH=1
    SesETH=0
    CompteurPoc=0
    if SesShow=1 then
    ColoreSfond=1
    DRAWVLINE(Barindex[Compteur])Coloured(0,100,0)
    endif
    endif

    if BarTemps=HourStop and SelEnd=0 then
    SelStart=0
    SelEnd=1
    SesETH=1
    SesRTH=0
    CompteurPoc=0
    if SesShow=1 then
    ColoreSfond=0
    DRAWVLINE(Barindex[Compteur])Coloured(0,100,0)
    endif
    endif

    ScaleFactor=3
    NbrBars=POCDefinition

    if ColoreSfond=1 then
    BACKGROUNDCOLOR(255,0,0,5)
    endif

    if SesRTH=1 or SesETH=1 then
    CompteurPoc=CompteurPoc + 1

    lookback=CompteurPoc

    hh=highest[lookback](high)
    ll=lowest[lookback](low)
    div = (hh-ll)/NbrBars
    i=0
    volsum=summation[lookback](volume)

    maxbar = 0
    while i=lrange and close[j]open[j] then
    volbull=volbull+volume[j]
    else
    volbear=volbear+volume[j]
    endif
    endif
    next
    bullbar = round((volbull*lookback)/volsum)*scalefactor
    bearbar = round((volbear*lookback)/volsum)*scalefactor

    //VPOC
    if(bullbar>maxbar) then
    vpoclevel = (lrange+hrange)/2
    maxbar=bullbar
    endif
    if(bearbar>maxbar) then
    vpoclevel = (lrange+hrange)/2
    maxbar=bearbar
    endif

    i=i+1
    wend

    if opentime=>SesStart then
    DRAWSEGMENT(barindex, vpoclevel, barindex[1], vpoclevel[1])
    endif

    rgbA=0
    rgbB=0
    rgbC=0
    if SesRTH=1 then
    rgbA=138
    rgbB=43
    rgbC=226
    else
    rgbA=255
    rgbB=69
    rgbC=0
    endif

    endif
    return //vpoclevel

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Ciccarelli Franco Sembra molto interessante e volevo dei chiarimenti se possibile :Le righe commentate vanno l...
KumoNoJuzza Thank you @philippe59139 !! We finally have the VAL / VAH to play with. Could you attach th...
Nicolas 1. yes 2. maybe yes?! 3. why not?
patapouf Bonjour Nicolas. Je viens de découvrir cet indicateur, que je trouve bien intéressant Mais...
Nicolas Tu peux modifier le paramètre "scalefactor" pour adapter la hauteur des barres à ton graphiq...

Top