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 trilliantrader, 04-18-2024, 08:16 AM
|
7 responses
27 views
0 likes
|
Last Post Today, 07:56 AM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
17 responses
64 views
0 likes
|
Last Post Today, 07:51 AM | ||
Started by rocketman7, Today, 02:12 AM
|
2 responses
17 views
0 likes
|
Last Post
by rocketman7
Today, 07:45 AM
|
||
Started by briansaul, Today, 05:31 AM
|
1 response
13 views
0 likes
|
Last Post Today, 07:36 AM | ||
Started by PaulMohn, Today, 03:49 AM
|
1 response
12 views
0 likes
|
Last Post Today, 07:36 AM |
Comment