Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator displacement in Strategy...
Collapse
X
-
Hello,
I wanted to define the meaning of "calling" and "displace" in this statement.
Are you adding the indicator visually using the strategy and want to Displace the indicator visually?
Or are you asking how to displace the actual data, potentially using a BarsAgo as an example?
Can you clarify which you are trying please?
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
Hello,
Visually, you would need to control the Displacement of the indicator you Add();
Code:private SMA mySma ; ... else if (State == State.Configure) { mySma= SMA(12); AddChartIndicator(mySma); } else if(State == State.Historical){ mySma.Displacement = 25; }
For example if you wanted to use a past value on the current bar it would be Close[10], is this what you mean by displace?
I look forward to being of further assistance.Last edited by NinjaTrader_Jesse; 04-21-2016, 10:09 AM.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by foxtrott21, Today, 08:27 AM
|
0 responses
1 view
0 likes
|
Last Post
by foxtrott21
Today, 08:27 AM
|
||
Started by jaypelle3, Today, 08:26 AM
|
0 responses
1 view
0 likes
|
Last Post
by jaypelle3
Today, 08:26 AM
|
||
Started by linkcou, Today, 07:01 AM
|
2 responses
19 views
0 likes
|
Last Post
by bltdavid
Today, 08:25 AM
|
||
Started by jaypelle3, Today, 08:25 AM
|
0 responses
2 views
0 likes
|
Last Post
by jaypelle3
Today, 08:25 AM
|
||
Started by jaypelle3, Today, 08:22 AM
|
0 responses
2 views
0 likes
|
Last Post
by jaypelle3
Today, 08:22 AM
|
Comment