当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:现底见顶信号(同花顺公式 副图 源码 测试图)
软件名称:[B]现底见顶信号(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-02-01 00:10:37
软件简介:
//见顶信号
M1:=12;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M1);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),M1);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),M1);
DI1=DMP*100/TR;
N:=12;
DI4=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
VAR1=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI3=VOL/SHGZG*100;
}
DWW5:((DI1+VAR1)/DI3)/DI4;
M1:=1;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M1);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),M1);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),M1);
DI1=DMP*100/TR;
N:=1;
DI4=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
VAR1=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI3=VOL/SHGZG*100;
}
DWW6:((DI1+VAR1)/DI3)/DI4;
M1=12;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M1);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),M1);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),M1);
DI1=DMP*100/TR;
N:=12;
VAR1=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI3=VOL/SHGZG*100;
}
DWW3:(DI1+VAR1)/DI3,coloryellow;
M2=1;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M2);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),M2);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),M2);
DI1=DMP*100/TR;
N:=1;
VAR1=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI3=VOL/SHGZG*100;
}
DWW4:(DI1+VAR1)/DI3,colorgreen;
M1:=12;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M1);
HD=HIGH-REF(HIGH,1);
LD=REF(LOW,1)-LOW;
DMP=SUM(IF(HD>0 AND HD>LD,HD,0),M1);
DMM=SUM(IF(LD>0 AND LD>HD,LD,0),M1);
DI1=DMP*100/TR;
N:=12;
DI4=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
VAR1=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI3=VOL/SHGZG*100;
}
DWW:DI4/((DI1+VAR1)/DI3);
M2:=1;
TR=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M2);
HD2=HIGH-REF(HIGH,1);
LD2=REF(LOW,1)-LOW;
DMP2=SUM(IF(HD2>0 AND HD2>LD2,HD2,0),M2);
DMM2=SUM(IF(LD2>0 AND LD2>HD2,LD2,0),M2);
DI12=DMP2*100/TR;
N2:=1;
DI42=100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
VAR12=4*SMA((CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100,5,1),3.2,1), color0088ff ,LINETHICK0;
IF(CODETYPE<1 OR CODETYPE>2 AND CODETYPE <> 6)
{
RETURN 0;
}
ELSE
{
DI32=VOL/SHGZG*100;
}
DWW2:DI42/((DI12+VAR12)/DI32);
VERLINE(DWW5>DWW6 AND VOL>=REF(VOL,3) AND C>=REF(C,3)
AND DWW<DWW2
AND DWW3<DWW4
,0),coloryellow;
STICKLINE (DWW5>DWW6 AND VOL>=REF(VOL,3) AND C>=REF(C,3)
AND DWW<DWW2
AND DWW3<DWW4,LOW,88,10,1),colorred;
[url=http://www.70822.com/soft/sort013/sort036/down-153849.html]现底见顶信号(同花顺公式 副图 源码 测试图)[/url]