Moomoo Indicator Share | Short-term bullish and bearish indicators
Hello everyone, I'm Luochen. Today, I'll continue to share with you a super easy-to-use short-term indicator, which is also one of the indicators I often use, the short-term bull and bear king.
Indicator Introduction: This indicator consists of three parts: short-term bull and bear, five color bars, and nine cycles of accelerated bottom-fishing. (Some code is from the internet, and I have optimized and improved it through repeated testing and received good feedback from some friends.)
Step 1 Download the Futu moomoo PC version
Step 2 Click on the "Indicator Management" in the lower right corner
Step 2 Click on the "Indicator Management" in the lower right corner
Step 3 Click on the "➕" button to create a new indicator
Abbreviation: DKW
Full Name: Short-term Bull and Bear King
Target: Main Chart
Then just click on the test.
Full Name: Short-term Bull and Bear King
Target: Main Chart
Then just click on the test.
The same account will automatically sync to different terminals. That is to say, if you add indicators on the PC version and log in to the mobile version with the same account, you can see the newly added indicators and directly call them up.
If there is an error, check if you have entered full-width punctuation marks and change all the code to English input methods and re-enter.
Next, I will explain the code principle to you.
This indicator consists of four parts:
If there is an error, check if you have entered full-width punctuation marks and change all the code to English input methods and re-enter.
Next, I will explain the code principle to you.
This indicator consists of four parts:
Part 1: Long and short trend lines
Define variable TF for the time period of the exponential moving average (EMA). (This indicator is a short-term indicator with a period of 13, users can adjust it according to their preferences).
Calculate the EMA of the highest and lowest prices of stocks, referred to as UP and DW, and calculate them according to the specified time period.
Define the conditions F1 and F2 to identify the candlestick pattern of call and put engulfing.
COND combines these conditions to identify potential reversals.
COND1 and COND2 check whether the EMA is rising/falling compared to the previous period.
COND3 is the inverse of COND1 or COND2, used to identify periods where the EMA is flat.
Then use these conditions to draw colored lines (A and B), representing potential support and resistance levels based on the trends and channels formed by EMA. Pink is for uptrends, and green is for downtrends.
Define variable TF for the time period of the exponential moving average (EMA). (This indicator is a short-term indicator with a period of 13, users can adjust it according to their preferences).
Calculate the EMA of the highest and lowest prices of stocks, referred to as UP and DW, and calculate them according to the specified time period.
Define the conditions F1 and F2 to identify the candlestick pattern of call and put engulfing.
COND combines these conditions to identify potential reversals.
COND1 and COND2 check whether the EMA is rising/falling compared to the previous period.
COND3 is the inverse of COND1 or COND2, used to identify periods where the EMA is flat.
Then use these conditions to draw colored lines (A and B), representing potential support and resistance levels based on the trends and channels formed by EMA. Pink is for uptrends, and green is for downtrends.
Part 2: Five-colored bars
Calculate the random indicator values (RSV, K, D, and J) based on the highest price, lowest price, and closing price of stocks.
Use the STICKLINE function to plot a line representing the random indicator values and highlight the conditions of overbought (J > 100) and oversold (J < 20).
Draw a line to identify potential trend reversals by crossing the potential J values with a horizontal line (in this case, 50).
Different from the traditional red and green candlestick charts, this indicator adds white, blue, and pink candlestick charts, each representing a different meaning.
Calculate the random indicator values (RSV, K, D, and J) based on the highest price, lowest price, and closing price of stocks.
Use the STICKLINE function to plot a line representing the random indicator values and highlight the conditions of overbought (J > 100) and oversold (J < 20).
Draw a line to identify potential trend reversals by crossing the potential J values with a horizontal line (in this case, 50).
Different from the traditional red and green candlestick charts, this indicator adds white, blue, and pink candlestick charts, each representing a different meaning.
Part Three: Nine Transformations
Track the number of consecutive bars where the closing price is higher than (A1) or lower than (B1) the previous closing price.
Use the BACKSET function to check for specific patterns in the number of bars.
Draw numbers on the chart to indicate these patterns and highlight potential reversal areas.
Use downward gaps to identify downward gaps (current highest price lower than the lowest price of the previous bar).
Track the number of consecutive bars where the closing price is higher than (A1) or lower than (B1) the previous closing price.
Use the BACKSET function to check for specific patterns in the number of bars.
Draw numbers on the chart to indicate these patterns and highlight potential reversal areas.
Use downward gaps to identify downward gaps (current highest price lower than the lowest price of the previous bar).
Based on downward gaps and continuously higher closing prices, check specific three-bar bullish patterns.
Use STICKLINE and DRAWICON to visually mark these patterns on the chart.
Within 3 weeks after the 49 structure decline, a downward gap appeared, and the gap was strongly filled within 3 days.
Buy on the day when the gap is filled, with the lowest price of the day as the stop loss, represented by pink bars and the icon is 😄.
Use STICKLINE and DRAWICON to visually mark these patterns on the chart.
Within 3 weeks after the 49 structure decline, a downward gap appeared, and the gap was strongly filled within 3 days.
Buy on the day when the gap is filled, with the lowest price of the day as the stop loss, represented by pink bars and the icon is 😄.
The overall effect is as follows:
The overall effect is good, right? The long and short positions are clear at a glance, and the key positions are represented by different colored candlestick charts. This indicator is suitable for trend trading. Next, we will demonstrate how to use it in conjunction with the CM and RSI indicators mentioned earlier.
Taking Ping An Insurance as an example, it is a bottom-fishing opportunity to go long:
Taking Ping An Insurance as an example, it is a bottom-fishing opportunity to go long:
Taking Xpeng as an example, it is a short-selling opportunity:
The two cases I selected are wave trends with relatively clear trends. In fact, the trends of many stocks are often a battle between bulls and bears, with retail funds and block orders entering and exiting. When the trend is unclear, it is generally not advisable to participate, like the following trend.
This article does not constitute any investment advice, but serves as a technical analysis sharing. Investment decisions should be based on independent thinking, without blindly relying on indicators. In terms of operation, it should also be combined with the fundamental analysis of relevant stocks and market sentiment for trading.
Thank you all for reading and supporting. If you like this article, please give it a like and share. Your support is my motivation for updates. If this article receives positive feedback, I will share accurate entry and exit indicators in the next issue. Stay tuned!
Disclaimer: Community is offered by Moomoo Technologies Inc. and is for educational purposes only.
Read more
Comment
Sign in to post a comment
斯似楼阑 OP : Everyone is welcome to pay attention, and everyone is welcome to work together to improve the indicators
一如既往跟你到月球 : Great, installed, thanks!
小baby : It seems like my code is working now.Grateful, seeking advice.