第一部分 副图公式 手机/电脑
CAIH1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAIH2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORRED;
CAIH3:=SMA(CAIH1,3,1);
CAIH4:=SMA(CAIH3,3,1);
CAIH5:=SMA(CAIH2,3,1);
CAIH6:=SMA(CAIH5,3,1);
分界线:49,POINTDOT,LINETHICK3,COLOR9966CC;
顶部:100,COLORCCFF00;
准备卖:IF(CROSS(CAIH4,CAIH3) AND CAIH4>85,70,100),LINETHICK2,COLOR00FF00;
准备买:IF(趋势线88,100,趋势线,1,0),COLORGREEN;
STICKLINE(趋势线85,100,80,8,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(CAIH6,CAIH5) AND CAIH6>81,10),CAIH6*1.05,2);
DRAWTEXT(CROSS(趋势线,49),47,'拉升'),COLORRED;
DRAWTEXT(CROSS(49,趋势线),52,'减仓'),COLORGREEN;
CHA:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
AA:MA(CHA,15),LINETHICK1,COLORMAGENTA;
BB:MA(AA,15),LINETHICK1,COLORGREEN;
KCAIH3:=(CLOSE-LLV(LOW,200))/(HHV(HIGH,200)-LLV(LOW,200))*100;
CC:MA(KCAIH3,60),LINETHICK1,COLORGRAY;
DD:MA(CC,60),LINETHICK1,COLORLIGRAY;
第二部分 选股公式 |