通达信主力资金指标公式源码:
B:=MAX((VAR0-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,12);
STICKLINE(EMA(B,3)<EMA(EMA(B,3),18),EMA(B,3),EMA(EMA(B,3),18),4,0),COLOR006030;
STICKLINE(EMA(B,3)<REF(EMA(B,3),1) AND EMA(B,3)>EMA(EMA(B,3),18),EMA(B,3),EMA(EMA(B,3),18),4,0),COLOR212143;
STICKLINE(EMA(B,3)>=REF(EMA(B,3),1) AND EMA(B,3)>EMA(EMA(B,3),18),EMA(B,3),EMA(EMA(B,3),18),4,0),COLOR00004F;
主力做多资金:EMA(B,3),LINETHICK2,colorwhite;
NOTEXT1:IF(主力做多资金>=REF(主力做多资金,1),主力做多资金,DRAWNULL),colorred,LINETHICK2;
NOTEXT2:IF(主力做多资金<REF(主力做多资金,1),主力做多资金,DRAWNULL),colorgreen,LINETHICK2;
个股做空资金:EMA(主力做多资金,18),COLORD9D919,LINETHICK2;
水面:10,POINTDOT,COLORF00FF0;
云间:90,POINTDOT,colorwhite;
尘霾:100*(HHV(HIGH,18)-CLOSE)/(HHV(HIGH,18)-LLV(LOW,18)),colorblue;
VAR22:=REF(LOW,1);
VAR3:=SMA(Abs(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:STICKLINE(VAR9>-120,0,VAR9,3,0),COLORA54AFF;
郑重声明:股市具有不确定性,行情趋势是无法预测。指标公式描述中的文字及截图仅代表过去,仅供参考学习研究指标之用,不构成投资建议,依此操作,责任自负,本站不承担任何责任,股市有风险,入市需谨慎!