I like to entry my trade manually, but would like to have a strategy that automatically trail my stop on the 10 SMA after price have moved 30 ticks on an active trade. What is the variable I can use to reference current entry price so I can use it to set when to start trailing the 10 SMA.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Code to reference current entry price
Collapse
X
-
Code to reference current entry price
Hi,
I like to entry my trade manually, but would like to have a strategy that automatically trail my stop on the 10 SMA after price have moved 30 ticks on an active trade. What is the variable I can use to reference current entry price so I can use it to set when to start trailing the 10 SMA.Tags: None
-
Hello FAQtrader,
The Position.AveragePrice would be the entry position price.
Below is a link to the help guide.
Also, below is a link to examples of trailing stops.
As well as links to examples of setting an order price to an indicator price.
Hello support team, I have 2 dataseries, a 1minute to detect the ATR value. Now I would like to set the stoploss and profit target based on the actual ATR Value Example: Stoploss 2xATR Profittarget 3xATR value 1. How can this be done with builder, I have no coding experience 2. Later I would like to have the possibility to
https://ninjatrader.com/support/foru...es#post1155153
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|
Comment