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 NullPointStrategies, Today, 05:17 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment