通达信大盘情绪副图指标 涨跌停家数附图
昨日连板:("880812$C"/REF("880812$C",1)*100)-100 COLORWHITE;
NOTEXT1:0,COLORGREEN;
NOTEXT2:5,COLORMAGENTA;
NOTEXT3:7,COLORMAGENTA;
NOTEXT4:昨日连板,CIRCLEDOT,COLORRED LINETHICK2;
上证:"999999$C",COLORWHITE,NODRAW;
涨幅:(("999999$C"/REF("999999$C",1))-1)* 100, NODRAW,COLORYELLOW;
涨跌:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;
上涨家数:"SH999999$ADVANCE"+"SZ399001$ADVANCE"NODRAW;
下跌家数:"SH999999$DECLINE"+"SZ399001$DECLINE"NODRAW;
涨停家数:"880006$C" NODRAW COLOR0000FF;
跌停家数:"880006$O" NODRAW COLOR00FF00;
DRAWTEXT(C>0,昨日连板,VAR2STR(昨日连板,2)),COLORWHITE;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出昨日连板:("880812$C"/1日前的"880812$C"*100)-100 画白色
输出NOTEXT1:0,画绿色
输出NOTEXT2:5,画洋红色
输出NOTEXT3:7,画洋红色
输出NOTEXT4:昨日连板,CIRCLEDOT,画红色 线宽为2
输出上证:"999999$C",画白色,NODRAW
输出涨幅:(("999999$C"/1日前的"999999$C")-1)* 100, NODRAW,画黄色
输出涨跌:"999999$C"-1日前的"999999$C",COLORLIGRAY,NODRAW
输出上涨家数:"SH999999$ADVANCE"+"SZ399001$ADVANCE"NODRAW
输出下跌家数:"SH999999$DECLINE"+"SZ399001$DECLINE"NODRAW
输出涨停家数:"880006$C" NODRAW COLOR0000FF
输出跌停家数:"880006$O" NODRAW COLOR00FF00
DRAWTEXT(C>0,昨日连板,VAR2STR(昨日连板,2)),画白色