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 steve257, 12-20-2023, 05:32 AM
|
5 responses
435 views
0 likes
|
Last Post
by Nothinox
Today, 01:52 AM
|
||
Started by javaburnaus, Today, 01:51 AM
|
0 responses
1 view
0 likes
|
Last Post
by javaburnaus
Today, 01:51 AM
|
||
Started by XanderT, Today, 01:27 AM
|
0 responses
3 views
0 likes
|
Last Post
by XanderT
Today, 01:27 AM
|
||
Started by anton_tymoshchuk, Today, 01:14 AM
|
0 responses
8 views
0 likes
|
Last Post Today, 01:14 AM | ||
Started by marco231, Yesterday, 11:32 PM
|
1 response
7 views
0 likes
|
Last Post
by marco231
Yesterday, 11:34 PM
|
Comment