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 kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
58 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
41 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
46 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
37 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|
||
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
156 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|

Comment