同花顺公式指标 1.最佳买卖点 均5:MA(CLOSE,5),colorwhite; 均10:MA(CLOSE,10),coloryellow; 均30:MA(CLOSE,30),colorgreen; 均60:MA(CLOSE,60),colorcgan; 均120:MA(CLOSE,120),colorgrag; 均240:MA(CLOSE,240),colorbrown; DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW, ▲买 DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH, ▼卖 2.资金入场监控器公式 Var1:=EMA(HHV(HIGH,500),21); Var2:=EMA(HHV(HIGH,250),21); Var3:=EMA(HHV(HIGH,90),21); Var4:=EMA(LLV(LOW,500),21); Var5:=EMA(LLV(LOW,250),21); Var6:=EMA(LLV(LOW,90),21); Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21); Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21); Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21); VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21); 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 =VarA,VarC*10,VarC/10),3); VarE:=LLV(LOW,30); VarF:=HHV(VarD,30); Var10:=IF(MA(CLOSE,58),1,0); 资金入场:EMA(IF(LOW =VarE,(VarD+VarF*2)/2,0),3)/618*Var10; 资金入场:IF(资金入场 0,资金入场,0),STICK,linethick2,COLOR0000ff; 今量:资金入场; a1: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; 3.抄底王 Var1:=(HHV(HIGH,5)-LLV(LOW,5)); Var2:=(HHV(HIGH,9)-CLOSE); Var3:=(CLOSE-LLV(LOW,9)); Var4:=Var2/Var1*100-70; Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var6:=(2*C+H+L)/4; Var7:=SMA((Var3/Var1*100),3,1); Var8:=LLV(LOW,34); Var9:=SMA(Var7,3,1)-SMA(Var4,9,1); Var10:=IF(Var9 100,Var9-100,0); VarA:=HHV(HIGH,34); 主力:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW, 27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),linethick2; 见底信号:10,linethick2,colorred; 买入准备:IF(主力 =10,50,10),linethick2; 买入时机:IF(CROSS(主力,见底信号),100,10),linethick2,coloryellow; 防线B:EMA((Var6-Var8)/(VarA-Var8)*100,8),COLOR3366ff; B1:EMA(防线B,5); 吃嘛嘛香:STICKLINE(防线B 0AND防线B-B1 0,13,4,2,0),colorred; 出击:STICKLINE(防线B-B1 0,防线B,B1,8,1),linethick2,colorred; 少妇多情:STICKLINE(防线B 0AND防线B-B1 =0,98,100,6,0),COLOR00FF00; 频约娇媚:STICKLINE(防线B 0AND防线B-B1 0,98,100,6,0),colorred; STICKLINE(防线B 0AND防线B-B1 =0,49,50,6,0),COLOR3366ff; STICKLINE(防线B 0AND防线B-B1 0,49,50,6,0),colorred; 照赚照赔:STICKLINE(防线B 0AND防线B-B1 =0,13,4,2,0),COLOR00FF00; 妙趣横生:STICKLINE(防线B-B1 0,防线B,B1,8,1),colorred 4.庄家抬轿公式 VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,POINTDOT; STICKLINE(控盘 0,控盘,0,2,0),colorwhite; 无庄控盘:控盘 0,colorwhite; STICKLINE(控盘 REF(控盘,1)AND控盘 0,控盘,0,2,1),colorred; 有庄控盘:控盘 REF(控盘,1)AND控盘 0,colorred; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(控盘0,控盘,0,2,0),COLOR00FF00; 主力出货:控盘0,COLOR00FF00; STICKLINE(VAR2 50ANDCOST(85)0,控盘,0,2,0),COLORFF00FF; 高度控盘:VAR2 50ANDCOST(85)0,COLORFF00FF; A10:=CROSS(控盘,0); 开始控盘:IF(A10,6,0),coloryellow; 5.福临先知 var1:=(CLOSE+HIGH+LOW+OPEN)/4; var2:=SUMBARS(VOL,CAPITAL); var3:=HHV(var1,var2); var4:=LLV(var1,var2); var5:=(2*var1-var4-REF(var4,1))/(var3-var4); var6:=(var1-var4)/(var3-var4); var7:=IF(var1 =var4,var5*60,var6*60); var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); var9:=EMA(var8,7); varA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; varB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; 波段买入:IF(varA+varB 7ANDCROSS(var8,var9)ANDvar9 -18ANDvar9 VARB,60,50),COLORYELLOW N BSP;, NBSP;; NBSP; DRAWICON(波段买入=60,70,1),colorred; varC:=HHV(HIGH,9)-LLV(LOW,9); varD:=HHV(HIGH,9)-CLOSE; varE:=CLOSE-LLV(LOW,9); varF:=varD/varC*100-70; var10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; var11:=(2*CLOSE+HIGH+LOW)/4; var12:=SMA(varE/varC*100,3,1); var13:=LLV(LOW,34); var14:=SMA(var12,3,1)-SMA(varF,9,1); var15:=IF(var14 100,var14-100,0); var16:=HHV(HIGH,34); var17:EMA((var11-var13)/(var16-var13)*100,8); 巫修全制:var17,coloryellow; var18:=EMA(var17,5); STICKLINE(var17 0ANDvar17-var18 =0,79,80,6,0),colorred; STICKLINE(var17 0ANDvar17-var18 0,79,80,6,1),color00ff00; STICKLINE(var17 0ANDvar17-var18 =0,19,20,6,0),colorred,; STICKLINE(var17 0ANDvar17-var18 0,19,20,6,1),color00ff00; STICKLINE(var17-var18 0,var17,var18,8,1),colorred; STICKLINE(var17-var18 0,var17,var18,8,1),color00ff00; var22:=REF(LOW,1); var23:=SMA(ABS(LOW-var22),3,1)/SMA(MAX(LOW-var22,0),3,1)*100; var24:=EMA(IF(CLOSE*1.3,var23*10,var23/10),3); var25:=LLV(LOW,30); var26:=HHV(var24,30); var27:=IF(MA(CLOSE,58),1,0); var28:=EMA(IF(LOW =var25,(var24+var26*2)/2,0),3)/618*var27; var29:=IF(var28 100,100,var28); STICKLINE(var29 -150,0,var29,3,0),colorff00ff; 底部吸筹指标:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,color00ff00; STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0),colorffffff; 先知:(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,colorff00ff; 可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0),colorffffff; vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; vark2:=REVERSE(vark1); vark3:=SMA(vark1,3,1); 波段王:=SMA(vark3,3,1),colorred,linethick2; 波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2; 趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LO W,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORff6666,linethick2; 卖出:IF((CROSS(波段鬼,波段王)ORCROSS(波段鬼,趋势线)ORCROSS(波段王,趋势线))AND波段鬼 65,90,0),STI CK,colorffff00,linethick3; RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV9,3,1); DK1:=K1-REF(K1,1),COLORSTICK; 出手就赢:IF(DK1 7ANDREF(DK1,1) 0AND(DK1-REF(DK1,1)) 9,50,0),STICK,coloryellow; DRAWICON(出手就赢 0,50,1); 买点准备:IF(趋势线 =10,0,10),colorff9933,linethick3; STICKLINE(CROSS(趋势线,10),0,73,6,0),COLOR3366ff,; DRAWTEXT(IF(CROSS(趋势线,10),100,0),68, 抄底 ),colorwhite; DRAWTEXT(IF(CROSS(10,趋势线),1,0),10, $备钱 ),COLOR33ffcc,; {目前位置:对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断;} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; DRAWTEXT(REF(J,1) 0ANDJ 0,50, 短买 ),colorred; 短线获利:STICKLINE(REF(J,1) 0ANDJ 0,60,0,2,0),color0000ff; 目前位置:K; 技术低位:20; 技术中位:50,POINTDOT; 技术高位:80; 6.买卖奇准 你:=MA(CLOSE,1); 老:=(LOW+HIGH+CLOSE)/3; 板:=MA(老,5); 好:=HHV(板,10); 急卖奇准:IF(HHV((你 好),5),100,50),colorblue; 短卖奇准:IF(HHV((你 好),10),100,50),colorgreen; 老板:=MA(老,5); 买卖:=LLV(老板,10); 急买奇准:IF(LLV((你 买卖),5),50,0),colorred; 短买奇准:IF(LLV((你 买卖),10),50,0),colorwhite; TR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),5); HD:=(HIGH-REF(HIGH,1)); LD:=(REF(LOW,1)-LOW); DMP:=(SUM(IF(((HD 0)AND(HD LD)),HD,0),5)); DMM:=SUM(IF(((LD 0)AND(LD HD)),LD,0),5); 神偷线:=(((DMP)*100)/TR); 辅助线:=((DMM*100)/TR); 动向趋势线:=(MA(((ABS((辅助线-神偷线))/(辅助线+神偷线))*100),3)); ADXR:=((动向趋势线+REF(动向趋势线,3))/2); VAR1:=MA(LOW,1); VAR2:=MA(HIGH,2); VAR3:=MA(CLOSE,2); VAR7:=REF(VAR3,1); 【强弱】:=((SMA(MAX((VAR3-VAR7),0),5,1)/SMA(ABS((VAR3-VAR7)),5,1))*100); 没神的只有不错:(IF(((动向趋势线 88)AND(神偷线 5.8)),80,0)),LINETHICK3,colorFF00FF; 7.操盘手BS操盘线 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=cross(买线,卖线); SEL:=cross(卖线,买线); drawtext(bu,LOW*0.999, B ),colorred,linethick3; DRAWTEXT(bu,LOW, ﹉ ),Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH, ﹉ ),ColorFFFF00,LINETHICK3; drawtext(sel,HIGH*1.008, S ),colorffff00,linethick3; stickline(买线 =卖线,low,high,1,0),colorred; stickline(买线 =卖线,close,open,4.5,0),color0000aa; stickline(买线 =卖线,close,open,4,0),color0000cc; stickline(买线 =卖线,close,open,3,0),color0000cc; stickline(买线 =卖线,close,open,2,0),color0000ee; stickline(买线 卖线,close,open,4.5,0),coloraaaa00; stickline(买线 卖线,close,open,4,0),colorbbbb00; stickline(买线 卖线,close,open,3,0),colorcccc00; stickline(买线 卖线,close,open,2,0),coloreeee00; stickline(买线 卖线,low,high,1,0),colorffff00; stickline(cross(买线,卖线)orcross(卖线,买线),open,close,3,0),color00ffff; 指导 线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF; 界:MA(CLOSE,27),linethick1,Color00FFFF; DRAWTEXT(cross(指导线,界),界,  ̄ ),Colorffffff; DRAWTEXT(cross(界,指导线),界,  ̄ ),Color00ffff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; G:=95; DRAWTEXT(cross(J,D),L*0.999, ▲ ),Color00ffff,linethick4; DRAWTEXT(cross(J,D),L,  ̄ ),Color00ffff; DRAWTEXT(cross(J,G),H*1.005, ▼ ),Colorffff00,linethick4; DRAWTEXT(cross(J,G),H,  ̄ ),Colorffff00; 8.买卖预警——精品收费指标原码 Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; Var2:=2*ABS(Var1); Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOS E-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN- LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var5:=(HIGH+LOW+CLOSE)/3; Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14)); Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70)); Var8:=IF(Var6 =150ANDVar6 200ANDVar7 =150ANDVar7 200,10,0); Var9:=IF(Var6 =-150ANDVar6 -200ANDVar7 =-150ANDVar7 -200,-10,Var8); VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VarB:=100-ABS(VarA); VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((I NDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((I NDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30); Var12:=Var11-CLOSE; Var13:=REF(CLOSE,1); Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100; Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100; Var16:=BARSCOUNT(CLOSE); Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1A:=(SMA(Var19,4,1)-50)*2; Var1B:=SMA(Var1A,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var20:=IF(Var17 =25ANDVar18 -95ANDVar1F 20ANDVar1B -30ANDVar1E 30ANDVar12 =-0. 25ANDVar14 22ANDVar15 28ANDVar16 50,80,0); 情报:Var3; 天线:IF(VarB 90,VarB,100); 红军:IF(Var1 0,Var1,0),colorred,LINESTICK; 绿军:IF(Var1 0,Var2,0),colorgreen,LINESTICK; 导弹:Var20; 预警系统:IF(Var7 =200ANDVar6 =150,15,IF(Var7 =-200ANDVar6 =-150,-15,Var9))+60; STICKLINE(Var3 =REF(Var4,1),Var3,Var4,8,0); STICKLINE(Var3 REF(VAR4,1),VAR3,VAR4,8,0); Var21:=CLOSE MA(CLOSE,20)ANDMA(CLOSE,20) =REF(MA(CLOSE,20),1); Var22:=CLOSE MA(CLOSE,20) NBSP;AND NBSP;MA(CLOSE,20) REF(MA(CLOSE,20),1); Var23:=红军 50AND预警系统 60AND天线=100; Var24:=红军 48AND预警系统 60AND天线 Var25:=绿军 38AND预警系统 Var26:=导弹 50AND天线 Var27:=Var3 REF(VAR4,1) NBSP;AND NBSP;VOL REF(VOL,1)ANDCLOSE REF(CLOSE,1); Var28:=Var3 =REF(Var4,1)ANDCLOSE REF(CLOSE,1) NBSP;AND NBSP;预警系统 =60 NBSP;AND NBSP;导弹=0 NBSP;AND NBSP;绿军 =REF(绿军,1)ANDVarC REF(VARD,1); DRAWTEXT(Var21ANDCOUNT(Var21,30)=1,100, 上升通道,持股待长或高抛低吸! DRAWTEXT(Var22ANDCOUNT(Var22,30)=1,90, 下降通道,小心无量阴跌! DRAWTEXT(Var23ANDCOUNT(Var23,30)=1,70, 上涨过急,需要调整,短线先抛出! DRAWTEXT(Var24ANDCOUNT(Var24,30)=1,80, 庄家出货,大跌在即,中线抛出! DRAWTEXT(Var25ANDCOUNT(Var25,30)=1,50, 不必杀跌,应有小反弹,跌停除外! DRAWTEXT(Var26ANDCOUNT(Var26,30)=1,30, 坚决抢反弹,但巨量封跌停除外 DRAWTEXT(Var27ANDCOUNT(Var27,30)=1,40, 有大资金进场迹象,关注! DRAWTEXT(Var28ANDCOUNT(Var28,30)=1,20, 见顶回落 买入:IF(VAR27ANDCOUNT(VAR27,30)=1,100,0),LINETHICK3,COLORBLUE; 9.超级经典变异macd指标 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1),colorwhite; D:=SMA(K,3,1),coloryellow; J:=3*K-2*D,COLORFF00FF; A:=250; DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26)); DEA:=EMA(DIFF,9),colorblue,LINETHICK0; MACD:=2*(DIFF-DEA); MM:=IF(MACD 0,MACD,0); JJ:=MM REF(MM,1); ZZ:=REF(JJ,1)=1; 准备:=(JJANDZZ)*DEA; STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00; JH:=HHV(MAX(K,MAX(D,J)),A); DH:=HHV(MAX(DIFF,DEA),A); SH:=INTPART(JH/DH)/2; DIFF50:=SH*DIFF+50,COLORFFFF00; DEA50:=SH*DEA+50,colorblue; STICKLINE(DIFF50 DEA50,0,1.5*(DIFF50-DEA50),0,0),colorred; STICKLINE(DIFF50 DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00; 红柱:IF(1.5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0), STICK,; 绿柱:IF(1.5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1), 1.5*(DIFF50-DEA50),0),STICK,colorgreen; 缩 头:=IF(1.5*(DIFF50-DEA50) 0ANDREF(1.5*(DIFF50-DEA50),1) REF(1.5*(DIFF50-DEA50),2)AND1.5 *(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1),1,0); 缩 脚:=IF(1.5*(DIFF50-DEA50) 0ANDREF(1.5*(DIFF50-DEA50),1) REF(1.5*(DIFF50-DEA50),2)AND1. 5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1),1,0); 杀 多:=IF(1.5*(DIFF50-DEA50) 0ANDREF(1.5*(DIFF50-DEA50),1) REF(1.5*(DIFF50-DEA50),2)AND1. 5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1),1,0); 诱 空:=IF(1.5*(DIFF50-DEA50) 0ANDREF(1.5*(DIFF50-DEA50),1) REF(1.5*(DIFF50-DEA50),2)AND1. 5*(DIFF50-DEA50) REF(1.5*(DIFF50-DEA50),1),1,0); 阻力:=IF(CROSS(C,MA(C,20))ORCROSS(C,MA(C,60)),1,0); DRAWTEXT(FILTER(杀多,3)AND杀多,1.5*(DIFF50-DEA50), 杀多 ),COLORFF00FF; DRAWTEXT(FILTER(缩头,3)AND缩头,1.5*(DIFF50-DEA50)+0.2, 卖 ),COLORFF00FF; DRAWTEXT(FILTER(诱空,3)AND诱空,1.5*(DIFF50-DEA50), ?洗盘 ),COLOR00FF00; DRAWTEXT(FILTER(缩脚,3)AND缩脚,1.5*(DIFF50-DEA50)-0.2, 买 ),COLOR00FF00; DRAWTEXT(FILTER(阻力,16)AND1.5*(DIFF50-DEA50) =0,1.5*(DIFF50-DEA50)+0.01, ¤阻力 ),COLOR00FFFF; VRA:=REF(CLOSE,1); VRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(ABS(CLOSE-VRA),6,1)*100; VRC:=(2*CLOSE+HIGH+LOW)/4; VR0:=LLV(LOW,34); VR1:=HHV(HIGH,34); VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6); VR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4); VA1:=(REF(HIGH,1)+REF(LOW,1))/2; VA2:=MA(CLOSE,20)+2*STD(CLOSE,20); VA3:=REF(CLOSE,1); VA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100; VA5:=CROSS(79,VA4); VA6:=FILTER(VA5,4); VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3; VA7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); X1:=CROSS(VA1,VA2)ORVA6; X2:=CROSS(84,VRB); STICKLINE(X1ORX2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0); Y1:=IF(COUNT(CLOSE0.3ANDCOUNT(VA2 VA3,3)ANDREF(LOW,1)=LLV(LOW,120)ANDCLOSE OPE N,1,0); Y2:=IF(CLOSE VVD NBSP;AND NBSP;VOL 240 MA(VOL,5)/240ANDCLOSE REF(CLOSE,1)*1.08ANDCLOSE MA(CLOSE,13)*1.3,1,0); NBSP; Y3:=CROSS(VA7,10); Y4:=IF(COUNT(CLOSE0.3ANDCOUNT(VR2 VR3,3)ANDREF(LOW,1)=LLV(LOW,120)ANDCLOSE OPE N,1,0); STICKLINE(Y1ORY2ORY3ORY4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0); DD:=C=HHV(C,180); EE:=DEA REF(DEA,1)ANDREF(DEA REF(DEA,1),1)=1; CC:=C REF(C,1)ANDREF(C REF(C,1),1)=1; 上升背离:(CCANDEE)*1.5*(DIFF50-DEA50),LINETHICK2,colorwhite; 顶背离:(DDANDEEANDDEA HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,colorgreen; FF:=C=LLV(C,180); GG:=DEA REF(DEA,1)ANDREF(DEA REF(DEA,1),1)=1; LL:=C REF(C,1)ANDREF(C REF(C,1),1)=1; 下降背离:(LLANDGG)*1.5*(DIFF50-DEA50),LINETHICK2,coloryellow; 底背离:(FFANDGGANDDEA LLV(DEA,180))*3*(DIFF50-DEA50),STICK,LINETHICK3,colorred 10.{主力扫描仪} AVPRICE:=(((2)*(OPEN)+(2)*(CLOSE)+(2)*(HIGH)+(2)*(LOW))/(8)); INDEXAVP:=(((2)*(INDEXH)+(2)*(INDEXL)+(2)*(INDEXO)+(2)*(INDEXC))/(8)); F:=(AVPRICE-REF(AVPRICE,1))/(REF(AVPRICE,1)); F1:=(INDEXAVP-REF(INDEXAVP,1))/(REF(INDEXAVP,1)); 类比参数3:=(((SUM(F,10)+SUM(F1,10))/(10))*(1000)); 类比大盘参数:=IF((类比参数3 0),类比参数3,0); 类比参数2:=IF((类比参数3 0),(-类比参数3),0); STICKLINE(类比参数2,150,150-类比参数2,11,0),Color008000; STICKLINE(类比大盘参数,150,150-类比大盘参数,11,0),ColorFF00FF; AA:=AVPRICE; BB:=((VOL)*((AA)*(2)-HIGH-LOW))/(HIGH-LOW); CC:=IF((HIGH=LOW)and(AA REF(AA,1)),((-1))*(VOL),VOL); A:=IF((HIGH=LOW),CC,BB); B:=SUM(A,11); BBD:=(((B)/((CAPITAL)*(11)))*(10000)); BB1:=IF((BBD 150)and(BBD (-150)),BBD,150); 买方能量指标:=IF((BB1 0),BB1,0); STICKLINE((BB1 0),0,买方能量指标,5,0),coloryellow; STICKLINE((BB1 0),0,(-BB1),5,0),Color008000; A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16)); A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11)); A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6)); A7:=(SUM((AVPRICE)*(VOL),7)-(AVPRICE)*(VOL))/(SUM(VOL,7)-VOL); A0:=((A11-A16)/(AVPRICE))*(1000); A00:=IF((A0 50),50,IF((A0 (-50)),(-50),A0)); A1:=((A6-A11)/(AVPRICE))*(1000); AA11:=IF((A1 50),50,IF((A1 (-50)),(-50),A1)); A2:=((((A6-A7)/(A7))*(5))/(4))*(1000); A22:=IF((A2 50),50,IF((A2 (-50)),(-50),A2)); 刻度线3:=(A00+AA11+A22); 趋势线:=IF((刻度线3 0),刻度线3,0); 兰刻度线:=IF((刻度线3 0),刻度线3,0); 红柱线:趋势线,ColorFFFF00; 兰柱线:(-兰刻度线),colorred; STICKLINE(趋势线,0,趋势线,3,0),colorred; STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000; 强弱分界:50,Color000080; 主力扫描仪说明 指标采用颜色来区分,红、黄和、紫代表着强势,绿色和蓝色代表弱势,柱线长短代表强/弱的程度。 上边绿色与粉红色,是该股与大盘比较的结果。绿色渐短或粉色渐长表示与大盘比较在走强,反之则走弱。利用此参 数,可以找到市场热点。 红、兰色柱线,是价格趋势,兰色渐短或红色渐长表示其趋势向好,反之向坏。兰色触顶超卖,有反弹要求,只要不 是未开跌停板或者连续无量跌停,就是抢反弹的好机会。红色触顶超买,有回调压力。 黄、绿指标,描述的是主动买进还是主动卖出,黄色渐长或绿色渐短,主动买进者多,能量积累,绿色渐长或黄色渐 短,主动卖出者多,能量释放。绿色触顶,不一定反弹,黄色触顶不一定回调。 以上指标整合了技术分析的价格、成交量和市场的热点等要素。相辅相成,一定要配合使用。 买点一:蓝色刻度线触顶,抢反弹。选股时,使用“兰柱线 145”来选。到顶是150。 买点二:红色柱线连续两天在强弱线以上时,短线赚钱的概率相当大,若能考虑大盘,则成功率更高。选股时,使用“红 柱线 50”来选。 买点三:红黄柱渐长,粉色出现,上涨趋势成立,买进。 买点四:粉色、红黄柱长期向好,长期红色,可以抓到大牛股。 买点五:红柱在强弱线之上,股价收阴,红柱收长,背离。绝好的短线买点,杀进。使用买点二的办法选,人工判断。 在确定买入时,如果配合乖离线,效果更佳。 11.买入就涨 var1:=1; 趋势线:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred; var2:=(2*CLOSE+HIGH+LOW+OPEN)/5; var3:=LLV(LOW,34); var4:=HHV(HIGH,34); SK:=EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite; SD:=EMA(SK,2)*var1,coloryellow; var5:=EMA(CLOSE,12)-EMA(CLOSE,26); var6:=EMA(var5,9); var7:=var1*CLOSE*1.236 MA(CLOSE,60); var8:=CLOSE/REF(CLOSE,1) 1.021; var9:=(HIGH-CLOSE)*1.36 =CLOSE-OPEN; varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100; varB:=ABS(var5-var6); varC:=STD(CLOSE,90)*10; varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100 45,5); varE:=SLOPE(CLOSE,40); varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1) -0.098,90); var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100; var11:=var1*STD(CLOSE,63)*10; var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3); var13:=var1*MA((CLOSE-var12)/var12,1); var14:=MA(CLOSE,5); var15:=MA(CLOSE,10); var16:=MA(CLOSE,20); var17:=MA(CLOSE,30); var18:=MA(CLOSE,60); var19:=MA(CLOSE,150); var1A:=MA(CLOSE,250); var1B:=var1*VOL/CAPITAL*100; var1C:=(CLOSE-var1A)/var1A*100; var1D:=(CLOSE/REF(CLOSE,1)-1)*100; var1E:=PWINNER(1,CLOSE); var1F:=IF(var1 0.75ANDvar1 0.901,0.618,1); 买入就 涨:=IF(var14 var15ANDvar15 var16ANDvar16 var17ANDvar16 var18ANDvar19 var1AAND (var1E =0.9ORvar1E 0.76ANDvar1E 0.901ANDvar1D 5ANDvar1B 5)ANDvar1D 1.8AND var1C 40ANDCLOSE 3AND(CLOSE-var18)/var18 0.25ANDvar1B =6ANDvar4*var1B =1AND CLOSE 18.5,76,0),coloryellow; var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4; var23:=var1*MA(CLOSE,250); var24:=MA(CLOSE,125); 买入就 涨:IF(SD 18ANDSK 75ANDCROSS(var20,var21)AND(var22-var23)/var23 0.161ANDREF(SK,3) SK NBSP; ANDREF(var22,1) VAR22,95,0); var25:=CLOSE/MA(CLOSE,3) =1.05ANDCLOSE=HHV(CLOSE,3)ANDMA(VOL,2)/MA(VOL,40) =3AND MA (VOL,2)=HHV(MA(VOL,2),3)ANDVOL REF(VOL,1)ANDCLOSE REF(CLOSE,1); 12.极品好公式 箱顶:HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58),color00aaff; 箱底:LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58),color00ff00; Var1:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱 底,2); Var2:=(3*Var1-2*SMA(Var1,5,1))*0.3; Var3:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13)); Var4:=EMA(3*Var3-2*SMA(Var3,18,1),5); Var5:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8)); Var6:=3*SMA(Var5,3,1)-2*SMA(SMA(Var5,3,1),5,1); Var7:=(INDEXC*2+INDEXH+INDEXL)/4; Var8:=EMA(Var7,13)-EMA(Var7,34); Var9:=EMA(Var8,5); VarA:=(Var8-Var9+箱底)*1; VarB:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34); 趋势力度:VarB,colorffaa99; VarC:=箱底; STICKLINE(C =O,C,O,7,0),colorred; STICKLINE(C =O,C,O,4,0),COLOR7070ff; STICKLINE(C =O,C,O,2,0),coloryellow; STICKLINE(C =O,H,L,0,0),coloryellow; STICKLINE(C =O,C,O,7,0),COLORFF2020; STICKLINE(C =O,C,O,4,0),COLORFF6600; STICKLINE(C =O,C,O,2,0),colorffcc66; STICKLINE(C =O,H,L,0,0),colorffcc66; 牛气冲天:STICKLINE(趋势力度 =VarC,VarC,趋势力度,4,0),colorred; STICKLINE(趋势力度 =REF(趋势力度,1)AND趋势力度 VarC,VarC,趋势力度,4,1),colorwhite; 趁机派发:STICKLINE(REF(趋势力度,2) REF(趋势力度,1) NBSP;AND NBSP;趋势力度 =REF(趋势力 度,1) NBSP;AND NBSP;趋势力度 VarC,VarC,趋势力度,4,0),colorgreen; DRAWICON(REF(趋势力度,2) REF(趋势力度,1) NBSP;AND NBSP;趋势力度 =REF(趋势力 度,1) NBSP;AND NBSP;趋势力度 VarC,趋势力度,2); 熊气盖天:STICKLINE(趋势力度 VARC-0.5,VARC-0.5,趋势力度,8,1),COLORYELLOW; 转强信号:STICKLINE(趋势力度 REF(趋势力度,1)AND趋势力度 VARC-0.5,VARC-0.5,趋势力 度,2,0),COLORRED; MA3:MA(CLOSE,3),coloryellow; MA34:MA(CLOSE,34),colorwhite; DRAWTEXT(CROSS(MA3,箱底),LOW*0.95, 试 ),colorffcc66; STICKLINE(CROSS(MA3,箱底),LOW*0.99,L*0.95,4,0),colorffcc66; DRAWTEXT(CROSS(MA3,MA34),LOW*0.95, 买 ),colorff00ff; STICKLINE(CROSS(MA3,MA34),LOW*0.99,L*0.95,4,0),colorff00ff; DRAWTEXT(CROSS(MA3,箱顶)ANDCLOSE 箱顶,箱顶*0.95, 追 ),coloryellow; STICKLINE(CROSS(MA3,箱顶)ANDCLOSE 箱顶,箱顶*0.99,箱顶*0.95,4,0),coloryellow; DRAWTEXT(CROSS(箱顶,MA3)ANDCLOSE 箱顶,HIGH*1.05, 卖 ),color00ff00; STICKLINE(CROSS(箱顶,MA3)ANDCLOSE 箱顶,HIGH*1.03,H*1.0,4,0),color00ff00; DRAWTEXT(REF(VarA,2) REF(VARA,1) NBSP;AND NBSP;REF(VARA,1) VarAANDVarA 箱 顶ANDCLOSE 箱顶,HIGH*1.05, 顶 ),colorwhite; STICKLINE(REF(VarA,2) REF(VARA,1) NBSP;AND NBSP;REF(VARA,1) VarAANDVarA 箱 顶ANDCLOSE 箱顶,HIGH*1.005,H*1.03,4,0),colorwhite 13.短线预警公式 和易:=REF(CLOSE,1); 郑:=((SMA(MAX((CLOSE-和易),0),7,1)/SMA(ABS((CLOSE-和易)),7,1))*100); 短线买入预警:STICKLINE(CROSS(20,郑),20,50,3,0),COLORRED; 短线买入:STICKLINE(CROSS(郑,20),0,50,4,0),LINETHICK2,COLORBLUE; 江:=((SMA(MAX((CLOSE-和易),0),7,1)/SMA(ABS((CLOSE-和易)),7,1))*100); 短线卖出预警:STICKLINE(CROSS(江,80),50,80,3,0),COLOR8888FF; 短线卖出:STICKLINE(CROSS(80,江),50,100,4,0),LINETHICK2,COLORFFFFFF; 50,COLORFF00FF; 买入1:CROSS(郑,20),COLORGREEN; 短买预警:CROSS(20,郑),COLORCCFF66; 短卖预警:CROSS(江,80),COLOR8888FF; 短卖:CROSS(80,江),LINETHICK2,COLORFFFFFF; 14.一年12倍的原码:(这是一个大家经常看到的公式,它就包含未来函数,所以只有参考价值,而无实用价值)本论坛旨在帮 助所以需要的朋友,并不针对任何人,论坛上有不当之处,敬请大家谅解. R:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100); K:=EMA(R,3); D:=EMA(K,3); 陡峭度:=IF((BARSCOUNT(CLOSE) 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7))-1),1); N:=IF((陡峭度 0.35),6,65); VAR1:=((-((100)*(HHV(HIGH,N)-CLOSE))/(HHV(HIGH,N)-LLV(LOW,N))))*((DATE 20081231)); VAR1A:=((-((100)*(HHV(HIGH,N)-CLOSE))/(HHV(HIGH,N)-LLV(LOW,N)))+100)*((DATE 2008123 1)); 获利盘:=(WINNER(CLOSE))*(100); 获利线:=FORCAST(获利盘,7); 线:=(FORCAST(VAR1A,7))*((DATE 20081231)); 满仓:=((线 REF(线,1))AND(线 25)AND(COUNT((线 REF(线,1)),5)=1)ANDIF((N=6),(获利 盘 60),(获利盘 40))AND(COUNT((获利线 20),20) 0))*(40); STICKLINE(满仓,0,40,5,0),Color008000; DRAWTEXT(满仓,45, 满仓 ),Color008000; 轻仓:=IF((获利 盘 =60)AND(线 REF(线,1))AND(REF(线,1) 20)AND(线 40)AND(COUNT((线 REF(线,1)),5) =1)AND(REF(N,1)=6),1,0); STICKLINE(轻仓,20,D,4,1),ColorFF00FF; DRAWTEXT(轻仓,45, 轻仓 ),ColorFF00FF; 出 击:=CROSS(线,20)ANDIF((COUNT(CROSS(K,D),3)=1)AND(D 40),1,(线 D)OR(K D)AND(D 60))ANDIF((N=6),(获利盘 70),(获利盘 40))AND(COUNT((获利线 20),20) STICKLINE(出击,0,50,3,1),Color44BB00; DRAWTEXT(出击,55, 出击 ),colorred; 进1:=CROSS(线,D)AND(D 30)AND(D REF(D,1))AND(D 进2:=CROSS(线,获利线)AND(D 30)AND(获利线 25)AND(D REF(D,1)); 低进:=IF(进1AND(D 获利线),进2,进1); DRAWTEXT(低进,30, 低进 ),ColorFF0000; STICKLINE(低进,20,30,3,1),Color000080; DRAWTEXT(进2,50, 高进 ),Color800080; STICKLINE(进2,30,50,3,1),coloryellow; 狂喜:=(30)*(CROSS(VAR1,(-2))); STICKLINE(狂喜,0,20,3,1),coloryellow; DRAWTEXT(狂喜,(-5), 要涨停 ),coloryellow; 狂喜过望:=(50)*((VAR1=0)); 恐慌:((-20))*((VAR1 (-94))),ColorC1C1C1; STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1; DRAWTEXT(恐慌,(-25), 恐慌 ),ColorC1C1C1; 极度恐慌:((-40))*((VAR1=(-100))),Color800000; STICKLINE(极度恐慌,0,(-40),7,1),Color800000; DRAWTEXT(极度恐慌,(-45), 极度恐慌 ),Color800000; 半仓:=(30)*(CROSS(VAR1,(-94))AND(COUNT(恐慌,5) 0)AND(N=REF(N,1))ANDIF((N=6),(获利 盘 60),(获利盘 40))AND(COUNT((获利线 20),20) STICKLINE(半仓,0,30,4,1),ColorFFFF00; DRAWTEXT(半仓,35, 半仓 ),ColorFFFF00; 加仓:=(30)*(CROSS(K,20)AND(COUNT(半仓,5) STICKLINE(加仓,0,20,6,1),Color808080; DRAWTEXT(加仓,25, 加仓 ),Color808080; 背离:=(COUNT(恐慌,2) 0)AND(CLOSE REF(CLOSE,1))AND(VAR1 REF(VAR1,1)); DRAWICON(背离,0,1),ColorFFFFFF; (-55),colorred; 15.{搏杀生命} amv0:=vol*(o+c)/2; BS:sum(amv0,88)/sum(vol,88),colorff00ff,linethick2; STICKLINE(close =open,open,close,5,1),colorred; STICKLINE(open close,close,open,5,0),color00ff00; STICKLINE(close =open,close,HIGH,0.5,1),colorred; STICKLINE(close =open,open,low,0.5,1),colorred; STICKLINE(open close,close,low,0.5,0),color00ff00; STICKLINE(open close,open,HIGH,0.5,0),color00ff00; 16.搏杀持股} CG:ma(C,17),colorffcc66; FL:hhv(CG,2); FS:if(CG FL,(CG-(FL-CG)),FL); STICKLINE(close =open,open,close,5,1),colorred; STICKLINE(open close,close,open,5,0),color00ff00; STICKLINE(close =open,close,HIGH,0.5,1),colorred; STICKLINE(close =open,open,low,0.5,1),colorred; STICKLINE(open close,close,low,0.5,0),color00ff00; STICKLINE(open close,open,HIGH,0.5,0),color00ff00; 17.智能操盘 智能操盘 K2:=EMA(C,5),colorffff00; K3:=EMA(C,10),colorffff00; K5:=EMA(C,30),colorffff00;KK5:=EMA(INDEXC,30),colorffff00; K6:=2*(K2-K5);k7:=2*(K2-K3);k8:=2*(k7+K6),colorred; STICKLINE(CROSS(k8,0),0,10,8,0),colorred; K1:=IF(k8 REF(k8,5)ANDK3 REF(K3,5) NBSP;,1,0 NBSP;),COLORYELLOW; k21:=IF(k8 REF(k8,7)ANDK3 REF(K3,7) NBSP;,1,0 NBSP;),COLORYELLOW; k31:=IF(k8 REF(k8,9)ANDK3 REF(K3,9) NBSP;,1,0 NBSP;),COLORYELLOW; K4:=IF(k8 REF(k8,11)ANDK3 REF(K3,11) NBSP;,1,0 NBSP;),COLORYELLOW; 底部:STICKLINE((K1ORk21ORk31ORK4)ANDk8 0ANDk8 REF(k8,1),5,0,8,0),coloryellow; 使用方法: 连续出现黄色柱线,准备或逢低买入,出现红色柱线,买入. 18.{买卖天机} VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交:vol,pointdot; 主动买盘:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE 主动卖盘:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE stickline(VOL 0,vol,0,4,1),colorwhite; stickline(主动买盘 0,0,主动买盘,4,0),colorred; stickline(主动卖盘 0,0,主动卖盘,4,0),color00ff00; 同花顺公式指标大全 19.{短线MACD} VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR2:=EMA(VAR1,50); VAR3:=2*(VAR1-VAR2); STICKLINE(VAR3 REF(VAR3,1) NBSP;AND NBSP;VAR3 0,0,VAR3,4,1),coloryellow; STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),colorred; STICKLINE(VAR3 REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFC8FF; STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFCC66; 趋势一:EMA(CLOSE,12)-EMA(CLOSE,26),colorred; 趋势二:EMA(VAR1,50),colorgreen; 20.选马趋势------ 个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred; DRAWTEXT(个股 85,95, * 大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股 =大盘,个股,大盘,1,0),colorred; STICKLINE(个股 大盘,个股,大盘,1,0),colorblue; 出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00; DRAWTEXT(CROSS(个股,9),30, -马 ),color00ff00; 21.买卖提示--------- VARb:=LLV(LOW,27); VARc:=HHV(HIGH,34); VARd:EMA((CLOSE-VARb)/(VARc-VARb)*4,4)*25,colorred; 建仓:IF((VARd 12),25,0),colorgreen; Va:=REF(CLOSE,1); Vb:=((SMA(MAX((CLOSE-Va),0),6,1)/SMA(ABS((CLOSE-Va)),6,1))*100); 卖出:IF(CROSS(80,Vb),60,0),colorcyan,linethick2; DRAWTEXT(CROSS(80,Vb),40, =出 ),coloryellow; 22.建仓区域------ VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR2:=EMA(VAR1,8); VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA (SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势:EMA(VAR3,3)-10,COLORFF0000; A1:IF(趋势 76,趋势,80),coloryellow; DRAWICON(CROSS(趋势,0),0,1); 建仓:=0,COLORFFFF00; VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100; STICKLINE(趋势 =4,0,20,5,0),COLORCC9900; DRAWTEXT(FILTER(趋势 =4,15),30, 建仓区 ),colorwhite; STICKLINE(趋势 =90ANDVAR4,0,30,5,0),colorgray; VAR5:=MA(趋势,8); A2:IF(CROSS(VAR2,VAR5)ANDVAR2 15,10,0),colorred; 23.黑马趋势------- Va1:=(2*CLOSE+HIGH+LOW)/4; Va2:=LLV(LOW,34); VarB:=HHV(HIGH,34); VarC:=EMA((Va1-Va2)/(VarB-Va2)*100,13); VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2); 生命:EMA(VarD,5),colorcyan; VAR1:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); b1:=EMA(((VAR1-VAR2)/(VAR3-VAR2))*(100),8); b2:=EMA(b1,5); STICKLINE(b1-b2 0,b1,b2,4,0),colorred; STICKLINE(b1-b2 0,b1,b2,4,0),colorgreen; 24..强弱分界---------- Var1:=(HIGH+3*LOW+CLOSE)/5; Var2:=EMA(Var1,13)-EMA(Var1,34); Var3:=EMA(Var2,5); Var4:=(Var2-Var3)*5; Var5:=IF(Var4 =1000,1000,IF(Var4 =Var1,Var1,Var4)); Var6:=FORCAST(FORCAST(Var5,60),5,); 上涨:IF(Var5 Var6,Var5,Var6),colorred; 下跌:IF(Var5 VAR6,VAR5,VAR6),COLORCYAN; 分界:FORCAST(FORCAST(VAR5,60),5),colormagenta,LINETHICK2; 25.出入平安-------- 出:ZIG(3,10) REF(ZIG(3,10),1) NBSP;AND NBSP;REF(ZIG(3,10),1) REF(ZIG(3,10),2),colorcyan; 入:ZIG(3,10) REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1) REF(ZIG(3,10),2),COLORRED; 带有未来函数 26.精MACD----- VAR1:=EMA(CLOSE,9)-EMA(CLOSE,29); VAR2:=EMA(VAR1,5); VAR3:=2*(VAR1-VAR2); STICKLINE(VAR3 REF(VAR3,1) NBSP;AND NBSP;VAR3 0,0,VAR3,4,1),colorgreen; STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),colorred; STICKLINE(VAR3 REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFC8FF; STICKLINE(VAR3 =REF(VAR3,1)ANDVAR3 0,0,VAR3,4,1),COLORFFCC66; 低位红线上穿黄线买入:EMA(CLOSE,9)-EMA(CLOSE,29),colorred; 高位红线下穿黄线买出:EMA(VAR1,5),coloryellow; 27.安全通道------ Var2:=LLV(LOW,33); Var3:=HHV(HIGH,21); Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998; 通道:27,colorred; 短线:=EMA(0.667*REF(Var4,1)+0.333*Var4,1); STICKLINE(短线 =REF(短线,1),短线+0.5,短线-1,6,0),colorred,linethick3; STICKLINE(短线 REF(短线,1),短线+0.5,短线-1,6,0),COLORWHITE,LINETHICK2; VARa:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA (SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势:=EMA(VARa,3)-10; A1:IF(趋势 75,趋势,80),coloryellow; 28.出击逃顶------------- VARa:=(2*CLOSE+HIGH+LOW)/4; VARb:=LLV(LOW,34); VARc:=HHV(HIGH,34); VARd:=EMA((VARa-VARb)/(VARc-VARb)*100,13); VARe:=EMA(0.667*REF(VARd,1)+0.333*VARd,2); STICKLINE(VARd-VARe 0,VARd,VARe,8,0),colorred; STICKLINE(VARd-VARe 0,VARd,VARe,8,0),COLOR00FF0F; 生命:EMA(VARe,5),colorgray; 出击:IF(CROSS(VARd,VARe)ANDVARd VAReANDVARd 18,20,0),STICK,colorred; DRAWICON(出击 0,5,1); 卖 出:IF(CROSS(VARe,VARd)ANDVARd VARE NBSP;AND NBSP;VARD 60,VARe,88),POINTDOT,colorwhite ; STICKLINE((CROSS(VARe,VARd)ANDVARd VARE NBSP;AND NBSP;VARD 60),VARe,88,2,1),colorblue; DRAWICON(卖出 88,卖出,4); 逃顶:90; 29.彩色成交量 量:IF(C 200,VOL/1000000,VOL/100); 亿:MONEY/100000000; 换手率:VOL/CAPITAL*100; 振幅:((H-L)/L)*100; 流通:CAPITAL/1000000; 业绩:MGSY(33); 净资产;MGJZC; var1:=HIGH-LOW; var2:=ABS(OPEN-CLOSE); var3:=HIGH-IF(CLOSE OPEN,CLOSE,O); var4:=IF(CLOSE OPEN,O,CLOSE)-LOW; var5:=(var2/var1)*VOL; var6:=(var3/var1)*VOL; var7:=(var4/var1)*VOL; var8:=IF(VOL/CAPITAL 0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100)))); var9:=(C-MA(C,5))/MA(C,5)*100; var10:=MA(C,5) MA(C,10)ANDMA(C,10) MA(C,30)ANDMA(C,30) MA(C,60); var11:=MA(C,5) MA(C,10) NBSP;AND NBSP;MA(C,10) MA(C,30) NBSP;; var12:=100*(1-WINNER(C)); var13:=100*WINNER(C); 多头:STICKLINE(C MA(C,30),0,VOL,8,1),colorred; 空头:STICKLINE(C MA(C,30),0,VOL,8,1),COLORGREEN; 上攻:STICKLINE(var5 =var6ANDvar5 =var7ANDC O,0,var5,8,0),colorred; 下攻:STICKLINE(var5 =var6ANDvar5 =var7ANDC O,0,VAR5,8,0),COLORGREEN; 上探:STICKLINE(var6 VAR5ANDvar6 var7,0,var6,8,0),colorcyan; 下探:STICKLINE(var7 var5ANDvar7 var6,0,var7,8,0),colorff6600; 相对地量:=STICKLINE(var8 2ANDVOL DRAWTEXT(var8 2ANDV 放量:STICKLINE(VOL MA(VOL,5)*1.5,VOL,VOL+VOL*0.03,8,0),colorwhite; V1:=H-L; V2:=ABS(O-C); V3:=H-IF(C O,C,O); V4:=IF(C O,O,C)-L; V5:=V2/V1*V; V6:=V3/V1*V; V7:=V4/V1*V; M5:=MA(V,5),colorwhite; M10:=MA(V,10),coloryellow; V8:=IF(V/CAPITAL 0.001,1,EXP(ABS(LOG(V/CAPITAL*100)))); M5,colorwhite; M10,coloryellow; 金指:EMA(IF(L =LLV(L,30),1,0),3)*2*V,colorwhite,Linethick2; RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K1:=SMA(RSV1,3,1); D1:=SMA(K1,3,1); J1:=3*K1-2*D1; RSV:=(C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*100; K:=SMA(RSV,6,1); D:=SMA(K,3,1); J:=3*K-2*D; LC:=REF(C,1); XA:=IF(CROSS(J1,J)ANDJ 20,-1,0)+IF(CROSS(J,J1)ANDJ 80,1,0); TYP:=(H+L+C)/3; CCJ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2; RSI1:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100; K2:=EMA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100,9); XB:=IF(CCJ 100ANDK2 50ANDC O,0.5,0)+IF(RSI1 80ANDK2 50ANDC O,0.5,0); RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100; K13:=SMA(RSV3,21,1); D13:=SMA(K1,3,1); J13:=3*K13-2*D13; XC:=IF(J13 80ANDRSI1 85,0.5,0); 警戒:V*(XA+XB+XC 0),Color009000,linethick2; DRAWICON(CROSS(M5,M10),100,1); DRAWICON(CROSS(M10,M5),100,2); DRAWICON(CROSS(4000,金指),100,4); DRAWICON(CROSS(M5,警戒),100,5); DRAWTEXT(V7 V5ANDV7 V6ANDC MA(C,30) NBSP;AND NBSP;V7 MA(V,10),VOL*2,?逢低跟 进?),colormagenta; DRAWTEXT(FILTER(V5 MA(V,5)*2ANDV5 =V6ANDV5 =V7ANDC OORV MA(VOL,5)*3,2),1.2*V , 强势参与 ),colorred; DRAWTEXT(V5 =V6ANDV5 =V7ANDC O NBSP;AND NBSP;V5 VOL 0.7ANDV5 MA(V,5),HHV(V,5), 空头释放 ),colorwhite; DRAWTEXT(V6 V5ANDV6 V7ANDC MA(C,5)ANDC MA(C,34)ANDH MA(C,55)ANDV M5ANDV 6 MA(V,5),V, 逢高出货 ),colorgreen; //drawtext(var6 var5andvar6 var7andc ma(c,5)andc ma(c,30)andh ma(c,60)andv ma(v,5) andvar6 =ma(v,5),vol, 逢高出货 ),colorred;{逢高出货} 30.智能黄金线主图 mms:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)), 5,1)*100,1)+50; g1:=IF(-mms 95,0,20); uoo:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100) 0ANDg1)+1); {明日均线:=REF(C,2)*2-REF(C,5),LINETHICK0,color550055; 后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,color008800; 大后天均线:=C*2-REF(C,3),LINETHICK0,color008888;} KS:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100)); KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100); 趋势线:=EMA(((KS/10)+EMA(CLOSE,10)),3); AA:=-100*(趋势线-CLOSE)/趋势线; AC:=(EMA(AA,5)); SSL:=EMA(CLOSE,3); MMV:=EMA(((SLOPE(CLOSE,22)*20)+CLOSE),55); MM:=MMV; STICKLINE(((SSL MM)),SSL,MM,0.1,0),colorred; SA:=(MM*0.985); SS:=(MA(CLOSE,5)); DD:=(MA(CLOSE,13)); GG:=(MA(CLOSE,21)); 捞钱手:IF(((SSL MM)),MM,SA),LINETHICK2,colorwhite; VAR2Y:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100); VAR3Y:=(((CLOSE-REF(OPEN,29))/REF(OPEN,29))*100); VAR4Y:=REF(CLOSE,1); VAR5Y:=((SMA(MAX((CLOSE-VAR4Y),0),6,1)/SMA(ABS((CLOSE-VAR4Y)),6,1))*100); VAR6Y:=((SMA(MAX((CLOSE-VAR4Y),0),12,1)/SMA(ABS((CLOSE-VAR4Y)),12,1))*100); VAR7Y:=((SMA(MAX((CLOSE-VAR4Y),0),24,1)/SMA(ABS((CLOSE-VAR4Y)),24,1))*100); VAR8Y:=(((CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*100); VAR9Y:=SMA(VAR8Y,3,1); VARAY:=SMA(VAR9Y,3,1); VARBY:=((3*VAR9Y)-(2*VARAY)); VARCY:=(CROSS(VAR5Y,10)AND(VAR3Y (0-(28*20)))); VARDY:=((100-CROSS(76,VAR5Y))AND(VAR3Y (5*20))); DRAWICON(((CROSS(76,VAR5Y)AND(VAR3Y 5))),(HIGH*1.01),5),colorFFFFFF; VAREY:=((((CROSS(VAR9Y,VARAY)AND(VARAY 10))AND(VAR3Y (0-30)))AND(VAR2Y 3))*3 0); VARFY:=-((((VARAY 11)AND(VAR5Y 15))AND(VAR3Y (0-26)))*10); DRAWICON((CROSS(VARFY,(0-9))),(LOW*0.998),4); 能量线:=DMA(((CLOSE+OPEN)/2),(VOL/(SMA(VOL,4,1)*4))); 上开:=O; 上收:=C; 上高:=H; 上低:=L; JJ:=(上开+上高+上低)/3; A:=EMA(JJ,4); B:REF(A,1),POINTDOT,coloryellow; 智能黄金线:A,coloryellow,LINETHICK1; STICKLINE(((SSL MM)),捞钱手,智能黄金线,0.1,0),COLOrffbbff; VA1:=EMA(上收,8); VA2:=EMA(上收,20); DRAWTEXT(CROSS(VA2,VA1),VA1*1.10, 止损 ),coloryellow; DRAWTEXT(CROSS(VA1,VA2)AND(C =O)AND智能黄金线 REF(智能黄金线,1),VA1*0.98, ★买入 ),COLOR00FF00; 选手A:=MA(上收,3); 箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3); t1:=MA(上收,20) =REF(MA(上收,20),1); t2:=CROSS(选手A,箱底A)AND箱顶A/箱底A 100/100ANDt1; t3:=CROSS(箱顶A,选手A)AND箱顶A/箱底A 100/100; 选手:=MA(上收,2); 箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2; 箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2; t4:=CROSS(选手,箱底)AND箱顶/箱底 110/100; t5:=CROSS(箱顶,选手)AND箱顶/箱底 110/100; Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; Var2:=SMA(Var1,3,1); Var3:=SMA(Var2,3,1); Var4:=SMA(Var3,3,1); DRAWTEXT(CROSS(Var3,Var4)AND(C =O)ANDVar3 40ANDuoo 0,箱底, ★ ),COLORf00ff0; DRAWTEXT(CROSS(Var4,Var3)ANDVar4 75,箱顶*1.03, ★减磅 ),COLORf0f000; STICKLINE(C =O,C,O,7,0),colorred; STICKLINE(C =O,C,O,4,0),COLORB0B0FF; STICKLINE(C =O,C,O,2,0),coloryellow; STICKLINE(C =O,H,L,0,0),coloryellow; STICKLINE(C =O,C,O,7,0),colorFFAA00; STICKLINE(C =O,C,O,4,0),COLORffbbff; STICKLINE(C =O,C,O,2,0),COLORffbbff; STICKLINE(C =O,H,L,0,0),COLORffbbff; hs:=VOL/CAPITAL*100; hsl:=hs; STICKLINE(C OPEN,C,O,hsl,1),colorred; STICKLINE(C OPEN,C,O,HSL NBSP;,1),COLORWHITE; STICKLINE(C=OPENANDC REF(C,1),C,O,hsl,1),colorred; STICKLINE(C=OPENANDC REF(C,1),C,O,HSL NBSP;,1),COLORWHITE; STICKLINE(C O,H,L,0.1,0),colorred; STICKLINE(C O,H,L,0.1,0),COLORGREEN; Qc0:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV( LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); STICKLINE(Qc0 =91AND(CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100 99.9,OPEN,CLO SE,3,0),COLOR3366FF; STICKLINE(Qc0 =91AND(CLOSE-LLV(CLOSE,5))/(HHV(CLOSE,5)-LLV(CLOSE,5))*100 99.9,H,L,0.5,0), COLOR3366FF; SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100; CM1:=IF(SQ1 12,30,0); CM2:=IF(SQ2 12,30,0); mms1:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1) ),5,1)*100,1)+50; Zb1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10))*100; www:=Zb1 w:=IF(WWW,-20,0); A01:=SMA(ABS((LOW-REF(LOW,1))),3,1)/SMA(MAX((LOW-REF(LOW,1)),0),3,1)*100; A02:=EMA(IF(CLOSE*1.3,A01*10,A01/10),3); A03:=LLV(LOW,30); A04:=HHV(A02,30); A05:=EMA(IF((LOW =A03),(A02+A04*2)/2,0),3)/6180*2.5; A06:=IF((A05 15),15,A05); Kx:=IF(A06 =1.7,-20,0); Zy:=MA(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+2*(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100+3*( CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100)/6,3); Zy1:=IF(Zy -6,-20,0); KS11:=(((CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1))*(0-100)); RKS:=REF(KS11,1); MLS:=((((RKS/KS11) 1.23)AND(RKS 13))AND((CLOSE/REF(CLOSE,1)) 1.03)); STICKLINE(CM1ANDIF(KxANDwANDZy1,-16,10) 0,L,L*0.998,7,0),Color0089FF; STICKLINE(IF(KxANDwANDZy1,-16,10) 0ANDCM1,L*0.998,L*0.996,7,0),colorgreen; STICKLINE(CM1ANDIF(KxANDwANDZy1,-16,10) 0AND(KS 13),L*0.996,L*0.994,7,0),coloryellow; STICKLINE((MLS=1),L,L*0.998,7,0),ColorFFFF00; Var111:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2); VarD:=CLOSE REF(CLOSE,1) NBSP;AND NBSP;CLOSE REF(CLOSE,2); VarE:=REF(VarD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VarF:=REF(VarE,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var10:=REF(VarF,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var11:=REF(Var10,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var12:=REF(Var11,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var13:=REF(Var12,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var14:=REF(Var13,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var15:=REF(Var14,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var16:=REF(Var15,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var17:=REF(Var16,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var18:=REF(Var17,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); Var19:=REF(VarDORVarEORVarFORVar10ORVar11ORVar12ORVar13ORVar14ORVar15ORVar 16ORVar17ORVar18,1)ANDVar1; 趋势线1:=FORCAST(CLOSE,7); Fk:=100*(C-REF(C,1))/REF(C,1); pk1:=IF(C REF(O,1) NBSP;AND NBSP;FK 0,1,0); pk2:=IF(C REF(O,2) NBSP;AND NBSP;FK 0,1,0); STICKLINE((Pk1=0ANDREF(Pk1,1)=1ANDPk2=0ANDREF(Pk2,1)=1)AND(趋势线1 REF(趋势线 1,1)OR智能黄金线 REF(智能黄金线,1)),OPEN,CLOSE,3,0),colorred; STICKLINE((Pk1=0ANDREF(Pk1,1)=1ANDPk2=0ANDREF(Pk2,1)=1)AND(趋势线1 REF(趋势线 1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred; pk3:=(((CLOSE/OPEN) 1.04)AND(CLOSE (SMA(HIGH,21,2)*1.05)))AND((CLOSE-REF(CLOSE,1 )) STICKLINE(pk3AND(趋势线1 REF(趋势线1,1)OR智能黄金线 REF(智能黄金 线,1)),CLOSE,OPEN,3,0),colorred; STICKLINE(pk3AND(趋势线1 REF(趋势线1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred; STICKLINE(Var19AND(趋势线 REF(趋势线1,1)OR智能黄金线 REF(智能黄金 线,1)),CLOSE,OPEN,3,0),colorred; STICKLINE(Var19AND(趋势线 REF(趋势线1,1)OR智能黄金线 REF(智能黄金线,1)),H,L,0.5,0),colorred; 买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004; 买进条件:=CROSS(C,买进价)AND买进价 REF(买进价,1); STICKLINE(买进条件AND捞钱手 智能黄金线AND智能黄金线 REF(智能黄金线,1),L,L*0.998,7,0),colorwhite; 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); DRAWTEXT(CROSS(买线,卖线)AND箱顶 =REF(箱顶,1),箱底, ★ ),color00ffff; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),color00ffff; STICKLINE(CROSS(买线,卖线),H,L,0.5,0),color00ffff; 31.买卖点指标公式 var1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); var2:=HIGH-REF(HIGH,1); var3:=REF(LOW,1)-LOW; var4:=SUM(IF(var2 0ANDvar2 var3,var2,0),25); var5:=SUM(IF(var3 0ANDvar3 var2,var3,0),25); var6:=var4*100/var1; var7:=var5*100/var1; var8:=MA(ABS(var7-var6)/(var7+var6)*100,15); var9:=(var8+REF(var8,15))/2; A:=(var7 var6ANDvar7 25ANDvar6 B:ZIG(3,50/5)*100,colorwhite; g:MA(B,2),coloryellow; D:=CROSS(B,g)*1000,colorred; W:=cross(g,B)*1000,colorblue; E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); var10:=FANDF var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; var12:=SMA(var11,3,1); var13:=SMA(var12,3,1); var14:=var13ANDvar13 mm:=AANDDANDvar10ANDvar14; DRAWTEXT(W=1000,b*1.05, 卖 ),COLOR00ff00; DRAWTEXT(D=1000,b*1.05, 买 ),COLORred; 32.买入点 q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; q3:=SMA(q2,9,1); q4:=SMA(q3,3,1); 长趋势:3*q3-2*q4,colorwhite,linethick3; 趋势线:EMA(q3,3),colorred,linethick3; DRAWTEXT(CROSS(趋势线,长趋势)ANDREF(长趋势,1) 80,REF(长趋势,3), ▼逢高派发 ),Color00ff00,linethick5; ▲逢低买入:DRAWTEXT(REF(CROSS(趋势线,长趋势),82)AND趋势线 1.3*长趋势,长趋势, ▲逢低买入 ),Color00Ffff,linethick1; ▲低买:DRAWTEXT(REF(CROSS(长趋势,趋势线),1)AND长趋势 1.3*趋势线,趋势线, ▲低买 ),colorblue,linethick1; var3:=PEAKBARS(3,15,1) var5:=IF(var3=1,2,0); 顶:=IF(var5=2,2,0); 顶a:IF(顶 REF(顶,1),50,0),colorgreen,linethick2; DRAWTEXT(顶a=50,45, 顶部 ),color00ff00; 33.逃顶炒低 长线:EMA(CLOSE,60)+EMA(CLOSE,90)/2,LINETHICK2,COLORCC33FF; 短线:EMA(CLOSE,21)-1+EMA(VOL,5)/EMA(VOL,40),colorgray; 中线:ZIG(3,19),LINETHICK1,colorgreen; DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01, 逃 ),coloryellow; DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99, 进 ),colorred; IF(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,0); IF(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,0); Var3:=HHVBARS(ZIG(3,19) REF(ZIG(3,19),1)ANDREF(ZIG(3,19),1) REF(ZIG(3,19), NBSP;2),0); 时间之窗:STICKLINE(Var3=2,L*0.95,L*0.98,12,0),COLOR0000FF; STICKLINE(Var3=4,H*1.05,H*1.02,12,0),COLOR9966FF; STICKLINE(Var3=7,L*0.95,L*0.98,12,0),COLOR00FFFF; STICKLINE(Var3=12,H*1.05,H*1.02,12,0),COLORFF33FF; STICKLINE(Var3=20,L*0.95,L*0.98,12,0),COLOR0066FF; STICKLINE(Var3=33,H*1.05,H*1.02,12,0),COLORFFFF00; STICKLINE(Var3=54,L*0.95,L*0.98,12,0),COLOR006600; STICKLINE(Var3=88,H*1.05,H*1.02,12,0),COLOR00FF00; STICKLINE(Var3=143,L*0.95,L*0.98,12,0),COLORCCFFFF; STICKLINE(Var3=232,H*1.05,H*1.02,12,0),COLORFF0033; STICKLINE(Var3=376,L*0.95,L*0.98,12,0),COLORFF9966; 34.短线狙击手 来势线:EMA(CLOSE,7)-EMA(CLOSE,21),coloryellow; 福星:EMA(来势线,7),COLORSTICK,colorred; VAR1:=CLOSE/REF(LLV(LOW,35),5) 决策:IF(VAR1,0.5,0),STICK,coloryellow; 必买:IF(TROUGHBARS(3,15,1)=0ANDHIGH LOW+0.01,1,-1),coloryellow,LINETHICK1; 必卖:IF(PEAKBARS(3,15,1)=1,1,2),colorwhite,LINETHICK1; 趋势线:(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,colorred; 逃顶线:EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR00FF00,LINETHICK1; 35.傻瓜选股 VAR1:=HHV(HIGH,25); VAR2:=LLV(LOW,25); VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20)/2,COLORF0F000,LINETHICK2; VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5); 持股线:VAR4/2,COLORRED,LINETHICK2; STICKLINE(持股线 REF(持股线,1),0,持股线,3,1),COLORRED; STICKLINE(持股线 REF(持股线,1),0,持股线,3,1),COLORGREEN; VAR5:=C HHV(C,60)*0.6 NBSP;OR NBSP;C HHV(C,10)*0.8 NBSP;OR NBSP;C HHV(C,3)*0.9 NBS P;AND NBSP;(H-L)REF(C,1) 0.04OR(REF(H,1)-REF(L,1))/REF(C,2) 0.08ANDV MA(V,5)AND持股线 10AND持股线 REF(持股线,1); DRAWICON(VAR5=1,LOW*0.38,9);绿卖 36.波段操作绝品 A:=(3*CLOSE+LOW+OPEN+HIGH)/6; HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+ 15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+ 10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+ 5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+ REF(A,21))/231; HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6; DC1:EMA(HJX3,4),COLOR00FF00; DC2:EMA(DC1,3),COLORRED; DC3:EMA(DC1,7),COLORRED; K1:=BACKSET(DC1 REF(DC1,1),2); K2:=BACKSET(DC2 REF(DC2,1),2); K3:=BACKSET(DC3 REF(DC3,1),2); DC4:EMA(HJX21,6),COLORYELLOW; DC5:EMA(HJX21,16),COLORYELLOW; DC6:EMA(HJX21,34),COLORYELLOW; RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; YX2:=D REF(D,1); YX3:=DC4 DC6AND nb 37.中短线 Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*10 引用: 同花顺公式:同花顺指标公式,同花顺经典公式整合-知乎