cerco indicatore che mi indica i livelli ADR

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #167611 quote
    daniele1991
    Participant
    Junior

    cerco indicatore per vedere sul grafico i livelli ADR grazie mille

    #167616 quote
    robertogozzi
    Moderator
    Master

    ADR sta per…. Advance Decline Ratio, Average Daily Range, o altro?

    #167647 quote
    daniele1991
    Participant
    Junior

    Average Daily Range

    #167654 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    // ADR Average Daily Range
    //
    ONCE Periods = 20    //Periods for theAverage
    ONCE AvgType = 0     //Average type (0=sma, 1=ema, 2=wma, etc...)
    ONCE ADRtype = 1     //see comments below  (1=default)
    //
    IF ADRtype = 1 THEN                          //1 - calculate the average of HIGHs and LOWs to build two bands
       HIlevel = average[Periods,AvgType](high)
       LOlevel = average[Periods,AvgType](low)
       MyADR   = (HIlevel + LOlevel) / 2
    ELSE                                         //2 - calculate the average of RANGE (pips)
       HIlevel = average[Periods,AvgType](range)
       LOlevel = HIlevel
       MyADR   = HIlevel
    ENDIF
    RETURN HIlevel AS "Upper Range",LOlevel AS "Lower Range",MyADR AS "ADR"

    Per metterlo sui Prezzi devi seguire i 3 passi indicati nella foto epoi selezionare l’indicatore (che devi avere precedentemente creato).

    x-9.jpg x-9.jpg
    #167659 quote
    daniele1991
    Participant
    Junior

    super gentile 🙂

    #167942 quote
    daniele1991
    Participant
    Junior

    PURTROPPO L’INDICATORE NON E’ QUELLO CHE CERCAVO NON E’ POSSIBILE METTERE IL PERIODO SUL QUALE CALCOLARLO …. AD ESEMPIO IO LO USO A 20 PERIODI , LE MANDO UNA FOTO DI QUELLO CHE USO SULLA MT4 CON LA SPERANZA DI POTERLO RIPORTARE SULLA PRO REAL TIME E LE ALLEGO L’INDICATORE NELLA SPERANZA DI POTERLO NEL CASO CONVERTIRLO  ….LA RINGRAZIO SAREBBE VERAMENTE UTILE

    ADR-PRO-REAL-TIME.png ADR-PRO-REAL-TIME.png ADR.ex4 ADR.mq4
    #167956 quote
    robertogozzi
    Moderator
    Master

    Non è lo stesso, comunque per chiedere una conversione utilizza questo link https://www.prorealcode.com/free-code-conversion/, allegando il file MQ4 (EX4 non importa) e la foto sopra, più una descrizione di quello che fa.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

cerco indicatore che mi indica i livelli ADR


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by robertogozzi
4 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 04/20/2021
Status: Active
Attachments: 4 files
Logo Logo
Loading...