涨跌比率
涨升:SMA(SMA((ADVANCE-DECLINE)/(ADVANCE+DECLINE)*100,5,1),5,1);
IF(涨升>=MA(涨升,2.618),涨升,DRAWNULL),COLORRED;
IF(涨升<MA(涨升,2.618),涨升,DRAWNULL),COLORYELLOW;
参考:MA(涨升,5)COLORGRAY;
DRAWBAND(SMA(涨升,34,1),RGB(200,00,00),MA(SMA(涨升,34,1),5),RGB(0,200,00));
均差:(涨升-参考)*2,COLORSTICK;
STICKLINE(((CLOSE > 0) AND ISLASTBAR ),0,HHV(涨升,50000),4,1),COLORFFFFFF;
STICKLINE(((涨升 > 0) AND ISLASTBAR ),0,(涨升),3,0),COLORRED;
DRAWTEXT(CURRBARSCOUNT=50,HHV(涨升,50000)*0.7,'根据涨跌家数差值比率判断大盘活跃程度与人气'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=50,HHV(涨升,50000)*0.6,'红绿色带与K大周期均线走势判断多空市场'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=50,HHV(涨升,50000)*0.5,'画面均线及红绿柱用法同MACD指标'),COLORGRAY;
2010969372296824.jpg
|