通达信游资建仓主图指标公式、MACD风云指标公式、金股低吸公式!

看来大家真的是喜欢用指标选股,今天我在发两个指标,明天给大家来一点选股器,我自己觉得挺好用的,我懒得时候也会去用的。多的就不说了,直接上干货!
第一、通达信游资建仓主图指标公式
aa:=cross(ma(c,5),ma(c,20)) and cross(ma(c,5),ma(c,30)) and cross(ma(c,5),ma(c,60));
bbb:=ma(c,60)>ma(c,10) and cross(ma(c,10),ma(c,30)) and ma(c,30)>ma(c,20) and abs(ma(c,60)-ma(c,20))/ma(c,20)
ccc:=ma(c,30)>ma(c,5) and cross(ma(c,5),ma(c,20)) and ma(c,20)>ma(c,10);
dd:=abs((ma(c,5)-ma(c,10))+(ma(c,10)-ma(c,20))+(ma(c,20)-ma(c,30)))ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1);
ee:=ma(c,20)>ma(c,5) and cross(ma(c,5),ma(c,10)) and ma(c,10)>ma(c,60) and abs(ma(c,20)-ma(c,60))/ma(c,60)
ff:=aa or bbb or ccc or dd or ee ;
探测:=ff and filter( ff,8);
drawtext(探测,l*0.958,'●(buy)'),colorred;
stickline(探测,h,l,0.3,0),colorred;
stickline(探测,o,c,5,0),linethick2,colorred;
aa1:=amount/vol;
bb1:=lcc1:=(c-ref(c,1))/ref(c,1)*100>1.2;dd1:=lee1:=volff1:=bb1 and cc1 and dd1 and ee1 ,colorred,linethick0;drawtext(ff1,l*0.99,'●(潜伏)'),coloryellow;stickline(ff1,h,l,0.3,0),coloryellow;stickline(ff1,o,c,5,0),linethick2,coloryellow;drawtext(cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),high*1.02,'●警'),colorgreen;n:=5;e:=(high+low+open+2*close)/5;aaa:=2*e-low,nodraw;ab:=2*e-high,nodraw;acc:=e+(high-low),nodraw;add:=e-(high-low),nodraw;今阻力:ref(aaa,1),colorwhite,nodraw;今支撑:ref(ab,1),coloryellow,nodraw;明阻力:aaa,colorcyan,nodraw;明支撑:ab,colormagenta,nodraw;明突破:acc,colorgreen,nodraw;明反转:add,colorlicyan,nodraw;{压力+支撑}压力:ma(ref(hhv(c,30),1),2),colorblack;支撑:ma(ref(llv(c,30),1),2),colorblack;mid:=(3*close+low+open+high)/6;牛线:(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16*ref(mid,4)+15*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)+2*ref(mid,18)+ref(mid,20))/210,colorred;马线:ma(牛线,6),colorgreen;maa5:ma(c,5),colorff00ff,linethick2;a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;a4:=sma(a3,3,1);a5:=sma(a4,3,1);a6:=3*a4-2*a5;a7:=c-ref(c,1);a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);买:=llv(a8,2)=llv(a8,7) and count(a8stickline(买,open,close,2,0),coloryellow;lc:=ref(close,1);rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);ff2:=ema(close,3);ma15:=ema(close,21);日:=150;昨前:=3;高1:=ref(hhv(h,日),昨前);低1:=ref(llv(l,日),昨前);h1:=高1-(高1-低1)*0.191;h2:=高1-(高1-低1)*0.382;h3:=高1-(高1-低1)*0.5;h4:=高1-(高1-低1)*0.618;h5:=高1-(高1-低1)*0.809;顶:refdate(高1,date),colorred;一0.809:refdate(h1,date),coloryellow;二0.618:refdate(h2,date),colormagenta;三0.500:refdate(h3,date),colorwhite;四0.382:refdate(h4,date),colorgreen;五0.191:refdate(h5,date),coloryellow;低:refdate(低1,date),colorred;第二、macd风云指标公式
n:=12;n1:=26;m:=9;diff:ema(close,12)-ema(close,26);dea:ema(diff,9);macd:2*(diff-dea),nodraw;连续走强:barslastcount(macd>ref(macd,1) and macd>0),nodraw,color0030ff,;{天}强势回调:barslastcount(macd0),nodraw,color0030ff,;{天}连续走弱:barslastcount(macd连续反弹:barslastcount(macd>ref(macd,1) and macdstickline(macd>=0,macd,0,4,1),colorf00ff0;stickline(macdstickline(macd0,0,macd,4,0 ),color00aaff;stickline(macd0,0,macd,3.3,0 ),color00bbff;stickline(macd0,0,macd,2.2,0 ),color00ccff;stickline(macd0,0,macd,1.65,0 ),color00ddff;stickline(macd0,0,macd,1.1,0 ),color00eeff;stickline(macd0,0,macd,0.55,0 ),color00ffff;stickline(macd>=ref(macd,1)and macd>0,0,macd,4 ,0 ),color0000aa;stickline(macd>=ref(macd,1)and macd>0,0,macd,3.3 ,0 ),color0011bb;stickline(macd>=ref(macd,1)and macd>0,0,macd,2.2,0 ),color0022cc;stickline(macd>=ref(macd,1)and macd>0,0,macd,1.65 ,0 ),color0033dd;stickline(macd>=ref(macd,1)and macd>0,0,macd,1.1 ,0 ),color0044ee;stickline(macd>=ref(macd,1)and macd>0,0,macd,0.55 ,0 ),color0055ff;stickline(macd>ref(macd,1)and macdstickline(macd>ref(macd,1)and macdstickline(macd>ref(macd,1)and macdstickline(macd>ref(macd,1)and macdstickline(macd>ref(macd,1)and macdstickline(macd>ref(macd,1)and macdstickline(macdstickline(macdstickline(macdstickline(macdstickline(macdstickline(macdif(diffif(diffif(diffif(diff>dea,dea,dea),colorblue,linethick1;低位金叉:=cross(diff,dea) and diffstickline(低位金叉,0,-0.10,3,0),coloryellow;drawtext(低位金叉,-0.05,' 低位金叉'),coloryellow;jccount:=count(cross(diff,dea),barslast(dea>=0));二次金叉:=cross(diff,dea) and deastickline(二次金叉,0,-0.10,3,0),colorff00ff;drawicon(二次金叉,dea*1.04,13) ;drawtext(二次金叉,-0.08,' 二次金叉'),colorff00ff;a1:=barslast(ref(cross(diff,dea),1));底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);stickline(底背离,0,0.13,3,0),colorred;drawtext(底背离,dea,' 底背离'),colorred;a2:=barslast(ref(cross(dea,diff),1));顶背离:=ref(close,a2+1)diff and cross(dea,diff);drawtext(顶背离,dea,' 顶背离'),colorgreen;a11:=diffa22:=a11>ref(a11,1);a3:=barslast(a22);a4:=count(dea>0 and diff>0,a3)=0;a5:=cross(diff,dea);{金叉}a6:=barslast(a5);a7:=ref(a6,a6+1)+a6;a8:=(diff+dea)/2;a9:=(high+low)/2;a110:=a5 and a7ref(a8,a7) and a90;drawtext(a110,diff*0.95,'★金叉介入'),coloryellow;第三、金股低吸指标公式
多方趋势:((7)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1))-(3)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1))-sma(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(30),4,1),3,1),2,1)),color0000ff;空方趋势:(ema(ma(多方趋势,5),7)),colorf0f000;{www.buyhaogu.com}stickline((多方趋势>78) and (多方趋势>=空方趋势),78,多方趋势,5,1),color00ff00;stickline((空方趋势stickline((空方趋势>多方趋势),多方趋势,空方趋势,3,0),colorf0f000;stickline((空方趋势多方趋势),多方趋势,20,3,0),color00ffff;tj:=filter((空方趋势多方趋势),6);drawtext(tj,40,'吸'),colorffffff;探测金矿:(空方趋势选金股:cross(多方趋势,空方趋势) and (空方趋势drawtext(cross(多方趋势,空方趋势) and (空方趋势中间线:50,colorffffff,pointdot;以上就是我要分享的所有东西,我这里还有一些公式,但是不知道大家到底喜欢那种,有需要的可以在评论区写下你的想法,看到后我会及时回复!希望大家股市长红!