linee in primo piano

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10865 quote
    retnisretnis
    Participant
    Junior

    Salve

    vorrei sapere se è possibile portare in primo piano la linea della REGRESSION FORCE dell’indicatore BUY & SELL PRESSURE XeLMod

    di cui posto il codice

    grazie …saluti

    // Fixed Variables
    Cl    = close
    Hi    = high
    Lo    = low
    Vo    = volume
    IF Vo = 0 THEN
    Vo = 1
    ENDIF
    Hm    = max(Hi,Cl[1])
    Lm    = min(Lo,Cl[1])
    // XeL Rate Of Change MoD (Regressional)
    SProc = abs((Hm-Cl)/Hm)
    BProc = abs((Cl-Lm)/Lm)
    SPprc = Hm-Cl
    BPprc = Cl-Lm
    BPa   = Average[P](BProc)
    BPap  = Average[P](BPprc)
    SPa   = Average[P](SProc)
    SPap  = Average[P](SPprc)
    BPn   = (BProc/BPa)*12
    SPn   = (SProc/SPa)*12
    BPnp  = (BPprc/BPap)*12
    SPnp  = (SPprc/SPap)*12
    Va    = Average[55](Vo)
    Vn    = Vo/Va
    BPo   = linearregression[9](BPn * Vn)
    SPo   = linearregression[9](SPn * Vn)
    nbf   = Average[9](BPnp * Vn)
    nsf   = Average[9](SPnp * Vn)
    lrBPh = (BPo - SPo)
    // PLOT DIRECTIVES
    RETURN lrBPh AS "Regression Force" , nbf COLOURED(0,255,0) AS "BP", nsf COLOURED(255,0,0) AS "SP"
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

linee in primo piano


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
retnis @retnis Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 07/25/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...