Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Backtest detection
Collapse
X
-
Tags: None
-
Hello Victor_Zelenyi,
Thanks for your post.
You can determine if your strategy is running in the Strategy Analyzer by doing something similar to:
Code:if(IsInStrategyAnalyzer) { Print("The Strategy Is Running In The Strategy Analyzer"); }Last edited by NinjaTrader_JoshG; 01-30-2019, 09:27 AM.Josh G.NinjaTrader Customer Service
-
-
But if running backtest type != "Backtest" IsInStrategyAnalyzer returns false.
How to detect if strategy is running in the Strategy Analyzer for other backtest types?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
7 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
59 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
41 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
47 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
38 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment