Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Issue with my stoploss
Collapse
X
-
Issue with my stoploss
When I I have my fast ema cross above ema slow on my long trade, and my stoploss is 50 ticks, on the way to back on short wich means fast crossbelow slow, my stoploss does not functioning,meaning it doesnt reach to 50 ticks its exiting depending on my moving avarage setting... (fast crossbelow slow).I want to rich my stoploss or my profittarget before any other trade....Tags: None
-
XXtrem,
The default behavior is for entries to reverse positions, so this is likely what you are seeing.
If you don't want this behavior and only want to exit based on stop losses and targets, then you can add market position checks to your entry conditions.
if (Position.MarketPosition == MarketPosition.Flat && yourCrossOverConditions)
{
//entries here
}
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Lele2k24, Yesterday, 11:24 AM
|
10 responses
31 views
0 likes
|
Last Post Today, 01:04 PM | ||
Started by Padan, Today, 02:02 AM
|
7 responses
19 views
0 likes
|
Last Post Today, 12:59 PM | ||
Started by Adam Klaus, 03-26-2024, 07:43 PM
|
2 responses
22 views
0 likes
|
Last Post
by mcosta72
Today, 12:54 PM
|
||
Started by spottysallrite, Today, 11:31 AM
|
4 responses
11 views
0 likes
|
Last Post Today, 12:53 PM | ||
Started by cozypinto, 12-22-2023, 10:13 AM
|
4 responses
94 views
0 likes
|
Last Post
by Harvard
Today, 12:50 PM
|
Comment