通达信分时波段副图指标
源码
多:=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),COLOR0000FF;
空:=EMA(MA(多,5),7);
DRAWBAND(多,RGB(200,50,55),空,RGB(0,100,50));
遵:IF(多 =空,多,DRAWNULL),COLORRED;
守:IF(空 =多,空,DRAWNULL),COLORFF9900;
纪:IF(多 =空,空,DRAWNULL),COLOR00FFFF;
律:IF(空 =多,多,DRAWNULL),COLOR00FF00;
SAL1:=多 80 AND 多
SAL2:=FILTER(CROSS(空,多) AND 多 70,8);
STICKLINE(SAL1,多,80,1,0),COLOR00FF00;
DRAWICON(SAL2,多,19);
BUY1:=空 15 AND 空
BUY2:=FILTER(CROSS(多,空) AND 空 20,8);
BUY3:=FILTER(COUNT(CROSS(多,空) AND 空 30,13) =2,13);
BUY4:=CROSS(多,空) AND 空
STICKLINE(BUY1,空,15,1,0),COLOR00FFFF;
DRAWICON(BUY2,多,26);
DRAWICON(BUY3,多,27);
DRAWICON(BUY4,空,23);