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 Mestor, Today, 03:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
11 responses
305 views
0 likes
|
Last Post
by z.franck
Today, 02:29 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
407 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
||
Started by yertle, Yesterday, 05:49 PM
|
2 responses
11 views
0 likes
|
Last Post
by yertle
Today, 12:12 AM
|
Comment