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
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 morleyc, Today, 11:37 AM
|
1 response
6 views
0 likes
|
Last Post Today, 12:02 PM | ||
Started by RaddiFX, Today, 11:26 AM
|
1 response
5 views
0 likes
|
Last Post Today, 11:51 AM | ||
Started by cshox, 05-15-2024, 01:07 PM
|
3 responses
16 views
0 likes
|
Last Post Today, 11:49 AM | ||
Started by alvarosiegar, 05-15-2018, 05:58 PM
|
10 responses
3,179 views
0 likes
|
Last Post
by janio973
Today, 11:45 AM
|
||
Started by dueltmp, Today, 10:46 AM
|
1 response
11 views
0 likes
|
Last Post Today, 11:44 AM |
Comment