Announcement

Collapse
No announcement yet.

Volume Bars

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

  • Volume Bars

    I've recently started using Volume bars and was wondering if the was a better way to display the volume count.

    Currently, I've got the data window up and I show the count but is there a way to have it displayed without having the cursor in the chart?

    I follow 3 markets and would like to be able to glance at the chart and see what the count is.

    Bruce

  • #2
    Bruce
    The enclosed efs will write the current TVB in the bottom left corner of the chart
    Alex

    PHP Code:
    function preMain() {
        
    setPriceStudy(true);
        
    setStudyTitle("TVB counter");
        
    setShowCursorLabel(false);
    }

    function 
    main() {

        var 
    getInterval();
        var 
    parseInt(x);

        if(
    getInterval()==n+"V"){
            
    drawTextRelative(15,0,volume(0)+"/"+getInterval(),Color.blue,null,
                             
    Text.BOLD|Text.RELATIVETOLEFT|Text.RELATIVETOBOTTOM,"Arial",12,"Vol");
        }

        return;

    Comment


    • #3
      Alex:

      Again, it worked perfectly.

      Many thanks.

      Bruce

      Comment


      • #4
        Bruce
        Make sure you have the script that is currently posted as I just edited it to include a condition that will only write the TVB if the interval is Volume-bars.
        Alex

        Comment


        • #5
          Thanks Alex.

          Lastly, I use a 3rd party minute timer and was wondering if a study could be made just like this one that would do a minute countdown?

          Bruce

          Comment


          • #6
            Bruce
            I believe someone already did that. Run a Search using time remain* as the keyword(s)
            Alex

            Comment


            • #7
              Thanks Alex.

              I did that and found a couple of studies but the problem with them is they only update when a tic has occurred...I guess thats the way the efs study works.

              Thanks again.

              Bruce

              Comment


              • #8
                Bruce
                That is correct. The efs updates only on every tick and there is no stand alone timer function.
                Alex

                Comment

                Working...
                X