2016飞狐指标公式 飞狐买卖力量公式源码
2016-08-27 14:26 股票知识 zhishi.southmoney.com
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
DIFF:(EMA(主买,5)-EMA(主买,20))/EMA(主买,20)*100;
DEA:EMA(DIFF,10);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK3;
STICKLINE(MACD>ref(MACD,1) and MACD<0,0,MACD,3,0 )colormagenta;
polyline(1,3),colorwhite;
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
DIFF:(EMA(主买,5)-EMA(主买,20))/EMA(主买,20)*100;
DEA:EMA(DIFF,10);
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK3;
STICKLINE(MACD>ref(MACD,1) and MACD<0,0,MACD,3,0 )colormagenta;
polyline(1,3),colorwhite;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。