黑马线五星之光+选股公式
源码是:
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORRED,LINETHICK3;{LINETHICK8原是}
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORGREEN,LINETHICK3;
黑码线:15 COLORYELLOW;
主力:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(主力,黑码线),黑码线,1);
中轴线:0 COLORGRAY;
关注线:7;
MM:=主力>30 AND 主力<70 AND AAA上>0 ;
DRAWTEXT(MM,(主力)*(0.928), '五星之光 '),COLORFF00FF;
MM1:=主力>15 AND 主力<30 AND AAA上>0;
MM2:=主力>80 AND AAA上>0 ;
DRAWTEXT(MM2,(主力)*(0.928), '六星组合 '),COLORRED;
==================
选股公式:
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
黑码线:=15;
主力:=AAA1-REF(AAA1,1);
xg:CROSS(主力,黑码线);