Besoin d’aide pour indicateur slope

Forums ProRealTime forum Français Support ProScreener Besoin d’aide pour indicateur slope

Viewing 4 posts - 1 through 4 (of 4 total)
  • #225981

    Bonjour,

    J’ai besoin d’aide pour avoir une fonction proche de “slope”:

    Slope is based on a linear regression (line of best fit). Even though the formula for a linear regression is beyond the scope of this article, a linear regression can be shown using the Raff Regression Channel in SharpCharts. This indicator features a linear regression in the middle with equidistant outer trend lines. Slope equals the rise-over-run for the linear regression. Rise refers to the price change. Run refers to the timeframe. A 20-day Slope would be the rise-over-run of a 20-day linear regression. If the rise is 4 points and the run is two days, then the slope would be 2 (4/2 = 2). If the rise is -6 points and the run is 2, then the slope would be -3 (-6/2 = -3). In general, an advancing period has a positive slope and a declining period has a negative slope. The steepness depends on the sharpness of the advance or decline.

    Merci d’avance,

    #225989

    j’aimerais une fonction comme dasn l’exemple:

    càd si le prix perd 6 points et l’augmentation est du prix au durée 2 jours: (-6:2)=-3

    à l’inverse le prix a pris 4 points et l’augmentation a durée 2 jours: (4/2)=2

    Afin de l’intégrer dans un bout de code.

    Merci d’avance

    #225991

    Bonjour,

     

     

    #226010

    Merci c’est parfait 🙂

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

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