荷蒲能量指标 (源码)
2011-07-19 09:09:00来源:本站整理浏览:235
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:="OBV";
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
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;
MMNL:CZ*AA1 COLORRED;
ZZ1:=(XX+QQ)/2*AA1;
VAR5:=CZ*AA1;
VAR3:=1;
MM:=EMA(SLOPE(VAR5,21)*20+VAR5,55)*VAR3;
QS:MM;
SS:=EMA(VAR5,3);
SS1:=EMA(SS,5)*VAR3;
MFNL: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);
- 上一篇公式:散户主力指标 (源码)
- 下一篇公式:个股生命线指标 (源码)