把当天出现(升点!满仓)和(进 )两个预警
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师把当天出现 (升点!满仓) 和 (进 )提示时分别做出两个预警 N:=(最小3.00, 最大30.00 ,缺省10.00);ST:=(CLOSE/OPEN+1)*100;ZF:=(C/REF(C,1)+1)*100;SX1:=ST>3 AND ST=HHV(ST,5);SX2:=ZF>3 AND ZF=HHV(ZF,5);SX3:=ZF>=9 AND CLOSE=HIGH;S:=IF(SX1 OR SX2 OR SX3,1,0),COLOR0000FF;DYSJ:=WEEKDAY;监测:=IF(DYSJ<=13 AND COUNT(C>REF(L,DYSJ),DYSJ)>=DYSJ+1,DYSJ,0),COLOR00FFFF;关注:=IF(DYSJ>=5 AND COUNT(H>REF(H,DYSJ),5)>=5,REF(H,DYSJ),REF(H,DYSJ)),COLOR00FFFF;监测②:IF(关注=REF(L,DYSJ),REF(L,DYSJ),REF(L,DYSJ)),COLORFFFFFF;STICKLINE(监测,监测②,监测②,3,0),COLOR00FFFF;BF1:=LOW<关注*1.01 AND COUNT(LOW<关注*1.01,监测)=1;BF2:=LOW<关注 AND COUNT(LOW<关注,监测)=1;BF:=IF(BF1 OR BF2,1,0),COLOR00FF00;{以下设置主图显示方式}支撑:STICKLINE(监测,关注,关注,6,0),COLORFF00FF;STICKLINE(C>0,关注,关注,5,-1),COLORFFFFFF;STICKLINE(C>0,监测②,关注,5,-1),COLORCYAN;{阳K线}STICKLINE(CLOSE>=OPEN,C,O,4.7,0),COLOR000033;STICKLINE(CLOSE>=OPEN,C,O,3.9,0),COLOR000055;STICKLINE(CLOSE>=OPEN,C,O,3,0),COLOR000077;STICKLINE(CLOSE>=OPEN,C,O,2.1,0),COLOR000099;STICKLINE(CLOSE>=OPEN,C,O,1,0),COLOR0000DD;{阳线上下影}STICKLINE(CLOSE>=OPEN,L,H,0,0), COLORRED;{阴K线}STICKLINE(CLOSEMA(C,11) AND OPENMA(C,33) AND OPENMA(C,55) AND OPENREF(EMA(EMA(EMA(C,2),2),2),1),XD,XU);XR:=(C-XDU)/XDU*100;XTB:=XD!=REF(XD,2) && XD=REF(XD,1);XTS:=XU!=REF(XU,2) && XU=REF(XU,1);DRAWICON(XTB,MIN(XD,L)*0.991,1);DRAWTEXT(XTB,MIN(XD,L)*0.995,'升点!满仓'),COLOR0000DD;DRAWICON(XTS,MAX(XU,H)*1.006,2);DRAWTEXT(XTS,MIN(XU,H)*1.008,'跌点!清仓')COLOR00DD00;上升段:DRAWLINE(XTB,MIN(LLV(L,1),XD),XTS,MAX(HHV(H,1),XU),0)COLOR000099,LINETHICK2;{XTBL}下跌段:DRAWLINE(XTS,MAX(HHV(H,1),XU),XTB,MIN(LLV(L,1),XD),0)COLOR009900,LINETHICK2;{XTSL};

解答:

 {升点!满仓-带未来数据}

A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
XU:=PEAK(C,IF(PERIOD<5,5,10),1)*0.999,COLORFFCC99,LINETHICK1;{箱顶}
XD:=TROUGH(C,IF(PERIOD<5,5,10),1)*0.998,COLORFF99CC,LINETHICK1;{箱底}
XH:=(XU-XD)/XD*100;
XDU:=IF(EMA(EMA(EMA(C,2),2),2)>REF(EMA(EMA(EMA(C,2),2),2),1),XD,XU);
XR:=(C-XDU)/XDU*100;
XTB:XD!=REF(XD,2) && XD=REF(XD,1);
 
{进}
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
FILTER(买=1,5);

选股票看什么指标最好 >股票指标网