Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Analzer
Collapse
X
-
Hi, Please first use Print in your strategy to see if the code is actually running. E.g. place a print within your Entry condition to see if it's hitting the signal:
Print("Processing entry condition " + Time[0])
if(<entry condition>)
{
Print("Entry Condition Reached " + Time[0]);
EnterLong();
}
Comment
-
ok thanks again.
Can I just check if there is anything I can use to detect if the code is running on a chart or backtest (SA)?
would be good if Visual Studio could be used to debug SA? anyway tracked issue down to
Code://chart ok but issues with SA Draw.TextFixed(this, "tagTK", msg, TextPosition.BottomLeft, Brushes.White, ChartControl.Properties.LabelFont, null, Brushes.Gray, 70); //all ok Draw.TextFixed(this, "tagTK", msg, TextPosition.BottomLeft, Brushes.White, this.myFont, null, Brushes.Gray, 70);
Last edited by dibDab; 03-02-2023, 03:53 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
52 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
29 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
194 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
355 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
274 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment