• 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

Object display

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

  • NinjaTrader_ChelseaB
    replied
    Hello pman777,

    A chart will refresh when data is received or when clicked on.

    You can trigger a chart to refresh with an undocumented method call.
    Code:
    ChartControl.ChartPanel.Invalidate();

    Leave a comment:


  • pman777
    started a topic Object display

    Object display

    I have an indicator with a button routine that, when pressed, displays a line on my chart. However there is a delay when the button is pressed and when the line appears ... seems the chart needs to have a tick change for the price chart to display objects. I have CalculateOnBarClose = false, but there are sill times when the market is slow that the delay is too obvious.

    Is there a way to get the line (or any Draw object) to display immediately when the button is pressed?

    Thanks!

Latest Posts

Collapse

Topics Statistics Last Post
Started by rontronimous, Today, 04:35 PM
1 response
12 views
0 likes
Last Post NinjaTrader_ShawnB  
Started by ren37, Yesterday, 09:42 AM
5 responses
20 views
0 likes
Last Post koganam
by koganam
 
Started by rtwave, 10-22-2019, 12:56 AM
8 responses
104 views
0 likes
Last Post koganam
by koganam
 
Started by rtwave, Today, 12:46 PM
2 responses
18 views
0 likes
Last Post NinjaTrader_ChristopherD  
Started by pmallya.nt, Today, 12:55 PM
1 response
22 views
0 likes
Last Post NinjaTrader_Kate  
Working...
X