N:=25;N2:=3;N3:=5;M1:=6;M2:=6;
A05 :(EMA(CLOSE,5)+MA(CLOSE,5)+MA(CLOSE,5))/3,colorff00ff;
A10 :(EMA(CLOSE,10)+MA(CLOSE,10)+MA(CLOSE,10))/3,color0000ff;
A14工上买 :(EMA(CLOSE,14)+MA(CLOSE,14)+MA(CLOSE,14))/3,color0000ff,LINETHIck2;
A25 :(EMA(CLOSE,25)+MA(CLOSE,25)+MA(CLOSE,25))/3,color00ff00,LINETHICK2;
A30 :(EMA(CLOSE,30)+MA(CLOSE,30)+MA(CLOSE,30))/3,color00ff00;
A99 :(EMA(CLOSE,99)+MA(CLOSE,99)+MA(CLOSE,99))/3,coloryellow;
A453 :(EMA(CLOSE,453)+MA(CLOSE,453)+MA(CLOSE,453))/3,colorff9900,LINETHICK2;
A17 : (EMA(CLOSE,17)+MA(CLOSE,17)+MA(CLOSE,17))/3,COLORGRAY,LINETHIck2;
A50: (EMA(CLOSE,50)+MA(CLOSE,50)+MA(CLOSE,50))/3,COLORBLUE,LINETHIck2;
ER:(1+M1/100)*MA(CLOSE,N),COLORGREEN,pointdot, linethick2;
WR:(1-M1/100)*MA(CLOSE,N),COLORGREEN,pointdot, linethick2;
ID:(ER+WR)/2,COLORGRAY,pointdot, linethick2;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),colorred;
VarA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
{www.gupang.com 股旁网_大智慧股票指标公式}
VarB:=EMA(0.667*REF(VarA,1)+0.333*VarA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VarA>=VarB and VarA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
Varr1:=SMA(MAX(CLOSE-ref(c,1),0),6,1)/SMA(ABS(CLOSE-ref(c,1)),6,1)*100;
DRAWICON(CROSS(82,Varr1),HIGH,2);
DRAWTEXT(CROSS(82,Varr1),high,'短卖↓'),coloryellow;
Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var2:=REF(Var1,1);
Var3:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100;
HY3:=IF(COUNT(Var3<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(hy3,low,'▲买入'),colorred;
202108211234.jpg
|