Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
entry and exit siganls/names
Collapse
X
-
entry and exit siganls/names
i've been looking through the NTuser doc for the last hour and i can't seem to find a clear definition of the difference between entry and exit signals/names...i need to be able to label entries and exits in order to use entry and exit methods on a smaller time scale...Tags: None
-
d.allen101,
Not sure what you mean by differences. They are just string names that you can name however you want. You can name entries however you want and exits as well.
For example, you can name your entry "Long 1". Then you can tie an exit to fromEntrySignal of "Long 1" and then name your exit "Exit Long 1".Josh P.NinjaTrader Customer Service
-
example if(Close[0]>Close[20]) EnterLong("Long1"); . now if i want to exit based on: if(BarsInProgress==1 && Closes[1][0]<Low[0]) ExitLong(1,1,"Long1"," ENTRY SIGNAL") i don't know what "ENTRY SIGNAL" is...
Comment
-
That is the wrong use of the signature.
ExitLong(int barsInProgressIndex, int quantity, string signalName, string fromEntrySignal)
The first string, signalName, is the name for the exit order. The second, fromEntrySignal, is what you tie to "Long1" if you wanted to exit that particular entry.Josh P.NinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
627 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
359 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
562 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment