Media Candele Giornaliere (Daily Candle Average)

Forums ProRealTime English forum ProBuilder support Media Candele Giornaliere (Daily Candle Average)

  • This topic has 4 replies, 3 voices, and was last updated 1 year ago by avatarbyT77.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #193328

    Buongiorno,

    Chiedo cortesemente un piccolo aiuto.

    Vorrei identificare il valore di una media eseguita sulle candele giornaliere, rispettando i giorni della settimana.

    Semplifico con un piccolo esempio:

    Supponiamo che la Candela di Oggi corrisponda al giorno della settimana “1=Lunedì” e che io voglia la media solo dei giorni “1” per “x” tempo. Escludendo la candela corrente.

    N = Average[21](giorno=1)

    Naturalmente con la condizione “IF” per calcolare di giorno in giorno in automatico.

    In attesa di un cortese riscontro, ringrazio anticipatamente.

    Good morning,

    I kindly ask for a little help.

    I would like to identify the value of an average performed on daily candles, respecting the days of the week.

    Let me simplify with a small example:

    Let’s suppose that Today’s Candle corresponds to the day of the week “1 = Monday” and that I want the average of days “1” only for “x” time. Excluding the current candle.

    N = Average [21] (day = 1)

    Of course with the “IF” condition to calculate day by day automatically.

    Waiting for a kind reply, thank you in advance.

    #193456
    JS

    Normally you can use:

    If CurrentDayOfWeek = 1 then

    Y = Close

    EndIf

    But when I use CurrentDayOf Week = 1 nothing happens

    CurrentDayOfWeek = 2 returns Monday

    CurrentDayOfWeek = 3 returns Tuesday

    ???

    #193605

    Thank you so much.

    Have a nice day

    #193903

    Maybe this is what you were looking for (only a simple average can be calculated):

     

    #193907

    Perfect!

    Thank you so much. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login