收集:中国股票市场经济分析网

过多方努力,终于把指标的明日提示功能成功发掘出来了,希望我的努力能帮助散户朋友的炒股实战有所帮助!

   明日提示功能的用法:在祛除十字光标以后,鼠标移到主图下方的  i 上,立即会显示文字说明,你也就能对明日的操作心中有底啦 !


DRAWTEXTABS(10,10,'所属板块:'+BKNAME),Color00FF00;
DRAWTEXTABS(10 ,25 ,'流通盘:'+capital/1000000+'亿'),COLORyellow,linethick1;
DRAWTEXTABS(130 ,25 ,'市净率:'+c/FINANCE2(4)+'倍'),COLORwhite,linethick1;
DRAWTEXTABS(240 ,25 ,'市盈率:'+DYNAINFO(39)+'倍'),COLOR2288ff,linethick1;
DRAWTEXTABS(350 ,25 ,'年收益:'+c/DYNAINFO(39)+'元'),COLORff2222,linethick1;
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
DRAWTEXTABS(10,40,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,ColorFFFFFF;
DRAWTEXTABS(130,40,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,Color22FFee;
DRAWTEXTABS(290,40,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,ColorFFFFFF;
a:=(2*c+l+o+h)/5;
短期多空线:WMA(c,5),colorwhite;
短均线:ma(短期多空线,3),colorffff00;
多空界线:WMA(c,21),linethick0;
防线:Ema(多空界线,m1),coloryellow;
最后防线:ema(多空界线,m2),colorEE11ff;
STICKLINE((c<多空界线) AND (O<=C),O,C,6,1),COLORffff33;
STICKLINE((c<多空界线) AND (O>C),O,C,6,0),COLOR00ff00;
STICKLINE((c>多空界线) AND (O<=C),O,C,6,1),COLORRED;
STICKLINE((c>多空界线) AND (O>C),O,C,6,0),COLORee00ff;
金叉:=barslast(FILTER(CROSS("MACD.DIF","MACD.DEA") and "MACD.DEA"<0.1,13));
DRAWTEXT(FILTER(CROSS("MACD.DIF","MACD.DEA") and "MACD.DEA"<0.1,13),L,'建仓'),coloryellow;
主力吸筹区:=if(金叉>0 and 金叉<75,金叉,0);
DRAWTEXTABS(10,55,'主力建仓已'+NUMTOSTRN(主力吸筹区,0)+'天'),Colorred,LINETHICK2;

单日换手率:=VOL/capital*100;
N日换手累计:=sum(单日换手率,金叉);
庄家成本:=cyc(金叉);
阳量:=if(c>ref(c,1),vol,0);
阴量:=if(c<=ref(c,1),-vol,0);
总阳量:=sum(阳量,金叉);
总阴量:=sum(阴量,金叉);
N日庄家持仓量:=(总阳量*0.3+总阴量*0.20)/capital*100;
DRAWTEXTABS(130,55,'建仓后总换手率:'+NUMTOSTRN(N日换手累计,0)+'%'),Color2288ff,LINETHICK2;
DRAWTEXTABS(290,55,'主力持仓已达'+NUMTOSTRN(N日庄家持仓量,0)+'%'),Color22eedd,LINETHICK2;

HSV:=IF(SUM(VOL/CAPITAL,14)<1,SUM(VOL/CAPITAL,14),0.998);
VAR1:=wMA(a,10);
QS:=(a-VAR1)/VAR1;
MQS:=EMA(QS,5);
价量线:=EMA(EMA(MQS,10),5);
PARTLINE(多空界线,价量线>ref(价量线,1),rgb(250,0,0),价量线<ref(价量线,1),rgb(0,0,255),价量线=ref(价量线,1),rgb(0,255,0)),LINETHICK2;
{支撑位:=多空界线+(多空界线-REF(多空界线,1));}
临界值1:=wma(c,4);
临界值2:=wma(c,20);
TIPTEXT(c>0,0,'明日短线持股条件:收盘>'+临界值1+'; '
+'明日中线持股条件:收盘>'+临界值2);

{参数:M1~M4的缺省值分别为4    21   5    5   (最大最小值自己定)  。注意:"临界值"的参数不要变更,否则会指示不准!这两个参数是根据函数定义与严密的数学推导后获得的。}



发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: