QQQ:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100);
VAR2:=SMA(QQQ,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=100-(3)*(VAR2)+(2)*(VAR3);
VAR5:=((3)*(VAR2)+(2)*(VAR3))/(4);
VAR6:=Abs(ABS(VAR5)-ABS(VAR4));
VAR7:=ABS(ABS(VAR5)-ABS(VAR6));
VAR8:=REF(VAR5,1);
主力轨迹:VAR4-VAR7,COLORGREEN;
PARTLINE(主力轨迹0,主力轨迹),COLORRED,LINETHICK2;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
中线★:=EMA(X,13);
短线成本★:=EMA(CLOSE,17);
危险:BArslAST(短线成本★>中线★),COLORGREEN;
安全:BARSLAST(短线成本★<中线★),COLORCYAN;
DIFF:=(EMA(CLOSE,9) - EMA(CLOSE,12));
DEA:=EMA(DIFF,9),COLORFF00FF,LINETHICK1;
CD:=2*(DIFF-DEA),COLORSTICK,LINETHICK1;
【黄金坑】:IF(DIFF<0,-10,0),COLORYELLOW,LINETHICK2;
启动:IF(DIFF<0,0,20),COLORCYAN,LINETHICK2;
控盘:=(EMA(EMA(CLOSE,9),9)-REF(EMA(EMA(CLOSE,9),9),1))/REF(EMA(EMA(CLOSE,9),9),1)*400;
A10:=crOSS(控盘,0);
低位控盘:IF(A10,100,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(低位控盘,100,'←低位控盘'),COLORFF00FF,LINETHICK2;
AAA:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*AAA+19*REF(AAA,1)+18*REF(AAA,2)+17*REF(AAA,3)+16*REF(AAA,4)+15*REF(AAA,5)+14*REF(AAA,6)
+13*REF(AAA,7)+12*REF(AAA,8)+11*REF(AAA,9)+10*REF(AAA,10)+9*REF(AAA,11)+8*REF(AAA,12)
+7*REF(AAA,13)+6*REF(AAA,14)+5*REF(AAA,15)+4*REF(AAA,16)+3*REF(AAA,17)+2*REF(AAA,18)+
REF(AAA,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
波段买:IF(CROSS(D1,K1),80,0),COLOR0099FF;
DRAWTEXT(波段买,80,'←波段买'),COLORYELLOW;
QQQ:=EMA((CLOSE+OPEN+LOW+HIGH)/4,5);
WWW:=EMA((CLOSE+OPEN+LOW+HIGH)/4,11);
轻松获利: IF(CROSS(QQQ,WWW),100,0)STICK COLOR00FFFF,COLORFFFF00;
bias20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
Q7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
持股:=BARSLAST((BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0))>0);
持股天数:BARSLAST((BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0))>0),STICK,COLORCYAN;
{ _最新股票指标公式}
STICKLINE(持股天数>0,持股天数+0,-1,10,0),COLORCYAN;
K2:=EMA(C,5),COLORFFFF00;
K3:=EMA(C,10),COLORFFFF00;
K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;
K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;
STICKLINE(CROSS(K8,0),70,0,2,0) ,COLORRED;
红柱出现:CROSS(K8,0),COLORRED;
VAR11:=EMA(CLOSE,8);
VAR22:=EMA(VAR11,20);
VAR33:=CROSS(VAR11,VAR22);
VAR44:=VAR11< EMA(CLOSE,120);
黑马出现: IF(VAR33 AND VAR44,70,0), , COLORGREEN;
DRAWTEXT(黑马出现,70,'←黑马出现'),COLORFF00FF,LINETHICK2;
ZJ:=(C+C+L+H)/4;
UUUU:= REF(MA(ZJ,5),1);
A1QQ:=SMA(MAX(C-UUUU,0),9,1)/SMA(ABS(C-UUUU),9,1)*100;
B1QQ:=100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));
显黄试买:STICKLINE(A1QQ-B1QQ>0 ,50,50,10,0),COLORYELLOW;