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 traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
46 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by arvidvanstaey, Today, 02:19 PM
|
1 response
6 views
0 likes
|
Last Post Today, 02:33 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
5 views
0 likes
|
Last Post Today, 02:12 PM | ||
Started by f.saeidi, Today, 01:32 PM
|
2 responses
9 views
0 likes
|
Last Post
by f.saeidi
Today, 02:10 PM
|
Comment