Forum: NinjaTrader
March 18th, 2019, 01:15 PM
|
Replies: 3
Views: 1,538
well it seems to have eliminated my...
well it seems to have eliminated my responsiveness problems. And cpu usage also drops for ninjatrader (I have several charts open)
Sleep(0) does something, I have used it in other languages in...
|
Forum: NinjaTrader
March 18th, 2019, 11:49 AM
|
Replies: 3
Views: 1,538
is Sleep(0) ok within an indicator?
Is it ok to use Thread.Sleep(0) in OnBarUpdate() of an Indicator ?
I ask because the indicator I was using had a lot of plots and this seems to be the reason it would grind NT8 to a halt so that...
|