大众点评结婚指南
2024-11-30 14:42:20
最佳回答
ma30:=ema(close,30);强弱:ema(close,900);stickline((ma30>强弱),ma30,强弱,1,0),colorred;stickline((ma30<强弱),ma30,强弱,1,0),colorgreen;{stickline((ma30>强弱),ma30,强弱,1,0),color0000ff;stickline((ma30<强弱),ma30,强弱,1,0),color00ff00;}drawicon(cross(ma30,强弱),h,23);h1:=max(dyna**(3),dyna**(5));l1:=min(dyna**(3),dyna**(6));p1:=h1-l1;阻力:l1+p1*7/8,coloryellow;支撑:l1+p1*0.5/8,colorblue;{阻力:l1+p1*7/8,color00dd00;支撑:l1+p1*0.5/8,color00dd00;}现价:close,colorwhite,linethick2;{if(现价>阻力*0.9,阻力,draw**),color0000ff,linethick2;}stickline(cross(支撑,现价),支撑,阻力,1,0),coloryellow; drawtext(longcross(支撑,现价,2),支撑*1.001,'★b'),coloryellow;{吸}drawtext(longcross(现价,阻力,2),现价,'★s'),colormagenta;{抛};{+++++++++++++++++++++++附加模块+++++++++++++++++++++++++++++++++++}均线:if(between(c/(sum(amount,0)/sum(vol*100,0)),1.05,0.95)=0,ma(c,0),(sum(amount,0)/sum(vol*100,0))),coloryellow;放量:=sum(vol,6)>ref(ma(vol,30),1)*10;横盘:=((hhv(close,barscount(close))-llv(close,barscount(close)))/close)<1;横涨:=横盘 and 放量 and (c>均线);横跌:=横盘 and 放量 and cross(均线,c) ;突破:=filter(横涨,100);下破:=filter(横跌,50);drawtext(突破,均线,'★突破'),colorff00ff;stickline(突破>0,支撑,阻力,2,0),colorred; jx:if(between(c/(sum(amount,0)/sum(vol*100,0)),1.05,0.95)=0,ma(c,0),(sum(amount,0)/sum(vol*100,0))),coloryellow;a0:=(l+h+c*2)/4;a1:ema(a0,10)colorblue,linethick2;a3x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;a2:=ema(a0,30)colorliblue,linethick2;a4x:=(a2-ref(a2,1))/ref(a2,1)*100,nodraw;看多:if(a3x>=0 and barslast(cross(a3x,0))>0,ref((c+o)/2,barslast(cross(a3x,0))),draw**),crossdot,colorgreen,linethick2;逃顶:if(a3x<0 and barslast(cross(0,a3x))>0,ref((c+o)/2,barslast(cross(0,a3x))),draw**),crossdot,coloryellow,linethick2;买入持股:if(a3x>=0,a1,draw**),colorred,linethick2;卖出空仓:if(a3x<0 and a4x<0,a1,draw**),colorgreen,linethick2;分时线:c,colorwhite; 20210311