MHH:REF(HHV(C,20),3),COLORYELLOW,LINETHICK2 ;
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;
【黄金线】:IF(重心 =【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED;
VAR121:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR141:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR161:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR181:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
卖:=(VAR121+VAR141+VAR161+VAR181),LINETHICK2;
SQ:DRAWLINE(卖,H,BARSLAST(卖) =1,REF(H,BARSLAST(卖)),1),COLORWHITE,LINETHICK2;
过峰:=C SQ AND REF(C,1)
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
预量:=VVOL/REF(V,1)
现量:=V/REF(V,1)
过峰1:STICKLINE( 过峰,C,O,5,0)COLORFF00FF;
预量1:DRAWICON(过峰 AND 预量, H*1.01,14);
现量1:DRAWICON(过峰 AND 现量,(O+C)/2,23);
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(V2,DATE),NODRAW;
阻力:REFDATE(V3,DATE),NODRAW;
MA10:MA(C,10),NODRAW;
MA60:MA(C,60),NODRAW;
VAR61:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
VAR71:=(( (HIGH-IF((CLOSE OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR81:=(( (IF((CLOSE OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR91:=IF(((VOL/CAPITAL) 0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
加仓:VAR61 =VAR71 AND VAR61 =VAR81 AND CLOSE OPEN,NODRAW,COLORRED;
减仓:VAR61 =VAR71 AND VAR61 =VAR81 AND CLOSE OPEN,NODRAW,COLORBLUE;
洗盘:VAR81 VAR61 AND VAR81 VAR71,NODRAW,COLORWHITE;
高抛:VAR71 VAR61 AND VAR71 VAR81,NODRAW,COLORMAGENTA;
地量:VAR91 2 AND VOL MA(VOL,5)/2,NODRAW,COLORGREEN;
STICKLINE(加仓,O,C,1,0),COLORRED;
STICKLINE(洗盘,O,C,1,0),COLORWHITE;
STICKLINE(减仓,O,C,1,0),COLORBLUE;
STICKLINE(高抛,O,C,1,0),COLORMAGENTA;
STICKLINE(地量,O,C,1,0),COLORGREEN;
JJ:=(3*C+H+L+O)/6;
VAR111:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL 2*REF(VOL,1) AND CLOSE VAR111 AND C REF(C,1);
LJL:=FILTER(TJ1,5);
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),1,0),COLORRED;
STICKLINE(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),1,0),COLORYELLOW;
STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;
X_1:=CLOSE/REF(CLOSE,1) 1.03;
X_2:=VOL MA(VOL,3);
X_3:=X_1 AND X_2;
X_4:=IF(X_3,70,0);
X_5:=X_4;
X_6:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_7:=IF(CLOSE OPEN,X_6*(HIGH-LOW), X_6*(L-H));
X_8:=X_7/VOL*100;
X_9:=X_8
X_10:=ATAN((EMA(CLOSE,2)/REF(EMA(CLOSE,2),1)-1)*100)*57.299999;
X_11:=ATAN((EMA(CLOSE,3)/REF(EMA(CLOSE,3),1)-1)*100)*57.299999;
X_12:=ATAN((EMA(CLOSE,6)/REF(EMA(CLOSE,6),1)-1)*100)*57.299999;
X_13:=X_10 =50 AND X_11
X_14:=IF(CLOSE REF(CLOSE,1),88,0);
X_15:=IF(CLOSE/REF(CLOSE,1) 1.03 AND HIGH/CLOSE 1.01 AND X_14 0,91,0);
X_16:=FILTER(X_15 1,2);
X_17:=MA(CLOSE,6);
X_18:=MA(CLOSE,13);
X_19:=IF(1.1 SMA(CLOSE,2,1)/SMA(CLOSE,3,2) 1,SMA(HIGH,6,3)*1.03,SMA(HIGH,6,2)*1.03);
X_20:=IF(1.06 SMA(CLOSE,2,1)/SMA(CLOSE,5,1) 0.3,SMA(LOW,3,1),SMA(LOW,2,1));
X_21:=IF(MA(VOL,2) MA(VOL,3)/2 MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
X_23:=CROSS(X_21,X_19) OR CROSS(X_17,X_20) OR CROSS(X_19,X_18);
X_24:=X_16 OR X_23;
X_25:=CLOSE/REF(CLOSE,3)*100-100;
X_26:=X_25
X_27:=MA(CLOSE,3);
X_28:=MA(CLOSE,6);
X_29:=MA(VOL,2);
X_30:=HHV(HIGH,2)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)
X_31:=CLOSE REF(CLOSE,1)*1.03;
X_32:=VOL X_29;
X_33:=OPEN X_28 AND CLOSE X_27;
X_34:=X_30 AND X_31 AND X_32 AND X_33;
X_35:=X_25 OR X_34;
YY:=X_5 AND X_9 AND X_13 AND X_24 AND X_35;
龙头:=YY;
DRAWTEXT(YY,LOW*0.97,'牛股启动'),COLORGREEN;
BBB1:=MA(C,1);
B32:=SMA(SMA(SMA(BBB1,3,2),3,2),3,2),COLORRED;
SMA2:=MA(B32,2);
VARB1:=(100 - ((80 * (HHV(HIGH,3) - CLOSE)) / (HHV(HIGH,3) - LLV(LOW,3))));
VAR33:=(100 - MA(((100 * (HHV(HIGH,2) - CLOSE)) / (HHV(HIGH,2) - LLV(LOW,2))),3));
买:DRAWTEXT(CROSS(VARB1,VAR33) AND B32 SMA2 AND YY,(LOW * 0.97) ,' ⊙买'),COLORRED;
M10:=MA(C,10);
M13:=MA(C,13);
VVVV5:=CROSS(M10,M13);
WWF1:DRAWICON(VVVV5,H,11);
QQQQ1:STICKLINE(VVVV5 C,REF(C,BARSLAST(CROSS(M10,M13))),REF(C,BARSLAST(CROSS(M10,M13))),-1,-1),COLORWHITE;
RC1:=REF(C,1);
大阴线:=C 0.96*O OR C =RC1*0.96 OR C 1000 AND C =RC1*0.98;
大阴T:=BARSLAST(FILTER(大阴线,3));{调整显示密度}
大阴实顶: REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴K线的开盘价O};
MTM:=MA(C,6)-MA(C,13)+C;
MTMMA:MA(MTM,5),NODRAW;
AAA:=(3*C+H+L+O)/6;
VAR21:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ10:=VOL=HHV(VOL,10) AND VOL 2*REF(VOL,1) AND CLOSE VAR21;
立桩量:=FILTER(TJ10,5);
D10:REF(LOW,BARSLAST(立桩量)),COLORYELLOW,NODRAW,LINETHICK1;
买线:=EMA(C,4);{www.9m8.cn 九毛八公式指标网}
卖线:=EMA(SLOPE(C,20)*10+C,35);
DRAWICON(CROSS(卖线,买线),HIGH*1.02,8);
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C 0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
B3:='┄┄┄┄┄';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄┄';
DRAWTEXT(涨停,L,B2),COLORGRAY;
支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;
DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,FGBLOCK),COLORLIMAGENTA;