Custom CM indicator sharing: using financial chip analysis indicators to make investment decisions more scientific.
Dear friends, thank you for your attention and support. Next, I will bring you another indicator, the Funding Chip Analysis Index. Below is a detailed guide to using the indicator. Friends who trade often, welcome to come and talk.
Index introduction: This indicator is based on analysis of stock price changes and trading volume, and may identify signs of trading pressure from different market participants. The main retail investors are clear at a glance, which is more conducive to investment decisions.
Step 1: Download moomoo PC
Step 2. Click “Index Management” in the upper right corner
Step 3. Click Edit and create a new indicator ➕ above
Abbreviation: CM
Full name: Funding chip chart
The object is: image
Then just click Test App.
The same account is automatically synced to different terminals, that is, if you add indicators to the PC version and log in to the phone with the same account, you can see the newly added indicators, and just call them up directly.
If an error is reported, check if you have entered full-width punctuation, and change all the codes to English input methods and re-enter them.
Indicator usage:
Next, I'll explain the code principle to you. This indicator consists of three parts: variable definition, indicator calculation, and curve drawing.
Variable definitions:
VAR1 and VAR4: These variables capture the difference between the closing price and the opening price and are standardized by the opening price. They represent positive and negative price movements (VAR1 and VAR2) and range sizes (VAR3 and VAR4), respectively, depending on whether the close price is above or below the opening price.
VAR5 and VAR6: These variables count how many periods (time periods) in the past have closed above the 20-period and 60-period moving average (MA), respectively. They are limited to 34 and 120 cycles, respectively.
VAR7: This variable checks if the closing price for less than 240 of the past 250 periods was positive. If so, assign a constant value (CAPITAL); otherwise, calculate the average trading volume over the past 480 periods divided by 8.
VAR8 to VAR11: These variables are based on low and high 20-period moving averages, and use multipliers (1.2, 1.1, 0.9, 0.8) to calculate upper and lower limits.
VAR12: This variable uses the closing price and its relationship to the 240-period moving average (MA) to create complex calculations.
Indicator calculation:
Foreign capital (floating capital): This indicator checks for potential buying surges by looking for conditions such as recent highs, rising 5-period moving average, and closing prices above the 5-period moving average. If the conditions are met, it calculates a value based on changes in the 5-period moving average and assigns it magenta.
Main capital (main capital): This indicator uses VAR12 to calculate a value representing the strength of the main force (probably institutional investors), shown as a red line, with a thickness of 2.
Master Control (Master Control): This indicator uses a 10-period moving average, which contains a complex formula for price changes relative to the 240-period moving average, trading volume, and VAR1. It appears in yellow and has a thickness of 2.
Retail capital (retail capital): This indicator checks whether the closing price is below the 20-period moving average and calculates a value based on price changes and VAR3 and VAR4. It appears in blue and has a thickness of 2.
Mid-line overfall (mid-line overfall): This indicator calculates the percentage difference between the closing price and the pre-VAR6 price (which may represent the high point of the 60-period moving average) and is shown in green with a thickness of 2.
Curve drawing:
The code also defines several rows (STICKLINES) of indicator values based on calculations. These lines will be displayed on the trading chart.
This indicator can identify signs of trading pressure from different market participants. The main retail investors are clear at a glance, which is more conducive to investment decisions.
Disclaimer: Community is offered by Moomoo Technologies Inc. and is for educational purposes only.
Read more
Comment
Sign in to post a comment
一如既往跟你到月球 : thanks
一如既往跟你到月球 : What does it mean that the green midline has dropped more than once?
一如既往跟你到月球 : The red line represents the main capital. After looking at a few stocks, they are basically below the middle green line. So what is the meaning of this red line? Thank you!
堕落的眼泪 : line 12 error, can help to fix?
堕落的眼泪 堕落的眼泪 : Investment funds: IF (BARSLAST (CLOSE > VAR9) < 4 AND CLOSE > MA (CLOSE,5) AND BARSLAST (CLOSE=HHV (CLOSE,21)) < 4, (MA (CLOSE,5) -REF (MA (CLOSE,5) ,1)) /REF (MA (CLOSE,5) ,1) *300,0), COLOMAGENTA;