Visualizzazione Pivot Camarllla

Forums ProRealTime forum Italiano Supporto ProBuilder Visualizzazione Pivot Camarllla

Viewing 3 posts - 1 through 3 (of 3 total)
  • #188684

    Ciao Roberto, ho ripreso da: Library – indicatori,  questa formula di pivot “camarilla” (ho cambiato solo i colori e lo stile).

    Potresti migliorare queste due cose:

    1. visualizzare solo i pivot del giorno corrente ( e rendere invisibili quelli dei giorni passati)
    2. visualizzare per la giornata di  lunedi i valori di venerdi

    Grazie

    Ecco la formula:

    myH = ( DHIGH(1) )
    myL = ( DLOW(1) )
    myC = ( DCLOSE (1) )

    PP = myc//PP = Previous Day’s Close

    R1 = ((myH-myL) * 1.1)/12+myC
    RR2 = ((myH-myL)*1.1)/6+myC // Note: RR2 is used instead of R2 since R2 is the symbol for “R squared” in probuilder language.
    R3 = ((myH-myL)*1.1)/4+myC
    R4 = ((myH-myL)*1.1)/2+myC

    S1 = myC-((myH-myL)*1.1)/12
    S2 = myC-((myH-myL)*1.1)/6
    S3 = myC-((myH-myL)*1.1)/4
    S4 = myC-((myH-myL)*1.1)/2

    RETURN R1 COLOURED(255,0,0)style(dottedLine,2) AS “CAMA R1” , RR2 COLOURED(255,0,0)style(dottedLine,2) AS “CAMA R2” , R3 COLOURED(255,0,0)style(dottedLine,2) AS “CAMA R3”, R4 COLOURED(255,0,0)style(dottedLine,2) AS “CAMA R4” , S1 COLOURED(0,180,0) style(dottedLine,2)AS “CAMA S1”, S2 COLOURED(0,180,0) style(dottedLine,2)AS “CAMA S2” , S3 COLOURED(0,180,0)style(dottedLine,2)AS “CAMA S3” , S4 COLOURED(0,180,0) style(dottedLine,2)AS “CAMA S4” ,PP COLOURED(0,0,0)style(line,2) AS “CAMA PP”

     

     

    #188828

    Eccolo:

     

    1 user thanked author for this post.
    #188842

    Perfetto, grazie Roberto!

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

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