Current location - Trademark Inquiry Complete Network - Futures platform - When calculating MACD futures index, should we use settlement price or closing price?
When calculating MACD futures index, should we use settlement price or closing price?
Based on the closing price.

When applying MACD, the fast moving average (generally 12 days) and the slow moving average (generally 26 days) should be calculated first. These two values are used as the basis to measure the "difference" between the two (fast and slow lines). The so-called differential deviation value (DIF) is the EMA value of 12 minus the EMA value of 26. Therefore, in the continuous upward trend, the average of 12 is above the average of 26. At the same time, the positive deviation (+DIF) will become larger and larger. On the contrary, in the downward trend, the deviation value may become negative (-DIF) and become larger and larger. As for the market turning point, the positive and negative deviation should be reduced to a certain extent, which is the real signal of market reversal. The inversion signal of MACD is defined as the 9-day moving average (9-day moving average) of "deviation value". In the index smma calculation formula of MACD, the weight of trading day T+ 1 is added respectively. Taking the commonly used parameters 12 and 26 as examples, the formula is as follows:

Calculation of EMA on 12: EMA12 = EMA12x113+today's closing date X 2/ 13.

Calculation of EMA on 26th: EMA26 = EMA 26 x 25/27 of the previous day+closing X 2/27 today.

Calculation of DIF: DIF = EMA 12-EMA26.

According to the deviation value, the EMA of 9 days, that is, the average deviation value, is the DEA value. To avoid confusion with the original name of the index, this value is also called DEA or DEM.

Today's DEA = (DEA X 8/10 of the previous day+DIF X 2/ 10 of today)

Use (DIF- data envelopment analysis) *2 as the MACD histogram.

Therefore, the MACD indicator is composed of two lines and one column, the fast line is DIF, the slow line is DEA, and the histogram is MACD. In various investments, there are the following methods for investors' reference:

1. When both DIF and MACD are greater than 0 (that is, graphically above the zero line) and move upward, it generally indicates that the market is in a long market and you can buy open positions or long positions;

2. When both DIF and MACD are less than 0 (that is, graphically below the zero line) and move down, it generally means that the market is in a short market, and you can sell and open positions or wait and see.

3. When both DIF and MACD are greater than 0 (that is, graphically above the zero line) but both move down, it generally means that the market is in a downward stage and you can sell and open positions.

4. When both DIF and MACD are less than 0 (that is, graphically below the zero line) but move upward, it generally means that the market is about to rise and the stock will rise, and you can buy open positions or long positions.

Basic attributes of short-term stock trading

Short-term is a broad and relative concept, which refers to the operation mode that takes a short time to complete a position opening and closing round. Actually, there seems to be no strict time standard. Day trading is short-term, and it seems that completing 20 rounds a week can be called short-term. I don't need time here, but use the operating concept as the dividing standard. In other words, I adopt a narrow short-term definition.

The so-called short-term is an operation mode based on short-term market conditions rather than fundamentals. Its operation foundation lies in the inertia and self-verification of the market, and the short running rounds is only a natural and inevitable attribute of this operation. According to this definition, the vast majority of short-term traders in the market are not short-term traders. I will only talk about a few important characteristics or attributes of short-term traders that I define here:

Short-term traders don't care about fundamentals: operations based on fundamentals are essentially the application of causal logic in markets and operations. Short-term traders are not based on causal logic. They have long abandoned this general logic that seems to have been repeatedly proved by human society. Moreover, from the time point of view, the fundamental changes in a large time span are meaningless for repeated two-way operations in one day.

Short-term traders do not rely on predictions or expectations as the basis for their operations: short-term traders only care about the present, and do not think it is necessary to care about the past and the future, nor do they think they can know too much arrogantly. He only knows the present, he only grasps the present, and all the operational situations that make him out of the present are something he must avoid. The essence of prediction and expectation is basically causal logic, or it is based on other metaphysics that cannot find real basis, and causal logic and metaphysics are avoided by short-term traders.

Disk sense is an internalized market, not an uncertain and unstable feeling: disk sense plays a very important role in all types of operations. It's a pity that almost everyone has said what the sense of unclearness is and how to cultivate and train it effectively. For short-term operators, the real meaning of disk sense is to fully relax yourself, slowly internalize and stabilize the market on the basis of long-term correct market observation and trading. In other words, the source and foundation of the sense of disk lies in internalizing the external market into your body (note that it is not your brain), slowly transforming the external reaction to the environment into your body's instinct, and obtaining a stable and relaxed trading foundation by liberating or releasing the sensitivity of instinct.

Although short-term traders seem to trade in the same direction, they don't really have the concept or consciousness of long and short: in fact, the concept or consciousness of long and short is mostly based on expectations, so most short-term traders essentially trade in a phased unidirectional band, in other words, they trade according to the phased long and short judgment. The level is mainly reflected in the timely conversion of the long-short consciousness of the stage, and most transactions are quickly switched in a single direction of the stage or within the so-called shock stage. But short-term traders have no sense of long and short. They trade according to market inertia and market self-verification. Every market stage is two-way, and most of the entry points are often at the high or low points against the market.

Short-term traders don't care about market segmentation: short-term traders filter all types of traders, and he only cares about the unified market and no longer cares about all kinds of trading groups from main players to retail investors.

Short-term traders do not rely on technical indicators, but only judge the market evolution stage as a whole: technical indicators are descriptive in themselves, in other words, they are a kind of lagging descriptive. Although the application of technical indicators can reduce the lag by shortening the time level and testing each other at different time levels, it cannot change the essence. In the eyes of short-term traders, time is often an illusion. Although he seems to trade in time, his trading basis is outside time, and time is only the form of market expansion and evolution.

Short-term traders have no distinction between market and variety, but only choose the type that is most suitable for short-term trading: in the eyes of short-term traders, there is only one market and one product in the world, that is, people who get together to trade. The differences in space, rhythm and rhythm in different markets are superficial. Short-term traders filter differences to the greatest extent. If we really want to say the difference between markets and varieties, it is only that short-term traders prefer markets and varieties with larger trading volume, smoother evolutionary rhythm, easier access and concealment.

Short-term traders only use the simplest operations: arbitrage, lock positions, position and fund management, operation discipline, stop loss, operation plan, etc., which has no other effect except reducing his operation pleasure and efficiency.

Short-term trading is not so much a technology as a discipline: the trading basis of short-term traders is not in any external analysis, technology and technology combination, but in the practice of internalizing the market, they have the instinctive basis of operation, observe market inertia and self-verification, and gain strong ability to process orders from it, and even the right or wrong judgment is not the most important. As for the risk, he is either faster than the risk, or he will not put himself in an inoperable and unresponsive situation.

Short-term trading is a game for happy people: the psychological and physical basis of short-term trading is happiness, and it is definitely not the kind of game that licks blood while picking chestnuts from the fire. His happiness comes from several foundations: indifference to profit and loss, keeping very good psychological and physical flexibility in this indifference, daring to make profits (unlike everyone's idea, it is a bigger problem not to dare to make profits in this market than to dare to lose money), and trading methods without any extra homework (once you leave the market, there is no market in your heart).

In fact, the above basic attributes of short-term trading are also fully applicable to the so-called mid-line and long-term trading. Traders who have mastered these contents cross the time level and trade equally at any time level. They choose short-term trading only because short-term trading is more fun, more efficient and requires a simpler combination of technologies. It is not that short-term, medium-term and long-term transactions have any really different connotations.