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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
418 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment