第一部分 副图公式 手机/电脑
CAIH1:=EMA(C,2);CAIH2:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(CAIH1>=CAIH2,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;
STICKLINE(CAIH1
DRAWKLINE(H,O,L,C);
CAIH3:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
趋势线:DMA((2*CLOSE+LOW+HIGH)/4,CAIH3),LINETHICK3,COLORRED;
CAIH4:=(CLOSE/趋势线);
CAIH5:=MA(CAIH4*(2*CLOSE+HIGH+LOW)/4,3);
CAIH6:=((CAIH5-趋势线)/趋势线)/3;
CAIH7:=CAIH5-CAIH6*CAIH5;
CAIHA:IF(CAIH7<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;
CAIHB:IF(CAIH7=CAIH2,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(CAIH1>=CAIH2,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CAIH1
STICKLINE(CAIH1
STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(卖出,OPEN,CLOSE,2,0),COLORBLUE;
CAIH10:=MA(CLOSE,9),COLORCYAN,LINETHICK1;
CAIH11:=MA(CLOSE,18),COLORMAGENTA;
DRAWICON(CROSS(CAIH10,CAIH11) AND CAIH1>=CAIH2,CAIH11-0.1,1);
DRAWTEXT(CROSS(CAIH10,CAIH11) AND CAIH1>=CAIH2,CAIH11-0.38,'加仓'),COLORYELLOW;
CAIH12:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
DRAWTEXT(FILTER(CAIH12,3),H+0.2,'放量');
STICKLINE(FILTER(CAIH12,3),OPEN,CLOSE,1.5,0),COLORYELLOW;
第二部分 选股公式 |