Aiuto per conversione di indicatore da Editor Pine

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #134752 quote
    Edisone
    Participant
    Average

    Salve a tutti, chiedo aiuto se possibile per la conversione dell’idicatore Fisher scritto con Editor Pine, riporto il codice:

    ////////////////////////////////////////////////////////////
    // Market prices do not have a Gaussian probability density function
    // as many traders think. Their probability curve is not bell-shaped.
    // But trader can create a nearly Gaussian PDF for prices by normalizing
    // them or creating a normalized indicator such as the relative strength
    // index and applying the Fisher transform. Such a transformed output
    // creates the peak swings as relatively rare events.
    // Fisher transform formula is: y = 0.5 * ln ((1+x)/(1-x))
    // The sharp turning points of these peak swings clearly and unambiguously
    // identify price reversals in a timely manner.
    ////////////////////////////////////////////////////////////
    study(title=”Fisher Transform Indicator by Ehlers”, shorttitle=”Fisher Transform Indicator by Ehlers”)
    Length = input(9, minval=1)
    xHL2 = hl2
    xMaxH = highest(xHL2, Length)
    xMinL = lowest(xHL2,Length)
    nValue1 = 0.33 * 2 * ((xHL2 – xMinL) / (xMaxH – xMinL) – 0.5) + 0.67 * nz(nValue1[1])
    nValue2 = iff(nValue1 > .99, .999,
    iff(nValue1 < -.99, -.999, nValue1))
    nFish = 0.5 * log((1 + nValue2) / (1 – nValue2)) + 0.5 * nz(nFish[1])
    plot(nFish, color=green, title=”Fisher”)
    plot(nz(nFish[1]), color=red, title=”Trigger”)

    Grazie

    #134754 quote
    robertogozzi
    Moderator
    Master

    Per favore chiedi la conversione cliccando “Ask for a free code conversion” dal menu HELP della barra blù.

    Grazie 🙂

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

Aiuto per conversione di indicatore da Editor Pine


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Edisone @edisone Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
5 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/05/2020
Status: Active
Attachments: No files
Logo Logo
Loading...