以下是通达信个股,个股强弱源码附图
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,2,0),COLORRED;
STICKLINE(INDEXC>=INDEXO,INDEXH,INDEXL,0.00000001,0),COLORRED;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,2,0),COLORLIBLUE;
STICKLINE(INDEXC<INDEXO,INDEXH,INDEXL,0.00000001,0),COLORLIBLUE;
M5:MA(INDEXC,5);
M10:MA(INDEXC,10);
M20:MA(INDEXC,20);
M60:MA(INDEXC,60);
个股涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
大盘涨幅:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
DRAWTEXT(个股涨幅>大盘涨幅,INDEXH+50,’强’),COLORRED;
DRAWTEXT(个股涨幅<大盘涨幅,INDEXL-50,’弱’),COLORGREEN;
DRAWTEXT(个股涨幅=大盘涨幅,INDEXH+25,’平’),COLORGREEN;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)