当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:PVT指标分析(通达信指标 副图 源码 测试图)
软件名称:[B]PVT指标分析(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2023-10-12 00:15:17
软件简介:
PVT指标分析
PVTT:=SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*VOL,0),COLORYELLOW,LINETHICK1;
PVT3:=EMA(PVTT,3),COLORYELLOW,LINETHICK2;
PVT6:=EMA(PVTT,6),COLORRED,LINETHICK2;
PVT12:=EMA(PVTT,12),COLORGREEN,LINETHICK2;
PVT24:=EMA(PVTT,24),COLORGREEN,LINETHICK2;
STICKLINE(PVT12>PVT24,-100,-90,11,0),COLORGREEN,LINETHICK1;
STICKLINE(PVT6>PVT24,-89,-79,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(PVT3>PVT24,-78,-68,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(PVT6>PVT12,-67,-57,11/4,0),COLORRED,LINETHICK1;
STICKLINE(PVT3>PVT12,-56,-46,11/4,0),COLORRED,LINETHICK1;
STICKLINE(PVT3>PVT6,-45,-35,11/4,0),COLORRED,LINETHICK1;
STICKLINE(PVT12>REF(PVT12,1),-34,-24,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(PVT6>REF(PVT6,1),-23,-13,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(PVT3>REF(PVT3,1),-12,-2,11/4,0),COLORGREEN,LINETHICK1;
LLJ:=(C-REF(CLOSE,1))*V/C/1000;
DIFF20:=EMA(LLJ,20),COLORGREEN,LINETHICK1;
DIFF10:=EMA(LLJ,10),COLORRED,LINETHICK1;
DIFF5:=EMA(LLJ,5),COLORYELLOW,LINETHICK3;
STICKLINE(DIFF20>0,2,12,11/4,0),COLORRED,LINETHICK1;
STICKLINE(DIFF10>0,13,23,11/4,0),COLORRED,LINETHICK1;
STICKLINE(DIFF5>0,24,34,11/4,0),COLORRED,LINETHICK1;
STICKLINE(DIFF10>DIFF20,35,45,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(DIFF5>DIFF20,46,56,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(DIFF5>DIFF10,57,67,11/4,0),COLORGREEN,LINETHICK1;
STICKLINE(DIFF20>REF(DIFF20,1),68,78,11/4,0),COLORRED,LINETHICK1;
STICKLINE(DIFF10>REF(DIFF10,1),79,89,11/4,0),COLORRED,LINETHICK1;
STICKLINE(DIFF5>REF(DIFF5,1),90,100,11/4,0),COLORRED,LINETHICK1;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR8:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR8);
MDI:=((DMM * 100) / TR8);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
趋势线:=LLV(阶段底部,1)-100;
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26))*50;
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
KDEA:=SMA(MACD,5,2);
MMLD:=2*(MACD-KDEA);
KDEAA:=SMA(MMLD,5,2);
MMMLD:=2*(MMLD-KDEAA);
KDEAAA:=SMA(MMMLD,5,2);
LD5:=2*(MMMLD-KDEAAA);
CKDEA:=SMA(MACD,3,2);
CMMLD:=3*(MACD-CKDEA);
CKDEAA:=SMA(CMMLD,3,2);
CMMMLD:=4*(CMMLD-CKDEAA);
CKDEAAA:=SMA(CMMMLD,3,2);
LD3:= 5*(CMMMLD-CKDEAAA);
MM:=HHV(ABS(DIFF),10);
M:=DIFF/MM*100;
MMM:=HHV(ABS(DEA),10);
A:=DEA/MMM*100;
MMMM:=HHV(ABS(MACD),10);
D:=MACD/MMMM*100;
MMMMM:=HHV(ABS(LD3),10);
L3:LD3/MMMMM*100;
MMMMMM:=HHV(ABS(LD5),10);
L5:LD5/MMMMMM*100;
[url=http://www.70822.com/soft/sort013/sort05/down-169607.html]PVT指标分析(通达信指标 副图 源码 测试图)[/url]