//见顶信号 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;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!