分享大家一个大智慧附图摆动指标~ 顶底判断 副图源码 附测试图
svar0:=ma(close,20) ; svar1:=svar0 + 2 * std(close,20) ; svar2:=svar0 - 2 * std(close,20) ; svar3:=(close - svar2) / (svar1 - svar2) * 100 ; svar4:=(high - svar2) / (svar1 - svar2) * 100 ; svar5:=(low - svar2) / (svar1 - svar2) * 100 ; 底部:0,colorff0000 ; 强弱:50,pointdot,color00ffff ; 顶部:100,colorff0000 ; f1:svar5 ; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),0,0),color00ff00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),8,0),color008800; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),7,0),color009900; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),6,0),color00aa00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),5,0),color00bb00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),4,0),color00cc00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),3,0),color00dd00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),2,0),color00ee00; stickline(ref(svar3,1) >= svar3,svar3,ref(svar3,1),1,0),color00ff00; stickline(ref(svar3,1) >= svar3,svar4,svar5,1,0),color00ff00; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),0,0),colorffbbff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),8,0),colorff00ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),7,0),colorff22ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),6,0),colorff44ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),5,0),colorff66ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),4,0),colorff88ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),3,0),colorff99ff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),2,0),colorffaaff; stickline(svar3 >= ref(svar3,1),svar3,ref(svar3,1),1,0),colorffbbff; stickline(svar3 >= ref(svar3,1),svar4,svar5,1,0),colorffbbff; svar6:=llv(low,12) ; svar7:=hhv(high,12) ; svar8:=ema((close - svar6) / (svar7 - svar6) * 100,3) ; svar9:=ema(svar8,3) ; svar10:=ma(svar9,3) ; svar11:=3 * svar9 - 2 * svar10 ; svar16:=llv(low,45) ; svar17:=hhv(high,45) ; svar18:=(close - svar16) / (svar17 - svar16) * 100 ; svar19:=sma(svar18,3,1) ; svar20:=sma(svar19,3,1) ; svar21:=3 * svar19 - 2 * svar20 ; svar22:=sma(svar21,3,1) ; svar23:=sma(svar22,3,1) ; drawicon(svar19 <= 10 and cross(svar19,svar20),5,1); drawicon(svar19 >= 90 and cross(svar20,svar19),95,2); svar24:=sma(3 * sma((close - llv(low,30)) / (hhv(high,30) - llv(low,30)) * 100,5,1) - 2 * sma(sma((close - llv(low,30)) / (hhv(high,30) - llv(low,30)) * 100,5,1),3,1),3,1) ; drawgbk(svar24 >= 90,strip( rgb(80,0,80),rgb(80,0,80),2)); drawgbk(svar24 <= 10,strip( rgb(0,80,80),rgb(0,80,80),2)); svar25:=1 ; svar26:=ma(100 * (close - llv(close,34)) / (hhv(high,34) - llv(low,34)),5) - 20 ; svar27:=2 * abs(svar26) ; svar28:=100 - (100 - 3 * sma((close - llv(low,55)) / (hhv(high,55) - llv(low,55)) * 100,20,1) + 2 * sma(sma((close - llv(low,55)) / (hhv(high,55) - llv(low,55)) * 100,20,1),15,1)) ; svar29:=100 - (100 - 3 * sma((open - llv(low,55)) / (hhv(high,55) - llv(low,55)) * 100,20,1) + 2 * sma(sma((open - llv(low,55)) / (hhv(high,55) - llv(low,55)) * 100,20,1),15,1)) ; svar30:=(high + low + close) / 3 ; svar31:=(svar30 - ma(svar30,10)) / (0.015 * avedev(svar30,10)) ; svar32:=(svar30 - ma(svar30,30)) / (0.015 * avedev(svar30,30)) ; svar33:=if(svar31 >= 150 and svar31 < 200 and svar32 >= 150 and svar32 < 200,10,0) ; svar34:=if(svar31 <= 0 - 150 and svar31 > 0 - 200 and svar32 <= 0 - 150 and svar32 > 0 - 200,0 - 10,svar33) * svar25 ; svar35:=(close - ma(close,13)) / ma(close,13) * 100 ; svar36:=100 - abs(svar35) ; svar37:=3 * sma((indexc - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55)) * 100,20,1) - 2 * sma(sma((indexc - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55)) * 100,20,1),15,1) ; svar38:=3 * sma((indexo - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55)) * 100,20,1) - 2 * sma(sma((indexo - llv(indexl,55)) / (hhv(indexh,55) - llv(indexl,55)) * 100,20,1),15,1) ; svar39:=ref(low,1) * 0.9 ; svar40:=low * 0.9 ; svar41:=(svar40 * vol + svar39 * (capital - vol)) / capital ; svar42:=ema(svar41,30) ; svar43:=svar42 - close ; svar44:=ref(close,1) ; svar45:=sma(max(close - svar44,0),7,1) / sma(abs(close - svar44),7,1) * 100 ; svar46:=sma(max(close - svar44,0),13,1) / sma(abs(close - svar44),13,1) * 100 ; svar47:=barscount(close) ; svar48:=sma(max(close - svar44,0),6,1) / sma(abs(close - svar44),6,1) * 100 ; svar49:=((0 - 100) * (hhv(high,60) - close) / (hhv(high,60) - llv(low,60)) + 50) * 2 ; svar50:=(close - llv(low,15)) / (hhv(high,15) - llv(low,15)) * 100 ; svar51:=(sma(svar50,4,1) - 50) * 2 ; svar52:=sma(svar51,3,1) ; svar53:=(indexc - llv(indexl,14)) / (hhv(indexh,14) - llv(indexl,14)) * 100 ; svar54:=sma(svar53,4,1) ; svar55:=sma(svar54,3,1) ; svar56:=(hhv(high,30) - close) / close * 100 ; svar57:=if(svar48 <= 25 and svar49 < 0 - 95 and svar56 > 20 and svar52 < 0 - 30 and svar55 < 30 and svar43 >= 0 - 0.25 and svar45 < 22 and svar46 < 28 and svar47 > 50,80,0) * svar25 ; 空方:0 - if(svar26 < 0,svar27,0) * svar25,coloraaaaaa ; 0 - 40; svar58:=hhv(svar30,14) ; svar59:=llv(svar30,14) ; svar60:=svar58 - svar59 ; svar61:=ema((svar30 - svar59) / svar60,2) * 100 ; svar62:=hhv(svar30,30) ; svar63:=llv(svar30,30) ; svar64:=svar62 - svar63 ; svar65:=ema((svar30 - svar63) / svar64,2) * 100 ; svar66:=hhv(svar30,55) ; svar67:=llv(svar30,55) ; svar68:=svar66 - svar67 ; svar69:=ema((svar30 - svar67) / svar68,2) * 100 ; svar70:=svar61 - 50 ; svar71:=svar65 - 50 ; svar72:=svar69 - 50 ; drawicon(cross(svar58,0),0,4); svar73:=sma((close - llv(low,30)) / (hhv(high,30) - llv(low,30)) * 100,3,1) ; svar74:=sma(svar73,3,1) ; svar75:=ema(close,5) ; svar76:=sma(max(close - svar75,0),6,1) / sma(abs(close - svar75),6,1) * 100 ; svar77:=sma(max(close - svar75,0),3,1) / sma(abs(close - svar75),3,1) * 100 ; svar78:="kdj.d"(18,5,6) ; svar79:=(ma(amount,5) / ma(vol,5) / 100 - ma(amount,110) / ma(vol,110) / 100) / (ma(amount,5) / ma(vol,5) / 100) < 0 - 0.273 ; svar80:=(close - llv(low,9)) / (hhv(high,9) - llv(low,9)) * 100 ; svar81:=(close - ma(close,30)) / ma(close,30) < 0 - 0.125 ; svar82:=svar79 and svar81 ; svar83:=ema(winner(close) * 100,3) ; svar84:=ema(close,3) ; svar85:=sma(max(close - svar84,0),6,1) / sma(abs(close - svar84),6,1) * 100 ; svar86:=ma(svar85,10) ; 优化牛a:if(svar81 and svar85 < 3,0 - 40,0) * svar25,linethick2,color3399ff ; 优化牛b:if(svar81 and svar86 < 9,0 - 38,0) * svar25,linethick2,color3399ff ; 优化剑:filter(svar85 < 6 and svar82,35) * 1,stick,linethick2,colorff0000 ; drawicon(优化剑 > 0,1,1); 优化牛3:if(svar83 < 1.5 and svar86 < 21 and svar85 < 5.5,80,0) * svar25,linethick2,color3399ff ; svar87:=1050431 ; svar88:=if(date <= svar87,1,0) ; svar89:=ma(close,80) - ma(close,13) / 3 ; svar90:=ma((close - svar89) / svar89,1) ; svar91:=if(cross(svar90,0) and low / ref(high,1) < 1.012,0.5,0) ; svar92:=if((count(svar90 > ref(svar90,1),3) = 3) and (count(svar90 < 0,10) = 10) and (ref(svar90,3) = llv(svar90,10)),0.5,0) ; svar93:=if((ref(svar90,2) = llv(svar90,20)) and ref(svar90,2) < 0.071 and ref(svar90,2) < ref(svar90,1) and not(ref(low,1) > ref(high,2) and low > ref(high,1)) and close > svar44,0.5,0) ; svar94:=ema(svar90,12) * 0.7 ; svar95:=ema(svar90,3) ; 优化底部将成:if(llv(svar95 - svar94,5) > 0,0,0 - 40) * svar88,colorffcc66 ; svar12:=sma(svar11,3,1) ; svar13:=sma(svar12,3,1) ; svar14:=svar13 >= ref(svar13,1) ; svar15:=svar13 <= ref(svar13,1) ; svar12:=3 * svar73 - 2 * svar74 ; 优化动力线:ema(svar12,6) * svar25,linethick0,color00ffff ; 优化虎:if(优化动力线 < 15.5 and 空方 < 0 - 30 and svar78 < 35 and svar76 < 10 and svar77 < 6.5 and svar70 < 0 - 47 and svar71 < 0 - 47 and svar72 < 0 - 48.5,100,0),linethick2 ; 优化牛:if(空方 < 0 - 38 and 优化虎 > 0,100,0) * svar25,linethick2 ; partline(svar13,svar14,rgb(255,0,0),svar15,rgb(0,255,0)),layer0 ;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分享大家一个大智慧附图摆动指标~ 顶底判断 副图源码 附测试图公式下载 大智慧指标源码大智慧指标源码摆动仅供学习研究。