飞狐黄金操盘线主图指标
-
相关简介:飞狐黄金操盘线主图指标 源码 {立体K线} STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,9,0 ),COLOR009900; STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00cc00; STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLOR33ff00; STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLOR66ff00; STICKLINE(CL
-
文章来源:股海网作者:股海网发布时间:2016-07-04浏览次数:
飞狐黄金操盘线主图指标
源码
{立体K线}
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,9,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00cc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLOR33ff00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLOR66ff00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0 ),COLOr000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6 ,0 ),COLOR0000cc;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4 ,0 ),COLOR0000ff;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1 ,0 ),COLOR0033ff;
STICKLINE(CLOSE>OPEN,OPEN,LOW,2,0 ),COLOR9933ff;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,2,0 ),COLOR9933ff;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,2,0 ),COLOR66cc33;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,2,0 ),COLOR66cc33;
{修正价格}
新价:(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,PRECISION2,COLORYELLOW,LINETHICK1;
{RSI原理}
GAO:=SYSPARAM(4)-SYSPARAM(5);
TIAOJIE:=IF(GAO>=1,IF(GAO>=5,2,1),0.618);
指导线1:=新价+(SMA(MAX(新价-REF(新价,1),0),5,1)/SMA(ABS(新价-REF(新价,1)),5,1)*TIAOJIE-TIAOJIE*0.5),COLORMAGENTA,LINETHICK1;
指导线2:=新价+(SMA(MAX(新价-REF(新价,1),0),5,1)/SMA(ABS(新价-REF(新价,1)),5,1)*100-50),COLORMAGENTA,LINETHICK1;
指导线:IF(C>100,指导线2,指导线1),PRECISION2,COLORMAGENTA,LINETHICK1;
{趋势}
平衡:EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55),PRECISION2,Colorred,LINETHICK0;
PARTLINE(C>=平衡,平衡),ColorRED,LINETHICK2;
PARTLINE(C<平衡,平衡),COLORBLUE,LINETHICK2;
{股票概况}
vV:='◆代码:'+stklabel;
EXPLAIN(1=1,vV),,Color4080FF;
explain(1=1,'■所属板块:'+blkname+'\n'),colorRED;
explain(1=1,'●流通A股:'+NUMTOSTR(FINANCE(7)/10000,4)+'亿股'),colorYELLOW;
explain(1=1,'●总股'+ NUMTOSTR(FINANCE(1)/10000, 2)),COLORYELLOW;
explain(1=1,'●每股收益:'+NUMTOSTR(FINANCE(33),2)+'元'),colorcyan;
explain(1=1,'●净资产:'+NUMTOSTR(FINANCE(34),2)+'元'),colorCYAN;
explain(1=1,'●公积金:'+NUMTOSTR(FINANCE(18),2)+'元'),COLORCYAN;
explain(1=1,'●未分配利润:'+NUMTOSTR(FINANCE(32),2)+'元'),COLORCYAN;
explain(1=1,'◎市盈率:'+NUMTOSTR(DYNAINFO(39),2)+'倍'),colorGREEN;
explain(1=1,'◎获利%'+NUMTOSTR(winner(c)*100, 2)),COLORGREEN;