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 lightsun47, Today, 03:51 PM
|
0 responses
4 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
8 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
44 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
13 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
8 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
Comment