Can anyone offer advise on how to structure this ? I have included a picture below
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Entry signal issue
Collapse
X
-
Entry signal issue
I currently have a strategy with only 2 conditions for entry (ATR trail and custom trend code) It performs the correct functions if both conditions line up at the same time but when the ATR trail changes trend and the trend iis already up, it doesn't print an entry.
Can anyone offer advise on how to structure this ? I have included a picture below
1 PhotoTags: None
-
Hello Teebone21,
Thanks for your post.
You would need to debug your strategy using print statements to print out the values of the variables that make up your entry conditions. Here is a link to our debugging tips: https://ninjatrader.com/support/help...script_cod.htm
In the case of the ATRTrail indicator, the indicator plots either a lower dot or an upper dot and never both at the same time. When it does not plot, the value for that plot would be zero and I suspect that may be the issue you are running into which can be proven by printing out the values of the entry condition variables.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment