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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
164 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
85 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
126 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
207 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
185 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
Comment