通达信龙门图 红绿波段 无未来 源码
CDH1:=(2*CLOSE+HIGH+LOW)/4;
CDH2:=EMA(CDH1,4);
CDH3:=EMA(CDH2,4);
CDH4:=EMA(CDH3,4);
VAD1:=(CDH4-REF(CDH4,1))/REF(CDH4,1)*1000;
VAD2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAD3:=SMA(SMA(VAD2,3,1),3,1)/28.57;
VAD4:=EMA(VAD3,5);
操盘:=3*VAD3-2*VAD4;
A1:=CROSS(操盘,VAD3) AND VAD3 2.1 AND C
龙门图:A1,LINETHICK;
STICKLINE(A1,33,18,9,0),COLOR0088FF;
DRAWTEXT(A1,26,'龙门'),COLORMAGENTA;
STICKLINE(VAD1 =0,VAD1,0,2,0),COLORRED;
STICKLINE(VAD1 0,VAD1,0,2,0),COLORGREEN;