Announcement

Collapse
No announcement yet.

angel calculation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • angel calculation

    how can i calculate the angel of the current ema & the previos bar ema

  • #2
    do you want???

    degrees difference or something else??

    here is some help...

    //Assume a 30% slope (rise over run);

    nSlope = 0.30;

    nAngle = Math.atan( nSlope ) / ( Math.PI/180 );

    nAngle now equals approx 16.67 Degrees.

    ยท Calculate the slope (in %) from an angle:

    //Assume a 20-degree angle

    nAngle = 20.0;

    nSlope = Math.tan( nAngle * (Math.PI/180) );

    nSlope now equals 0.3639 or a 36.39% slope.
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment


    • #3
      tnk doji
      but how do i find the nAngel?
      when all i have is this bar ema & the previous bar ema

      Comment


      • #4
        simple....

        nSlope would be....

        nSlope = 1.0 - (currentEMA/previousEMA);

        then follow the instructions..

        B
        Brad Matheny
        eSignal Solution Provider since 2000

        Comment


        • #5
          actually...

          if would be...

          nSlope = (currentEMA/previousEMA) - 1.0;

          that will give you accurate slope..

          B
          Brad Matheny
          eSignal Solution Provider since 2000

          Comment

          Working...
          X