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.
-
Hello,
Visually, you would need to control the Displacement of the indicator you Add();
For the data, are you just referring to a bars ago? I am not certain on what you mean by displace the data.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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
24 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment