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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment