有什么股票指标公式?同花顺主力动作公式源码
2016-07-14 10:50 股票知识 zhishi.southmoney.com
CLOSE10:=(CLOSE+LLV(CLOSE,5));
HIGH10:=(HIGH+LLV(HIGH,5));
LOW10:=(LOW +LLV(LOW,5));
JJ:=(CLOSE10+HIGH10+LOW10)/3;
BB:=(CLOSE10+HIGH10)/2;
TT:=(CLOSE10+ LOW10)/2;
SS:=( HIGH10+LOW10)/2;
VAR1:=(JJ+SS)/2;
VAR2:=(TT+BB)/2;
VAR3:=EMA(0.667*REF(VAR1,2)+0.333*VAR2,2);
VAR4:=EMA(0.667*REF(VAR2,2)+0.333*VAR1,2);
STICKLINE(VAR1-VAR2>0,VAR1,VAR2,10,0),colorred;
STICKLINE(VAR2-VAR3<0,VAR2,VAR3,10,0),colorgreen;
STICKLINE(VAR2-VAR4>0,VAR2,VAR4,10,0),colorred;
STICKLINE(VAR1-VAR2>0,VAR1,VAR2,10,0) OR STICKLINE(VAR2-VAR4>0,VAR2,VAR4,10,0);
HIGH10:=(HIGH+LLV(HIGH,5));
LOW10:=(LOW +LLV(LOW,5));
JJ:=(CLOSE10+HIGH10+LOW10)/3;
BB:=(CLOSE10+HIGH10)/2;
TT:=(CLOSE10+ LOW10)/2;
SS:=( HIGH10+LOW10)/2;
VAR1:=(JJ+SS)/2;
VAR2:=(TT+BB)/2;
VAR3:=EMA(0.667*REF(VAR1,2)+0.333*VAR2,2);
VAR4:=EMA(0.667*REF(VAR2,2)+0.333*VAR1,2);
STICKLINE(VAR1-VAR2>0,VAR1,VAR2,10,0),colorred;
STICKLINE(VAR2-VAR3<0,VAR2,VAR3,10,0),colorgreen;
STICKLINE(VAR2-VAR4>0,VAR2,VAR4,10,0),colorred;
STICKLINE(VAR1-VAR2>0,VAR1,VAR2,10,0) OR STICKLINE(VAR2-VAR4>0,VAR2,VAR4,10,0);
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。