股票选股公式编写教程 飞狐优化KDJMACD红绿灯副图公式源码
2016-09-18 10:56 股票知识 zhishi.southmoney.com
优化KDJ+MACD-红绿灯 副图源码
{优化KDJ+MACD-红绿灯}
{三只红灯,先亮一只买入,三只都灭,坚决卖出。其他要综合判断!}
DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100,COLORGREEN,LINETHICK1;
partline(DIF>=REF(DIF,1),DIF),COLORRED,LINETHICK2;
PARTLINE(DIF,5),COLORYELLOW,LINETHICK9;
PARTLINE(DIF>=REF(DIF,1),5),COLORRED,LINETHICK9;
PARTLINE(DIF<=REF(DIF,1),5),COLORGREEN,LINETHICK9;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:3*K-2*D,COLORLIBLUE,LINETHICK1;
PARTLINE(J>=REF(J,1),J),COLORMAGENTA,LINETHICK2;
PARTLINE(J,10),COLORYELLOW,LINETHICK9;
PARTLINE(J>=REF(J,1),10),COLORRED,LINETHICK9;
PARTLINE(J<=REF(J,1),10),COLORGREEN,LINETHICK9;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。