Thank you!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Breadth Analysis
Collapse
X
-
Hello,
Thanks for the note.
This is possible but would take a multi instrument indicator or strategy to do this with. You would simply setup code to identify stocks at a high and then add them all together to a variable and then set the variable to the dataseries and you can plot this if you would like on the chart as well.
This is getting into some more advanced NinjaScript to do this however.
Let me know if I can be of further assistance.
-
Hi Brett,
Thank you for the quick response. At least you pointed out that it can be done! I will look into what you suggested.
Let's say the instruments in the list have different start dates, e.g. some only has 500 days of data while others have >2000 days of historical data. I need the breadth statistic to start from 2000 days ago. Let's say the statistic is just summation of stocks which make new high. For stocks which do not have data yet, i would like to put 0 in the summation.
Would what you suggested work in this case?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
4 responses
11 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
61 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
9 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
48 views
0 likes
|
Last Post Today, 02:36 PM |
Comment