Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

pointvalue selected instrument

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

    pointvalue selected instrument

    Hello.
    I am working on an indicator that will work on a graph with 2 instruments, mini and its micro. I can't access the pointvalue of the selected instrument in the chartrader.
    I know the masterinstrument.pointvalue but it's not what I need. What I am looking for is that it returns the pointvalue of the selected instrument.
    Could you help me?
    Thanks in advance​

    private void OnChartTraderInstrumentSelectionChange(object sender, EventArgs e)
    {
    if (myInstrumentSelector.SelectedValue != null)
    {
    Instrument selectedInstrument = Instrument.GetInstrument(instrument);
    }
    }

    i get the instrument selected selectedInstrument.PointValue is not working.​

    #2
    Hello manueldecastro,

    Thank you for your post.

    Have you tried using selectedInstrument.MasterInstrument.PointValue?



    PointValue is only available from MasterInstrument, so this must be added to selectedInstrument.

    Please let us know if you have any further questions.

    Comment


      #3
      selectedInstrument.MasterInstrument.PointValue
      I think this is not possible, I was getting an error.
      I finally fixed it with some if to determine the mini/micro instrument with .startwith
      Regarding adding the .pointvalue to selected instrument, I don't understand how I could do it.​

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X