飞狐绝对强源码
-
相关简介:n 20 APP:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); ASUPLY:=IF(CLOSEOPEN,APP*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,APP*(HIGH-LOW),VOL/2)); ADEMAND:=IF(CLOSEOPEN,APP*(HIGH-LOW),IF(CLOSEOPEN,APP*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); RDEMAND:=IF(CLOSEOPEN,APP*(
-
文章来源:股海网作者:股海网发布时间:2015-11-06浏览次数:
n 20
APP:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ASUPLY:=IF(CLOSE>OPEN,APP*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,APP*(HIGH-LOW),VOL/2));
ADEMAND:=IF(CLOSE>OPEN,APP*(HIGH-LOW),IF(CLOSE<OPEN,APP*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
RDEMAND:=IF(CLOSE>OPEN,APP*(CLOSE-OPEN),0);
RSUPLY:=IF(CLOSE<OPEN,APP*(OPEN-CLOSE),0);
RSDC:SUM(RDEMAND,n)/(SUM(RSUPLY,n)+SUM(RDEMAND,n))*100;
ASDC:SUM(ADEMAND,20)/(SUM(ASUPLY,20)+SUM(ADEMAND,20))*100;