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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
Comment