Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
1-min ORB
Collapse
X
-
1-min ORB
I am trying to build a trading strategy where I capture the price high and low from 9:30 am to 9:31 am. If price after 9:31 am moves above the price high then go long. If price after 9:31 am moves below the price low then go short. Only one trade a day depending on whichever occurs first.Tags: None
-
Hello kellyboy,
Thank you for your post.
You can capture the High and Low by saving these to a variable.
For one trade a day, you can use a bool to keep track if a trade has been placed. Set the bool to false initially, and require the bool to be false in your conditions for entry. After an entry has been placed, set the bool to true. Reset the bool back to false when IsFirstBarOfSession is true.
Please let us know if you have any further questions.Gaby V.NinjaTrader Customer Service
-
Hello kellyboy,
This same logic can be applied using the Strategy Builder.
You can create a variable to save the High and Low to in the Inputs and Variables screen. You can also create your bool variable to track if a trade has been placed here.
The rest of the logic can be easily created from the Conditions and Actions screen.
If there is something in particular you're not sure how to do in the Strategy Builder please let me know.Gaby V.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by alphatango, Yesterday, 05:56 PM
|
2 responses
12 views
0 likes
|
Last Post
by alphatango
Today, 06:19 PM
|
||
Started by alphatango, Today, 06:16 PM
|
0 responses
2 views
0 likes
|
Last Post
by alphatango
Today, 06:16 PM
|
||
Started by alphatango, Yesterday, 07:32 PM
|
2 responses
11 views
0 likes
|
Last Post
by alphatango
Today, 05:53 PM
|
||
Started by several, Yesterday, 03:39 AM
|
2 responses
24 views
0 likes
|
Last Post
by several
Today, 05:20 PM
|
||
Started by nintrader310, 01-14-2025, 06:58 PM
|
4 responses
17 views
0 likes
|
Last Post
by nintrader310
Today, 05:16 PM
|
Comment