通达信趋势英雄天罗地网指标公式是什么?
2016-4-26 11:01:38 股票入门 http://rumen.southmoney.com
通达信趋势英雄天罗地网指标公式是什么?附:简单实用的通达信DMI指标公式 南方财富网小编为您提供
【通达信趋势英雄天罗地网指标公式】
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
英雄:SMA(VAR3,2,1),COLORYELLOW,LINETHICK2;
天萝:100+(-ABS(VAR1)),COLORGREEN,LINETHICK2;
地网:ABS(VAR1),COLORMAGENTA,LINETHICK2;
牛熊分界:50,COLOR0BFFFF,POINTDOT;
弱:20,COLOR80FFFF,POINTDOT;
强:80,COLOR0BFFFF,POINTDOT;
DRAWTEXT(CROSS(英雄>=天萝,1),英雄,'◆'),LINETHICK4,COLORRED;
附:【简单实用的通达信DMI指标公式】
N:=14;MM:=7;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI: DMP*100/MTR,COLORWHITE,LINETHICK1;
MDI: DMM*100/MTR,COLORYELLOW,LINETHICK1;
ADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM),COLORWHITE,LINETHICK1,COLORBLUE,LINETHICK1;
ADXR:EXPMEMA(ADX,MM),COLORMAGENTA,LINETHICK1;
DRAWICON(CROSS(PDI,MDI),PDI-0.01,1);
DRAWICON(CROSS(MDI,PDI),PDI-0.01,2);
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。