缠中说禅论坛实用主图指标
参数: n 缺省20最小1最大100步长1; p 缺省3 最小0.1最大10步长1; 源码: bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4; dwn:bbi-p*std(bbi,n),linethick2; upr:bbi+p*std(bbi,n),linethick2; ma5:ma(c,5),colorff50ff,linethick2; partline(ma5,ma5>=ref(ma5,1),rgb(255,0,0),ma5<ref(ma5,1),rgb(0,250,0)),linethick3; drawgbklast(ma5>=ref(ma5,1),strip(rgb(0,150,0),rgb(150,0,0),1)); drawgbklast(ma5<=ref(ma5,1),strip(rgb(150,0,0),rgb(0,150,0),1)); var326:=if(close>ref(close,1),88,0); var327:=if(close/ref(close,1)>1.050 and high/close<1.010 and var326>0, 91, 0); drawtext(var327>90,low*0.99,'追'),coloryellow; stickline(var327>90,open,close,3,0),coloryellow; stickline(var327>90,low,high,0,0 ),coloryellow; {45度异动} x1:=(c+l+h)/3; bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10; ema8:=ema(c,8); {本文来至好公式网 www.goodgongshi.com} drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10), ema8,'∠45上升'),coloryellow; aaa:=(3*c+h+l+o)/6; cxh:=strtonum(strright(datestr(currentdate),1)); warning('http://www.goodgongshi.com',currenttime>180000 and (cxh=2 or cxh=7)); drawtextrel(10 ,10 ,'指标公式'); var41:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36; tj1:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var41; 立桩量:=filter(tj1,5); tj2:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0))); 突破:=tj2=1; tj3:=if(barslast(立桩量)=1 and close>ref(low,1),1,if(barslast(立桩量)=2 and close>ref(low,2),1,if(barslast(立桩量)=3 and close>ref(low,3),1,0))); 三天法则:=tj3=1; 成立:=三天法则 and 突破; 条件成立:=filter(成立,3); drawtext(条件成立,l*0.99,'立桩量'),coloryellow; var1:=close>ref(close,1) and close>ref(close,2); var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2); var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2); var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2); var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2); var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2); var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2); var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2); var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2); vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2); varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2); varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2); vard:=close<ref(close,1) and close<ref(close,2); vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2); varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2); var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2); var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2); var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2); var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2); var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2); var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2); var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2); var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2); var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2); var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,1) and var1; var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,1) and vard; stickline(var19,ref(close,1),ref(close,2),8,0),color00ffff;{黄色} stickline(var1a,ref(close,1),ref(close,2),8,0),colorff00ff;{粉红色} 黄底买入:var19,linethick0,color00ffff; 粉顶卖出:var1a,linethick0,colorff50ff; {本文来至www.goodgongshi.com} 红色持股:0,linethick0,colorred; 绿色持币:0,linethick0,color00d900; drawicon(var19,ref(close,1)*0.99,7),align1; drawicon(var1a,ref(close,1)*1.02,8),align1; drawtextabs(2,5,'所属板块:'+bkname),colorff50ff,linethick1; 流通盘大小:=finance2(37)/1000000*100; drawtextabs(2,20,'流通盘大小:'+numtostrn(流通盘大小,2)+'亿'+' 电子盲制作'),linethick1,colorred; 每股收益:=finance2(3); 每股市盈率:=dynainfo(39); 每股净资产:=finance2(4); 销售毛利率:=finance2(12); 主营收入同比:=finance2(11); 净利润同比增长:=finance2(10); drawtextabs(160,35,'每股收益:'+numtostrn(每股收益,2)+'元'),color00ff00; drawtextabs(160,50,'每股市盈率:'+numtostrn(每股市盈率,1)+'倍'),colorred; drawtextabs(160,65,'每股净资产:'+numtostrn(每股净资产,2)+'元'),colorred; drawtextabs(2,35,'销售毛利率:'+numtostrn(销售毛利率,2)+'%'),linethick1,color00ff00; drawtextabs(2,50,'主营收入同比增长:'+numtostrn(主营收入同比,2)+'%'),linethick1,coloryellow; drawtextabs(2,65,'净利润同比增长:'+numtostrn(净利润同比增长,2)+'%'),linethick1,color00ff00; drawtextabs(3,80,'历史最高价:'+hhv(high,0)),colorred; drawtextabs(3,95,'历史最低价:'+llv(low,0)),colorafff00; a4:=ma(close,20); a5:=(close > ma(close,5)); a6:=(ma(close,5) > ma(close,10)); a7:=(close > ma(close,10)); a8:=(ma(close,5) > ma(close,20)); a9:=(close > ma(close,20)); a10:=ref(a4,1); a11:=(a4 > a10); avx:=(((((if(a5,10,(0 - 10)) + if(a6,10,(0 - 10))) + if(a7,10,(0 - 10))) + if(a8,10,(0 - 10))) + if(a9,10,(0 - 10))) + if(a11,10,(0 - 10))); dslx:=(close / indexc); dslx1:=ma(dslx,5); dslx2:=ma(dslx,10); v1:=ma(vol,5); v2:=ma(vol,10); 阻力位:=if((close > 200),(close * 1.01),(close * 1.07)); 阻力位1:=if((close < 10),(close * 1.05),阻力位); 止损位:=if((close > 200),(close * 0.99),(close * 0.93)); 止损位1:=if((close < 10),(close * 0.95),止损位); tjts1:=barstatus=2 and c<200; tjts2:=barstatus=2 and c>200; k2:=hhv(h,barslast(dispstatus=1)+1); drawtext(tjts1 and((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),align2,colordc143c; drawtext(tjts1 and((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),align2,colordc143c; drawtext(tjts1 and((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)) ,k2*0.99,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),align2,colordc143c; drawtext(tjts1 and((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)) ,k2*0.99,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),align2,color0000ff; drawtext(tjts1 and((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),align2,color00ff00; drawtext(tjts1 and((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),align2,color00ff00; drawtext(tjts1 and((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'该股放量下跌,走势明显偏弱,离场观望。 '),align2,color00ff00; drawtext(tjts1 and((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'该股缩量下跌,走势偏弱,离场观望。 '),align2,color00ff00; drawtext(tjts1 and((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'该股形态良好,强势明显,量能充足,可以继续持有。 '),align2,color00ffff; drawtext(tjts1 and((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),align2,color00ffff; drawtext(tjts1 and((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),align2,color00ffff; drawtext(tjts1 and((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'该股走势趋弱,量能不足,减持大部分筹码。 '),align2,color00ffff; drawtext(tjts1 and((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'该股形态不佳,注意成交量的变化,但目前不适合参与。 '),align2; drawtext(tjts1 and((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),align2; drawtext(tjts1 and((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),align2; drawtext(tjts1 and((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'该股走势太弱,没有参与价值。 '),align2; drawtext(tjts2 and(cross(avx,1) and (v1 >= v2)) ,k2*0.99,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),align2,color0000ff; drawtext(tjts2 and(cross(avx,1) and (v1 >= v2)) ,k2*0.98,' 如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),align2,color0000ff; drawtext(tjts2 and(cross(avx,1) and (v1 < v2)) ,k2*0.99,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),align2,color0000ff; drawtext(tjts2 and(cross(avx,1) and (v1 < v2)) ,k2*0.98,' 可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),align2,color0000ff; drawtext(tjts2 and(cross(1,avx) and (v1 >= v2)) ,k2*0.99,'大盘形态走坏,重仓者可以减去大部分仓位。 '),align2,color00ff00; drawtext(tjts2 and(cross(1,avx) and (v1 < v2)) ,k2*0.99,'大盘缩量调整,注意风险,短线清仓观望。 '),align2,color00ff00; drawtext(tjts2 and(((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) ,k2*0.99,'大盘走势良好,量能理想,可以继续持有强势股。 '),align2,color00ffff; drawtext(tjts2 and(((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) ,k2*0.99,'大盘形态良好,但量能稍显不足,随时准备减仓。 '),align2,color00ffff; drawtext(tjts2 and(((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) ,k2*0.99,'大盘趋势不明,注意成交量变化,目前不适宜进场。 '),align2; drawtext(tjts2 and(((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) ,k2*0.99,'大盘趋势向下,量能萎缩,不适合进场。 '),align2;
上一指标公式:一个受到杨百万证券决策系统启发写的不错主图公式下载
下一指标公式:我精心挑选的大智慧经典操盘指标之王保证人人喜欢的公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文再发一个来自缠中说禅论坛实用主图指标公式下载仅供学习研究。