Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy builder ema conditions and actions
Collapse
X
-
Strategy builder ema conditions and actions
I'm just trying to set up an exit strategy, in the conditions and actions, where I go long and if the close price goes below the 14 ema then I exit my position. I thought I put it in right but I don't know how to properly assign itTags: None
-
Hello mandela1528,
This would be sending an exit long sell order on every new bar where the market price falls below the EMA 14 of the previous bar (1 bar ago).
The strategy so far does not have an entry. An entry to take the strategy to a long position would be necessary to exit a long position.
Note, the strategy will not see any manually submitted positions or orders. The strategy is only able to see orders submitted by the strategy.
(It would require unlocking the script and using the Addon approach to detect manually submitted orders and/or positions)
The exit signal name is LongEntry. I think you are wanting to have this be the From entry signal of the entry and not the signal name of the exit.
Chelsea B.NinjaTrader Customer Service
- Likes 1
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
66 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