Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Plots Multi Instrument
Collapse
X
-
Hello there.
I have a question. Given a chart and an instrument plotted, say 6S, with its indicators in different panels, is it possible to add a further panel with an indicator which has as input series another instrument, say 6E?
There was a post about RSI but no further discussion.
Regards
Comment
-
Thank you Bertrand.
I have another question, somehow unrelated but I couldnt find any thread in the forum. Lets take a chart with various indicators plotted in their respective panels. I would like to create a signal at once when some conditions are met. For example, lets say that CCI=48 and RSI=34. I would like the respective bars of each separate panel to be, say, yellow IFF above. I saw how to do it for a single indicator, in fact I managed to replicate it for mine but I would need some cross reference from several indicators at once, cross relate indicators. Is it possible?
Regards
Comment
-
Thank you Bertrand.
I will go through the link. If you are aware of any example of such a thing uploaded in the forum or anywhere else, please do let me know.
Regards
Comment
-
Hi there
Anyone can help?
Im very new at programming. Im trying to convert Value.Set[0] to double for the momentum indicator. If I use the following command line:
protected override void OnBarUpdate()
{
Value.Set(CurrentBar == 0 ? 0 : Input[0] - Input[Math.Min(CurrentBar, Period)]);
if(Value[0]>0)
PlotColors[0][0] = upColor;
else
PlotColors[0][0] = dnColor;}
then it works as it should but if I try to use a non-integer figure it says error clearly. Where am I supposed to specify that I want Value.Set[0] a double? I tried few things and when it was compiling fine without errors then ninjatrader would shut down as soon as I would load the indicator on the chart.
Regards
Comment
-
Hi Bertrand and thank you.
I managed to do what I meant. Unfortunately, I deleted the indicator I was fiddling around with to start afresh and avoid using it and I cant remember what I put into it. I should keep all the scripts from now on.
Thank you and regards.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
639 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
572 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment