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 Noerclou, Today, 04:55 AM
|
0 responses
1 view
0 likes
|
Last Post
by Noerclou
Today, 04:55 AM
|
||
Started by llanqui, Yesterday, 09:59 AM
|
2 responses
16 views
0 likes
|
Last Post
by llanqui
Today, 04:00 AM
|
||
Started by ThoriSten, Today, 03:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by ThoriSten
Today, 03:56 AM
|
||
Started by PhillT, 04-19-2024, 02:16 PM
|
3 responses
20 views
0 likes
|
Last Post
by mangel2000
Today, 03:04 AM
|
||
Started by TraderBCL, Today, 02:37 AM
|
0 responses
4 views
0 likes
|
Last Post
by TraderBCL
Today, 02:37 AM
|
Comment