yura胆小鬼?
2024-05-28 11:11:48
最佳回答
大智慧有的函数通达信没有,我只把有关语句屏蔽了,你看是否可以.。ffd:ema((c - ref(c,1)) / ref(c,3),10) * 100;kjhu:ema(ema(ema(ema(ffd,2),2),2),3);ema(kjhu,4);a1:=sma(max(c - ref(c,1),0),24,1) / sma(abs(c - ref(c,1)),24,1) * 100;龙头启动:(a1 > 65) * (a1 - 65) / 10 + 2,linethick0;控盘度:cyw / 10,colorstick,linethick2,colorred;stickline(kjhu >= ref(kjhu,1),kjhu,kjhu * 1.2,8,0),colorred;stickline(kjhu < ref(kjhu,1) and kjhu > ema(kjhu,4),kjhu,kjhu * 1.2,5,0),color00bbff;stickline(kjhu < ref(kjhu,1) and kjhu < ema(kjhu,4),kjhu,kjhu * 1.2,8,0),colorgreen;0,pointdot,linethick2,colorgray;1.5,pointdot,colorgray;drawicon(cross(ffd,2),2,7);a2:=(c - ref(c,1)) / ref(c,1) * 100;a3:=count(a2 > 8,120);{drawtextrel(180,100,numtostrn(a3,1)),coloryellow;drawtextrel(0,100,'【关注级别大的股票】 '),coloryellow;drawtextrel(220,100,'级: '),coloryellow;partline(2,"dmi-ql.pdi" > "dmi-ql.mdi",rgb(0,200,0),"dmi-ql.mdi" > "dmi-ql.pdi",rgb(0,255,100)),linethick4;partline(2,"dmi-ql.pdi" > "dmi-ql.mdi" and "dmi-ql.adx" > "dmi-ql.adxr" and "dmi-ql.mdi" < 20,rgb(255,80,120)),linethick4;}a4:=(ma(c,3) + ma(c,6) + ma(c,12) + ma(c,24)) / 4;a5:=a4 + 3 * std(a4,10);a6:=ema(hhv(c,21),21);stickline(filter(cross(ema(c,3),a6) and c > a5 and ma(c,5) > ma(c,10),13),1.5,0,1,0),colormagenta;drawtext(filter(cross(ema(c,3),a6) and c > a5 and ma(c,5) > ma(c,10),13),0.2,'小黑马↗'),linethick1,coloryellow;{drawflagtext(cross(龙头启动,2),2,'龙头启动'),colorwhite;}drawtext(filter(cross(龙头启动,2) and ffd > 1.9,5),6,'龙'),coloryellow;drawtext(filter(cross(龙头启动,2) and ffd > 1.9,5),4,'头'),coloryellow;drawtext(filter(cross(龙头启动,2) and ffd > 1.9,5),1.5,'股'),coloryellow; 20210311