//#@fname=s点建仓 //#@comment=图形中,s点卖出,b点买入;根据控制风险的需要,系统会自动提示卖出信号 //#@control= //#@style=s点建仓:line2,a一般价格(灰),1,0,1,0,30065; //#@availperiod=2147430400 //#@param= //#@fdesc=可在主图叠加 //#@defaultperiod=16384 //#@coord=m //#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000 //#@@funcspec@=source m1:=3;m2:=5;m3:=7;m4:=13;m5:=15;m6:=21; var1:=llv(high,240); var2:=100*(close-var1)/var1; var3:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100; var4:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100; var5:=0; var6:=sma(max(close-ref(close,1),0),34,1)/ sma(abs(close-ref(close,1)),7,1)*100; var7:=sma(max(close-ref(close,1),0),13,1)/ sma(abs(close-ref(close,1)),13,1)*100; vara:=barscount(close); varb:=var6<20 and var7<23 and vara>35; varc:=varb and count(varb,1)=1; vard:=ema(close,21)-ema(close,8); vare:=ema(vard,5); varf:=troughbars(3,6,1)<4 and cross(vard,vare); var8:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0); var9:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3); var10:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3); var11:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3); var12:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3); var13:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3); var14:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3); var15:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3); var16:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3); var17:=ema(close,2)-ema(close,150); var1a:=ema(var17,100); var1b:=2*(var17-var1a); var1c:=pow(var1b,3)*0.1+pow(var1b,1); var1d:=sqrt(sqrt(low*high*open*close)); var1e:=ema(var1d*0.97,3); var1f:=(high+low+close)/3; var18:=(var1f-ma(var1f,14))/(0.015*avedev(var1f,14)); var19:=cross(var1e,low); 选股买点:= var8,colorred; 组合买:=(var9+var11+var13+var15); 组合卖:=(var10+var12+var14+var16); 黑马线:=if(year<2098 and var1b>0.1,var1c,0); var20:=选股买点 and varf and varc and var19 and var2<0 and var3=0 and var4=0 and var18<(-110); drawtext(var11,low-low*0.02,'●进'),colormagenta , linethick4; stickline(组合买,close,open,3,0),colorblue; drawtext(组合买,low-low*0.02,'b'),colorgreen; stickline(组合卖,close,open,3,0),colorgreen; drawtext(组合卖,high*1.04,'s'),coloryellow; stickline(选股买点,close,open,3,0),colorblue; drawtext(选股买点>0,low-low*0.02,'b'),colormagenta; drawtext(var14,high*1.1,'空仓'), linethick3, colorcyan; drawtext(var18<-110 and 选股买点>0,low-low*0.06,'买'),colorred ,linethick3 ; vaa1:=(zig(3,10) < ref(zig(3,10),1)) and (ref(zig(3,10),1) > ref(zig(3,10),2)); vaa2:=(zig(3,10) > ref(zig(3,10),1)) and (ref(zig(3,10),1) < ref(zig(3,10),2)); drawtext(vaa1,high*1.02,'卖'),coloryellow; drawtext(vaa2 and (date < 1070804),low-low*0.02,'买'),coloryellow; stickline(vaa1 and (date < 1070804),close,open,1.5,0),coloryellow; stickline(vaa1 and (date < 1070804),high,low,1.5,0),coloryellow; stickline(vaa2 and (date < 1070804),close,open,1.5,0),colorff00ff; stickline(vaa2 and (date < 1070804),high,low,1.5,0),colorff00ff; varg:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20; varh:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma ((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1); var21:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma ((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1); var22:=varh<ref(var21,1) and vol>ref(vol,1) and close>ref(close,1); drawtext(var22 and count(var22,30)=1,high*1.02,'●大资金'),linethick1,colorff00ff; var23:=(high+low+close)/3; var24:=(var23-ma(var23,14))/(0.015*avedev(var23,14)); var25:=(var23-ma(var23,70))/(0.015*avedev(var23,70)); var26:=if(var24>=150 and var24<200 and var25>=150 and var25<200,10,0); var27:=if(var24<=-150 and var24>-200 and var25<=-150 and var25>-200,-10,var26); var28:=(close-ma(close,13))/ma(close,13)*100; var29:=100-abs(var28); var30:=if(var29<90,var29,100); var1g:=if(varg>0, varg,0); var1h:=if(var25>=200 and var24>=150,15,if(var25<=-200 and var24<=-150,-15,var27))+60; var1i:=var1g>48 and var1h>60 and var30<100; drawtext(var1i and count(var1i,30)=1,high*1.06,'●大笔出货'),linethick1,colorffcc66; drawtext(cross(zig(3,14),ref(zig(3,14),1)),low*1.001,'★底'),colorgreen; drawtext(cross(ref(zig(3,13),1),zig(3,13)),high*1,'★逃顶'), colorred;
上一指标公式:精准买卖点指标公式详解 同花顺精准
下一指标公式:保华买入指标公式详解 同花顺买入
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文一目了然主图-抓紧下指标公式详解 同花顺主图仅供学习研究。