I try to access the price of the emas of the Kelner channel indicator, it is already added but no matter how much I look I don't know how to call the values
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
data of an indicator
Collapse
X
-
else if (State == State.DataLoaded)
{
EMALarga = EMA(Close, Convert.ToInt32(MediaLarga));
EMALarga.Plots[0].Brush = Brushes.YellowGreen;
AddChartIndicator(EMALarga);
EMAMedia = EMA(Close, Convert.ToInt32(MediaMedia));
EMAMedia.Plots[0].Brush = Brushes.DeepSkyBlue;
AddChartIndicator(EMAMedia);
EMACorta = EMA(Close, Convert.ToInt32(MediaCorta));
EMACorta.Plots[0].Brush = Brushes.Azure;
AddChartIndicator(EMACorta);
CanalK = KeltnerChannel(1.5, 10);
CanalK.Plots[0].Brush = Brushes.DarkOrange;
CanalK.Plots[1].Brush = Brushes.Crimson;
CanalK.Plots[2].Brush = Brushes.Crimson;
AddChartIndicator(CanalK);
}
Here I have it replicated
Print(CanalK[0]);
and here I ask and it gives me the price of the central ema of the channel, but I don't know how to ask for the other two
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Tin34, Today, 03:30 AM
|
2 responses
10 views
0 likes
|
Last Post
by Tin34
Today, 04:11 AM
|
||
Started by sastrades, Yesterday, 09:59 AM
|
2 responses
26 views
0 likes
|
Last Post Today, 04:06 AM | ||
Started by ETFVoyageur, Today, 12:52 AM
|
1 response
10 views
0 likes
|
Last Post Today, 03:36 AM | ||
Started by lollers, Today, 03:26 AM
|
0 responses
8 views
0 likes
|
Last Post
by lollers
Today, 03:26 AM
|
||
Started by aliyahany, Today, 03:16 AM
|
0 responses
1 view
0 likes
|
Last Post
by aliyahany
Today, 03:16 AM
|
Comment