副图公式源码支持 手机/电脑
GUPG:EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
GUPH:EMA(0.667*REF(GUPG,1)+0.333*GUPG,2);
DRAWBAND(GUPG,RGB(250,10,10),GUPH,RGB(10,200,10));
GUPA: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;
GUPB:IF(GUPA>REF(GUPA,1),GUPA,DRAWNULL),colorred,LINETHICK3;
GUPD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
GUPE:=IF(GUPD>0,GUPD,GUPD),COLORFFFFFF,LINETHICK2;
GUPF:=GUPE>REF(GUPE,1) AND GUPE<=-40;
DRAWICON(GUPF,GUPA*0.97,1);
AA:20,colorred;
DRAWICON(CROSS(GUPG,GUPH) AND GUPG<30,20,13);
选股公式源码
{选股公式一:红箭头图标}
GUPG:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
GUPH:=EMA(0.667*REF(GUPG,1)+0.333*GUPG,2);
GUPA:=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;
GUPB:=IF(GUPA>REF(GUPA,1),GUPA,DRAWNULL),colorred,LINETHICK3;
GUPD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
GUPE:=IF(GUPD>0,GUPD,GUPD),COLORFFFFFF,LINETHICK2;
GUPF:=GUPE>REF(GUPE,1) AND GUPE<=-40;
红箭头图标:GUPF;
{选股公式二:红球图标}
GUPG:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
GUPH:=EMA(0.667*REF(GUPG,1)+0.333*GUPG,2);
GUPA:=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;
GUPB:=IF(GUPA>REF(GUPA,1),GUPA,DRAWNULL),colorred,LINETHICK3;
GUPD:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416;
GUPE:=IF(GUPD>0,GUPD,GUPD),COLORFFFFFF,LINETHICK2;
GUPF:=GUPE>REF(GUPE,1) AND GUPE<=-40;
红球图标:CROSS(GUPG,GUPH) AND GUPG<30; |