通达信指标公式源码 通达信能量彩带指标公式
2016-07-23 10:56 股票知识 zhishi.southmoney.com
V3:=1;
VAR1:=(HIGH+LOW+CLOSE)/3;
CZ1:=SUM(MAX(0,HIGH-REF(VAR1,1)),26)/SUM(MAX(0,REF(VAR1,1)-LOW),26)*100;
CZ:=EMA(CZ1,4)*V3;
AA:= REF(MA(CZ,10),5);
BB:= REF(MA(CZ,20),9);
CC:= REF(MA(CZ,40),17);
{AA1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);}
AA1:=1;
XX:=IF(AA>BB,IF(AA>CC,AA,CC),IF(BB>CC,BB,CC))*V3;
QQ:=IF(AA<BB,IF(AA<CC,AA,CC),IF(BB<CC,BB,CC))*V3;
D1:=XX*AA1;
D2:=QQ*AA1;
买卖能量:CZ*AA1 COLORRED;
ZZ1:=(XX+QQ)/2*AA1;
VAR5:=CZ*AA1;
VAR3:=1;
MM:=EMA(SLOPE(VAR5,21)*20+VAR5,55)*VAR3;
资金趋势:MM;
SS:=EMA(VAR5,3);
SS1:=EMA(SS,5)*VAR3;
散户动向:SS, COLORWHITE;
MM1:=REF(SS,1);
KK:=SS1 ;
KL:=VAR5-MM;
STICKLINE(KL>=0,VAR5,MM,0.5,0) COLORRED;
STICKLINE(KL<0,VAR5,MM,0.5,0) COLORGREEN;
MA21:MA(SS,21);
VAR1:=(HIGH+LOW+CLOSE)/3;
CZ1:=SUM(MAX(0,HIGH-REF(VAR1,1)),26)/SUM(MAX(0,REF(VAR1,1)-LOW),26)*100;
CZ:=EMA(CZ1,4)*V3;
AA:= REF(MA(CZ,10),5);
BB:= REF(MA(CZ,20),9);
CC:= REF(MA(CZ,40),17);
{AA1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);}
AA1:=1;
XX:=IF(AA>BB,IF(AA>CC,AA,CC),IF(BB>CC,BB,CC))*V3;
QQ:=IF(AA<BB,IF(AA<CC,AA,CC),IF(BB<CC,BB,CC))*V3;
D1:=XX*AA1;
D2:=QQ*AA1;
买卖能量:CZ*AA1 COLORRED;
ZZ1:=(XX+QQ)/2*AA1;
VAR5:=CZ*AA1;
VAR3:=1;
MM:=EMA(SLOPE(VAR5,21)*20+VAR5,55)*VAR3;
资金趋势:MM;
SS:=EMA(VAR5,3);
SS1:=EMA(SS,5)*VAR3;
散户动向:SS, COLORWHITE;
MM1:=REF(SS,1);
KK:=SS1 ;
KL:=VAR5-MM;
STICKLINE(KL>=0,VAR5,MM,0.5,0) COLORRED;
STICKLINE(KL<0,VAR5,MM,0.5,0) COLORGREEN;
MA21:MA(SS,21);
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。