Double the positive line and shrink the double negative stock selection formula to identify short-term market inflection points

Trading volume (VOL) refers to the total number of lots traded within a period of time, reflecting the inflow and outflow of funds. It is an important indicator for judging market trends and provides an important reference for analyzing the main force's behavior. This article combines the price and trading volume to write a stock selection formula that doubles the positive line and shrinks the negative line.

In technical analysis, volume can be used as a measure of trader engagement. When the price increases accompanied by the increase in trading volume, this is a direct reflection of demand, and the volume and price cooperate, and the market operates normally; when the price increases and the trading volume decreases, it may indicate a lack of interest in the market, which is a potential reversal warning. When the price falls and the trading volume is small, this is not a strong signal, and it needs to be analyzed in combination with the specific situation; when the price falls and the trading volume is large, this is a relatively strong signal, indicating that some market conditions have fundamentally changed Variety. In addition, the sharp fluctuations in prices and the sharp increase in trading volume indicate that the trend may end, and traders who are waiting or afraid get in or out of the market in groups, thus exhausting the power of buyers or sellers. Finally, trading volume helps identify and confirm bullish signals. When the trading volume suddenly increases, it may be a sign of the main force's intervention. Paying attention to such signals can help identify the turning point of the market.

Analyzing trading volume is still complicated and difficult, and it is not easy to explain clearly. The above statement is not applicable in all cases, and there are some extreme cases. In addition, although the trading volume is real, the main force often uses the trading volume to set traps, which requires careful analysis and identification.

1. The index formula of the double positive line and the shrinkage of the negative main chart

Idea: After the double-quantity real positive line, there will be some shrinking negative lines, and the callback will not break the low point of the double-quantity real positive line, and then the double-quantity real positive line will appear again.

YX:=C/REF(C,1)>1.05 AND (C-O)/(H-L)>0.6;

BL:=V>REF(V,1)*2;

A1:=YX AND BL;{Double positive line}

T:=BARSLAST(A1);

YV:=REF(VOL,T);{Trading volume of double positive line}

YH:=REF(H,T);{The highest price of double Yang line}

YL:=REF(L,T);{the lowest price of double Yang line}

HL:=YH-YL;

TJ1:=C>YL AND C<=YH+HL*1.5 AND H-L<HL*1.02;

Y1:=COUNT(C<O,T); {Statistics of the number of periods of the negative line after the double positive line}

Y2:=COUNT(C<O AND V<YV*0.5,T);{Statistics of the number of cycles of the shrinkage negative line}

TJ2:=Y2/Y1>0.6;

A2:=REF(EVERY(TJ1,T),1);

A3:=REF(TJ2,1);

A4:=BETWEEN(REF(T,1),3,60);

A5:=L<REF(YH,1) AND H>REF(YH,1);

A6:=H/REF(LLV(L,T),1)<1.15;

XG:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;

STICKLINE(XG,H,L,0,0),COLORYELLOW;

STICKLINE(XG,O,C,3,0),COLORYELLOW;

DRAWICON(XG,L,1);

2. The stock selection formula for double the positive line and shrink the negative line

YX:=C/REF(C,1)>1.05 AND (C-O)/(H-L)>0.6;

BL:=V>REF(V,1)*2;

A1:=YX AND BL;

T:=BARSLAST(A1);

YV:=REF(VOL,T);

YH:=REF(H,T);

YL:=REF(L,T);

HL:=YH-YL;

TJ1:=C>YL AND C<=YH+HL*1.5 AND H-L<HL*1.02;

Y1:=COUNT(C<O,T);

Y2:=COUNT(C<O AND V<YV*0.5,T);

TJ2:=Y2/Y1>0.6;

A2:=REF(EVERY(TJ1,T),1);

A3:=REF(TJ2,1);

A4:=BETWEEN(REF(T,1),3,60);

A5:=L<REF(YH,1) AND H>REF(YH,1);

A6:=H/REF(LLV(L,T),1)<1.15;

XG:A1 AND A2 AND A3 AND A4 AND A5 AND A6;

Pay attention to Technical Pie and learn more knowledge about writing Tongdaxin indicator formulas. All rights reserved, please indicate the source.

Friendly reminder: This article is only for learning and exchanging technical indicator formulas, and does not constitute any investment advice. Investment is risky, and you need to be cautious when entering the market.

Guess you like

Origin blog.csdn.net/m0_74754828/article/details/132627469