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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
59 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
283 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment