UID443398
积分178
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2020-2-26
最后登录1970-1-1
|
N1:=14;M1:=5;
VPC:=SUM(C*V,N1)/SUM(V,N1) - MA(C,N1);
VPR:=(SUM(C*V,M1)/SUM(V,M1))/MA(C,M1);
VM:=MA(V,M1)/MA(V,N1);
VPCI:=VPC*VPR*VM,COLORCYAN;
{N:=7;M1:=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)*VPCI,LINETHICK1,COLORWHITE;IF(PDI>=REF(PDI,1),PDI,DRAWNULL),LINETHICK2,COLORRED;
MDI: (DMM*100/MTR)*VPCI,LINETHICK1,COLORGREEN;
ADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM),COLORLIRED,LINETHICK1;
ADXR:EXPMEMA(ADX,MM),COLORRED,LINETHICK1;
DRAWTEXT((CROSS(PDI, MDI)), MDI,'买'),COLORRED;
DRAWTEXT((CROSS(ADX, ADXR))AND ADX AND ADXR>25 AND ATAN(ADX/ADXR*100)*180/3.1416>0 , ADXR,'强力买入'),COLORMAGENTA;
50,COLORWHITE;
80,COLORYELLOW;
25,COLORRED;
20,COLORCYAN;0;100;
ADX1:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,4),NODRAW;
DRAWTEXT(CROSS(ADX1, 75),PDI,'高波动性'),COLORRED;
涨停:REF(C,1)*1.1,NODRAW,COLORGREEN;
跌停:REF(C,1)*0.9,NODRAW,COLORGREEN;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
长期线:=A+100,COLOR9900FF;
短期线:=B+100,COLOR888888;
中期线:=D+100,COLORYELLOW,LINETHICK2;
见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线)) ,COLORGREEN;
顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4,COLORGREEN;
顶部:=FILTER(顶部区域,4);
STICKLINE( {见顶 OR} 顶部,99,103,20,1 ),COLORRED,LINETHICK2;
底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ,COLORGREEN;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;
低位金叉:=50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 )),COLORRED;
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
|
|