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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
8.0.4.0 *Unusual OnRender behavior*
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Tim-c, Today, 03:54 AM
|
0 responses
3 views
0 likes
|
Last Post
by Tim-c
Today, 03:54 AM
|
||
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
2 views
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,771 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
31 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
945 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
Comment