Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Question about order entry method
Collapse
X
-
Question about order entry method
I'm trying to develop an automated strategy that enters an entry order and exit order after a certain condition is met. The problem with my strategy is that I want to only place automatic entry orders and stop loss orders at significant numbers eg. 700, 800, 900. is there a way to specify an entry order that will buy at the next higher significant number and place a stop loss at the next lower significant number? An example would be that oil is trading at 12775 when my conditions are met. I would like to place a buy stop order at 12800 and a sell stop order at 12700.Tags: None
-
Hi Don, welcome to our forums here - there would be unfortunately no inbuild way to determine a 'signifcant' price level, you would need to custom code a way to detect this in your strategy. The order methods require the price for the order to placed at then as double value in the overloads.
BertrandNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
18 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
44 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
20 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
180 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment