第一部分 副图公式 手机/电脑
CAIH1:=(2*CLOSE+HIGH+LOW)/4;
CAIH2:=LLV(LOW,34);
CAIH3:=HHV(HIGH,34);
CAIH4:=EMA((CAIH1-CAIH2)/(CAIH3-CAIH2)*100,3);
CAIH5:=EMA(0.667*REF(CAIH4,1)+0.333*CAIH4,2);
STICKLINE(CROSS(CAIH4,CAIH5),CLOSE,OPEN,10.8,0),COLORRED;
STICKLINE(CROSS(CAIH5,CAIH4),CLOSE,OPEN,10.8,0),COLORYELLOW;
DRAWTEXT(CROSS(CAIH4,CAIH5),LOW,'买'),COLORBLUE;
DRAWTEXT(CROSS(CAIH5,CAIH4),HIGH,'卖'),COLORWHITE;
CAIH6:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWTEXT(CROSS(CAIH6,9),LOW,'小牛'),COLORRED;
第二部分 选股公式 |