文档介绍:个人收集整理 勿做商业用途
: .
1. BS主图1:
A:MA(CLOSE,3),ColorFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
var1:=EMA(CLOSE,3);
var2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),colorwhite;
MA21:=EMA(CLOSE,21);
STICKLINE(var1<MA21,h,l,0,0),Colorgreen;
STICKLINE(var1<MA21,c,o,8,0),Color10b210;
STICKLINE(var1<MA21,c,o,5,0),Color10c110;
STICKLINE(var1<MA21,c,o,2,0),Color10dd10;
STICKLINE(var1>MA21,h,l,0,0),Color106fff;
STICKLINE(var1>MA21,c,o,8,0),Color1047FF;
STICKLINE(var1>MA21,c,o,5,0),Color1055ff;
STICKLINE(var1>MA21,c,o,2,0),Color106fff;
STICKLINE(var1<var2 AND var1>MA21,h,l,0,0),Colorff5d10;
STICKLINE(var1<var2 AND var1>MA21,c,o,8,0),Colorff5d10;
STICKLINE(var1<var2 AND var1>MA21,c,o,5,0),Colorff7710;
STICKLINE(var1<var2 AND var1>MA21,c,o,2,0),Colorff9910;
STICKLINE(var1>var2 AND var1<MA21,h,l,0,0),Colorff00ff;
STICKLINE(var1>var2 AND var1<MA21,c,o,8,0),ColorFF43FF;
STICKLINE(var1>var2 AND var1<MA21,c,o,5,0),Colorff63ff;
STICKLINE(var1>var2 AND var1<MA21,c,o,2,0),Colorff83ff;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
varA:=((AMOUNT)/(VOL))/(100);
varB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
varC:=((SUM(AMOUNT,7))/(varA))/(100);
varD:=DMA(varB,(VOL)/(varC));
varE:=((CLOSE-varD)/(varD))*(100);
varF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
varJ:=MA(varE,20)+STD(varE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(varF,3,1);
顶:=(REF(BIAS18,1)>=5) AND CROSS(varJ,varE) AND (K>79);
DRAWTEXT(REF(BIAS18,1)>=5 AND CROSS(varJ,varE) AND K>79,h*,'风险'),coloryellow;
2. 笑到最后
VAR1:=(C-REF(C,1))/REF(C,1);
VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
个股:=EMA(SUM(VAR1,20),5);
大盘:=EMA(SUM(VAR2,20),5);
领涨:=(个股-大盘)>=0;
Var3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
Var4:=SMA(Var3,72,1);
Var5:=SMA(Var4,34,1);
中线趋势:=3*Var4-2*Var5;
中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;