ktansan

trend judgment & multi ma

ktansan Updated   
1 The background is filled with the number of matches to the trend template.

For the following conditions, 7 matches are yellow, 8 matches are green, and 9 matches are blue.
1. the stock price is above the 150-day MA and 200-day MA
2. the 50-day MA is above the 200-day MA
3. 200-day MA is in an uptrend for at least one month
4. 50-day MA is above 150-day MA and 200-day MA
5. stock price is 25% or more above 52-week low
6. stock price is 0 - 25% below 52-week high
7. IBD RS is above 70, preferably in the 90s → I don't know the exact formula, so I'm approximating with a formula that gives similar values.
8. when the stock is breaking above the base, the stock price is above the 50MA → It is difficult to judge the base itself, so it is not included in the conditions.
9. volume is high during an upward and low during a downward → volume during an upward > volume during a downward in the past 20 periods.
ex1. the 5-day MA is above the 20-day MA.

2 multi moving averages are shown.
Release Notes:
1 The background is filled with the number of matches to the trend template.

For the following conditions, 7 matches are yellow, 8 matches are green, and 9 matches are blue.
1. the stock price is above the 150-day MA and 200-day MA
2. the 150-day MA is above the 200-day MA
3. 200-day MA is in an uptrend for at least one month
4. 50-day MA is above 150-day MA and 200-day MA
5. stock price is 25% or more above 52-week low
6. stock price is 0 - 25% below 52-week high
7. IBD RS is above 70, preferably in the 90s → I don't know the exact formula, so I'm approximating with a formula that gives similar values.
8. when the stock is breaking above the base, the stock price is above the 50MA → It is difficult to judge the base itself, so it is not included in the conditions.
9. volume is high during an upward and low during a downward → volume during an upward > volume during a downward in the past 20 periods.
ex1 . the 5-day MA is above the 20-day MA.

2 multi moving averages are shown.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?