Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
JK HiLo Index
Collapse
X
-
Hello,
Can you please try using the ES 12-11 to ensure you are on the current date for the chart. Otherwise if you require the ES 09-11, please make sure the End Date for this chart is set to a date this contract was trading.
I do not have access to this particular script from my current location, however in the Initialize() method, there should be some Add() reference to the default symbols. You can simply change these to ^COMP or ^SP500 for example.
Code:protected override void Initialize() { Add("^COMP", PeriodType.Day, 1); }
MatthewNinjaTrader Product Management
Comment
-
Matthew,
first of all, thanks for your responses.
the indicator requires 3 vars:
1) total issues of the index (COMP, DJIA, or SP500)
2) total issues hitting new highs
3) total issues hitting new lows
I think the following lines of the code capture the 3 vars:
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
Add(new Line(Color.FromKnownColor(KnownColor.DarkOliveGree n), 20, "Line1"));
Add(new Line(Color.FromKnownColor(KnownColor.DarkOliveGree n), 90, "Line2"));
Plots[0].Pen.Width = 2;
Add("^NTCI", PeriodType.Day, 1);
Add("^NNYH", PeriodType.Day, 1);
Add("^NNYL", PeriodType.Day, 1);
E = new DataSeries (this);
H = new DataSeries (this);
}
unfortunately the 3 vars (^NTCI, ^NNYH, and ^NNYL) aren't working for the charting. It could be these are invalid symbols. would you know the correct ones to use? also, what are the comparable symbs for DJIA or SP500?
btw, you can download the script at www.ninjatrader.com/SC/October2011SC.zip
Comment
-
vxtr295,
Can you please clarify who you connect to for data? Once I know who you are using I can help you get NTCI, NNYH and NNYL setup if needed as these do not come preconfigured.
The DJIA and SP500 should come preconfigured as long as you are connected to a provider who offers indexes. In the instrument manage, the symbols will be named "SP500" and "DJIA". To access form the script you would need to specify "^SP500" and "^DJIA".MatthewNinjaTrader Product Management
Comment
-
Hello vxtr295,
Thank you for your response.
I am unable to locate these indices using Kinetick's symbol search (https://www.kinetick.com/support#Symbol-Search) or Yahoo Finance.
Are you able to locate these indices using Kinetick's symbol search or Yahoo Finance?
I look forward to assisting you further.
Comment
-
vxtr295,
Sorry for the confusion - here are the correct symbols for Kinetick
NNYH – Nasdaq new 52 week highs
Master Instrument: (user defined name) NNYH
Instrument Type: Index
Tick Size: 0.01
Session Template: Default 24/7
Symbol Map: Kinetick: FIQH.Z
Exchange: Default
NNYL - Nasdaq new 52 week lows
Master Instrument: (user defined name) NNYL
Instrument Type: Index
Tick Size: 0.01
Session Template: Default 24/7
Symbol Map: Kinetick: FIQL.Z
Exchange: Default
NTCI – Nasdaq total combined issues
Master Instrument: (user defined name) NTCI
Instrument Type: Index
Tick Size: 0.01
Session Template: Default 24/7
Symbol Map: Kinetick: IIQT.Z
Exchange: DefaultMatthewNinjaTrader Product Management
Comment
-
vxtr,
I found these by searching "Nasdaq Issues", "Nasdaq fifty-two week" for the Name/Description and Instrument Type set to Market Statics from the Kinetick search.
With Kinetick, I don't believe there is a reported SP500 52 week hi/low nor is there a DJIA. I can find this for the NYSE, AMEX however.MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Perr0Grande, Today, 08:16 PM
|
0 responses
2 views
0 likes
|
Last Post
by Perr0Grande
Today, 08:16 PM
|
||
Started by elderan, Today, 08:03 PM
|
0 responses
5 views
0 likes
|
Last Post
by elderan
Today, 08:03 PM
|
||
Started by algospoke, Today, 06:40 PM
|
0 responses
10 views
0 likes
|
Last Post
by algospoke
Today, 06:40 PM
|
||
Started by maybeimnotrader, Today, 05:46 PM
|
0 responses
12 views
0 likes
|
Last Post Today, 05:46 PM | ||
Started by quantismo, Today, 05:13 PM
|
0 responses
7 views
0 likes
|
Last Post
by quantismo
Today, 05:13 PM
|
Comment