第一部分 副图公式 手机/电脑
A:=AMOUNT/V/100;CAIH0:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
CAIH1:=EMA(((CAIH0/10)+EMA(A,10)),3);CAIH2:=EMA(A,3);
CAIH3:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
变线:EMA(((SLOPE(C,8)*20)+C),55),COLORYELLOW,LINETHICK2;
升:IF(CAIH3>=变线,变线,DRAWNULL),COLORRED,LINETHICK2;
降:IF(CAIH3=CAIH1,C,O,2,1),COLORRED;
CAIH4:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
CAIH5:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(CAIH4- CAIH5,0),L*0.98,'★B'),COLOR0000FF;
CAIH6:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C- REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,CAIH6),H*1.02,'☆S'),COLOR00FF00;
趋势线:MA(CLOSE,55),LINETHICK1;
持仓数:IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLORRED,POINTDOT,LINETHICK4;
空仓数:IF(REF(趋势线,1)>趋势线,趋势线,DRAWNULL),COLORGREEN,POINTDOT,LINETHICK4;
M5:MA(C,5),COLORGRAY;均5升:=M5>=REF(M5,1);均5降:=M5
均5上:IF(均5升,M5,DRAWNULL),COLORWHITE,LINETHICK1;
均5下:IF(均5降,M5,DRAWNULL),COLORGREEN,LINETHICK2;
第二部分 选股公式 |