完美均线(自用)
在传统均线系统中添加了:1、涨停标记;2、量能平台线:绿线为大量能平台线,红线为地量平台线。两个线对股价都形成了压力和支撑作用,一旦突破,就会大涨,有其放量后回调见地量,红线出,预示有中级大行情。绿线突破,有急涨行情,短线涨幅大。
HH:=HHV(VOL,100);
T:=BARSLAST(HH=VOL);
LL:=LLV(VOL,100);
T1:=BARSLAST(LL=VOL);
DRAWLINE(T=0,C,REF(T=0,1),REF(C,1),1),colorgreen;
DRAWLINE(T1=0,C,REF(T1=0,1),REF(C,1),1),colorred;
aa:=CLOSE/REF(C,1)>=1.09;
STICKLINE(aa,O,C,3,0),coloryellow;
STICKLINE(aa,L,H,0,0),coloryellow;
IF (k<=0)
RETURN 0;
MA$1:MA(CLOSE, N1),colorwhite;
IF (k<=1)
RETURN 0;
MA$2:MA(CLOSE, N2),coloryellow;
IF (k<=2)
RETURN 0;
MA$3:MA(CLOSE, N3),colorlired;
IF (k<=3)
RETURN 0;
MA$4:MA(CLOSE, N4),colorgreen;
IF (k<=4)
RETURN 0;
MA$5:MA(CLOSE, N5),colorliblue;
IF (k<=5)
RETURN 0;
MA$6:MA(CLOSE, N6),colorligray;
IF (k<=6)
RETURN 0;
MA$7:MA(CLOSE, N7),colorblue;