• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChartScale Properties

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

    ChartScale Properties

    I am trying to get different coordinates and or price values of the current chart but I keep getting this error

    "An object reference is required for the non-static field, method, or property 'NinjaTrader.Gui.Chart.ChartScale.GetValueByY(floa t)' CS0120 679 84

    PHP Code:
    Draw.Text (this"Market" label[i], RegiontxtCurrentBar beginBar[i], ChartScale.GetValueByY(1)); 

    #2
    Did you get a ChartScale like this? Does this help any?

    http://ninjatrader.com/support/forum...ad.php?t=77479

    Comment


      #3
      Yes, that was very helpful thank you.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by iq200, Today, 01:33 PM
      0 responses
      4 views
      0 likes
      Last Post iq200
      by iq200
       
      Started by lunardiplomacy, Today, 07:57 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by PN720, Today, 12:54 PM
      0 responses
      4 views
      0 likes
      Last Post PN720
      by PN720
       
      Started by billythekid72, Today, 12:09 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by alcorr247, Today, 12:29 PM
      2 responses
      12 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X