super琳zl_
2024-11-16 09:26:36
最佳回答
赢在龙头**全部指标源码 通达信可用 本文来自:理想论坛 作者:帮帮3388 浏览11064次 -------------------------------------------------------------------------------- 原文:http:///viewthread.php?tid=3181131 {多空天地线} var2:=485; var3:=222; var4:=96; var5:=ma(hhv(high,var2),17); v**:=ma(hhv(high,var3),17); var7:=ma(hhv(high,var4),17); var8:=ma(llv(low,var2),17); var9:=ma(llv(low,var3),17); vara:=ma(llv(low,var4),17); varb:=ma((var8*0.96+var9*0.96+vara*0.96+var5*0.558+v***0.558+var7*0.558)/6,17); varc:=ma((var8*1.25+var9*1.23+vara*1.2+var5*0.55+v***0.55+var7*0.65)/6,17); vard:=ma((var8*1.3+var9*1.3+vara*1.3+var5*0.68+v***0.68+var7*0.68)/6,17); vare:=ma((varb*3+varc*2+vard)/6*1.738,17); varf:=ma((varb*2.38+varc*2.18+vard*1.85+var5*1.05)/4,17); var10:=ma((vard+vare)*0.5,17); 满仓: varb; 半仓: varc; 低吸: vard; **: var10; 高抛: vare; 出货: varf; {交易机器人} h1:ema(c,8); h2:ema(h1,20); var1:=(hhv(h,36)-c)/(hhv(h,36)-llv(l,36))*100; var2:=sma(var1,5,1); var3:=sma(var2,8,1); var4:=cross(var2,var3) and var3< 20; var5:=c>llv(c,60)*1.13 and var4; v**:=if(c>200,var4,var5); stickline(h1>h2,h1,h2,0,1),colorred; stickline(h1< h2,h1,h2,0,1),colorgreen; {波段魔线} 阻力:close*1.17 linethick1 colorwhite; 强阻力:close*1.2 linethick1 coloryellow; {资金趋势} 均价:=(h+l+o+c)/4; 分水岭:ma(3*均价-2*sma(均价,2,1),12)linethick; 做多趋势:if(均价>分水岭,均价,分水岭),coloryellow; 支撑:reverse(做多趋势)+2*分水岭,colormagenta; 下跌:if(均价<分水岭,均价,分水岭),colorgray; b:=(2*ema(llv(均价,7),10)-均价); 做空趋势:(3*b-2*sma(b,10,1)),colorgreen,linethick2; 阻力:=reverse(下跌)+2*分水岭; {波段赢家} 获利了结:ema(ema(ema(high,5),5),5)*1.15,colorffffff,linethick1; 风险: ema(ema(ema(high,5),5),5)*1.1,coloryellow; 回档: ema(ema(ema(high,5),5),5)*1.05,color00ff00; 平衡: ema(ema(ema(high,5),5),5),colorff00ff,linethick1; 反弹: ema(ema(ema(high,5),5),5)*0.95,colorgray,linethick1; 超跌: ema(ema(ema(high,5),5),5)*0.9,colorblue,linethick1; {博弈资金} a:=v*100/capital; 主力:ma(a,4),coloryellow,pointdot; 游资:ma(a,9),colorgreen,pointdot; 大户:ma(a,17),colorred,pointdot; 散户:ma(a,34),colorf2e9e7,pointdot; 关注线:ma(a,180),colorff00ff,linethick2; stickline(主力>0,0,主力,2,0),coloryellow; stickline(游资>0,0,游资,2,0),colorgreen; stickline(大户>0,0,大户,2,0),colorred; stickline(散户>0,0,散户,2,0),colorf2e9e7; {多空对比} 短期:100*(c-llv(l,5))/(hhv(c,5)-llv(l,5)),colorwhite; 中期:100*(c-llv(l,10))/(hhv(c,10)-llv(l,10)),coloryellow; 中长期:100*(c-llv(l,20))/(hhv(c,20)-llv(l,20)),colormagenta; 长期:100*(c-llv(l,30))/(hhv(c,30)-llv(l,30)),colorred,linethick2; 20,pointdot; 50,pointdot; 80,pointdot; {个股资金进出} var1:=sma(amount,10,1)/1000000; var2:=ref(var1,1); var3:=ma(ref(close,1),5); 收盘:var1*close/var3*1/10,color009900,linethick0,pointdot; 开盘:var1*open/var3*1/10,pointdot,color009900,linethick0; 最高:var1*high/var3*1/10,pointdot,color009900,linethick0; 最低:var1*low/var3*1/10,pointdot,color009900,linethick0; 生命线:ema(收盘,12),colorwhite; 昨收盘:=ref(收盘,1),pointdot,color009900,linethick0; 涨跌:=(收盘-ref(收盘,1))/ref(收盘,1)*100,pointdot,color009900,linethick0; stickline(收盘>开盘,收盘,开盘,5,0),colorred; stickline(收盘>开盘,最高,max(收盘,开盘),0,1),colorred; stickline(收盘>开盘,min(收盘,开盘),最低,0,1),colorred; stickline(收盘<开盘,收盘,开盘,5,0),colorgreen; stickline(收盘<开盘,最高,max(收盘,开盘),0,1),colorgreen; stickline(收盘<开盘,min(收盘,开盘),最低,0,1),colorgreen; {股价定位图} 主力底仓:cost(9),colorwhite,linethick2; 建仓:cost(21),coloryellow,linethick2; 平衡:cost(36),colormagenta,linethick2; 中位:cost(67),colorgreen,linethick2; 拉高:cost(84),colorgray,linethick2; 高位:cost(94),colorblue,linethick2; stickline(c>=o,c,o,8,0),colorred; stickline(c>=o,h,l,0,0),colorred; stickline(c<=o,c,o,8,0),colorgreen; stickline(c<=o,h,l,0,0),colorgreen; {机构能量线} var1:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100; 机构做空能量线: sma(var1,3,1),linethick2,colorgreen; var2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; 机构做多能量线: sma(var2,5,1)-8,linethick2,colorred; {资金指数} 主流资金:ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3), colormagenta,linethick2; 非主流资金:ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3),colorgreen,linethick2; 20,pointdot,colorf00ff0; 50,pointdot,colorgreen; 80,pointdot,colorwhite; {主力操盘轨迹} rsv:=(close-llv(low,7))/(hhv(high,7)-llv(low,7))*100; y0:sma(rsv,3,1),colorred,linethick1; y1:sma(y0,3,1),coloryellow,linethick1; rsv1:=(close-llv(low,38))/(hhv(high,38)-llv(low,38))*100; y2:sma(rsv1,5,1),colormagenta,linethick2; y3:sma(y2,10,1),colorgreen,linethick2; 18,colorwhite; 85,colorblue; stickline(y0>y1,y0,y1,6,0),colorred; stickline(y0<=y1,y0,y1,6,0),coloryellow; stickline(y2>y3,y2,y3,6,0),colormagenta; stickline(y2<=y3,y2,y3,6,0),colorgreen; {动能运行轨迹(不太一样)} rsv:=(((close - llv(low,33)) / (hhv(high,33) - llv(low,33))) * 100); y0:sma(rsv,7,1); y1:sma(sma(rsv,7,1),3,1); y2:(((close/cost(13))<=0.8)*10),colormagenta; y3:sma(sma(sma(rsv,6,1),5,1),3,1),colorgreen; drawicon(cross(18,y0) and y1<21,10,1); 20,colorblue; 80,colorgray; {多空生命量能} 生命量能: ema(100*(close-llv(low,n))/(hhv(high,n)-llv(low,n)),k)/4,prec**ion2, stick,colorred; drawicon(生命量能>23.15,生命量能,12); drawicon(生命量能<1,5,1); 生命分水岭: 10; 强势: 21; 量能底限:生命量能<1,coloryellow; {波段至尊} 下轨:ma(close,20)+2*std(close,20),prec**ion2,colorred; 上轨:abs(ema((ema(下轨,6)+ema(下轨,12)+ema(下轨,24)+ema(下轨,48))/4,2)*1.055),prec**ion2,colorred; stickline(下轨>0,下轨,上轨,0.8,1),colorred 原文链接:http:///viewthread.php?tid=3181131 20210311