通达信洗盘拉升和公式_通达信成交量指标_量化交易

MACD_COLA算法通达信公式 副图 源码附图

VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1);
VAR3A:=EMA(VAR2A,34);
VAR4A:=LLV(LOW,5);
VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),24);
洗盘:IF(VAR5A>REF(VAR5A,1),VAR5A,0),COLORGREEN;
STICKLINE(VAR5A>REF(VAR5A,1),0,VAR5A,2,0 ),COLORGREEN;
主力拉升:IF(VAR5A<REF(VAR5A,1),VAR5A,0),COLORRED,NODRAW;
STICKLINE(VAR5A<REF(VAR5A,1),0,VAR5A,2,0),COLORRED;
XP:=REF(洗盘,1);
LS:=主力拉升;
XPLS:=(XP AND LS);
AAA:=BARSLAST (VAR5A>REF(VAR5A,1))=1 ;
STICKLINE (AAA=1,0,50,2,0),COLORYELLOW;
DRAWTEXT(XPLS,主力拉升,'洗盘'),COLORYELLOW;
 
 

起爆线通达信公式 源码附图