Any ideas or suggestions on how to correct this? Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Analyzer Stop Loss Take Profit
Collapse
X
-
Strategy Analyzer Stop Loss Take Profit
I've searched the forum and can't seem to find an answer to the issue I'm having. I built a strategy that includes a take profit and stop loss. However, when I run it in the Strategy Analyzer, sometimes, it will take another trade even though my TP/SL hasn't been hit. I have restricted the trading time from 5a-12p and it's limited to 1 entry per direction. I changed the Entry handling option, but it's canceling a current entry to open a new one instead of waiting until it's flat.
Any ideas or suggestions on how to correct this? Thanks.Tags: None
-
Comment
-
Hello coolbreeze,
Thanks for your post.
With reference to "...it will take another trade even though my TP/SL hasn't been hit." Are you seeing additional entries in the same direction or is this a change of direction (was long then short, etc.)?
If it is indeed a change of direction then you would need to ensure that your entry conditions include a check to see that you are in a flat market position before placing the entry order. An entry order in the opposite direction will automatically issue an order to close the current direction (Called "Close Position") and then a second order to leave you in that direction. For example if you were in a long position and the strategy issued an EnterShort(), you would see 1 sell order called Close Position which will flatten the position and then a 2nd sell order is issued to leave you in the desired direction.
Paul H.NinjaTrader Customer Service
Comment
-
It was in the same direction. I lost some of my settings last night, so I'll recreate the strategy and try again.
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rtwave, 04-12-2024, 09:30 AM
|
4 responses
31 views
0 likes
|
Last Post
by rtwave
Today, 12:50 AM
|
||
Started by yertle, Yesterday, 08:38 AM
|
7 responses
29 views
0 likes
|
Last Post
by yertle
Today, 12:15 AM
|
||
Started by bmartz, 03-12-2024, 06:12 AM
|
2 responses
22 views
0 likes
|
Last Post
by bmartz
Today, 12:11 AM
|
||
Started by funk10101, Today, 12:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by funk10101
Today, 12:02 AM
|
||
Started by gravdigaz6, Yesterday, 11:40 PM
|
1 response
9 views
0 likes
|
Last Post Yesterday, 11:49 PM |
Comment