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 traderqz, Yesterday, 09:06 AM
|
3 responses
20 views
0 likes
|
Last Post Today, 10:36 AM | ||
Started by f.saeidi, Today, 10:19 AM
|
1 response
4 views
0 likes
|
Last Post Today, 10:31 AM | ||
Started by kujista, Today, 06:23 AM
|
5 responses
15 views
0 likes
|
Last Post
by kujista
Today, 10:26 AM
|
||
Started by traderqz, Today, 12:06 AM
|
3 responses
6 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by RideMe, 04-07-2024, 04:54 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 08:48 AM |
Comment