Current location - Trademark Inquiry Complete Network - Futures platform - Attachment formula for finding communication average line
Attachment formula for finding communication average line
n:= 10;

MA5:=MA(CLOSE,5);

MA 10:=MA (closing,10);

MA20:=MA(CLOSE,20);

MA30:=MA (close to, 30);

MA60:=MA (close to, 60);

MA90:=MA (close to, 90);

MA 120:=MA (closing,120);

MA250:=MA (close to, 250);

DTPL:= ma 10 & gt; MA30 and MA30 & gtREF(MA30,1);

DG:=MAX(MAX(MA5,MA 10),MAX(MA20,MA30));

ZG:=MAX(MAX(DG,MA60),MAX(MA90,ma 120));

DD:=MIN(MIN(MA5,MA 10),MIN(MA20,MA30));

ZD:=MIN(MIN(DD,MA60),MIN(MA90,ma 120));

Adhesion: =(ZG/ZD- 1)* 100 High viscosity: = (ZG/ZD-1) *100ma250, POINTDOT, LINETHICK0.

Wear 5: (bonding and crossing (c, MA5))* 0.5;;

Wear 10: (bonding and crossing (c, ma10)) *1;

Wear 20: (Bonding and crossing (C, MA20)) * 2;

Wear 30: (bonding and crossing (c, ma30)) * 3;

FLSZ:=(C/REF(C, 1)- 1)* 100 & gt; =2 and V & gtREF(V,1);

DXTP:= ((wear 5/0.5)+ wear 10+ (wear 20/2)+ (wear 30/3)) > =2;

Preferably: (flsz and dxtp and ma30 >;; REF(MA30, 1))*3,COLOR00FFFF,LINETHICK2

Selection: (FLSZ and DXTP and MA30 & gtRef (ma30, 1) and count (high viscosity, 20)>= 15)*3, COLOR0000FF, LINETHICK2.

JXDT:= MA5 & gt; MA 10 and ma10 > MA20 and MA20 & gtMA30

Divergence: (JXDT AND NOT(REF(JXDT, 1)) * 1, COLOR00FF00, LINETHICK2.

Take off: (NOT and REF (bonding, 1) and COUNT (bonding, 20)>= 15 and DTPL)*3, COLORFF00FF, LINETHICK2.

{Set the display mode of the sub-screen below}

STICKLINE (adhesive,-0.2,0,4,0), COLOR00FF00.

STICKLINE (high viscosity, 0.2,0,4,0), COLORFF00FF.

DRAWTEXT (preferably 3,' the best choice'), COLOR00FFFF.

DRAWTEXT (divergence,2,' divergence '),COLOR00FF00

DRAWTEXT (take off, 3,' take off ● fly'), COLOR00FFFF.

DRAWICON (0.3, 1);

DRAWICON (take off, 3,1);

Extended data:

Psychological skill preparation before investment

(1) Self-discipline: Many people make mistakes again and again in the stock market. The main reason is the lack of strict self-discipline control, easy to be confused by market illusions, and finally ended in fiasco. Therefore, before entering the stock market, we should cultivate a self-disciplined character. Give you the courage to buy when others are afraid to invest. Self-discipline can also allow you to sell temporarily when everyone is expecting higher prices. Self-discipline can also help investors get rid of greed, let others grab the last 1/8 and the last 1/8, and easily keep the title of winner.

(2) Pleasure: It is very dangerous for people with physical and mental imbalance to engage in securities investment, and easy investment can also easily make profits. Only by maintaining a state of physical and mental pleasure and a good state of mind, spirit, spirit and brain can the judgment be more accurate. Investors who generally demonstrate and complain about the stock market decline are basically not suitable for stock operation. For investments that do not have a basic understanding of the use of the stock market, it is the best policy to maintain a pleasant body and mind.

(3) Decisiveness: Success lies in decision-making. Many investors don't have enough psychological exercise, and they don't want to chase after the rising market. Instead, they watch the stock soar and chase after it. As a result, they are trapped and complain. Therefore, investors should have a sword in their hearts. They should buy at the market price, sell at the market price, and avoid taking regret medicine.

(4) Modesty is not conceited: In the stock market, don't be too conceited and never think that you know everything. In fact, no one can fully understand any stock commodity. Any price decision depends on the actual actions of millions of investors and will be reflected in the market.

(5) Be brave in admitting mistakes: always keep a knife in your heart. Once it is proved that the investment direction is wrong, we should give up the original view as soon as possible, maintain our strength, hold our capital, wait for the opportunity to re-enter, and don't work hard to save face and eventually destroy our capital. At that time, there will be no chance to make a comeback. Therefore, failure is not the coming of the end of the world, but through proper arrangement and recovery, people can cheer up and gain experience. There is no way to recover from doubts, and there is another village. We must have the courage to admit our mistakes, so that we can have a bright future. Because there are green hills, there is no worry about firewood.

(6) Independence: Other people's supplements are often their own poison. The investors who just started investing in stocks are often blind followers, and there will be no good results behind them blindly. Knowing the main force is sometimes the best policy, but sometimes it is a trap. As the main force, it is often very helpful to try to analyze the market trend. People who can really become very rich often go alone, make decisions that others dare not make, and carry them out silently. Please remember that in the stock market, it is better to ask for help than to ask for help, and the road must be explored by yourself.

(7) Inspiration: Masters in the stock market can often use their imagination to predict the future through observation and feeling. Humans have five senses: sight, taste, touch, smell and hearing, all of which can be felt through the body. Only inspiration comes from continuous learning knowledge and accumulating experience, so as to achieve the ability to understand and predict the stock market trend. Inspiration is also called the sixth sense. For example, someone specially draws K-line charts and indicators. Over time, I feel that the harmonious heartbeat of the sacred unicorn can always grasp the future trend.

The following monthly rise strategy will share with you the moving average bonding buying method:

The adhesion of moving averages diverges upward, which can appear at the end of the downward trend of stock prices or on the way to the upward trend of stock prices. As long as the stock price consolidates horizontally for a long time, there will be multiple moving averages sticking up and diverging, which usually means that three or more moving averages are stuck together. When the stock price is sorted sideways and the direction is upward, the short-term moving average, the medium-term moving average and the long-term moving average will diverge upward in a long-term arrangement, so it is said that the moving average bonds and diverges upward.

Purchase analysis:

1. If the EMA diverges upwards, the Dayang line must be pulled out or gapped higher the next day.

2. The upward divergent Dayang line should match the volume, and the larger the volume, the better.

3. Bulls must have more than three moving averages.

4. The longer the moving average is in decline or sideways adjustment, the better.

5. When bonding, the moving average must have a certain upward slope, which is not reliable horizontally. MACD must be that the green column starts to get shorter or the red column starts to get bigger.

Stock selection method with upward divergence of moving averages;

1, the easiest way is to find it in the daily limit. If you find the stocks that diverge upward after the moving averages are bonded, it is simpler and time-saving to buy them in time according to the following analysis. Even if you can't buy them on the same day, you can buy them boldly the next day.

2. Usually observe and collect the stocks bonded by the moving average, and choose when tracking the deviation. When observing individual stocks at ordinary times, we should pay attention to those stocks that have gone up. If their moving averages gradually approach to overlap, we will collect them in the stock selection and observe their movements at any time. Once the moving average is found to diverge upwards, buy it in time according to the following analysis.

case analysis

Case 1: Tibet City Investment (600773)

Take Tibet Chengtou as an example. After the stock price continues to rise, the expectation of high allocation of main funds will be enhanced. Once the main force is distributed, it will trigger a continuous decline in the stock price.

When the empty energy potential energy is weak, it shows that the bulls are getting stronger. At this point, the main funds began to try to bargain-hunting, and quietly opened positions. Because the opening price is roughly the same, it oscillates sideways on the moving average. When the moving averages on the 5th, 10 and 20th start to bond, the short-term and medium-term costs are consistent.

Case 2: Fangda Carbon (6005 16)

Taking Fangda Carbon as an example, the main funds began to rise after the completion of the opening of the warehouse. From the moving average, there were signs of upward divergence after the bonding, indicating that the bullish pattern was established and the stock price in the market would fluctuate and climb.

However, after a certain increase, the stock price quickly fell below the 20-day moving average of the maximum cycle parameter, but there is no need to worry at this time. Because the stock price has just left the main jiancang area, the retracement will not be great. Sure enough, after briefly falling below the 20-day moving average, the stock price quickly stood up and triggered a new round of rise again.

Some stocks rose sharply after spreading upward, while others fell rapidly after rising a little.

Case: An Kai Bus (000868)

The more bonded EMAs, the denser they are, and even after diverging upwards at a certain point, the rising strength is stronger than the bonded EMAs.

The EMA system is arranged in long positions, and the stocks supported by long-term EMAs (120 and 250 days) below and rising are stronger. The long-term moving average is suppressed at the top, and the stocks with concentrated short-term moving average may have short-term market. However, when the area above the long-term moving average fails to attack, especially when it encounters the previous pressure level, it is necessary to pay attention to the risk of falling back.

Case: Tianshan shares (000977)

From the perspective of rising strength, when the moving average diverges upward, the greater the upward angle of the short-term moving average, the better.

In addition, we should also pay attention to the K-line shape when the bonding diverges upward. Generally speaking, the daily limit or the daily limit of Dayang Line is the strongest, followed by the combination of Xiaoyang Line for 2 or 3 consecutive days.

The amount of energy at the bottom is also an important indicator to determine the strength of the stock's late rise. In addition to the strong control of stocks, generally speaking, when the moving average rises for the first time and then rises again after bonding and divergence, the quantity at the bottom can

Case: Kaaba Development (600322)

From the time point of view, this form is much stronger on the monthly and weekly lines than on the daily line, which means that there is a big market in the medium term.

We can collect the stocks that the EMA is bonded or will be bonded in advance, and try to buy them when the offensive positive line breaks through the bonding position and the EMA tends to diverge upwards. This is also a radical buying point, and a safer buying point is to buy when you step back on the moving average or the nearest platform support a few days after the stock moving average bonds and diverges upward.

In the process of rising, when the important early pressure level or the important long-term moving average (semi-annual line and annual line) cannot be touched, you can consider selling first.

When picking stocks, try to choose stocks with far or no pressure above and long-term moving averages.

Not all EMAs are bound to rise.

The moving averages must be arranged in multiple positions, that is, the 5-day moving average is above the 10 moving average, and the 10 moving average is above the 20-day moving average, preferably the 20-day moving average is also above the 30-day moving average.

The longer the stock price is adjusted, the better.

When bonding, it is best to have a certain uphill moving average, which is not reliable horizontally. MACD must be that the green column starts to get shorter or the red column starts to get bigger.

Matters needing attention

It is always a good thing for the moving averages to diverge upward, but it is better for the longer-term moving averages to participate in the bonding.

When the stock price is relatively low, the explosive force of bonding is stronger than that when it is relatively medium.

In the stock market, it is rare for real moving average bonds to diverge upwards, but it is also a good thing for similar moving average bonds to diverge upwards. We should seize the opportunity.

The definition of upward divergence of the moving average is: from top to bottom, it is the moving average of 5, 10, 20, 30, 60 or above, that is, the short-term moving average is above and the long-term moving average is below, which is the best.

Sometimes there will be non-standard moving averages that diverge upwards. For example, based on the 60-day line, the upper 5-day line may be below the 10 line, but they all diverge upward.