以下是通达信分时波段副图源码

多:=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 空<50;
STICKLINE(BUY1,空,15,1,0),COLOR00FFFF;
DRAWICON(BUY2,多,26);
DRAWICON(BUY3,多,27);
DRAWICON(BUY4,空,23);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。