同花顺动力线副图指标
-
相关简介:同花顺动力线副图指标 源码 HSX:=1;HSD:=1;HSCB:= 3; 量:=V; 换手:=V/CAPITAL*100; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买盘:=IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 卖盘:=IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEO
-
文章来源:股海网作者:股海网发布时间:2016-03-11浏览次数:
同花顺动力线副图指标
源码
HSX:=1;HSD:=1;HSCB:= 3;
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:(买盘-(-卖盘))/量*换手,STICK,linethick2,colorred;
DLX1:SUM(DLX,6),coloryellow;
DLX2:MA(DLX1,5);
DLX3:MA(DLX1,10);
A1:=SUMBARS(VOL,CAPITAL);
CMA:=IF(CAPITAL>0,SUM(AMOUNT,A1)/SUM(VOL,A1)/100,EMA(CLOSE,120));
百分之百换手价:CMA,LINETHICK0,ColorFFC0FF;
0;