Announcement

Collapse
No announcement yet.

Points from pivot to pivot point

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

  • Points from pivot to pivot point

    Is there a efs that counts points from pivot point to pivot point?
    And then shows number?

  • #2
    pbohm
    If you mean as what shown in the image below then the attached modification of PivotPointAll.efs should work as an example
    Alex

    Attached Files

    Comment


    • #3
      Thanks for the reply Alex, that looks good and what i was looking for.
      How would i scale it for 30 second chart?

      Comment


      • #4
        pbohm
        As an example the command that writes the text for the distance in points between PP and PP_R1 is
        drawTextAbsolute(2,(vLastPPR1+vLastPP)/2,PP_PPR1.toFixed(2)*1,Color.blue,null,Text.BOLD|T ext.VCENTER,"Arial",10,"R1gap");
        where the vertical position of the text is defined by (vLastPPR1+vLastPP)/2 which is the half way point between those Pivots. Replace that value with one of your chosing that is more indicated for the interval/symbol used.
        Alex

        Comment

        Working...
        X