Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to space entrees from one another???
Collapse
X
-
How to space entrees from one another???
I'm stuck trying to figure this out so I'm hoping someone here can help me with some code example. I am not an expert programmer so please bare with me. I am simply trying to code a strategy that takes many entrees per direction but each entree must be made n ticks from the last entree. So there will be times when a position may have multiple entrees but each of those entrees need to be made spaced out from each other. Thank you for your help.Tags: None
-
Hello Relogical,
Thank you for your note.
You would want to place either Stop Limit or Stop Market orders at your interval choices that you would want. You will also need to increase the EntriesPerDirection value, which is set when applying the strategy, to a higher number that you would want to use for the multiple entries.
http://www.ninjatrader.com/support/h...erlongstop.htm
http://www.ninjatrader.com/support/h...gstoplimit.htmCal H.NinjaTrader Customer Service
-
I don't think you understand what I am trying to accomplish. I am not using stops. I am using signal based exits and entrees. After 1st entree is made I want to scale in to average in my position. So the 2nd entree will be made a set distance from the 1st. And if a 3rd entree is made then that will also be entered a set distance from the 2nd entree. This will keep going until my entire position is closed via an exit signal.
Comment
-
Relogical,
You would want to take a look at the sample reference below on scaling in/out of a position
http://www.ninjatrader.com/support/f...ead.php?t=3751Cal H.NinjaTrader Customer Service
Comment
-
Relogical,
The only other thing I can think of would be to create your own calculations for this then.
I have attached a sample strategy that should be on the right track for your needs.
This will place your first entry based on a simple calculation then get the fill price for that order and then the second entry is based on the close price being greater than or equal to a set amount of ticks in order to place it.Attached FilesCal H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Felix Reichert, 04-26-2024, 02:12 PM
|
5 responses
39 views
0 likes
|
Last Post Today, 03:14 PM | ||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
15 responses
45 views
0 likes
|
Last Post Today, 03:10 PM | ||
Started by ETFVoyageur, Yesterday, 06:05 PM
|
6 responses
37 views
0 likes
|
Last Post
by ETFVoyageur
Today, 02:48 PM
|
||
Started by rbeckmann05, Today, 02:35 PM
|
1 response
6 views
0 likes
|
Last Post Today, 02:45 PM | ||
Started by Torontobluejays, Yesterday, 08:43 AM
|
6 responses
34 views
0 likes
|
Last Post
by rc5781
Today, 02:43 PM
|
Comment