N:=10;F:=21;
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
{ 概念股网_大智慧股票指标公式}
STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarCVarD,’建议持有’,’ ‘)),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,’ ‘,’建议观望 ‘)),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard60,’卖出 ‘,’ ‘)),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD100,Var9-100,0);
VarB:=HHV(HIGH,34);
VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VarF:=MA(VarE,3);
Var10:=REF(VarF,1);
Var11:=EMA(VarD,N);
生命线:EMA(VarD,N), COLORyellow;
量价线1:Vard,COLORgreen;
量价线2:Varc,COLORblue;
STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarCVarD,’建议持有’,’ ‘)),COLORred,LINETHICK5;
DRAWTEXTABS(75 ,20 ,ifs(Vard>Var11 AND VarC>VarD,’ ‘,’建议观望 ‘)),COLORblue,LINETHICK5;
DRAWTEXTABS(75 ,45 ,ifs(CROSS(Varc,Var11)AND Vard60,’卖出 ‘,’ ‘)),COLOrblue,LINETHICK5;
drawicon(CROSS(Var11,Varc) AND Varc>60,Vard+11,8);
STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,75,3,0), COLORGREEN;
STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED;
STICKLINE(VarC-VarD
【股票入门与技巧】【大智慧】波段参考+选股指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。