Steve
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How can I enter at close of bar one and exit at close of session?
Collapse
X
-
How can I enter at close of bar one and exit at close of session?
I need to enter at close of bar one, beginning of session, which I am able to do, and exit at close of session without any other possible trades being allowed. At the moment I am getting multiple trades which I don't want. I have not found how to do this.
SteveTags: None
-
Jason,
Thanks for the reply. I do have exit at close set to true. The trouble is that my trade gets taken out when there is a trade entry triggered in the opposite direction before the close of session. My initial entry will be long or short so I have to enter both conditions. But I want the initial entry to stay in till the close without a succession of trades ie without another entry being able to be triggered.
Steve
Comment
-
Hi Jason
Perhaps I should be addressing the broader community with my question. I followed your reference Jason about debugging which assumes knowledge about coding which I do not have. There is nothing to strip away as I only have one condition which is to enter after the first bar after identifying if the trade will be long or short.
I guess I am saying if I knew what to do, I wouldn't be asking. I assume what I want can not be done using the wizard.
If anyone can help me with code so that my entry on first bar of session can not be wiped out by further triggers till end of session when my single trade will exit that would be a big help.
Steve
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by brunoviveiros, 02-17-2020, 05:31 AM
|
4 responses
63 views
0 likes
|
Last Post Today, 06:25 AM | ||
Started by volIQ, 03-27-2024, 04:28 PM
|
3 responses
21 views
0 likes
|
Last Post
by RJay
Today, 05:41 AM
|
||
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
72 views
0 likes
|
Last Post Today, 05:12 AM | ||
Started by Johndc, Today, 04:39 AM
|
0 responses
8 views
0 likes
|
Last Post
by Johndc
Today, 04:39 AM
|
||
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
11 views
0 likes
|
Last Post Today, 02:34 AM |
Comment