很幸福玩具屋
2024-11-16 14:56:39
最佳回答
{这是我用的同花顺‘粉进黄出’主图指标,不知是不是楼主想要的?}日均线5: ma(close,5),color00ffff;日均线10: ma(close,10),colorff00ff;boll**: ma(close,20),colorff0000;boll顶线: boll**+2*std(close,26),colorffff10;boll底线: boll**-2*std(close,26),colorffcc66;ma6:= ma(close,6);ma18:= ma(close,18);ma30:= ma(close,30);ma60:= ma(close,60);aaf:= llv(low,34);bbf:= ma(aaf,4);lc:= ref(close,1);rsi:= sma(max(close-lc,0),4.1,1)/sma(abs(close-lc),4.1,1)*100;drawicon(cross(84,rsi),high*1.03,5),color0000ff;drawicon(cross(rsi,11),low*0.99,4),color008000;var27:= ref(close,1);var28:= sma(max(close-var27,0),5.5,1)/sma(abs(close-var27),6,1)*100;drawicon(if(cross(76,var28),1,0),high*1.03,5),colorff0000;drawtext(filter(ema(close,60)-ema(close,12)>0 and ema(close,12)/low>1.15,5),low,'☆'),colorff00ff;vara:= amount/vol/100;varb:= (3*high+low+open+2*close)/7;varc:= sum(amount,7)/vara/100;vard:= dma(varb,vol/varc);vare:= (close-vard)/vard*100;varf:= (close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;varj:= ma(vare,20)+std(vare,20);bias18:= (close-ma(close,18))/ma(close,18)*100;aa:= sma(varf,3,1);ss:= ref(bias18,1)>=5 and cross(varj,vare) and aa>79;drawtext(ref(bias18,1)>=5 and cross(varj,vare) and aa>ss,high*1.02,'☆'),color008000;var1:= zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2);var2:= zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2);stickline(var1,close,open,8,0),color00ffff;stickline(var1,close,open,3,0),color00ffff;stickline(var1,high,low,1,0),color00ffff;stickline(var2,close,open,8,0),colorff00ff;stickline(var2,close,open,3,0),colorff00ff;stickline(var2,high,low,1,0),colorff00ff;var2,linethick0,color0000ff;引用的,其实我也在用同花顺,不过技术没你这么高了。还要用到指标源码了,是工具里面的? 20210311