第一部分 副图公式 手机/电脑
CAIHC:=HHV(HIGH,9)-LLV(LOW,9);
CAIHD:=HHV(HIGH,9)-CLOSE;
CAIHE:=CLOSE-LLV(LOW,9);
CAIHF:=CAIHD/CAIHC*100-70;
CAIH10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CAIH11:=(2*CLOSE+HIGH+LOW)/4;
CAIH12:=SMA(CAIHE/CAIHC*100,3,1);
CAIH13:=LLV(LOW,34);
CAIH14:=SMA(CAIH12,3,1)-SMA(CAIHF,9,1);
CAIH15:=IF(CAIH14>100,CAIH14-100,0);
CAIH16:=HHV(HIGH,34);
CAIH17:=EMA((CAIH11-CAIH13)/(CAIH16-CAIH13)*100,8);
CHA1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CHA2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
CHA3:=SMA(CHA2,9,1);
CHA4:=SMA(CHA3,3,1);
AA:=3*CHA3-2*CHA4,COLORYELLOW;
卖出:IF(CROSS(CAIH17,AA) AND REF(AA,1)>80,85,90),COLORGREEN,LINETHICK4;
CAIH18:=EMA(CAIH17,5);
STICKLINE(CAIH17-CAIH18>0,CAIH17,CAIH18,10,0),COLORRED;
STICKLINE(CAIH17-CAIH181*REF(AA,1);
CHA6:=HHVBARS(HIGH,50);
CHA7:=SUM(VOL,CHA6);
CHB8:=(CLOSE-REF(OPEN,CHA6))/REF(OPEN,CHA6)*100;
CHB1:=EMA(CHA3,3),COLORFFDDCC;
CHB2:=EMA(CHB1,3),COLORFFBBCC;
CHB3:=EMA(CHB2,3),COLORFF99CC;
CHB4:=EMA(CHB3,3),COLORFF55CC;
CHB5:=EMA(CHB4,3),COLORFF33CC;
重点关注:IF(CROSS(AA,20) AND CHB8REF(AA,1),10,0),COLORMAGENTA,LINETHICK4;
第二部分 选股公式 |