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
^ADV ^DECL Indicator
Collapse
X
-
^ADV ^DECL Indicator
Would anyone have a simple indicator they would be willing to share which calculates and displays the NYSE advancing/declining issues internals? I find this helpful as one of the helpful tools on determining on taking a short or long trade based upon a +/- 800 to 1300 ratio. Thank you for any assistance.Tags: None
-
Originally posted by ezinvestor View PostWould anyone have a simple indicator they would be willing to share which calculates and displays the NYSE advancing/declining issues internals? I find this helpful as one of the helpful tools on determining on taking a short or long trade based upon a +/- 800 to 1300 ratio. Thank you for any assistance.
-
Hello ezinvestor,
Thank you for your post and thanks to sledge for pointing this out.
You can find the indicator at the following link in our File Sharing section of the Support Forum: http://www.ninjatrader.com/support/f...d=4&linkid=544
Comment
-
-
Sorry but this indicator, http://www.ninjatrader.com/support/f...d=4&linkid=544, requires the ^ADD internal symbol in order to function. The problem is that Mirus/Continuum you must pay an additional $5.00 per month for NYSE internals. However, for some reason even though ^ADD is a Continuum listed symbol it will not feed data for ^ADD. The ^TICK, ^TRIN, ^ADV, ^DECL will feed data. So what I need is an indicator that will take the ^ADV and ^DECL and create a calculated indicator that can be displayed showing the same thing that the ^ADD would show if it were offered. Can anyone assist with this one?Last edited by ezinvestor; 03-12-2014, 09:51 AM.
Comment
-
-
Patrick, when I review the ^ADV, ^DECL numbers from yesterday at the closing 5 min the advance was 2427 and the decline was 1086. This would make the ^ADD +1341. However, the a1MarketInternalsADD.zip indicator that you modified shows the ADD line at 1710. Can you check this or explain why the difference?
Comment
-
Patrick,
I am looking at the example you posted as I try to puzzle out some aspects of writing a multi-instrument indicator. I notice the code starts OnBarUpdate() with
Code:if ( BarsArray[0] == null ) return;
Print statements from my indicator, using 1-day bars, indicate that all of the BarsArray entries are non-null right from the start. That would mean the statement would be useless, and would never return. Worse yet, it could allow entry while the DataSeries was still invalid (if ADV or DECL started before the price series). The distinguishing feature that tells when there is valid data appears to be that the series' value for CurrentBar is no longer -1. Wouldn't that line of code fail to do its job, and the following work better?
Code:if ( BarsArray[0].CurrentBar == -1 ) return;
Thanks,
EV
Comment
-
Hello EV,
Thank you for your post.
I will be honest; I do not know why that is in the code. The edit I performed allowed for those without the ADD data from their provider to use this indicator still by combining the ADV and DECL. I did not create this indicator and it would be best to contact the developer for further information.
Below are the edits I made:
Code:ADD = new DataSeries(this, MaximumBarsLookBack.Infinite); ... ADD.Set(Closes[2][0] - Closes[3][0]); adClose = ADD[0];
Comment
-
ADV DEC Indicator for CQG
For some reason CQG does not provide data for a combined adv/decl total. Is there an indicator that can be used to combine ADV and DEC tick symbols thus creating one line to represent both. If you take the ADV and DEC symbols with CQG you can create a chart with 2 panels, 1 panel showing ADV and the other showing DEC data. Within this chart you would create a 3rd panel which the indicator would combine both sets of data. I have been searching for hours to find a solution but nothing as yet.
Comment
-
Hello Andrew17,
You could write a code to do this yourself, you would just need to determine by which process you wanted to combine them.
For example, if you simply want a line of the close and if each data series is set to the same period and period type, then you can simply subtract the lower bar from the higher bar and divide the result by two then subtract that value from the higher bar to get the average and set your data series to the final value.
For example in OnBarUpdate():
Code:Combined.Set(Math.Max(Closes[0][0], Closes[1][0]) - ((Math.Max(Closes[0][0], Closes[1][0]) - Math.Min(Closes[0][0], Closes[1][0])) / 2));
If you could elaborate further on exactly how you want to combine the data series and how you want to display the result, I can assist further.
Thank you in advance.Michael M.NinjaTrader Quality Assurance
Comment
-
advance decline line
did anyone get the advance decline line working or can recommend where i can get it from im really struggling reading seperately any help would be appreciated thnks
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
3 responses
9 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by jordanq2, Today, 03:10 PM
|
2 responses
8 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
47 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
7 views
0 likes
|
Last Post Today, 02:12 PM |
Comment