第一部分 副图公式 手机/电脑
CAIHG:EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
CAIHH:EMA(0.667*REF(CAIHG,1)+0.333*CAIHG,2);
DRAWBAND(CAIHG,RGB(250,10,10),CAIHH,RGB(10,200,10));
CAIHA:EMA(EMA(((SLOPE(EMA("KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,21)*1.2,2) *5) + EMA("KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,21)*1.2),3),3),colorwhite,LINETHICK1;
CAIHB:IF(CAIHA>REF(CAIHA,1),CAIHA,DRAWNULL),colorred,LINETHICK3;
CAIHD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
CAIHE:=IF(CAIHD>0,CAIHD,CAIHD),COLORFFFFFF,LINETHICK2;
CAIHF:=CAIHE>REF(CAIHE,1) AND CAIHE<=-40;
DRAWICON(CAIHF,CAIHA*0.97,1);
AA:20,colorred;
DRAWICON(CROSS(CAIHG,CAIHH) AND CAIHGREF(CAIHA,1),CAIHA,DRAWNULL),colorred,LINETHICK3;
CAIHD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
CAIHE:=IF(CAIHD>0,CAIHD,CAIHD),COLORFFFFFF,LINETHICK2;
CAIHF:=CAIHE>REF(CAIHE,1) AND CAIHEREF(CAIHA,1),CAIHA,DRAWNULL),colorred,LINETHICK3;
CAIHD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
CAIHE:=IF(CAIHD>0,CAIHD,CAIHD),COLORFFFFFF,LINETHICK2;
CAIHF:=CAIHE>REF(CAIHE,1) AND CAIHE<=-40;
红球图标:CROSS(CAIHG,CAIHH) AND CAIHG<30;
|