奉献给一直以来关注我的朋友,在下载指标后,需要叠加画K线函数,考虑到各软件的函数不同,请自己加上,否则有时柱线会遮挡K线。另外,此指标是飞狐版本,如果是其它软件请酌情调整画柱线参数6,比如通达信应该把6调整为小于4.
源码
VV:=AMOUNT/100000000;
LB:=MA(VV,1)/HHV(VV,0);
B5:COST(5),COLORFAABEC,POINTDOT;
DB5:=DMA(B5,LB),COLOR00bb00,POINTDOT;
STICKLINE(B5>=DB5,B5,DB5,6,0),COLORFAABEC;
STICKLINE(B5
DB15:=DMA(B15,LB),COLORCYAN,POINTDOT;
STICKLINE(B15>=DB15,B15,DB15,6,0),COLOR0099FF;
STICKLINE(B15
DB50:=DMA(B50,LB),COLORGRAY,POINTDOT;
STICKLINE(B50>=DB50,B50,DB50,6,0),COLORWHITE;
STICKLINE(B50
DB85:=DMA(B85,LB),COLORAAAA00,POINTDOT;
STICKLINE(B85>=DB85,B85,DB85,6,0),COLOR00CCCC;
STICKLINE(B85
DB95:=DMA(B95,LB),COLORFF5B90,POINTDOT;
STICKLINE(B95>=DB95,B95,DB95,6,0),COLORMAGENTA;
STICKLINE(B95
sb:(EMA(c,6)+EMA(c,12)+EMA(c,24))/3;
so:(EMA(c,24)+EMA(c,48)+EMA(c,96))/3;