以下是通达信波段进出副图源码

{波段进出}

趋势强弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK;

个股趋势:3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1)

-2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD;

大盘趋势:3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1)

-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD;

大盘危险:大盘趋势> 80,COLOR00FF00,NODRAW;

STICKLINE(大盘趋势> 80,大盘趋势,80,3,0),COLOR00FF00;

个股危险:个股趋势> 80,COLOR888888,NODRAW;

DRAWBAND(个股趋势,RGB(80,80,80),80,RGB(0,0,0));

IF(1,大盘趋势,大盘趋势),COLORDD22DD;

IF(1,个股趋势,个股趋势),COLOR00DDDD;

持币:IF(个股趋势< REF(个股趋势,1),个股趋势,DRAWNULL),LINETHICK2,COLORFFFF00;

持股:IF(个股趋势> REF(个股趋势,1) AND 大盘趋势> REF(大盘趋势,1),个股趋势,DRAWNULL),LINETHICK2,COLORRED;

预警:CROSS(大盘趋势,个股趋势) AND 个股趋势< 3 OR LONGCROSS(个股趋势,0,3),COLORFF55FF,NODRAW;

STICKLINE(CROSS(大盘趋势,个股趋势) AND 个股趋势< 3 OR LONGCROSS(个股趋势,0,3),0,20,1,0),COLORFF55FF;

地板价:IF(COUNT(个股趋势< 0,3)= 3 AND 个股趋势> REF(个股趋势,1),10,0),COLORFF6000,LINETHICK2;

通达信波段进出副图源码

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