Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

8.0.4.0 *Unusual OnRender behavior*

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

    8.0.4.0 *Unusual OnRender behavior*

    While testing a custom indicator I noticed some very unusual behavior with OnRender method where it's being constantly called for no reason. Attached is a copy of the @SampleCustomRender indicator to illustrate what I'm seeing. This indicator is basically and exact copy but with the addition of a single display message when OnRender is called.

    To recreate, open a new chart and an output window, then add this indicator "TestRender". What you should see is the message constantly writing to the log over and over even with no connection, scrolling, or changes to the chart.
    Attached Files

    #2
    Hello jackyd,

    I'm finding the behavior is caused by the setting of the ZOrder to a value less than 0.
    I'm inquiring with development whether this is expected.

    I appreciate your patience.
    Last edited by NinjaTrader_ChelseaB; 02-08-2017, 05:25 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea, good catch. I commented out the ZOrder and it seems to be ok now. Appreciate it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      54 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X