超短周期操作 趋势线双买点【指标公式】(含选股)
第一部分 副图公式 手机/电脑
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
CAIHS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
CAIHM:EMA(CAIHS,8);
CAIHL:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
CAIH上1:=CROSS(CAIHS,CAIHM);
CAIH上2:=CROSS(CAIHS,CAIHL);
CAIH下1:=CROSS(CAIHM,CAIHS);
CAIH下2:=CROSS(CAIHL,CAIHM);
CHA:=(HHV(CAIHS,120)-LLV(CAIHL,120))/60;
CHB:=REF(CAIHL,1) > REF(CAIHS,1);
牛1 RAWTEXT(CAIH上1 AND CHB,CAIHM-CHA*2,'买一'),COLORLIMAGENTA;
牛2 RAWTEXT(CAIH上2 AND CHB,CAIHL-CHA*4,'买二'),COLORRED;
熊1 RAWTEXT(CAIH下1 ,CAIHM+CHA*1,'卖一'),COLORYELLOW;
熊2 RAWTEXT(CAIH下2 ,CAIHL+CHA*2,'买二'),COLORGREEN;
第二部分 选股公式
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
CAIHS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
CAIHM:EMA(CAIHS,8);
CAIHL:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
CAIH上1:=CROSS(CAIHS,CAIHM);
CAIH上2:=CROSS(CAIHS,CAIHL);
CAIH下1:=CROSS(CAIHM,CAIHS);
CAIH下2:=CROSS(CAIHL,CAIHM);
CHA:=(HHV(CAIHS,120)-LLV(CAIHL,120))/60;
CHB:=REF(CAIHL,1) > REF(CAIHS,1);
牛1
牛2
熊1
熊2
第二部分 选股公式