涨停k线显示黄色,
如果不想显示可线可以用下面指标,在只显示收盘线.
效果如图.
STICKLINE(C/REF(C,1)>1.097 AND C=H,H,L,0,0),COLORYELLOW;
STICKLINE(C/REF(C,1)>1.097 AND C=H,C,O,2,0),COLORYELLOW;
或者用下面代码,涨停显示黄色,不涨停显示黑色.
STICKLINE(C/REF(C,1)>1.097 AND C=H,H,L,0,0),COLORYELLOW;
STICKLINE(C/REF(C,1)>1.097 AND C=H,C,O,3,0),COLORYELLOW;
STICKLINE(NOT(C/REF(C,1)>1.097 AND C=H),H,L,1,0),COLORBLACK;
STICKLINE(NOT(C/REF(C,1)>1.097 AND C=H),C,O,3,0),COLORBLACK;