九毛八公式指标
公式模块:
求:资金进出先知指标中黄柱与红柱选股公式?
资金进出先知源码:
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=ZZLKP-ZZLJJ;
AA:=EMA(ZJLRQD,3);
BB:=EMA(AA,5);
CC:=AA-BB;
STICKLINE(CC<REF(CC,2),CC,0,1,1), COLOR00FF00;
STICKLINE(CC>REF(CC,2),CC,0,1,1), COLORRED;
主力资金进场:IF(crOSS(AA,BB),3,0),STICK,LINETHICK5,COLORMAGENTA;
主力资金出场:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK3,COLORCYAN;
DRAWICON(主力资金进场>0,5,1);
DRAWICON(主力资金出场<0,-4,2);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5), COLORRED;
主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLORRED;
洗盘:STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLORGREEN;{绿}
主力进场阳:STICKLINE(VAR5>REF(VAR5,1) AND C>O,0,VAR5,5,0 ),COLORYELLOW;
洗盘阴:STICKLINE(VAR5<REF(VAR5,1) AND C<O,0,VAR5,5,0),COLORBLUE;
{主力}大资金进场黄:0,COLORYELLOW;
{主力}大资金进场红:0,COLORRED;
{主力}大资金洗盘蓝:0,COLORBLUE;
{主力}大资金洗盘绿:0,COLORGREEN; 把一个好好的庄见愁指标改得面目全非,这样的指标不看也罢
{红柱}
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);
VAR5>REF(VAR5,1);
{黄柱}
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);
VAR5>REF(VAR5,1) AND C>O;