Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Arrow Size

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

    Arrow Size

    Can someone please tell me how to increase the size of an arrow. Got them to print correctly, color is no problem, can move the distance, but could not find anything on formatting the size of the arrow.

    This is for DrawArrowUp (Down). Would like to be able to make them 2x tick size.

    Thanks,

    phoenix
    Last edited by phoenix; 02-07-2010, 05:16 PM.

    #2
    phoenix, unfortunately not supported changing this programmatically, you could use DrawText and a symbol font such as Windings for more control.

    Comment


      #3
      Thanks, Bertrand,

      Was just looking for a little help over the 'over-50' eyesight.

      phoenix

      Comment


        #4
        I understand phoenix...you could for example also try plotting two arrows above / below each other at different tick offsets...

        Comment


          #5
          That I can do...will give it a try.

          Thanks again.

          Comment


            #6
            Hey Bertrand,

            Tried several different ways to get it to print both arrows, but could only get it to print 'the latter line' in the program.

            if (CrossBelow(Value, 0, 1))
            {
            DrawArrowDown("MyArrowDown"+CurrentBar, 0, High[0]+2* TickSize, Color.OrangeRed);
            DrawArrowDown("MyArrowDown"+CurrentBar, 0, High[0]+5* TickSize, Color.OrangeRed);
            }

            and

            if (CrossBelow(Value, 0, 1))
            DrawArrowDown("MyArrowDown"+CurrentBar, 0, High[0]+2* TickSize, Color.OrangeRed);

            if (CrossAbove(Value, 0, 1))
            DrawArrowUp("MyArrowUp"+CurrentBar, 0, Low[0] -2* TickSize, Color.Cyan);

            if (CrossBelow(Value, 0, 1))
            DrawArrowDown("MyArrowDown"+CurrentBar, 0, High[0]+5* TickSize, Color.OrangeRed);

            if (CrossAbove(Value, 0, 1))
            DrawArrowUp("MyArrowUp"+CurrentBar, 0, Low[0] -5* TickSize, Color.Cyan);

            Also tried using '&&' with curly brackets, but would not compile...

            Looked through the Help Guides and learned a couple of things, but nothing to help me with this.

            Regards,

            phoenix

            Comment


              #7
              phoenix, you would need to use unique tags for each up dn arrow to be plotted, i.e.

              Code:
              if (CrossBelow(Value, 0, 1))
              {
              DrawArrowDown("MyArrowDown1" + CurrentBar, 0, High[0] + 2 * TickSize, Color.OrangeRed);
              DrawArrowDown("MyArrowDown2" + CurrentBar, 0, High[0] + 5 * TickSize, Color.OrangeRed);
              }
              Same for the bullish side of things...

              Comment


                #8
                BINGO!!!!

                So simple when you know what you're doing LOL

                Thanks for the help...Now even I can see those puppies.

                Regards,

                phoenix

                Comment


                  #9
                  Great it works now for you Phoenix!

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by sjsj2732, Yesterday, 04:31 AM
                  0 responses
                  32 views
                  0 likes
                  Last Post sjsj2732  
                  Started by NullPointStrategies, 03-13-2026, 05:17 AM
                  0 responses
                  286 views
                  0 likes
                  Last Post NullPointStrategies  
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  283 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  133 views
                  1 like
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  91 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Working...
                  X