第一部分 副图公式 手机/电脑
短期趋势:MA(CLOSE,13),COLORRED,LINETHICK3;
中期趋势:MA(CLOSE,55),LINETHICK1,COLORGRAY;
上涨:IF(短期趋势>REF(短期趋势,1),短期趋势,DRAWNULL),COLORRED,LINETHICK3;
下跌:IF(短期趋势
减仓:=((C-REF(MA(CLOSE,20),1))/20+短期趋势 )*1.20;
DRAWTEXT(CROSS(CLOSE,减仓),H*1.02,' 减' ),COLORGREEN;
DRAWTEXT(CROSS(CLOSE,MA(C,13)) AND 短期趋势
DRAWTEXT(CROSS(短期趋势,C) AND INDEXC>MA(INDEXC,13) AND 短期趋势>REF(短期趋势,1) AND V中期趋势,L*0.97,' 买' ),COLORRED;
STICKLINE(CROSS(短期趋势,C) AND 短期趋势>REF(短期趋势,1) AND V中期趋势,L,L*0.99,2,0),COLORYELLOW;
CAIH1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
DRAWTEXT(CAIH1>9 AND V
DRAWTEXT(CAIH1>9 AND V>REF(V,1) AND FILTER(CAIH1
DRAWTEXT(CAIH1>20 AND FILTER(CAIH1
CAIH2:=HHV(CAIH1>20,10);
DRAWTEXT(FILTER(CAIH1REF(CAIH1,1),18) AND V>REF(V,1),L*0.98,'弹' ),COLORRED;
DRAWTEXT(CAIH1REF(CAIH1,1),5),L*0.95,'抄' ),COLORYELLOW;
DRAWTEXT(CAIH2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*1.1,'险' ),COLORYELLOW;
CAIH12:=(HIGH-LOW);
CAIH3:=ABS((OPEN-CLOSE));
CAIH4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));
CAIH5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);
CAIH6:=((CAIH3/CAIH12)*VOL);
CAIH7:=((CAIH4/CAIH12)*VOL);
CAIH8:=((CAIH5/CAIH12)*VOL);
CAIHB:=(((MA(CLOSE,5)>MA(CLOSE,10)) AND (MA(CLOSE,10)>MA(CLOSE,30))) AND (MA(CLOSE,30)>MA(CLOSE,60)));
DRAWTEXT((((((CAIH6>(MA(VOL,5)*2)) AND 短期趋势>REF(短期趋势,1) AND (CAIH6>=CAIH7)) AND (CAIH6>=CAIH8)) AND (CLOSE>OPEN)) OR ((VOL>(MA(VOL,5)*3)) AND CAIHB)),L*0.98,'主力买进' ),COLORMAGENTA;
第二部分 选股公式 |