How can we buy the open price automatically using NT?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Buy At Open
Collapse
X
-
Hi IcyRam, thanks for posting. I moved this to a new topic from the old one here:
Hi team, I'm a newbie to NT8 and currently in the simulated platform. Would you please guide me on how i can place long/short orders at opening price instantly when a new bar forms? Currently i use the buy/sell limit by pointing to the new bar's opening price>right click>buy/sell limit. Eg: Say the green bar closes
While running a strategy OnBarClose, to submit a buy at the open price you would submit a buy or sell limit order depending on where the close price is e.g.
if(Close[0] > Open[0])
EnterLongLimit(Open[0]);
We have a guide here for getting started with NInjaScript strategies:
Kind regards,
-ChrisL
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|
Comment