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 cmoran13, Yesterday, 01:02 PM
|
0 responses
31 views
0 likes
|
Last Post
by cmoran13
Yesterday, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
22 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
160 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
95 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
148 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment