Announcement

Collapse
No announcement yet.

bid ask

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

  • bid ask

    can any1 help.......would like to know which line to edit to shift the bidask over to the right 2places in the enclosed efs.

    Peter
    Attached Files

  • #2
    Peter
    The first parameter in the drawTextRelative() command is the x-axis coordinate. In the efs you posted it is set to draw 2 bars to the right of the current bar.
    For more information on drawTextRelative() see the corresponding link in the Drawing Functions section of the EFS KnowledgeBase
    Alex

    Comment


    • #3
      Alex,

      that's what I did change to sift it but nothing happend.....restarted system & is now working correctly. 1 other question regarding thermometer2.efs., is possible to have the triangle be displayed behind the red/green bar if they r aligned with the same setting....at present the triangle is in front if aligned the same

      Peter
      Attached Files

      Comment


      • #4
        Peter
        At this time there is no way to control the z-order. Just shift the location of the blue triangle.
        Alex

        Comment


        • #5
          Once again Thanx Alex

          Peter

          Comment


          • #6
            Alex,

            trying to replace the blue triangle with just a staight line (line 50) that would be similar to the bidask line from enclosed efs below but keep getting an error, need assistance......

            Peter

            Comment


            • #7
              Peter
              Post the code that returns an error and I will look at it
              Alex

              Comment


              • #8
                Alex,

                receive invalid # of arguments line 50

                Peter
                Attached Files

                Comment


                • #9
                  Peter
                  Replace line 50 with the following

                  drawLineRelative( 1, open(-Lookback,inv(vInterval)), 2, open(-Lookback,inv(vInterval)), PS_SOLID, 2, Color.magenta,3);

                  For the syntax and explanation of the parameters required in drawLineRelative() click here.
                  Alex

                  Comment


                  • #10
                    thanx again Alex

                    Peter

                    Comment


                    • #11
                      Peter
                      You are most welcome
                      Alex

                      Comment

                      Working...
                      X