第一部分 副图公式 手机/电脑
CAIH1:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
CAIH2:=SMA(CAIH1,9,1);
CAIH3:=MAX(DYNAINFO(3),DYNAINFO(5));
CAIH4:=MIN(DYNAINFO(3),DYNAINFO(6));
CAIH5:=CAIH3-CAIH4;
CAIH6:=CAIH4+CAIH5*7/8;
CAIH7:=CAIH4+CAIH5*0.5/8;
CAIH8:=(CAIH7+CAIH6)/2;
CAIH9:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
CAIH11:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
趋势:EMA(CAIH9,3),COLORLIBLUE,LINETHICK2;
顶部线:89,COLORGREEN;
底部线:11,COLORYELLOW;
中位线:50,POINTDOT,COLORWHITE;
MV1:SMA(CAIH11,9,1),COLORGREEN;
MV2:EMA(MV1,3),COLORLIRED;
MV3:EMA(MV2,3),COLORFFCC66;
MV4:EMA(MV3,3),COLORCC9966;
MV5:EMA(MV4,3),COLORCC6666;
CAIH12:=REF(趋势,1)89 AND REF(趋势,1)<94 AND CROSS(89,趋势);
买进:CAIH12,COLORRED;
STICKLINE(趋势89,趋势,89,5,0),COLORGREEN;
DRAWTEXT(买进,趋势+3.5,'买进'),COLORRED;
DRAWTEXT(CAIH13,趋势+3.5,'卖出'),COLORLIBLUE;
DRAWICON(买进,趋势+3.5,1);
第二部分 选股公式 |