Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enter only once per indicator swing line
Collapse
X
-
Enter only once per indicator swing line
A strategy I’m trying to develop involves price crossing the swing indicator, and entering after that. The problem arises where it might cross 5 times, and if it hits my stop or target it’ll just keep entering. I’ll get 2-4 losses sometimes instead of just one because of this. Is there a way to have it only enter once per new swing line? Thank youTags: None
-
Hello ehidri89,
Use a bool. Require the bool to be false in the condition that triggers the action. Set the bool to true in the action block for the condition along with the action (such as placing an order). Reset the bool back to false when the SwingHighBar or SwingLowBar is 0 (or 1).
Hi, To improve a strategy, I would like the condition to enter a trade to be triggered only after a second crossing happens. Meaning, for instance we have a sthocastics crossing, but the strategy would only trigger when a crossing between 2 emas happen. Would the looking back N bars work? Can it be done within the builderChelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
53 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|
Comment