Any Idea?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator is always running?
Collapse
X
-
Indicator is always running?
Im trying to debug an indicator Im developing. However, when I attach Visual Studio to process and set a breakpoint on sourcecode, the breakpoint is immediately hit. Like if Indicator was always running in the background, even when no chart windows are open.
Any Idea?Tags: None
-
Hi dotnetfreak, here's the sequence we would suggest using for a debug assist via VS - https://www.ninjatrader.com/support/..._debugging.htm
Can you please ensure all the steps are following in sequence?
-
Hi Bertrand, thanks for your reply. Yes I did thos steps in sequence. My indicator is not attached to any chart and the breakpoint is hit. Like if my indicator was always running on the background
Comment
-
Additional Info: If I close all charts (before running my indicator once), and try to attach to NT process I get breakpoints hits. But if I close NT and attach I dont get hit. Seems like indicator keeps running in background when chart is closed, maybe Im not uninitializing something I should
Comment
-
I think I found the problem. I had 2 workspaces opened, and one of them had a chart open. Dumb me!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
169 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
324 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
250 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
353 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
180 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment