Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Entry at close of signal Bar
Collapse
X
-
Entry at close of signal Bar
I saw this terrific setting of strategies taking positions at the close of the signal bars instead of the opening (on bar close) settings. of the next bar. How can i reproduce something like this myself? The diagram below shows what I am speaking of concerning entries. Yellow is common entry method position after close of signal bar( first green bar). I want to enter on the signal bar closing price. Thais the price i want the entry to be.
1 PhotoTags: None
-
Hello Teebone21,
Thank you for your post.
Bar closures are signaled by first tick of new bar and we cannot know what the last tick of a bar may be. It would not be possible to time an entry to the absolutely last tick of a bar. If you want to enter on a bar that was a signal bar, you would need to use OnEachTick or OnPriceChange for your Calculation Mode, and orders would be placed as soon as the entry condition is true.
Here is a link to our help guide on the Calculate parameter:
You can certainly submit an order at the closing price when using Calculate OnBarClose, however, this order will not be submitted until the bar following the signal bar.
Please let us know if we may be of further assistance to you.
Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
21 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
10 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment