Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enter trade based off opening price of current daily price bar in relation to SMA
Collapse
X
-
Enter trade based off opening price of current daily price bar in relation to SMA
I am trying to create a strategy where I enter a position either long or short on the opening of the stock market using the opening price and the daily chart. However, the issue I am having is that the logic that controls whether to go long or short is using the previous daily candles opening price to make a decision for today's trade. How do I configure the strategy to look at today's opening price? FYI, previous bars is set to 0.Tags: None
-
Hello magnolia318,
Thank you for the post.
Here is a post on the same subject where our colleague Chelsea demonstrates adding an additional 1 tick series to your script so you can access the opening value without needing to run the Strategy on each tick:
Please let me know if you have any additional questions.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
56 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
132 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 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
49 views
0 likes
|
Last Post
|

Comment