通达信买卖股价预测主图/副图指标
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,"●极品底"),COLORRED;
VAR2J:=(2*CLOSE+HIGH+LOW)/4;
VAR4J:=LLV(LOW,5);
VAR5J:=HHV(HIGH,4);
散户:=EMA((VAR2J-VAR4J)/(VAR5J-VAR4J)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.18,"←低吸"),COLORYELLOW;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.18,"←高抛"),COLORGREEN;
VAR1T:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2T:=SMA(VAR1T,3,1);
VAR3T:=SMA(VAR2T,3,1);
VAR4T:=SMA(VAR3T,3,1);
VAR6T:=CROSS(VAR3T,VAR4T) AND VAR3T<20;
DRAWTEXT(FILTER(VAR6T,10)=1,LOW * 0.96,"●抄底"),COLORYELLOW;
VAR7T:=CROSS(VAR4T,VAR3T) AND VAR3T>80;
DRAWTEXT(FILTER(VAR7T,5)=1,HIGH * 1.08 ,"●逃顶") ,COLORGREEN ;
A:=(3*C+L+O+H)/6;
N:=4;
WX:=MA(CLOSE,0);
M1:=MA(CLOSE,5);
M2:=(MA(CLOSE,10) * IF((N < 2),WX,1));
M3:=(MA(CLOSE,20) * IF((N < 3),WX,1));
M4:=(MA(CLOSE,30) * IF((N < 4),WX,1));
M5:=(MA(CLOSE,60) * IF((N < 5),WX,1));
M6:=(MA(CLOSE,120) * IF((N < 6),WX,1));
M7:=(MA(CLOSE,240) * IF((N < 7),WX,1));
M8:=(MA(CLOSE,340) * IF((N < 8),WX,1));
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));
M11:=REF(M,1);
N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));
N1:=REF(N9,1);
M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);
N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
H1:=IF(((M - N9) > 0),CLOSE,ET2);
H2:=IF((A = 1),CLOSE,C2);
H3:=IF(((M - N9) < 0),CLOSE,XB2);
H4:=IF((A = 1),CLOSE,XB2);
H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);
H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=(H5 > H6);
H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2)));
H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2)));
W:=((H8 OR H9) OR H10);
T9:=((H5 < H6) AND (H5 < REF(H5,2)));
T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));
T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));
T12:=((H5 = REF(H5,1)) AND (H3 = H4));
T13:=((H2 = REF(H2,1)) AND (H2 = H5));
TW:=((((T9 OR T10) OR T11) OR T12) OR T13);
PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);
PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4));
BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
DRAWTEXT((ISLASTBAR AND (BBP >= 96.5)),(H5 * 1.022),"明见-短高-龙头-除外"),COLORRED;
DRAWTEXT((ISLASTBAR AND (BBP < 1)),((H5 + H4) / 1.96),"明见-短低-跌停-除外"),COLORGREEN;
DRAWTEXT(((ISLASTBAR AND W) AND (BBP < 96.5)),(H5 * 1.022),"明日看涨"),COLORYELLOW;
DRAWTEXT(((ISLASTBAR AND TW) AND (BBP > 1)),((H5 + H4) / 2),"明日看跌"),COLORGREEN;
- 上一篇公式:通达信NEW MACD副图指标
- 下一篇公式:通达信超高级买卖抄底与逃顶主图指标