Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with Moving Anchor

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

    Help with Moving Anchor

    I have found an risk to reward indicator that functions much in the way I want it to, and added some tweaks and changes.
    For the most part it does what I want it to do, which is when I draw a rectangle using the rectangle drawing tool, it creates a box that would be my risk portion.

    What I would like it to do is, after setting the rectangle, adjust the box by a given offset to price, so the Y axis, in this case, and offset of 1 tick. I am able to create the results via the boxes and adjusting the lines, but the anchor points are now inside the box, where the original points were. Is there a way to adjust the anchor points? I've tried using r1.EndAnchor.MoveAnchor(),but I couldn't figure out how to get that to work.

    #2
    Hello rockmanx00,

    Rather than moving the anchor you likely will need to use that as a basis for an offset and then use that in custom rendering to render from the initial anchor position.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    557 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X