Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Marking all charts with a horizontal line

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

    Marking all charts with a horizontal line

    If I would like to mark all charts with a horizontal line at the current price... so that after I do this, then the line stays where it is and I can see on charts how far the price has moved from that line - then what would be the ways I could do this?

    I mean I assume this feature is not built in

    so what alternatives are there to make this an automated or semi automated thing?

    if programming is involved, please broadly outline the steps.. I mean I don't need instructions but a couple of points as to what should be done

    thanks

    #2
    If your goal is to mark the charts with a horizontal line extending from the current price and have that line update when the current price changes then you could use the built in 'Price Line' indicator.

    If the above is not what you're looking for, could you elaborate further on what you're wanting to accomplish?

    Comment


      #3
      a price line indicator shows the current price at all times.

      I want to mark the price at the moment I decide to mark price - on all chart - and leave that line where it is.. this way it is easy to gauge how far the price has moved on all charts

      Comment


        #4
        Are "all charts" you referring to the same instrument and expiry? Or would hey be different instruments/expiries?

        Comment


          #5
          all open charts.. I guess I would need to write some indicator and have them running on all charts.. but how would i trigger it ? so that the indicator knows to draw a line on the chart?

          Comment


            #6
            for example. treasuries are correlated, can be useful there - some dom platforms have a similar feature for their doms

            Comment


              #7
              Hello NinjaCustomer,

              Thanks for your question.

              You would be correct that an indicator would have to be added to each chart to programmatically draw on each chart Triggering when this should update would be the tricky part, and this would not be supported.

              I have put together a test previously that could give you some further direction, but please be aware that this code is 100% unsupported, so please do not ask us questions about taking this approach.

              If you have any additional questions, please don't hesitate to open a new ticket.
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              69 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              42 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              24 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              27 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              54 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X