Bandes Bollinger month sur graphique daily

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #84990 quote
    NunoNuno
    Participant
    Average

    Bonjour

    est il possible d’afficher les bandes de bollinger d’un graphique Month (calculé à partir de (close+high+low)/3 sur 20 periodes)  sur un graphique daily?

    c’est ok pour recuperer le High / Low du mois précedent, mais il reste à avoir Close , puis à recuperer cela sur 20 periodes et ensuite faire le calcul des bandes de bollinger

    once monthlyHigh=undefined
    once monthlyLow=undefined
    once monthlyClose=undefined
    dailyHigh= DHigh(1)
    dailyLow= DLow(1)
    
    // monthly high/low
    If Month <> Month[1] then
    monthlyHigh = Highest[BarIndex - lastMonthBarIndex](dailyHigh)
    monthlyLow = Lowest[BarIndex - lastMonthBarIndex](dailyLow)
    lastMonthBarIndex = BarIndex
    ENDIF
    
    return monthlyHigh as "Prev Month High", monthlyLow as "Prev Month Low"

    merci

    nuno

Viewing 1 post (of 1 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

Bandes Bollinger month sur graphique daily


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Nuno @nuno Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/16/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...