在线检测未来函数

通达信主力成本重心指标公式

来源:Internet,编辑:股旁网,2024-11-18

ZF:=(C/REF(C,1)-1)*100;
VAR1:=vol/CAPITAL*100;
换手率:VOL/CAPITAL*100,NODRAW,COLORWHITE;
VAR2:=COST(0.1);
VAR3:=COST(99.900002);
VAR4:=COST(50);
获利盘:(CLOSE-VAR2)/(VAR3-VAR2)*100,COLORYELLOW,LINETHICK2;
成本重心:(VAR4-VAR2)/(VAR3-VAR2)*100,COLORCYAN,LINETHICK6;
IF(成本重心>REF(成本重心,1),成本重心,DRAWNULL),DOTLINE,COLORRED,LINETHICK6;
套牢盘:(1-WINNER(CLOSE))*100,COLORGRAY,LINETHICK4;
HLP:STICKLINE(获利盘>50,50,获利盘,2,0),COLORRED;
TLP:STICKLINE(套牢盘< 50,50,套牢盘,1,0),COLORGRAY;
VAR5:=crOSS(获利盘,成本重心)*10;
DRAWICON(CROSS(获利盘,成本重心),成本重心,3);
20,DOTLINE;
50,DOTLINE,COLORRED;
80,DOTLINE;
100;
主流资金:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),DOTLINE,COLORRED,LINETHICK2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),DOTLINE,COLORGREEN;
50,COLORF00FF0;
可买:(((CROSS(主流资金,50) AND 成本重心<60) OR CROSS(获利盘,成本重心))AND ZF>2)*50,COLORYELLOW,LINETHICK3;
NOTEXT可买:(((CROSS(主流资金,50) AND 成本重心<60) OR CROSS(获利盘,成本重心)) AND ZF>6)*80,COLORFFFFFF,LINETHICK2;

通达信主力成本重心指标公式

相关文章