资金入场关注 资金出逃留心【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIH1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
资金入:IF(CLOSE>OPEN,CAIH1*(HIGH-LOW),IF(CLOSE
资金出:IF(CLOSE>OPEN,0-CAIH1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE
资金差 资金入+资金出),NODRAW;
CAIH2:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
CAIH3:=3*EMA(EMA(EMA(EMA(CAIH2,2),2),2),2);
CAIH5:=3*EMA(EMA(EMA(EMA(CAIH3,1),2),2),2);
STICKLINE(CAIH5<0,0,CAIH5,4,0),COLORFF6600;
STICKLINE(CAIH5<0,0,CAIH5,3,0),COLORFF9900;
STICKLINE(CAIH5<0,0,CAIH5,1.5,0),COLORFFCC00;
STICKLINE(CAIH50,0,CAIH5,4,0),COLOR000099;
STICKLINE(CAIH5>0,0,CAIH5,3,0),COLOR0000CC;
STICKLINE(CAIH5>0,0,CAIH5,1.5,0),COLOR0000FF;
STICKLINE(CAIH5>0,0,CAIH5,0.5,0),COLORCC66FF;
STICKLINE(CAIH50,0,CAIH5,4,0),COLOR009999;
STICKLINE(CAIH50,0,CAIH5,3,0),COLOR00BBBB;
STICKLINE(CAIH50,0,CAIH5,2,0),COLOR00DDDD;
STICKLINE(CAIH50,0,CAIH5,1,0),COLOR00FFFF;
STICKLINE(CAIH5>REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5<0,0,CAIH5,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(REF(CAIH5,1),CAIH5),CAIH5-0,'留心'),COLORFFFF00;
DRAWTEXT(CROSS(CAIH5,0),0,'资金入场'),COLOR00FFFF;
第二部分 选股公式
CAIH1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
资金入:IF(CLOSE>OPEN,CAIH1*(HIGH-LOW),IF(CLOSE
资金出:IF(CLOSE>OPEN,0-CAIH1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE
资金差
CAIH2:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
CAIH3:=3*EMA(EMA(EMA(EMA(CAIH2,2),2),2),2);
CAIH5:=3*EMA(EMA(EMA(EMA(CAIH3,1),2),2),2);
STICKLINE(CAIH5<0,0,CAIH5,4,0),COLORFF6600;
STICKLINE(CAIH5<0,0,CAIH5,3,0),COLORFF9900;
STICKLINE(CAIH5<0,0,CAIH5,1.5,0),COLORFFCC00;
STICKLINE(CAIH50,0,CAIH5,4,0),COLOR000099;
STICKLINE(CAIH5>0,0,CAIH5,3,0),COLOR0000CC;
STICKLINE(CAIH5>0,0,CAIH5,1.5,0),COLOR0000FF;
STICKLINE(CAIH5>0,0,CAIH5,0.5,0),COLORCC66FF;
STICKLINE(CAIH50,0,CAIH5,4,0),COLOR009999;
STICKLINE(CAIH50,0,CAIH5,3,0),COLOR00BBBB;
STICKLINE(CAIH50,0,CAIH5,2,0),COLOR00DDDD;
STICKLINE(CAIH50,0,CAIH5,1,0),COLOR00FFFF;
STICKLINE(CAIH5>REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5REF(CAIH5,1)AND CAIH5<0,0,CAIH5,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(REF(CAIH5,1),CAIH5),CAIH5-0,'留心'),COLORFFFF00;
DRAWTEXT(CROSS(CAIH5,0),0,'资金入场'),COLOR00FFFF;
第二部分 选股公式