当前位置:分析家公式网 → 股票公式 → 大智慧L2公式 → 一键转帖:大智慧L2趋势指标(源码)
软件名称:[B]大智慧L2趋势指标(源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-09-29 22:24:22
软件简介:
说明:都不是我的原创(一个是一品大师的源码,一个是铁龙DMI源码,我稍微装饰了一下),纯粹是玩指标,不作解释,自己用着感觉吧,哈哈,别笑!
一\铁龙DMI:
N:=7;
TR := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:DMP*100/TR,COLORFFFFFF;
MDI:DMM*100/TR,COLORYELLOW;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLOR0000FF,LAYER0;
春暖:= REF(PDI,1)<REF(PDI,2) AND REF(ADX,1)<REF(ADX,2) AND PDI>REF(PDI,1) AND ADX>REF(ADX,1) AND PDI>MDI AND PDI>ADX AND C/REF(C,1)>1.01 ;
STICKLINE(春暖,0,20,2,0 ),COLORFF00FF,LAYER0;
60,COLORFFFF00,POINTDOT;
20,COLOR00FF00,POINTDOT;
二\箱体趋势:
BDGD:=HHV(C,30);
BDDD:=LLV(C,30);
趋势:(C/BDDD-1)*100,COLORFFFFFF;
箱高:(BDGD-BDDD)/BDDD*100,COLOR0000FF;
大箱体:=IF((BDGD-BDDD)/BDDD*100<20,20-2,20);
潜龙饮水:大箱体=20-2,COLOR00FF00,LINETHICK0;
STICKLINE(潜龙饮水,20,20-2,4,1),COLOR00FF00;
潜龙飞天:趋势*1.0000002>=箱高 AND 箱高<50,COLORFF00FF,LINETHICK0 ;
STICKLINE(FILTER(潜龙飞天,3),0,20,2,1),COLORFF00FF;
水平面:20,COLORFFFF00,POINTDOT;
一\铁龙DMI:
N:=7;
TR := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:DMP*100/TR,COLORFFFFFF;
MDI:DMM*100/TR,COLORYELLOW;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLOR0000FF,LAYER0;
春暖:= REF(PDI,1)<REF(PDI,2) AND REF(ADX,1)<REF(ADX,2) AND PDI>REF(PDI,1) AND ADX>REF(ADX,1) AND PDI>MDI AND PDI>ADX AND C/REF(C,1)>1.01 ;
STICKLINE(春暖,0,20,2,0 ),COLORFF00FF,LAYER0;
60,COLORFFFF00,POINTDOT;
20,COLOR00FF00,POINTDOT;
二\箱体趋势:
BDGD:=HHV(C,30);
BDDD:=LLV(C,30);
趋势:(C/BDDD-1)*100,COLORFFFFFF;
箱高:(BDGD-BDDD)/BDDD*100,COLOR0000FF;
大箱体:=IF((BDGD-BDDD)/BDDD*100<20,20-2,20);
潜龙饮水:大箱体=20-2,COLOR00FF00,LINETHICK0;
STICKLINE(潜龙饮水,20,20-2,4,1),COLOR00FF00;
潜龙飞天:趋势*1.0000002>=箱高 AND 箱高<50,COLORFF00FF,LINETHICK0 ;
STICKLINE(FILTER(潜龙飞天,3),0,20,2,1),COLORFF00FF;
水平面:20,COLORFFFF00,POINTDOT;
[url=http://www.70822.com/soft/sort013/sort03/down-13064.html]大智慧L2趋势指标(源码)[/url]