Until now, I have managed to get a false out of it only by using the Market Replay and deleting data history prior to the stream.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Historical is a liar
Collapse
X
-
Originally posted by savekad View PostSingle series indicator.
I put the if (Historical) return; at the OBU so when I load the indicator it won't have to iterate all existing bars and instead it will call OBU at each close of a present bar.
How do you check for the historical condition in your code?BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pechtri, 06-22-2023, 02:31 AM
|
6 responses
118 views
0 likes
|
Last Post
by Nyman
Today, 01:02 PM
|
||
Started by birdog, 01-25-2023, 08:10 PM
|
2 responses
161 views
1 like
|
Last Post
by RickAce
Today, 01:00 PM
|
||
Started by stafe, 04-15-2024, 08:34 PM
|
12 responses
59 views
0 likes
|
Last Post Today, 12:57 PM | ||
Started by benmarkal, Today, 12:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by benmarkal
Today, 12:52 PM
|
||
Started by Tim-c, Today, 03:54 AM
|
3 responses
13 views
0 likes
|
Last Post Today, 12:18 PM |
Comment