Account Info
Log Out
English
Back
Log in to access Online Inquiry
Back to the Top
TA Challenge: Are you a left-side or right-side trader?
Views 963K Contents 176

Custom CM indicator sharing: financial chip analysis indicators to make investment decisions more scientific.

avatar
港美股薅羊毛 joined discussion · Jul 4 21:51
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
Custom CM indicator sharing: financial chip analysis indicators to make investment decisions more scientific.
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 Futu Moomoo PC

Step 2. Click “Index Management” in the upper right corner
Custom CM indicator sharing: financial chip analysis indicators to make investment decisions more scientific.
Step 3. Click Edit and create a new indicator ➕ above

Copy the following code into the code box

VAR1: =IF (CLOSE < OPEN, (CLOSE-OPEN) /OPEN,0);

VAR2: =IF (CLOSE > OPEN, (CLOSE-OPEN) /OPEN,0);

VAR3: =IF (CLOSE > OPEN, (OPEN-LOW) /OPEN, (CLOSE-LOW) /OPEN);

VAR4: =IF (CLOSE > OPEN, (HIGH-CLOSE) /OPEN, (HIGH-OPEN) /OPEN);

VAR5: =IF (BARSLAST (CLOSE > MA (CLOSE,20)) > 34,34, BARSLAST (CLOSE > MA (CLOSE,20)));

VAR6: =IF (BARSLAST (CLOSE > MA (CLOSE,60)) > 120,120, BARSLAST (CLOSE > MA (CLOSE,60)));

VAR7: =IF (COUNT (CLOSE > 0,250) < 240, CAPITAL, SUM (VOL,480) /8);

VAR8: =MA (LOW,20) *1.2;

VAR9: =MA (LOW,20) *1.1;

VAR10: =MA (HIGH,20) *0.9; VAR11: =MA (HIGH,20) *0.8;

VAR12: =CLOSE/ (1+ (CLOSE/MA (CLOSE,240) -1) -MA (CLOSE/MA (CLOSE,240) -1,3));

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;

Main capital: (CLOSE/VAR12-1) *50, COLORRED, LINETHICK2; main control panel: MA (IF (CLOSE > MA (CLOSE,240) AND (CLOSE,240)) /MA (CLOSE,240) +SUM (VAR1,20) > 0, (CLOSE,240)) /MA (CLOSE,240)) /MA (CLOSE,240) +SUM (VAR1,20)) /MA ( VOL/VAR7,20) /2.5,0) ,10), COLORYELLOW, LINETHICK2;

Retail funds: IF (CLOSE < MA (CLOSE, 20), (REF (CLOSE, VAR5) -CLOSE) /REF (CLOSE, VAR5) +SUM (VAR3, VAR5) -SUM (VAR4, VAR5)) *20,0), COLORBLUE, LINETHICK2;

Mid-line overflow: (REF (CLOSE, VAR6) -CLOSE) /CLOSE*2, COLORGREEN, LINETHICK2; STICKLINE (main capital > 0,0, main capital, 0.7,0), COLORRED; STICKLINE (main control panel > 0,0, main control panel, 0.7,0), COLORYELLOW;

STICKLINE (floating capital > 0,0, floating capital, 0.7,0), COLORMAGENTA;

STICKLINE (midline overdown > 0,0, midline overdraw,0.7,0), COLORGREEN;

STICKLINE (retail funds > 0,0, retail fund,0.8,0), COLORBLUE;

Abbreviation: CM

Full name: Funding chip chart

The object is: image

Then just click Test App.
Custom CM indicator sharing: financial chip analysis indicators to make investment decisions more scientific.
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
13
+0
See Original
Report
35K Views
Comment
Sign in to post a comment
    55Followers
    16Following
    209Visitors
    Follow