double EntryPrice = Position.AvgPrice;
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
entry price variable
Collapse
X
-
Ryan M.NinjaTrader Customer Service
-
does SetProfitTarget("", CalculationMode.Ticks, EntryPrice + profitfactor);
use entry price automatically if I just said
SetProfitTarget("", CalculationMode.Ticks, 5); for example...is that the same as setting
SetProfitTarget("", CalculationMode.Ticks, EntryPrice + profitfactor);
with profitfactor being 5??
Comment
-
No, those are not the same statements.
CalculationMode.Ticks will place an order in relation to entry price, and you don't have to specify entry price.
Example: YM long entry at 10,000
SetProfitTarget("", CalculationMode.Ticks, 5);
Above statement places sell limit order at 10,005.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
102 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment