以下是通达信多空敢死队公式副图源码(无源码的请下载附件导入)
多空敢死队公式副图源码
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,8);B2:= MA(B1,2),NODRAW;
主力:(B-B2)*50000+50000,NODRAW;DRAWBAND((B-B2)*50000+50000,RGB(255,1,0),50000,RGB(1,235,1));
A1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A2:=EMA(EMA(EMA(A1,4),4),4);
A3:= (A2-REF(A2,1))/REF(A2,1)*100, ;
A4:= MA(A3,2),NODRAW;
敢死队:(A3-A4)*30000+40000,NODRAW;
DRAWBAND((A3-A4)*30000+40000,RGB(255,1,0),40000,RGB(1,235,1));
A5:=EMA(CLOSE,5)-EMA(CLOSE,55),NODRAW;
A6:=EMA(A5,10),NODRAW;
多空:(A5-A6)*20000+30000,NODRAW;
DRAWBAND((A5-A6)*20000+30000,RGB(255,1,0),30000,RGB(1,235,1));
1353333525.png
|