Registered User Joined: 4/5/2008 Posts: 173
|
I have code for a specific price pattern. how can i get SFv5 to to make a chart of the number of times the pattern is true on a particular day so I can compare it on a day by day basis below an index.
For instance if my pattern triggered 100 times in the russell 2000 stocks list then I want the 100 in bar format below the the index in question.
Yes, I know that on my watchlist I get the "bars ago" number but what I want to be able to do is look at a chart with say a high number of "hits" and see it that bears any correlation to the main chart.
If this makes sense great - if not, let me know and I will reword.
Thanks
Ash
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Create a RealCode condition with your code, then right click on the condition and select Create Market Indicator. Choose the watchlist, then choose Count Passing. This will plot the number of stocks in the list passing your condition for each bar on the chart.
|