就是好爱Jay
2024-11-28 05:25:53
最佳回答
{ok。主图通过测试}均价线:amount/v/100,pointdot;c2:=ref(c,1);涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);stickline(涨停,open,close,8,0),colorred;stickline(涨停,open,close,5,0),coloryellow;stickline(涨停,h,l,0,0),coloryellow;b1:='┄┄┄┄┄';drawtext(均价线 and 涨停,均价线,b1),colorgreen;b3:='┄┄┄┄┄';drawtext((o+c)/2 and 涨停,(o+c)/2 ,b3),colormagenta;b2:='┄┄┄┄┄';drawtext(涨停,l,b2),colorgray;ma13:ma(c,13),colorgray;ma21:ma(c,21),colorwhite;支撑线:(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4,colormagenta;lc:=ref(close,1);操作线:sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100,colorwhite,linethick0;趋势线:sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100,colorgray,linethick0;震仓线:45,colormagenta,linethick0;震仓线2:50,colorgray,linethick0;逃命线:80,colorred,linethick0;抄底线:20,colorgreen,linethick0;绝底线:5,colorblue,linethick0;pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;hh:=count(涨停,13)>=1;stickline(pp2 and hh,open,close,8,0),colorblue;stickline(pp and hh,open,close,8,0),colorblue;stickline(pp3 and hh,open,close,8,0),colorblue;a:=sma(l,4,3) ;stickline(a and ref(pp,1) and hh ,a*0.9999,a*0.9979,8,0),colorgreen;partline(l,a and ref(pp,1) and hh,rgb(250,0,0)),circledot; drawicon(a and ref(pp,1) and hh,l*0.98,1);stickline(a and ref(pp3,1) and hh ,a*0.9999,a*0.9979,8,0),colorgreen;partline(l,a and ref(pp3,1) and hh,rgb(0,250,0)),circledot;drawicon(a and ref(pp3,1) and hh,l*0.98,1); hd:=count(涨停,21)>=1;a1:=sma(h,4,3);stickline(a1 and hd ,a1,a1*1.001,8,0),colorwhite;博金投资:indexadv,color0000ee,linethick0; ========================{副图显示}lc:=ref(close,1);操作线:sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100,colorwhite,linethick0;趋势线:sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100,colorgray,linethick0;震仓线:45,colormagenta,linethick0;震仓线2:50,colorgray,linethick0;逃命线:80,colorred,linethick0;抄底线:20,colorgreen,linethick0;绝底线:5,colorblue,linethick0;pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;stickline(涨停 and hh,0,0.8,4.5,0),coloryellow;drawtext(涨停 and hh,1.3,'涨'),coloryellow;drawtext(涨停 and hh,1,'停'),coloryellow;aa:=ref(pp,1) and hh;stickline(pp and hh,0,0.8,2,0),colorred;drawtext(pp and hh,1.3,'预'),colorred;drawtext(pp and hh,1,'警'),colorred;stickline(ref(pp,1) and hh,0,3,0.5,0),colorgreen;drawicon(ref(pp,1) and hh,3.3,1);bb:=ref(pp3,1) and hh;stickline(pp3 and hh,0,0.8,2,0),colorred;stickline(ref(pp3,1) and hh,0,3,0.5,0),colorgreen;drawicon(ref(pp3,1) and hh,3.3,1);黄色涨停板:pp,linethick0,coloryellow;红色预警:pp,linethick0,colorred;绿色买入:pp,linethick0,colorgreen;====================={预警选股}{1}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;ref(pp,1) and hh;====================={2}涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;涨停 and hh;========================={3}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;抄底线:=20;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;pp3 and hh; 20210311