HDFGS:=1;
HDF:=1;
趋势:=(CLOSE-LLV(CLOSE,365))/(HHV(CLOSE,365)-LLV(CLOSE,365))*100;
行情:=EMA(100*(CLOSE-LLV(LOW,460))/(HHV(HIGH,460)-LLV(LOW,460)),26);
U3:=(HIGH+LOW+CLOSE*2)/4;
U4:=EMA(U3,89);
U5:=STD(U3,78);
U6:=((U3-U4)/U5*100+200)/4;
U7:=(EMA(U6,89)-25)*1.56;
U8:=EMA(U7,10)*1.22;
U9:=EMA(U8,8);
UU:=3*U8-2*U9;
底座进货:=EMA(100*(CLOSE-LLV(LOW,360))/(HHV(HIGH,360)-LLV(LOW,360)),22);
走势:=EMA(100*(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72)),13)/4*HDFGS;
XG1:=LLV(HIGH,240)*HDFGS;
XG2:=100*(CLOSE-XG1)/XG1;
XG3:=CROSS(XG2,0);
XG4:=REF(LLV(CLOSE,480),1)*HDFGS;
XG5:=REF(HHV(CLOSE,480),1)*HDFGS;
XG6:=100*(CLOSE-XG4)/(XG5-XG4)*HDFGS;
XG7:=CROSS(XG6,0);
XG8:=XG3 AND XG7;
XG9:=XG2<0.002;
XG10:=XG6<0.002;
DF1:=(REF(CLOSE,6)-CLOSE)/REF(CLOSE,6)>0.05 OR (REF(CLOSE,22)-CLOSE)/REF(CLOSE,22)>0.08 OR (REF(CLOSE,31)-CLOSE)/REF(CLOSE,31)>0.1;
DF2:=(REF(CLOSE,6)-CLOSE)/REF(CLOSE,6)>0.1 OR (REF(CLOSE,22)-CLOSE)/REF(CLOSE,22)>0.1 OR (REF(CLOSE,31)-CLOSE)/REF(CLOSE,31)>0.1;
DF3:=(REF(CLOSE,6)-CLOSE)/REF(CLOSE,6)>0.15 OR (REF(CLOSE,22)-CLOSE)/REF(CLOSE,22)>0.15 OR (REF(CLOSE,31)-CLOSE)/REF(CLOSE,31)>0.15;
DF4:=(REF(CLOSE,6)-CLOSE)/REF(CLOSE,6)>0.18 OR (REF(CLOSE,22)-CLOSE)/REF(CLOSE,22)>0.18 OR (REF(CLOSE,31)-CLOSE)/REF(CLOSE,31)>0.18;
DF5:=(REF(CLOSE,6)-CLOSE)/REF(CLOSE,6)>0.2 OR (REF(CLOSE,22)-CLOSE)/REF(CLOSE,22)>0.2 OR (REF(CLOSE,31)-CLOSE)/REF(CLOSE,31)>0.2;
DF6:=DF1 OR DF2 OR DF3 OR DF4 OR DF5;
DP:(IF((FILTER(DF6 AND XG9 AND XG10,10))=1,10,0))*HDFGS;
卖出:(趋势=100 AND UU>85 AND 行情>81)*99,STICK,LINETHICK2,colorFF00;
股票市场:EMA(100*(CLOSE-LLV(LOW,460))/(HHV(HIGH,460)-LLV(LOW,460)),26),STICK,colorCCCC66;
买进:(趋势=0 AND UU<-0.01 AND 底座进货<20)*40,STICK,LINETHICK2,colorFF;
大胆买进:=买进>0 AND DP>0;
进:=CROSS(0.1,大胆买进);
风险:=CROSS(97.99,行情);
DRAWTEXT(风险,125,'坚决空仓'),colorFF00;
DRAWTEXT(卖出>0 AND CROSS(行情,90),115,'逃顶出货拉!'),colorFFFF99;
DRAWTEXT(进,-23,'★中长线黑马股'),PXUP4,colorFFFF;
DRAWTEXT(进,-9,'大胆买进'),colorFF00FF;
100;
0;
|