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
Multi Time Frame indicator freeze
Collapse
X
-
Multi Time Frame indicator freeze
So I have an indicator the OnStartUp is blank the Initialize is blank except for this one line of code Add(PeriodType.Tick,300). I load up a 600 tick chart and put the indicator on it, and the chart goes blank no bars or anything and it stays like that. I put log statements in the first line of the OnBarUpdate, they're never printed. I've made successful multi time frame indicators before, and never came across a problem like this. Any ideas? -
How many days to load are on the chart you're adding the indicator?
Does it still freeze if you switch the PeriodType to a minute?
Does the control center indicate it is loading data in the bottom right hand corner?
If you comment out all the logic in OnBarUpdate(), does it still freeze?MatthewNinjaTrader Product Management
-
How many days to load are on the chart you're adding the indicator?
3
Does it still freeze if you switch the PeriodType to a minute?
yes
Does the control center indicate it is loading data in the bottom right hand corner?
no, I've even tried different feeds.
If you comment out all the logic in OnBarUpdate(), does it still freeze?
yes
Comment
-
If you load a tick chart of the symbol standlone, would that request be fullfilled normally and without issues?
If not, please the same with a fresh cache. To do this go with NT7 closed to:
Documents\NinjaTrader 7\db\cache and delete the sub(!!) folders seen here.
Then restart NT7, reconnect and recheck the chart building - then finally attempt loading your script again.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
26 views
0 likes
|
Last Post
by wzgy0920
Today, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
191 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,230 views
0 likes
|
Last Post Today, 08:07 PM |
Comment