以下是通达信短线突击队副图指标公式源码(无源码的请下载附件导入)
短线突击队副图指标 源码 通达信 贴图
{短线突击队}
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
{短线突击队}
股价趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部警戒:5,COLORRED,LINETHICK2;
买入警戒:STICKLINE(股价趋势<=底部警戒,0,20,2,0),COLORYELLOW,LINETHICK2;
买入信号:STICKLINE(CROSS(股价趋势,底部警戒),0,30,3,0),COLORGREEN,LINETHICK5;
顶部警戒:90,COLORFFBB66,LINETHICK2;
卖出警戒:STICKLINE(股价趋势>=85,100,80,2,0),COLORMAGENTA,LINETHICK2;
止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),100,70,3,0),COLORFFF666,LINETHICK5;
多方趋势:7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1),COLOR8811FF;
抄底:=CROSS(多方趋势,14);
逃顶:=CROSS(90,多方趋势);
DRAWICON(抄底,多方趋势,1);
DRAWICON(逃顶,多方趋势,2);
突:=MA(LOW,2)*0.98;
突击:=MA(LOW,26)*0.84;
突击队:=REF(突,1)<突击 AND REF(突,1)<突 AND REF(突,1)<REF(突,2);
STICKLINE(突击队,0,35,6,0),COLORRED;
DRAWTEXT(突击队,40,'突击'),COLORRED;
134922805.jpg
|