ron22 255 posts msg #158195 - Ignore ron22 modified |
12/16/2021 12:17:19 AM
Please advise how I can add counts as follows:
1. number of days that MACD fast line is above MACD slow line
2. number of days that MACD fast line is below MACD slow line
3. number of days that stochastic %K is above %D
4. number of days that %K is below %D
5. number of days that closing price is above MA(20)
6. number of days that closing price is below MA(20)
I do not care about the count totals. I just want a red box to print on the chart for each day that each indicator is above or below criteria in items number 1-6.
If you click on a chart from the filter listed below then you can see the type of red boxes that I am referring to.
Thank you very much for your help in this matter.
Happy Holidays! Ron
|
Cheese 1,374 posts msg #158198 - Ignore Cheese modified |
12/16/2021 1:55:47 PM
https://www.stockfetcher.com/forums/Filter-Exchange/Need-help-adding-counts-to-my-filter/158195
==============================
@ron22,
Are you looking for something like this?
Good luck and Happy Holidays to you, too.
|
xarlor 581 posts msg #158199 - Ignore xarlor |
12/16/2021 2:04:23 PM
Cheese beat me to it. I added another section that shows when all 3 are above and when all 3 are below.
|
Cheese 1,374 posts msg #158200 - Ignore Cheese |
12/16/2021 2:26:18 PM
https://www.stockfetcher.com/forums/Filter-Exchange/Need-help-adding-counts-to-my-filter/158195
======================
Good idea, xarlor.
BTW, ron
I think xarlor also added value to the great TRENDSUM filter that Kevin_in_GA gifted to you a while ago.
|
ron22 255 posts msg #158201 - Ignore ron22 modified |
12/16/2021 4:17:39 PM
@cheese and xarlor. Thank you both so much! That is exactly what I was looking for. Also, the "all above "
boxes will make back- testing a lot easier. I did not know that that was possible. You are both talented and give freely of your time to help me and so many others on this forum.
|