超牛趋势主图公式
-
相关简介:超牛趋势主图公式 奉献给一直以来关注我的朋友,在下载指标后,需要叠加画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(B
-
文章来源:股海网作者:股海网发布时间:2016-08-27浏览次数:
超牛趋势主图公式
奉献给一直以来关注我的朋友,在下载指标后,需要叠加画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<DB5,B5,DB5,6,1),COLOR00bb00;
B15:COST(15),COLOR0099FF,POINTDOT;
DB15:=DMA(B15,LB),COLORCYAN,POINTDOT;
STICKLINE(B15>=DB15,B15,DB15,6,0),COLOR0099FF;
STICKLINE(B15<DB15,B15,DB15,6,1),COLORCYAN;
B50:COST(50),COLORWHITE,POINTDOT;
DB50:=DMA(B50,LB),COLORGRAY,POINTDOT;
STICKLINE(B50>=DB50,B50,DB50,6,0),COLORWHITE;
STICKLINE(B50<DB50,B50,DB50,6,1),COLORGRAY;
B85:COST(85),COLOR00CCCC,POINTDOT;
DB85:=DMA(B85,LB),COLORAAAA00,POINTDOT;
STICKLINE(B85>=DB85,B85,DB85,6,0),COLOR00CCCC;
STICKLINE(B85<DB85,B85,DB85,6,1),COLORAAAA00;
B95:COST(95),COLORMAGENTA,POINTDOT;
DB95:=DMA(B95,LB),COLORFF5B90,POINTDOT;
STICKLINE(B95>=DB95,B95,DB95,6,0),COLORMAGENTA;
STICKLINE(B95<DB95,B95,DB95,6,1),COLORFF5B90;
WR:((EMA(c,1)+EMA(c,2))/2+EMA(c,3)+EMA(c,6))/3;
sb:(EMA(c,6)+EMA(c,12)+EMA(c,24))/3;
so:(EMA(c,24)+EMA(c,48)+EMA(c,96))/3;