Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
TickSize Bug?
Collapse
X
-
TickSize Bug?
I have found that when I have added a few data series in my indicator with AddDataSeries, when I use TickSize, the value keeps fluctuating randomly. I would have thought it would stay constant at the Main Instrument's tick size. For example if I have a EURUSD chart, and my indicator adds the data series for USDJPY in the code, shouldn't TickSize always be the ticksize of the base instrument of the chart (EURUSD)?Tags: None
-
Hello,
Thank you for the post.
I would expect the TickSize to match the instrument that called OnBarUpdate, not just the Primary. As the BarsInProgress changes the instrument specific values would as well.
Are you seeing Random values or TickSizes of the instruments you are adding?
You could check by using a Print like the following:
Code:Print("BIP: " + BarsInProgress + " TickSize: " + TickSize + " Instrument Name: " + Instrument.FullName);
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
12 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
13 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment