Announcement

Collapse
No announcement yet.

First "X" Minutes Enhancement

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

  • First "X" Minutes Enhancement

    I would like to have this EFS paint the lines for the first 15 minutes of the ES but add 2pts to either side. So the first 15min high + 2pts(8ticks) and the first 15min low -2pts(8ticks). Can anyone help me with the change/addition to the EFS I have attached?
    Attached Files

  • #2
    return new Array((vHigh+2).toFixed(4), (vLow-2).toFixed(4));

    will return the +/- 2 pts lines

    Comment


    • #3
      David,

      Thank you so much for your help! I inserted what you suggested on line 96 in place of the existing code and it did not work. Am I doing something wrong?

      Tim

      Comment


      • #4
        try this before the line 93 bracket "}"
        PHP Code:
         drawLineRelativeFirstBar, (vHigh+2), 0, (vHigh+2), PS_SOLIDnThickness,
                    
        cColorH"Hline2");
                
        drawLineRelativeFirstBar, (vLow-2), 0, (vLow-2), PS_SOLIDnThickness,
                    
        cColorL"Lline2"
        not too sure about the "bActive == false" check.

        hth

        kz

        Comment


        • #5
          Perfect! Thanks so much for your help.

          Comment

          Working...
          X