波段操作明确 买入卖出信号【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIH1:=HHV(HIGH,9)-LLV(LOW,9);
CAIH2:=HHV(HIGH,9)-CLOSE;
CAIH3:=CLOSE-LLV(LOW,9);
CAIH4:=CAIH2/CAIH1*100-70;
CAIH5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CAIH6:=(2*CLOSE+HIGH+LOW)/4;
CAIH7:=SMA(CAIH3/CAIH1*100,3,1);
CAIH8:=LLV(LOW,34);
CAIH9:=SMA(CAIH7,3,1)-SMA(CAIH4,9,1);
CAIH10:=IF(CAIH9>100,CAIH9-100,0);
CAIH11:=HHV(HIGH,34);
CAIH12:=EMA((CAIH6-CAIH8)/(CAIH11-CAIH8)*100,13);
CAIH13:=EMA(0.667*REF(CAIH12,1)+0.333*CAIH12,2);
STICKLINE(CAIH12-CAIH13>0,CAIH12,CAIH13,9,0),COLORRED;
STICKLINE(CAIH12-CAIH13CAIH13,NODRAW,COLORRED;
卖:CROSS(CAIH13,CAIH12) AND CAIH12
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK2;
波段买入:IF(CROSS(CAIH12,生命线),15,0),COLORYELLOW,LINETHICK1;
波段卖出:IF(CROSS(生命线,CAIH12),85,100),COLOR008000,LINETHICK1;
第二部分 选股公式
CAIH1:=HHV(HIGH,9)-LLV(LOW,9);
CAIH2:=HHV(HIGH,9)-CLOSE;
CAIH3:=CLOSE-LLV(LOW,9);
CAIH4:=CAIH2/CAIH1*100-70;
CAIH5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CAIH6:=(2*CLOSE+HIGH+LOW)/4;
CAIH7:=SMA(CAIH3/CAIH1*100,3,1);
CAIH8:=LLV(LOW,34);
CAIH9:=SMA(CAIH7,3,1)-SMA(CAIH4,9,1);
CAIH10:=IF(CAIH9>100,CAIH9-100,0);
CAIH11:=HHV(HIGH,34);
CAIH12:=EMA((CAIH6-CAIH8)/(CAIH11-CAIH8)*100,13);
CAIH13:=EMA(0.667*REF(CAIH12,1)+0.333*CAIH12,2);
STICKLINE(CAIH12-CAIH13>0,CAIH12,CAIH13,9,0),COLORRED;
STICKLINE(CAIH12-CAIH13CAIH13,NODRAW,COLORRED;
卖:CROSS(CAIH13,CAIH12) AND CAIH12
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK2;
波段买入:IF(CROSS(CAIH12,生命线),15,0),COLORYELLOW,LINETHICK1;
波段卖出:IF(CROSS(生命线,CAIH12),85,100),COLOR008000,LINETHICK1;
第二部分 选股公式