1、多种指标源码波段极品趋势:SMA(CLOSE-LLV(LOW,28)/(HHV(HIGH,28)-LLV(LOW,28)*100),3,1),COLORYELLOW;DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50);转强:IF(趋势50,趋势,DRAWNULL),COLORRED;转弱:IF(趋势D AND CCI0 AND DIFFDEA AND MACD0,1,0);STICKLINE(转点=1,50,50,2,0),COLORYELLOW;STICKLINE(转点=0,50,50,2,0),COLORCYAN;STICKLINE(C,90,90,1,
2、0),COLORYELLOW;STICKLINE(C,10,10,1,0),COLORCYAN;判断:SMA(趋势,3,1),COLORYELLOW;IF(判断50 AND 趋势判断,判断,DRAWNULL ),COLORYELLOW,LINETHICK2;IF(判断判断,判断,DRAWNULL),COLORFF00FF;IF(判断50 AND 趋势判断,判断,DRAWNULL),COLORGREEN,LINETHICK2;风险区:80,COLORFF85FF,POINTDOT;安全区:20,COLORYELLOW,POINTDOT;顶部:90,COLORFFFF00;强弱线:50,COLOR
3、GREEN,POINTDOT;DRAWICON(CROSS(趋势,判断) AND 趋势45,VAR6-45,0),COLOR00FFFF;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW100,100,VAR8Q);STICKL
4、INE(火焰山0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;STICKLINE(火焰山0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;STICKLINE(火焰山0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000033;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000077;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000B
5、B;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR003300;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR007700;STICKLINE(REF(趋势1,1) 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00; 逃顶:=CROSS(82,RSI);STICKLINE( 逃顶,逃顶,20,3,0),COLORFF5500;STICKLINE( 逃顶,逃顶,30,2,0),COLORFF8800;STICKLINE( 逃顶,逃顶,30,1,0),COLORF
6、FAA00;STICKLINE( 逃顶,逃顶,30,0.5,0),COLORFFCC00;D1:=(C+L+H)/3; D2:=EMA(D1,6); D3:=EMA(D2,5);BBUY:=CROSS(D2,D3);DRAWICON(BBUY,10,1);DRAWTEXT(CURRBARSCOUNT=129,50,【金盾股票园 WWW.XU5188.COM】),COLOR889999;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1),6,1)*100;DRAWICON(CROSS(82,VARR1),10,2);DRAWT
7、EXT(CROSS(82,VARR1),35,减),COLORYELLOW;神奇线选股:(CROSS(趋势,判断) AND 趋势MA20;Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90);Y3:=Y2 AND CROSS(MA20,MA90);DRAWICON(Y3,L-0.10,1);DRAWTEXT(Y3,L-0.40,双跨越),COLORMAGENTA;F0:=BARSLAST(CROSS(MA(C,5),MA(C,90);F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90);F2:=F1 AND CROSS(MA(C,5),MA(
8、C,20) AND MA(C,20)MA(C,90);DRAWICON(F2,L-0.10,1);DRAWTEXT(F2,L-0.40,双蹄奋起);MA51:=MA(C,5);MA10:=MA(C,10);MA201:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);FA:=BARSLAST(CROSS(MA10,MA51) AND CROSS(MA51,MA10);FB:=FA AND MA51MA30 AND MA10MA30 AND MA10REF(MA10,1);STICKLINE(FB,L,L-0.09,1,0),COL
9、ORYELLOW;DRAWTEXT(FB,L-0.13,雄起),COLORYELLOW;黄金线 同花顺股市黄金线input:N(1,110,15); 生命线:98,linethick1,coloryellow; 生命禁区:95,linethick1,colorred; 股价泥潭:20,linethick1,colorblue; 生死线:50,linethick2,colorwhite; C0:=(H+L+C)/3; a1:=HHV(C0,n); a2:=LLV(C0,n); a3:=a1-a2; a4:=EMA(C0-a2)/a3,2)*100; b1:=HHV(C0,4*n); b2:=LL
10、V(C0,4*n); b3:=b1-b2; b4:=EMA(C0-b2)/b3,2)*100; C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2; C4:=EMA(C0-C2)/C3,2)*100; 短期:a4,colorgreen,linethick1; 中期:b4,coloryellow,linethick2; 长期:C4,colorred,linethick3; DRAWICON(CROSS(生命禁区,短期) AND REF(短期,1)短期,短期*1.1,11); DRAWTEXT(CROSS(生命禁区,短期) AND REF(短期,1)短期,短期*
11、1.1,卖), colorcyan; DRAWICON(CROSS(生命线,短期) AND REF(短期,1)短期,短期*1.2,12); DRAWTEXT(CROSS(生命线,短期) AND REF(短期,1)短期,短期*1.2,卖), colorcyan; DRAWTEXT(CROSS(短期,生命禁区),85,警惕! ),colorwhite; DRAWTEXT(CROSS(中期,生命禁区),95,减磅),ColorFF6800; DRAWTEXT(CROSS(长期,生命禁区),100,出局),colormagenta; DRAWICON(CROSS(短期,生命禁区),85,4); DRA
12、WICON(CROSS(中期,生命禁区),95,8); DRAWICON(CROSS(长期,生命禁区),100,3);使用阐明:1、红色长期线在上,黄色生命线在中,绿色短期线在下往上穿,不能买。2、红色长期线在上,绿色短期线向上突破黄色生命线,不能买。极容易再次套牢。3、红色旳长期在顶部区域,黄色生命线也在近顶部,绿色短期线下跌没有到了底部,就直接在生死线以上回去与顶部旳其他线粘合。这个期间,其实风险很大,极有也许你今天买入,明天就放量下降。因此宁可不要冒这个风险。4、三线在底部粘合一段时间,时间越长越安全。 等三线向上发散了,再结合其他指标,就可以买入了。5、绿在底部上穿红线,黄线站稳生死线
13、。是又一次介入旳最佳时机。这个指标就是抓大黑马旳改良版,这个第二种状况就是抓大黑马。6、绿线下穿生死线减仓。黄线下穿生死线清仓。此公式来自于: 同花顺社区 公式交流 风之行208 来自浙江省嘉兴市进场出场 同花顺逢高出场和逢低进场指标主力资金:EMA(100*(C-LLV(LOW,34)/(HHV(H,34)-LLV(LOW,34),3), COLORRED,LINETHICK2;即将爆发线: 65,COLOR00FF00;爆发线:80,COLORWHITE,LINETHICK1;DRAWTEXT(CROSS(主力资金,爆发线),主力资金,爆发!) ,COLORYELLOW;爆发警戒线: 50
14、,COLOR00FF00;抄底线:20,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(主力资金,抄底线),主力资金,抄底) ,COLORWHITE;DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,加仓) ,COLORWHITE;DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,加仓) ,COLORWHITE;DRAWTEXT(CROSS(爆发线,主力资金),爆发线,空仓) ,COLORWHITE;LC:= REF(C,1);F1:=ZIG(3,15);方向:IF(F1 REF(F1,1),5,105),COLOR00FF00,LINET
15、HICK2;DRAWTEXT(CROSS(抄底线,方向),抄底线,逢低进场!) ,COLORRED;DRAWTEXT(CROSS(方向,抄底线),方向+20,逢高出场!) ,COLORWHITE;具体用法:主力资金在50如下时可以逢低开始逐渐建仓,当主力资金冲上50,也就是爆发警戒线时,就阐明该股很有也许开始转强,当主力资金冲上爆发警戒线时就要考虑加仓,当主力资金冲上80,也就是爆发线时就告诉你该股开始主升浪了,只要主力资金不下80就始终持股,直到有将来旳方向提示逢高出场时就要准备抛货了!跟主力走 同花顺跟着主力走极品指标DRAWGBK(DATE900101,STRIP(RGB(100,0,0
16、),RGB(30,30,0),1);Var1:=EMA(HHV(HIGH,500),21);Var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3);Var5:=LLV(LOW,30);Var6:=HHV(Var4,30);Var7:=IF(MA(CLOSE,58),1,0);Var8:=EMA(IF(LOW100,100,Var8);VarA:=EMA(Var7*3+Var8*2+Var9)/6*1.738,21);
17、VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35=150 AND V6=150 AND V7200,10,0);V9:=IF(V6-200 AND V7-200,-10,V8);VA:=(C-MA(C,13)/MA(C,13)*100;VB:=100-ABS(VA);VE:=REF(L,1)*0.9;VF:=L*0.9;V10:=(VF*V+VE*(CAPITAL-V)/CAPITAL;V11:=EMA(V10,30);V12:=V11-C;V13
18、:=REF(C,1);V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;V16:=BARSCOUNT(C);V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1),6,1)*100;V18:=(-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60)+50)*2;V19:=(C-LLV(L,15)/(HHV(H,15)-LLV(L,15)*100;V1A:=(SMA(V
19、19,4,1)-50)*2;V1B:=SMA(V1A,3,1);V1C:=(INDEXC-LLV(INDEXL,14)/(HHV(INDEXH,14)-LLV(INDEXL,14)*100;V1D:=SMA(V1C,4,1);V1E:=SMA(V1D,3,1);V1F:=(HHV(H,30)-C)/C*100;V20:=IF(V17=25 AND V1820 AND V1B-30 AND V1E=-0.25 AND V1422 AND V1550,80,0);准备拉升: EMA(IF(LOW0,准备拉升,0),STICK,linethick2, COLOR0000ff;今量: 准备拉升;A1:
20、IF(准备拉升0,今量*1.2,0),STICK,linethick5, COLOR0000ff;A2:IF(准备拉升0,今量*0.8,0),STICK,linethick5, COLOR0066ff;A3:IF(准备拉升0,今量*0.6,0),STICK,linethick5, COLOR0099ff;A4:IF(准备拉升0,今量*0.4,0) ,STICK,linethick5,COLOR00ccff;A5:IF(准备拉升0,今量*0.2,0) ,STICK,linethick5,COLOR00ffff;先知: (CLOSE-MA(CLOSE,25)/MA(CLOSE,25)*100, ,
21、 colorff00ff;SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1)/REF(CLOSE,1)-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)0,colorwhite,LINETHICK1;主力SK1:EMA(100*(C-LLV(LOW,34)/(HHV(H,34)-LLV(LOW,34),3), colormagenta,linethick2;均量SD1:EMA(100*(INDEXC-LLV(INDEXL,34)/(HHV(INDEXH,34)-LLV(INDE
22、XL,34),3),colorgreen,linethick2;生命线:85,linethick1,coloryellow;生命禁区:75,linethick1,colorred;预警系统: (IF(V7=200 AND V6=150) OR CROSS(65,主力SK1),15,IF(V7=-200AND V660 AND 预警系统85 AND 生命线=95;T4:=主力SK148 AND 预警系统85 AND 生命线95;T5:=均量SD1-38 AND 预警系统50 AND 生命线REF(V4,1) AND VREF(V,1) AND CREF(C,1);DRAWTEXT(CROSS(主
23、力SK1,生命禁区),60,警惕! ),colorcyan;DRAWTEXT(CROSS(主力SK1,生命禁区),85,减磅),ColorFF6800;DRAWTEXT(CROSS(主力SK1,生命禁区),75,注意.SK1向上持有.向下立即卖出),colorblue ;DRAWTEXT(T2 AND COUNT(T2,30)=1,55,下降通道!),COLOR00FFFF;DRAWTEXT(T3 AND COUNT(T3,30)=1,55,上涨过急!),COLOR00FFFF;DRAWTEXT(T4 AND COUNT(T4,30)=1,75,庄家出货!),COLOR00FFFF;DRAWT
24、EXT(T5 AND COUNT(T5,30)=1,50,有小反弹!),COLOR00FFFF;DRAWTEXT(T6 AND COUNT(T6,30)=1,30,抢反弹!),COLOR00FFFF;DRAWTEXT(T7 AND COUNT(T7,30)=1,30,资金进场!),COLOR00FFFF; DRAWGBK(DATE900101,STRIP(RGB(100,0,0),RGB(30,30,0),1);AA1:=AMOUNT/V;BB1:=L1.2;DD1:=LMA(C,5)*0.921;EE1:=VMA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND E
25、E1;DRAWTEXT(FF1,(LOW* 0.99),老鼠仓),COLOR4080FF;主力控盘 同花顺主力控盘VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1)/REF(VAR1,1)*1000;STICKLINE(控盘0,控盘,0,1,0),colorwhite;A10:=CROSS(控盘,0);无庄控盘:IF(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),colorred;有庄控盘:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),colorred,NODRAW;VAR2:=100*WINNER(CLOSE*0.95);
26、STICKLINE(VAR250 AND COST(85)0,控盘,0,1,0),COLORFF00FF;高度控盘:IF(VAR250 AND COST(85)0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘0,控盘,0),COLOR00FF00,NODRAW;VAR3:=AMOUNT/VOL/7;VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR7:=REF(LOW+OPEN+CLOSE+HIGH)/4,1);VAR8:=SMA(ABS(LOW-VAR7),13,1)/S
27、MA(MAX(LOW-VAR7,0),10,1);VAR9:=EMA(VAR8,10);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOWREF(VAR11,1),VAR11,0),colorred,NODRAW;STICKLINE(VAR11REF(VAR11,1),0,VAR11,1,0 ),colorred;洗盘:IF(VAR11REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW;STICKLINE(VAR11100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA(VAR6-VAR8)/(VAR11
28、-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1)/INDEXC,8,1)*100-25;VAR15:=MA(Var14,3);VAR16:=REF(VAR15,1);STICKLINE(VAR12-VAR130,VAR12,VAR13,8,0),colorred;STICKLINE(VAR12-VAR1360,90,100,10,0),COLOR00ff00;绿灯亮卖:0,
29、color00ff00;/www.gUPaN 股旁网_同花顺股票指标公式STICKLINE(CROSS(VAR12,VAR13) AND VAR12VAR13 AND VAR1218,10,0,10,0),colorred;红灯亮买:0,colorred;Var21:=INDEXC;Var22:=MA(Var21,6);Var23:=MA(Var21,24);Var24:=MA(Var21,32);Var25:=MA(Var21,62);Var26:=MA(Var21,105);Var27:=Var25REF(Var25,1) AND Var26REF(Var26,1) AND Var25Va
30、r22*1.11 AND Var23Var22*1.095;Var29:=Var22Var21*0.95;抄底一:= Var27 AND Var28 AND Var29 AND CLOSE/COST(8)=0.8 AND CLOSEOPEN;STICKLINE(抄底一,40,60,1,1),colorff00ff;Var2A:=CLOSE/MA(CLOSE,40)*10078;Var2B:=CLOSE/MA(CLOSE,60)*100LOW*1.051;Var2D:=Var2C AND COUNT(Var2C,5)1;Var2E:=Var2D AND (Var2A OR Var2B);Var2
31、F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var30:=(CLOSE-Var2F)/Var2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Var31:=(CLOSE-REF(CLOSE,5)/CLOSE*100-9;Var32:=WINNER(CLOSE);Var33:=EMA(INDEXC-MA(INDEXC,10)/INDEXC*100,14)-4.9;Var34:=(MA(VOL,5)-VOL)/CAPITAL*1000.8;Var35:=(VOL-MA(VOL,21)/VOL*100;抄底二:= Var33 A
32、ND Var31 AND Var3218;STICKLINE(抄底二,40,60,3,1),coloryellow;Var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)/5;Var37:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)/5;Var38:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)/5;Var39:=(REF(CLOSE
33、,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)/5;Var3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9)/5;BIAS3:=(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100;抄底三:=(Var36/CLOSE1.112 OR Var37/CLOSE1.123 OR Var38/CLOSE1.135 OR Var39/CLOSE1.145 OR Var3A/CLOSE1.156) AND BIAS3=1.5 AND C
34、LOSEOPEN;DRAWTEXT(抄底三,40,注意),color0099ff;Var3B:=(CLOSE-MA(CLOSE,40)/MA(CLOSE,40)*100;抄底四:= FILTER(IF(CROSS(Var3B,-28),1,0),8);STICKLINE(CROSS(Var3B,-28),40,50,8,1),colorwhite;Var3C:=DMA(EMA(CLOSE,13),SUM(VOL,5)/2/CAPITAL);Var3D:=(CLOSE-Var3C)/Var3C*100;抄底五:= REF(Var3D,1)REF(Var3D,1) AND REF(Var3D,1)
35、2.5;STICKLINE(抄底五,20,30,8,1),colorffcc66;Var3E:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);抄底六:= CLOSEOPEN*1.06 AND Var3E10;STICKLINE(抄底六,10,20,8,1),colorblue;此公式来自于: 同花顺社区 公式交流 风之行208 来自浙江省嘉兴市锁仓筹码(通达信导航家之主力筹码+散户筹码+锁仓筹码指标)主力持仓:EMA(100*(CLOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34),3),CO
36、LORFF00FF,LINETHICK2;指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34)/(HHV(INDEXH,34)-LLV(INDEXL,34),3),COLORFFAA66,LINETHICK3;强弱分界: 80,COLORYELLOW;主力筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9)*100 ,COLORGREEN,LINETHICK2;峰谷买卖 通达信峰谷买卖指标(据此操底逃顶)AA:=LLV(LOW,34);BB:=HHV(HIGH,30);DD:=(EMA(CLOSE-AA)/(BB-AA)*(4),4)*(25);谷:=(DD-LLV(DD,21)/(HHV(DD,21)-LLV(DD,21)*(4)*(25);VAR1:=(CLOSE-LLV(LOW,36)/(HHV(HIGH,36)-LLV(LOW,36)*100;V