Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OnBarUpdate() occurs every tick for Renko bar.
Collapse
X
-
OnBarUpdate() occurs every tick for Renko bar.
OnBarUpdate() occurs every tick for Renko bar ,even when Calculate = Calculate.OnBarClose; is set. In addition I have in my indicator 1min ask (primary) and added 1min bid dataseries , all three for the same instrument. for 1-minute dataseries OnBarUpdate() occurs only 1 per minute. Any clue ? Thanks.Tags: None
-
Hello xTrader1,
Thank you for your reply.
I'm a little confused as to how you are testing here, as calculating On Each Tick is not possible on historical data (such as past data on a chart or data used in the Strategy Analyzer) as all that is known is the OHLC of each bar. Are you perhaps using Market Replay data, not historical data?
If you could provide a reduced example script and clear, step by step instructions on how to replicate this behavior, that would be very helpful. Please ensure no code that is not necessary to reproduce the issue is included. You can export your reduced script from Tools > Export > NinjaScript Add-on. Please attach the resulting .Zip file to your reply.
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jourdale, 03-16-2024, 06:33 AM
|
3 responses
40 views
0 likes
|
Last Post Today, 06:44 PM | ||
Started by henryd333, 03-22-2021, 08:18 AM
|
18 responses
930 views
0 likes
|
Last Post Today, 06:07 PM | ||
Started by PaulMohn, Today, 05:51 PM
|
0 responses
4 views
0 likes
|
Last Post
by PaulMohn
Today, 05:51 PM
|
||
Started by johnathanhebert, 03-01-2024, 05:38 PM
|
8 responses
60 views
0 likes
|
Last Post Today, 05:48 PM | ||
Started by endystrike, 12-06-2016, 09:52 AM
|
144 responses
8,610 views
0 likes
|
Last Post
by bobperez
Today, 04:08 PM
|
Comment