通达信超跌克星指标公式
通达信朗码交通规则主图指标公式
通达信超跌克星指标公式:
N:=34;
绝对A:40/100,COLORLIMAGENTA,LINETHICK1,;
绝对B:=30/100,COLORCYAN,LINETHICK1,;
绝对C:=50/100,LINETHICK1,;
VAR1:= HHV(HIGH,N);
VAR2:=LOW;
猎熊HIGH:=(VAR1-LOW)/VAR1;
猎熊OPEN:=(VAR1-OPEN)/VAR1;
猎熊LOW:=(VAR1-HIGH)/VAR1;
猎熊CLOSE:=(VAR1-CLOSE)/VAR1;
猎熊k线:DRAWKLINE( 猎熊HIGH,猎熊OPEN,猎熊LOW,猎熊CLOSE);
南熊线:=猎熊HIGH,COLORLIGREEN,LINETHICK2;
阻力线:= MA(LLV(猎熊LOW,N),21),LINETHICK3,COLORCYAN;
TRTR:=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),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
pdi:= DMP*100/TR;
mdi:= DMM*100/TR;
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EXPMEMA(ADX,6);
基本超跌线: MA(HHV(猎熊HIGH,N),21),LINETHICK1,COLORYELLOW;
西熊线:=EMA(COUNT(CLOSE>REF(CLOSE,1),12),3)/24,COLORCYAN,LINETHICK2;
北熊线:=ADX*HHV(南熊线,60)/HHV(ADX,60),LINETHICK2,COLORMAGENTA;
完美理想:DRAWICON(猎熊LOW >=0.5 AND 基本超跌线>=0.5 AND
猎熊LOW >基本超跌线 ,阻力线+0.1,9),COLORCYAN;
第一理想:DRAWICON(完美理想=0 AND 猎熊LOW>绝对A AND
基本超跌线>绝对A AND 猎熊LOW>基本超跌线,
阻力线-0.05,2),COLORCYAN;
残缺理想: DRAWICON(猎熊LOW>0.3 AND 基本超跌线>0.3 AND
猎熊LOW>基本超跌线 AND 第一理想=0 AND 完美理想=0,阻力线,1),COLORCYAN;
DRAWICON(北熊线=南熊线, 南熊线,2);
T:=ABS(IF(北熊线+南熊线-西熊线*2>0,北熊线+南熊线-西熊线*2,0));
点熊线:SMA(T,4,1),COLORLIGREEN;
T2:=SLOPE (点熊线,7);
点熊辅线: (T2+1)*(2/3*REF(点熊线,1)+1/3*点熊线),COLORBROWN;
巅峰猎熊:DRAWICON(点熊线>基本超跌线 AND crOSS(点熊辅线,点熊线)AND
点熊辅线>REF(点熊辅线,1) ,点熊线+0.06,9);
平地伏熊:DRAWICON(FILTER((点熊线>0.0001 AND REF(点熊线,1)=0),5),
点熊线+0.02,5);
小坡捉熊:DRAWICON(点熊线<基本超跌线 AND CROSS(点熊辅线,点熊线)AND
点熊辅线>REF(点熊辅线,1),点熊线+0.04,4);
通达信送钱来主图指标公式