大智慧经典指标中精心挑选的公式

合集下载

好用的大智慧同花顺通达信指标公式

好用的大智慧同花顺通达信指标公式

好用的指标公式:1、短线快枪Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;安全线:EMA(Var1,55),CIRCLEDOT;SK:SLOPE(EMA(Var1,2),7)*15+VaR1;SD:EMA(SK,2);SJ:2.8*SK-1.8*SD;6,POINTDOT;买一:IF(CROSS(SK,SD)AND安全线,9.8,6);买二:IF(CROSS(S安全线),9.8,6);买三:IF(CROSS(SK,SD)ANDSK全线,9.8,6);2、庄家进出Var1:=IF(YEAR>=2034ANDMONTH>=1,0,1);VarC:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0- VOL,0)),0)/25000,2)*Var1;分界线:EMA(VarC,26)*Var1,LINETHICK2,COLORf0f000;庄家线1:EMA(VarC,1)*Var1,colorred;庄家线2:EMA(VarC,6)*Var1,coloryellow;庄家线3:EMA(VarC,12)*Var1,COLOR00ff00;3、买后即涨趋势线: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);趋势参考:ema(趋势线,3),C0L0Rgreen;见底信号: 2;买点准备:IF趋势线<=10,50,0);买入时间:IF(CROS趋势线,见底信号),100,0),C0L0R0099ff,LINETHICK4; Var1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),10,1);Var3:=EMA(Var2,10);Var4:=LLV(LOW,33);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力进场:STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORred;洗盘:STICKLINE(Var5<REF(Var5,1),0,Var5,7,0),COLORgreen;4、送财神REFLINE:0;VAR1:=MA(CLOSE,18);VAR2:=(CLOSE-VAR1)/VAR1*100;VAR3:=MA(VAR2,1);财宝天王:VAR3;VAR4:=BARSLAST(CROSS(-10,VAR3)=1);VAR5:=BARSLAST(CROSS(VAR3,10)=1);VAR6:=VAR3<-10 AND VAR4>=5;VAR7:=VAR3>10 AND VAR5>=5;C1:=IF(VAR3<-10 AND VAR4<=5,VAR3,0);C3:=IF(VAR3>10 AND VAR5<=5,VAR3,0);黄财神: C1, coloryellow,LINETHICK0;红财神: C3,colorred,LINETHICK0;FILLRGN(C1,0,C1<-10,RGB(80,80,00),1,RGB(0,0,0));FILLRGN(C3,0,C3>10,RGB(80,00,00),1,RGB(0,0,0));5、极品VOL当日:VOL;量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:IF(CL0SE>0PEN,VAR1*(HIGH丄0W),IF(CL0SE<0PEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),Color0000FF,STICK;主动卖盘:IF(CL0SE>0PEN,VAR1*((HIGH-CL0SE)+(0PEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color00E521,STICK;买卖盘比:主动买盘/ 主动卖盘;WJ:=(HIGH+LOW+CLOSE)/3;VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);VD6:=(VD1*VD5);STICKLINE主动卖盘> 0),0,主动卖盘,6.8,0),color009500;STICKLINE主动卖盘 > 0),0主动卖盘,6.5,0),color009C00;STICKLINE主动卖盘> 0),0主动卖盘,6.3,0),color00A300;STICKLINE主动卖盘> 0),0主动卖盘,6,0),color00AB00;STICKLINE主动卖盘> 0),0主动卖盘,5.7,0),color00AF00;STICKLINE主动卖盘> 0),0主动卖盘,5.5,0),color00B900;STICKLINE主动卖盘> 0),0主动卖盘,5.3,0),color00C000;STICKLINE主动卖盘 > 0),0,主动卖盘,5,0),color00C100;STICKLINE主动卖盘 > 0),0,主动卖盘,4.5,0),color00CA00;STICKLINE主动卖盘 > 0),0,主动卖盘,3.5,0),color00D300;STICKLINE主动卖盘 > 0),0,主动卖盘,3,0),color00DB00;STICKLINE主动卖盘 > 0),0,主动卖盘,2.5,0),color00EA00;STICKLINE主动卖盘 > 0),0,主动卖盘,1.5,0),color00FF00;DRAWTEXTABS(1,【买卖盘解量(手)1 ');DRAWTEXTABS(1,30|,'当日买卖量二'+NUMTOSTR(VOL)),ColorFFOOFF;DRAWTEXTABS(1,60|,'当日主动买量二'+NUMTOSTR主动买盘)),ColorOOffOO;DRAWTEXTABS(1,90|,'当日主动卖量二'+NUMTOSTF主动卖盘)),Coloryellow;DRAWTEXTABS(1,120|,'当日买卖盘比二'+NUMTOSTF买卖盘比)),ColorFF00FF;DRAWTEXTABS(25O,30,'买入资金累计万元:'+NUMTOSTF买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(25O,60,'卖出资金累计万元:'+NUMTOSTF卖出资金)),ColorOOffOO,LINETHICK1;DRAWTEXTABS(25O,90,'资金进出万元:'+NUMTOSTF资金进出)),Coloryellow丄INETHICK1;DRAWTEXTABS(250,120|,'买卖资金比:'+NUMTOSTF买卖资金比)),Coloryellow,LINETHICK1;DRAWTEXTABS(1,150|,'当日挂单买盘:'+NUMTOSTF挂单买盘)),Colorred,LINETHICK1;DRAWTEXTABS(250,50(当日挂单卖盘: '+NUMTOSTR 挂单卖盘)),Color00ff00,LINETHICK1;6、发家分时(抓涨停)日1:EMA(C,1),COLORFF((FF;日:=EMA((H+L+C)/3,1);日5:=MA(EMA((H+L+C)/3,1),5);日1(:=MA(EMA((H+L+C)/3,1),1();对比日:EMA(REF日,240),1),COLORWHITE ;对比日5:=MA(EMA(REF日,240),1),5);对比日10:=MA(EMA(REF日,240),1),10);强:二日5>对比日5 AND日10>对比日10 AND日5-对比日5>0 AND日10-对比日10>0 角:=(ATAN((日10/REF(日10,5)-1)*100)*180/3.14115926)>30;角2:=(ATAN((0 10/REF(0 10,5)-1)*100)*180/3.14115926)>20;弱:二日5<对比日5AND日10<对比日10AND日5-对比日5<0AND日10-对比日10V0AND对比日5>REIF(寸比日5,3);STICKLINE( CROSS(5,对比日5) AND C>REF(C,150) AN角, 日5*1.05,REF(LLV^比日,200),200),1,0),C0L0RRED;STICKLIN角2,日5*0.98,REF(LLV对比日,200),200),1,0),C0L0RYELLOW;DRAWICON(CROS日(1,对比日)AND C>REF(C,24(日, 1*1.05,1);DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);。

大智慧会员极品公式大全

大智慧会员极品公式大全

形态特征选股公式的编制(1)、均线多头排列a1:=ma(c,n1);a2:=ma(c,n2);a3:=ma(c,n3);a4:=ma(c,n4); count(a1>a2 and a2>a3 and a3>a4,3)=3 and isup;注:n1、n2、n3、n4j日均线呈多头排列,isup也可以用close>open表示(2)、均线空头排列a1:=ma(c,n1);a2:=ma(c,n2);a3:=ma(c,n3);a4:=ma(c,n4); count(a1< a2 and a2< a3 and a3< a4,3)=3 and not(isup);注:n1、n2、n3、n4j日均线呈空头排列,isup也可以用close< open表示。

(3)、早晨之星ref(close,2)/ref(open,2<0.95 and ref(open,1)< ref(close,2) andabs(ref(open,1)-ref(close,1)/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2);注:早晨之星,这种形态和叫法自然是后市向好,为买进信号。

早晨之星由三根K线组成,其顺序是:第一天在下跌过程中已形成一根阴线:ref(close,2)/ref(open,2<0.95第二天呈裂口下跌,K线实体较短,构成星的主体部分,阴线或阳线均可,有无上下影线均不重要。

ref(open,1)< ref(close,2) and abs(ref(open,1)-ref(close,1)/ref(close,1)<0.03关键是第三根K线必须是阳线,且其长度至少要升至第一根阴线实体(如果能够“包容”第一根阴线则最好不过了)close/open>1.05 and close>ref(close,2)(4)、强势整理a1:=abs(close-open)/open<0.015;a2:=count(a,m)=m;a3:=ref(o,m)< ref(c,m) and ref (c,m)/ref(c,m+1)>1+n/100; a2 and a3;注:一根实体超过n的长阳,后面跟m个K线实体不超过1.5%的K线。

大智慧牛股精简版指标公式

大智慧牛股精简版指标公式

大智慧牛股精简版指标公式短线:=9;中线:=9;周期:=15;过滤:=8;选股:=-26;抄底:=-30;小买:=IF((TROUGHBARS(3,15,1) = 0) AND (HIGH > LOW + 0.01) AND (DATE <= 108088515),50,0);VAR111012:=((VOL)/(CAPITAL))*(100);VAR111013:=LLVBARS(LOW,50);VAR111014:=SUM(VOL,VAR111013);VAR111015:=HHVBARS(HIGH,50);VAR111016:=SUM(VOL,VAR111015);VAR111017:=((CLOSE - REF(OPEN,VAR111015))/(REF(OPEN,VAR111015)))*(100);VAR111022:=(REF(CLOSE,2))*(0.865);VAR111023:=(REF(CLOSE,13))*(0.772);VAR111024:=MIN(VAR111022,VAR111023);大买:=(IF(((CLOSE - VAR111024)/(CLOSE) < 0.03) AND (VAR111017 < (-35)) AND ((SUM(VAR111012,5))/(5) < 1.8) AND (DATE <= 108880515),1,0))*(100);豪买:IF((大买= 100) AND (小买= 50) AND (DATE <= 108880515),168,0),COLORRED;DRAWTEXT((豪买 = 168),175,' 豪买'),COLORRED;VAR111027:=(EMA(CLOSE,12) - EMA(CLOSE,26))*(100);VAR111028:=EMA(VAR111027,9);VAR60:=(SUM(((CLOSE)*(VOL))*(100),4))/(SUM((VOL)*(100), 4));VAR62:=(SUM(((CLOSE)*(VOL))*(100),7))/(SUM((VOL)*(100), 7));VAR64:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100) ,28));B:=IF((DATE <= 108880515),EMA(CLOSE,5) -EMA(CLOSE,10),0);A:=IF((DATE <= 108088515),EMA(B,中线),0);VAR29:=(((-100))*(HHV(CLOSE,10) - CLOSE))/(HHV(CLOSE,10) - LLV(LOW,10)) + 100;VAR32:=REF(A,1);VAR33:=A;VAR34:=VAR33 - VAR32;VAR36:=B;短买:=(IF(CROSS(B,A) AND (B < 0) AND (A < (-0.2)) AND (VAR29 > 45) AND (VAR34 > 0) ,100,0))*(1);VAR1F:=((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100);VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);趋势:=IF((DATE <= 108880515),SMA(VAR21,3,1),0);人气:=IF((DATE <= 108880515),SMA(趋势,3,1),0);短买15:=MA(短买,15);VAR81:=100 - (3)*(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1)) + (2)*(SMA(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));VAR82:=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));VAR83:=(VAR81 < REF(VAR82,1)) AND (VOL > REF(VOL,1)) AND (CLOSE > REF(CLOSE,1));有主力:IF(VAR83 AND (COUNT(VAR83,30) = 1),100,0),LINETHICK1,COLORFF00FF;DRAWTEXT((有主力= 100),110,'有主力'),COLORFF00FF,ALIGN2;豪买和主力10:=MA(豪买,10) + MA(有主力,10);VAR201:=SUM(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(LOW - REF(CLOSE,1))),25);VAR202:=HIGH - REF(HIGH,1);VAR203:=REF(LOW,1) - LOW;VAR204:=SUM(IF((VAR202 > 0) AND (VAR202 > VAR203),VAR202,0),25);VAR205:=SUM(IF((VAR203 > 0) AND (VAR203 > VAR202),VAR203,0),25);VAR206:=((VAR204)*(100))/(VAR201);VAR207:=((VAR205)*(100))/(VAR201);AB:=(ZIG(3,(50)/(5)))*(100);AG:=MA(AB,2);AD:=(CROSS(AB,AG))*(1000);AW:=(CROSS(AG,AB))*(1000);买:IF((AD = 1000) ,68,0),COLORRED;卖:IF((AW = 1000),138,210),COLOR00FF00;DRAWTEXT((买 = 68),75,'短买'),COLORRED,ALIGN2;DRAWTEXT((卖 = 138),140,'短卖'),COLOR00FF00,ALIGN2;VARF:= TROUGHBARS(3,15,1)<4;多空: EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/ 4,30)*100,3),LINETHICK0,COLORWHITE;STICKLINE(FILTER(VARF=1,5),200,0,5,0),COLORRED;DRAWTEXT(FILTER(VARF=1,3),200,'绝对买入'),LINETHICK2,ALIGN2,COLOR00AAFF;STICKLINE(FILTER(VARF=1,5) AND 多空<(-10),50,0,5,0),COLORRED;STICKLINE(多空<(-10),0,多空,1,0),COLORRED;STICKLINE(多空>10,0,多空,1,0),COLOR00FF00;。

大智慧最佳组合公式

大智慧最佳组合公式

大智慧最佳组合公式[极品原码](注:红色部分有错误)1.大智慧的:{飞天格格}Var1:=MA(CLOSE,30);海底: Var1-2*STD(CLOSE,60),colorcyan,linethick2;水平面: MA(CLOSE,60),pointdot;天际: Var1+2*STD(CLOSE,60);FLY1: MA(CLOSE,5);FLY2: MA(CLOSE,10);Var2:=CROSS(MA(CLOSE,5),MA(CLOSE,30));DRAWICON(Var2,LOW-LOW*0.01,1);DRAWTEXT(Var2 AND CLOSE>MA(CLOSE,250),LOW-LOW*0.02,'←少量买 '),color yellow;DRAWTEXT(Var2 AND CLOSE>=MA(CLOSE,60) AND CLOSE<=MA(CLOSE,250),LOW-LO W*0.02,'←半仓买'),coloryellow;DRAWTEXT(Var2 AND CLOSE<MA(CLOSE,60),LOW-LOW*0.02,'←全仓买 '),colory ellow;-----------------------------------------------------------------------------------------------2.大智慧的:[红烧牛排]HSNP1:=CLOSE-REF(CLOSE,1);HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);HSNP3:=REF(CLOSE,1)-CLOSE;HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);HSNP6:=100-100/(1+HSNP5);HSNP7:=EMA(HSNP6,21);HSNP8:=EMA(HSNP7,5);HSNP:=EMA(HSNP7,3);np: (HSNP7-HSNP),COLOR00ffcc,linethick2;nl:(HSNP-HSNP7),COLORYELLOW,linethick2;STICKLINE(np>0,0,np,1,2),COLORRED;STICKLINE(nl<0,0,nl,1,2),COLORRED;STICKLINE(np<0,0,np,1,2),COLOR669933;STICKLINE(nl>0,0,nl,1,2),COLOR669933;金叉:=CROSS(np,0.005);死叉:=CROSS(nl,0.005);牛排:IF(金叉,1,0),COLORRED;牛肋:IF(死叉,1,0),COLOR669933 ;ljx:0{,LINEDOT},COLORBLUE;------------------------------------------------------------------------------------------大智慧的:[猎杀大盘]猎枪:sma(SMA((C-LLV(L,80))/(HHV(H,80)-LLV(L,80))*100,10,1),10,1)linethick2;收兵:SMA(猎枪,10,1),linethick2,color808000;W1:=SMA((HHV(H,288)-C)/(HHV(H,288)-LLV(L,288))*100,10,1);瞄准:SMA(W1,10,1),POINTDOT,COLORGREEN;天空:stickline(c,85,85,5,1);大地:stickline(c,9,9,5,1);DRAWTEXT(CROSS(收兵,猎枪) and 收兵>20,猎枪,'杀'),COLORGREEN; DRAWTEXT(CROSS(收兵,猎枪) and 收兵<50 and 收兵>20,猎枪,' 留意!'),COL OR00FF00;DRAWTEXT(CROSS(猎枪,收兵) and 收兵<20,猎枪,'猎!'),COLOR00FF00; DRAWTEXT(CROSS(瞄准,80),瞄准,'瞄准!'),COLORRED;DRAWTEXT(CROSS(瞄准,85),瞄准,'猎物出现!!'),COLORWHITE;var1:=sma((VOL/WINNER(CLOSE))/10000000,10,1);出击:if(var1>120,var1,0),STICK,COLORRED ;大盘底部:if(var1>85,var1,0),COLORRED;---------------------------------------------------------------------------------------------大智慧的:{308-至简定稿}stickline(c<=o,C,o,8,0),COLORCYAN;stickline(c<=o,H,L,0.1,0),COLORCYAN;stickline(c>=o,C,o,8,1),COLORRED;stickline(c>=o,C,H,0.1,0),COLORRED;stickline(c>=o,L,O,0.1,0),COLORRED;TTZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 {and TTZF>=ZF}; STICKLINE(TTZF>=2.50 ,o ,c ,8,0),color00ffff;顶部压力:HHv(ma(h,11),50),colorff8833,LINETHICK2;中轨:HHv(ma(h,11),15),colorred,LINETHICK2;趋势:llv(ma(h,11),1),colorgreen,LINETHICK2;百色胡子:llv(ma(h,11),8),COLORmagenta,LINETHICK2;--------------------------------------------------------------------------------------------135战法----不错的战法[极品公式原码]大智慧的:[135战法综合]股道短:=MA(C,13);股道中:=MA(C,34);股道长:=MA(C,55);短交长:=CROSS(股道短,股道长);中交长:=CROSS(股道中,股道长);黑马粗选:短交长 OR 中交长;空头排列:=股道短<股道中 AND 股道短<股道长 AND 股道中<股道长;走平上行:=股道短>=REF(股道短,1);红杏出墙:O<股道短 AND C>股道短 AND 走平上行 AND 空头排列;多头排列:=股道短>股道中 AND 股道短>股道长 AND 股道中>股道长;满园春色:O<股道短 AND C>股道短 AND 多头排列;基础:=股道长>REF(股道长,1) AND 股道短>股道长 AND 股道中>股道长;梅开二度:基础 AND CROSS(股道短,股道中);三线齐推:O<股道短 AND O<股道中 AND O<股道长 AND C>股道短 AND C>股道中 AND C>股道长;[非常好的大智慧主图公式,极品源码]搏庄主线:=(ma(close,6)+ma(close,12)+ma(close,24)+ma(close,36))/4,linethick2,colorff00ff; 股价重心:=dma(amount/vol/100,vol/capital),colorgreen,linethick2;ma14:=ema(close,14);ma34:=ema(close,26);ma54:=ema(close,54);ma90:=ema(close,90);ma120:ema(close,120),pointdot,linethick2,colorwhite;年线:ema(c,250),coloryellow,linethick2;{中短波}hz:=ema(close,13);短波:ema(hz,1),color00dd00,linethick1;中波:ema(hz,26),colorred,linethick1;均线148天:=ema(c,148),pointdot,linethick1,colorgreen;成本:=sum(amount,0)/sum(vol,0)/100,coloryellow ,linethick2 ;hz2:ema(hz,8),colorgreen,linethick2;hz4:ema(hz,39),colorff00ff,linethick2;a1:stickline(hz2<hz4,短波,hz4,1.5,0),colorblue ;a2:stickline(短波>hz2,短波,hz2,3,0),colorgreen;a3:stickline(中波>hz4,中波,hz4,2,0),colorff00ff;{慢速kdj}rsv:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;fastk:=sma(rsv,12,1);k:=sma(fastk,9,1),coloryellow;d:=sma(k,3,1),linethick2,colorblue;j:=3*k-2*d,linethick1,colorgreen;{中波}var11:=3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)-2*sma(sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);var22:=100-var11;中势线:=(-1)*(ema(var22,1)-50)+42,coloryellow,linethick2;tz:=(close-llv(low,331))/(hhv(high,331)-llv(low,331))*100;强势线:=sma(tz,5,1),linethick2,colorred;大盘线:=70*(hhv(high,39)-close)/(hhv(high,39)-llv(low,39)),linethick1,color009900; {量选}aa:=vol/sum(vol,13);bb:=dma(c,aa);cc:=vol/sum(vol,34);dd:=dma(c,cc);{背离}var00:=winner(close);var1:=forcast(var00,10);var2:=ma(var1,3);var3:=ma(var2,12);var4:=ma(var3,16);var5:=ma(var4,31);var6:=ma(var5,55);var7:=var5;var8:=var4>var2*1.11 and var3>var2*1.095;a:=var4/var2;b:=var3/var2;var9:=var2>var1*0.95;td:=var2/var1;var1h:=indexc;var2h:=ma(var1h,6);var3h:=ma(var1h,24);var4h:=ma(var1h,32);var5h:=ma(var1h,62);var6h:=ma(var1h,105);var7h:=var5h;var8h:=var4h>var2h*1.11 and var3h>var2h*1.095;var9h:=var2h>var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;g:=(var7h and var8h and var9h and close/cost(8)<=0.7985and (count(c=l,4)<3 or c>ref(c,1)))and pt orvar7 and var8 and var9 and close/cost(5)<=0.8 and((var1>open or var1>ref(open,1) orref(var1,1)));背离:=var2<ref(var2,1) and a>ref(a,1);买入信号1:=var1>a and var2>b;买入信号2:=b>a and 1>b and a<1 and h=hhv(h,21);buy:=count(背离,20)>1 and 买入信号2=1 and c>o or cross(bb,dd);drawicon(cross(短波,hz2),中波,1);drawtext(cross(主线,ma90) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(主线,ma120) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(ma120,均线148天) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(中势线,33) and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 大盘线<36 and 强势线>36 and 主线>ref(主线,1)and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 中势线<70 and c>o and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orcross(短波,hz2) and 大盘线<36 and 短波>中波and 中波>hz4 and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 orj>k and 大盘线<36 and 短波>hz2 and cross(强势线,36) or cross(短波,hz2) and cross(强势线,36) or cross(j,k) and cross(强势线,33)or cross(短波,hz2) and cross(强势线,54)or cross(j,k) and 大盘线<36 and j<65 and c>o and 短波-ref(短波,1)>0.088 orcross(j,k) and 短波>hz2 and j<68 and 短波>ref(短波,1) and hz2>ref(hz2,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 orcross(j,k) and 大盘线<36 and j<68 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 orcross(短波,hz2) and 大盘线<36 and j>k and j<68 and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 orcross(短波,hz2) and 中波>ma120 and 中波>均线148天and hz2>ma120 and ma120>均线148天and 短波-ref(短波,1)>0.088 orcross(j,k) and 强势线>54 and 强势线>ref(强势线,1) and j<68or count(背离,20)>1 and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 买入信号2=1 and 主线>ref(主线,1)and 中势线>ref(中势线,1) and 中势线<70 and c>o orcross(bb,dd) and j<74 and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 or大盘线<36 and j>d and j<65 and c>o and 短波>ref(短波,1) and cross(hz2,中波) and 短波-ref(短波,1)>0.088 and o>ref(c,1) orc>o and 短波>ref(短波,1) and j>d and j<65 and 大盘线<36 and cross(中势线,33) and 中势线-ref(中势线,1)>0.23 and 短波-ref(短波,1)>0.088and o>ref(c,1) and 强势线>12 or短波>hz2 and 中波>hz4 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 and j<56 or短波>hz2 and 中波>hz4 and 大盘线<36 and j>d and j<65 and cross(hz4,年线) and 短波-ref(短波,1)>0.088 or短波>hz2 and hz2>hz4 and 大盘线<36 and j>d and j<65 and j<65 and cross(强势线,46)and 短波-ref(短波,1)>0.088 or短波>hz2 and 大盘线<36 and j>d and j<65 and cross(中势线,36) and 短波-ref(短波,1)>0.088,hz2-0.18,'!追'),colorwhite;{好}drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.09,'●'),coloryellow;drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.12,'做趋势'), coloryellow;DRAWTEXT(cross(短波,hz2),C,'♂');DRAWTEXT(cross ( 中波,hz4),C,'♂');DRAWTEXT(cross ( 中波,ma120),C,'♂');DRAWTEXT(cross (hz4,ma120),C,'♂');。

大智慧公式源码

大智慧公式源码

一、精准买卖V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤:IF(V4<=0,V4,0),colorblue;主力进:IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),Colorred;大盘资金撤走:IF(VB<=0,VB,0),colorgreen;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-L LV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;DRAWTEXTABS(5,5,'股旁网'),linethick1,COLOR00EEff;准备现金:STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13)and filter((趋势线<=13),15);drawtext(aa,30,'准备现金'),colorcc9900;买入股票:STICKLINE(趋势线<=13AND V12>13,0,50,5,0),color0099ff;bb:=(趋势线<=13AND V12>13)and filter((趋势线<=13AND V12>13),10); drawtext(bb,60,'买入股票'),color0099ff;卖临界:STICKLINE(趋势线>90and趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:filter(趋势线>90and趋势线<ref(趋势线,1)and主力进<ref(主力进,1),8);DRAWTEXT(见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90AND V12)and filter((趋势线>=90AND V12),10);stickline(大盘资金进场and趋势线<13,0,30,10,0),colorred;stickline(大盘资金撤走and趋势线>90,0,30,10,0),colorgreen;stickline(主力进and趋势线<13,0,40,10,0),colorff00ff;stickline(主力撤and趋势线>90,0,40,10,0),colorblue;。

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)INPUT:AM(1,0,1),AJ(1,0,1),AC(1,0,1),AR(1,0,1),AD(1,0,1),DM(1,0,1),ZL(1,0,1); DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(0,0,120),0));{1.K线}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),color0000FF;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),color006600;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),color008800;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),color00AA00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),color00BB00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),color00CC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),color00DD00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),color00EE00;STICKLINE((OPEN > CLOSE),HIGH,LOW,1,0),color00FF00;LC:=REF(C,1);卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0; DRAWTEXT(CROSS(80,卖黄金) ,high*1.04,'顶'),COLOR00ffFF,ALIGN1,LINETHICK1; STICKLINE(CROSS(80,卖黄金) AND C<O,H,L,2,0),COLOR00ffff,LAYER0;STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,12,0 ),COLOR007777,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,8,0 ),COLOR009999,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,6,0 ),COLOR00BBBB,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,4,0 ),COLOR00DDDD,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,2 ,0 ),COLOR00ffff,LAYER0; DRAWTEXTABS(5,5,'基本指标:MA5波段'),Color00FFff,LINETHICK3;BC:=(3*C+H+L)/5;MA5:EMA(MA(BC,5),5);PARTLINE(MA5,(MA5>REF(MA5,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYE R0;XL:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(L,XL))*0.95;IF AM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:MACD'),Color0000ff,LINETHICK4;DIFF:=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3);DEA:=EMA(DIFF,9);MACD:2*(DIFF-DEA),Color0598FF,LINETHICK0;;STICKLINE(MACD>0,E+MACD*2,E,12,0),Color0598FF;STICKLINE(MACD<0,E+MACD*2,E,12,0),ColorFF5500;END;IF AJ=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:KDJ'),Colorff00ff,LINETHICK4;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),Color05FFFF,LINETHICK0;if(CROSS(K,D) AND BARSLAST(CROSS(D,K))<3,E*1.09,E),ColorFF9910 ; STICKLINE(K>D,E+(K-D)/50,E,12,0),Color0000FF;STICKLINE(K<D,E+(K-D)/50,E,12,0),Color00FF00;END;IF AC=1 THEN BEGINDRAWTEXTABS(200,5,'指标:CCI'),Color00ffff,LINETHICK4;TYP := (HIGH + LOW + CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Color05FF00,LINETHICK0;; STICKLINE(CCI>0,E+CCI/350,E,12,0),Color0077FF;STICKLINE(CCI<0,E+CCI/350,E,12,0),ColorFF9900;END;IF AR=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:RSI'),Color00ff00,LINETHICK4;LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,ColorFF05FF,LINE THICK0;CRSI:="RSI.RSI3#WEEK";金叉RSI:STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E,E*1.1,0.6,0),ColorFF 00FF;DRAWTEXT(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E*1.1,'金叉'),COLOR0000FF;STICKLINE(RSI>CRSI,E+(RSI-CRSI)/50,E,12,0),Color0000FF;STICKLINE(RSI<CRSI,E+(RSI-CRSI)/50,E,12,0),Color00FF00;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR1,13)-EMA(VAR1,73);SD:=EMA(SK,2);XG:=((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金叉RSI);STICKLINE(XG,E,E*1.15,0.6,0),COLOR00FFFF;DRAWTEXT(XG,E*1.15,'突破'),COLOR00FFBB;END;IF AD=1 THEN BEGIN{DMI新编}DRAWTEXTABS(250,5,'技术指标:DMI'),Color0598ff,LINETHICK4;N:=21;M:=6;M1:=20;TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LO W)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);PDI:= DMP*100/TR1;MDI:DMM*100/TR1,Color05FFFF,LINETHICK0;ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;ADXR:=EMA(ADX,M);ADMA:=EMA(ADX,M1);OMD:=(ADX-2*ADMA+ADXR)/2;STICKLINE( OMD>0,E,E+OMD/100,12,0),COLORRED;STICKLINE(OMD<0,E,E+OMD/100,12,0),COLORGREEN;END;IF DM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:DMA'),ColorFF55ff,LINETHICK4;DDD:=(MA(CLOSE,10)-MA(CLOSE,50));AMA:=MA(DDD,10);STICKLINE( DDD>AMA,E,E+(DDD-AMA),12,0),COLORFF22FF;STICKLINE(DDD<AMA,E,E+(DDD-AMA),12,0),COLOR99FF99;END;IF ZL=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:主力进出'),ColorFF55ff,LINETHICK4;jcs:=ZLSHORT;jcm:=ma(zlshort ,12);STICKLINE(jcs>jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLOR222299; STICKLINE(jcs<jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLORFFee00; END;。

大智慧技术指标公式,非常重要,绝不删除.doc

大智慧技术指标公式,非常重要,绝不删除.doc

1 钱龙长线: LON,colorwhite; ma(lon,10),coloryellow; lon,colorstick2 钱龙短线: sho,colorwhite; ma(sho,10),coloryellow; sho,colorstick;3 主力轨迹: mtm:=c-ref(c,1);ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite; MAZL:MA(ZLGJ,N2),coloryellow 4 大智慧一根线追: BY20:=MA(C,5);五月持币线 :MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线 :IF(BY20> 五月持币线 ,五月持币线 ,BY20),LINETHICK2,COLOR808080; VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 未来} VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK 2;{ STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{ STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHI CK2;{5 笑脸买卖点指标:A:(ema(c,5)-ema(c,55))*30,colorred,linethick3; stickline(a>=0,a,0,5,0),colorred,linethick2; stickline(a<0,a,0,5,0),colorblue,linethick2; stickline(a>=0 and a>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0 anda>=ref(a,1),a,0,5,0),colorff9900,linethick2; 0,color4080ff,linethick3; DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,1); DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,2);6 指示强势股: {多空} RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50; Kv:=SMA(RSV,3,1); Dv:=SMA(Kv,3,1); Jv:=3*Kv-2*Dv; zdzk1:=EMA(Jv,6); zdzk2:=REF(zdzk1,1);做多 :IF(zdzk1>=zdzk2,zdzk1+2,zdzk2),,COLORRED; 做空 :IF(zdzk2-zdzk1,zdzk2,zdzk1),,COLOR334499; xw1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1)))); xw2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1)))); xw3:=SUM(xw1,21);xw4:=SUM(xw2,21); xw5:=IF(xw3>xw4,(xw3-xw4)/xw3,IF(xw3=xw4,0,(xw3-xw4)/xw4)); {14 天强弱 }RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:= EMA(EMA(EMA(RS,7),3),3); ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15;STICKLINE(ZD1>=0,0,ZD1*50,4,0),Color0000BE; STICKLINE(ZD1<=0,0,ZD1*50,4,0),COLORCdff88; y1:=AMOUNT/V/100; y2:=(3*H+L+O+2*C)/7;y3:=100*(WINNER(1.1*C)-WINNER(0.9*C)); y4:=SUM(AMOUNT,13)/y1/100; y5:= DMA(y2,V/y4); y6:=(C-y5)/y5*100;y7:=(y3<10) AND (y6<=-10); y8:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),6,1)*100; 重高位黄色 } 高位黄色 } 高位黄色 } 底位红色 } 底位红色 } 底位红色 }亏 :STICKLINE(y6<=-10 and ZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2; 全亏 :STICKLINE(y6<=-16 andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE; 超跌 :STICKLINE(y7 and ZD1<0,ZD1*65,ZD1*60,6,0),ColorFFFFFF; Jct:=100*(c-cost(10))/cost(10); if(C,if(Jct<0,Jct,0)*3,0),COLORWHITE;{备战区 1 }ZDD1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;ZDD2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;ZDD3:=SMA(ZDD2,13,8);ZDD4:=CEILING(SMA(ZDD3,13,8));ZDD5:=SMA(ZDD1,21,8);Xh1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; Xh2:=ZDD4-ZDD5<-65 and Xh1<12;备战区 :dRAWICON(Xh2,0,12),Color006EFF;STICKLINE(Xh2,0,ZD1*20,4,0),Color006EFF;{备战区 2 }Xx1:=MA(LOW,2)*0.96;Xx2:=MA(LOW,26)*0.85;Xx3:= REF(Xx1,1)<Xx2 AND REF(Xx1,1)<Xx1 AND REF(Xx1,1)<REF(Xx1,2);STICKLINE(Xx3,0,ZD1*16,4,0),Color006EFF;DRAWICON(Xx3,0,12);{备战区 3 }C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;STICKLINE((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EFF;DRAWICON((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,12);{备战区 4}Ww1:= sum( ma(c,10),9)/10.110;Ww2:=cross(c,Ww1);STICKLINE(Ww2,0,ZD1*26,4,0),Color006EFF;{40}DRAWICON(Ww2,0,12);{买 1}Vw1:=DMA(EMA(C,12),SUM(V,5)/3/CAPITAL);Vw2:=REF(H,10)/C>1.35;Vw3:=(COST(20)-C)/C>0.15;Vw4:=H>L*1.051;Vw5:=Vw4 AND COUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30) or Vw2) and Vw3 and Vw5;STICKLINE(Vw6,0,ZD1*40,4,0),Color0000FF;{48}DRAWICON(Vw6,0,6);{买 2}XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,15,4,0),ColorF8B7F0;DRAWTEXT(XL3,25,'・买'),ColorF8B7F0;{井喷}jjp1:=REF(INDEXC,1);jjp2:=FILTER((INDEXC-jjp1)/jjp1>0.03 and zdzk1>=zdzk2,7);STICKLINE(jjp2,0,-15,4,0),ColorFF00FF;DRAWTEXT(jjp2,- 15,'汕喷买'),ColorFF00FF;7一年二十倍指标:R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=EMA(R,3);D:=EMA(K,3);一年十二倍 :20,colorred;陡峭度 :=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 <20070110));VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110)); 获利盘 :=(WINNER(CLOSE))*(100);获利线 :=FORCAST( 获利盘 ,7);线:=(F0RCAST(VAR1A,7))*((DATE < 20070110));满仓:=((线 > REF(线,1)) and (线 < 25) and (COUNT(( 线 > REF(线,1)),5) = 1) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (C0UNT(( 获利线 > 20),20) > 0))*(40);STICKLINE( 满仓 ,0,40,5,0),Color008000;DRAWTEXT( 满仓 ,45,' 满仓 '),ColorWHITE;轻仓:=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) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,( 线 > D) or (K > D) and (D < 60)) and IF((N = 6),( 获利盘 < 70),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0); STICKLINE(出击,0,50,3,1),Color44BB00;DRAWTEXT(出击,55,'出击'),colorred;进一 :CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);进二:CROSS(线,获利线)and (D > 30) and ( 获利线 > 25) and (D > REF(D,1));低进:=IF(进一 and (D >获利线),进二,进一);DRAWTEXT(低进,30,'低进'),ColorWHITE;STICKLINE(低进,20,30,3,1),Color000080;DRAWTEXT(进二,50,'高进'),Color800080;STICKLINE(进二,30,50,3,1),coloryellow;狂喜:=(30)*(CROSS(VAR1,(-2)));STICKLINE(狂喜,0,20,3,1),coloryellow;DRAWTEXT( 狂喜,(-5),' 要涨停 '),coloryellow;狂喜过望 :=(50)*((VAR1 = 0));恐慌 :=(20)*(VAR1 < -94);STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;DRAWTEXT(恐慌,(-25),'恐慌'),ColorC1C1C1;极度恐慌 :=(-40)*(VAR1 = (-100));STICKLINE( 极度恐慌 ,0,(-40),7,1),Color800000;DRAWTEXT( 极度恐慌 ,(-45),' 极度恐慌 '),ColorGREEN;半仓:=(30)*(CROSS(VAR1,(-94)) and (COUNT( 恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),( 获利盘 < 60),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0));STICKLINE(半仓,0,30,4,1),ColorFFFF00;DRAWTEXT(半仓,35,'半仓'),ColorFFFF00;加仓:=(30)*(CROSS(K,20) and (COUNT( 半仓,5) > 0));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;8买入涨停: {买入涨停 }{参数:N 5 100 9 LC 5 100 24}MA5:MA(C,5),COLOR00FF00;MA10:MA(C,10),COLORFFFFFF;ZX:=(MA5+MA10)/2;MA24:MA(C,24),COLORFF00FF; {24 日指数平滑均线 ,是真正大资金运作的主要参考和支 撑线} MA30:MA(C,30),COLORYELLOW; QSXS:=MA5>=MA30 AND MA30>REF(MA30,1); GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0; 买入易涨停 :买 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE( STICKLINE( STICKLINE( STICKLINE( DRAWTEXT(买丄*0.99,'买'),COLOROOFFOO; DRAWICON( 买入易涨停 ,L,1); 上线 :=sma(c,6.5,1);下线 :=sma(c,13.5,1); 上线 1:=sma(c,3,1); 下线 1:=sma(c,8,1);DRAWTEXT( cross( 上线,下线),low *0.98,' 全仓买'),color00ff00; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,1 3)*1.3,1,0),L0W*0.98,' 抄底'),coloryellow; 能量线 :=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4))); 上开 :=O; 上收 :=C; 上高 :=H; 上低 :=L; JJ:=( 上开 +上高+上低)/3; VA1:=EMA( 上收 ,8); VA2:=EMA( 上收 ,28);DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,' ▼ 全仓卖'),COLORYELLOW; x1:=(3*C+H+L+O)/6; x2:=EMA(x1,10); x3:=REF(x2,1); x4:=(REF(HIGH,1)+REF(LOW,1))/2;x5:=MA(CLOSE,21)+2*STD(CLOSE,21); x6:=REF(CLOSE,1);{ 出货} x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100; x8:=CROSS(79,x7); x9:=FILTER(x8,4);{40} XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;买,h,l,0,0),COLOR00FF00,li nethick2; 买,o,c,0,0),COLOR00FF00,li nethick2; 买入易涨停 ,h,l,0,0),COLORYELLOW,linethick2; 买入易涨停 ,o,c,4,0),COLORYELLOW,linethick2;XL3:= MA(XL2,3); XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),l-0.02,' 买 '),colorred;DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+ LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l- '),ColorFF5ED8;{80}VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2));0.4,' ▲加仓9 波段极品:MA5: MA(CLOSE,5),COLORbbffff; MA10:MA(CLOSE,10), COLORGREEN,linethick2; S:MA10+2*STD(CLOSE,10), COLORWHITE,linethick2; X:MA10-2*STD(CLOSE,10), COLORYELLOW,linethick2; MA30:MA(CLOSE,30), COLORred;{MA120: MA(CLOSE,120), COLORcc99cc;} MA250: MA(CLOSE,250), COLOR3366ff; {MA60:MA(CLOSE,60), COLORCYAN;} 卖出线 :=98; 阶段卖 :=96;趋势 :=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);底部 :=10; 买入警戒 :stickline( 趋势 <=10,high,low,0.5,0),colorFF9933; stickline( 趋势<=10,open,close,2,1),colorFF9933; 买入信号 :drawicon(CROSS( 趋势,底部 ),low,1);卖出警戒 :stickline( 趋势 >= 阶段卖 ,high,low,0.5,0),color00FF00; stickline( 趋势 >= 阶段卖 ,open,close,3,1),linethick2,color00FF00; 卖出 :drawicon(cross( 卖出线 , 趋势 ),high,2);VB1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; VB2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VB3:=VB1 AND VB2;DRAWTEXT(VB3,LOW,' 买入点 '), COLORWHITE;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,2 0)),HIGH*1.02,' 落袋为安'), COLORWHITE;V2:=REF(CLOSE,1); V3:=SMA(MAX(CLOSE-V2,0),6,1)/SMA(ABS(CLOSE-V2),6,1)*100;DRAWTEXT(CROSS(84,V3),HIGH*1.03,' 见顶 '), COLORYELLOW; V4:=SMA(MAX(CLOSE-V2,0),12,1)/SMA(ABS(CLOSE-V2),12,1)*100; DRAWTEXT(CROSS(V4,20),LOW*0.98,' 见底 '),COLORRED;10 股海扬帆: {股海扬帆 } BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100; 起航天数 :BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4;休整天数 :BARSLAST(BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK4;起航天数 =1,-5,' 起 '),COLORRED; 起航天数 =1,-10,' 航 '),COLORRED; 休整天数 =1,-5,' 休 '),COLORYELLOW;休整天数 =1,-10,' 整 '),COLORYELLOW;DRAWTEXT( DRAWTEXT( DRAWTEXT( DRAWTEXT( -20,COLOR000000;Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); MW:= EMA(Var2w,3);Var3w:=EMA(Var2w,7);M1:= EMA(Var3w,5); mb1:=CROSS(MW,M1) AND M1<20;抄底介入 :IF((mb1),20,0),linethick2,colorff00ff; drawtext( 抄底介入 ,30,' 抄底 '),colorred;Var06:=(2*CLOSE+HIGH+LOW)/4;Var08:=LLV(LOW,34);VarB1:=HHV(HIGH,34); BB:=EMA((Var06-Var08)/(VarB1-Var08)*100,9);VarC1:=EMA(0.667*REF(BB,1)+0.333*BB,2),color000000;黑马起爆洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 2012-2-10 7:39:01成交量 {M5:MA(C,5),COLORWHITE;M10:MA(C,13),COLORYELLOW; M20:MA(C,34),COLORRED;M30:MA(C,60),COLOR33FF33;M60:MA(C,120),COLORFF0000; M120:MA(C,250),COLORFF00FF;}VAR3:=LLV(H,240);VAR4:=100*(C-VAR3)/V AR3;VAR5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100; VAR6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;VAR7:=0; VAR8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;VAR9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VARA:=BARSCOUNT(C);VARB:=V AR8<20 AND V AR9<23 AND V ARA>35;VARC:=V ARB AND COUNT(V ARB,1)=1;VARD:=EMA(C,21)-EMA(C,8);VARE:=EMA(V ARD,5);VARF:=TROUGH(3,6,1)<4 AND CROSS(V ARD,V ARE);VAR10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(C,2)-EMA(C,150);VAR1A:=EMA(V AR19,100);VAR1B:=2*(VAR19-V AR1A);VAR1C:=POW(V AR1B,3)*0.1+POW(V AR1B,1);VAR1D:=SQRT(SQRT(L*H*O*C));VAR1E:=EMA(V AR1D*0.97,3);VAR1F:=(H+L+C)/3;VAR20:=(V AR1F-MA(V AR1F,14))/(0.015*A VEDEV(V AR1F,14)); VAR21:=CROSS(V AR1E,C);{ 买点 1:=VAR10;}买点 2:=(VAR11+V AR13+V AR15+V AR17);卖点 1:=(VAR12+V AR14+V AR16+VAR18),LINETHICK2;{VAR22:= 买点 1 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5=0 VAR6=0 AND V AR20<(-AND 110);}VAR100:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);买点 1:=VAR100;VAR1:=MA(C,5);VAR2:=MA(C,10);VAR31:=MA(C,30);VARB1:=SUM(C*VOL*100,28)/SUM(VOL*100,28);VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA(C,5)-EMA(C,10);VARE1:=EMA(V ARD1,9);VAR190:=EMA(C,2)-EMA(C,150);VAR131:=REF(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-V AR131;VAR161:=REF(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-V AR161;VAR191:=O;VAR1A1:=C;买点 3:=IF(VAR190<=V AR1 AND VAR191<=VAR2 AND VAR191<=VAR31 AND VAR1A1>=V AR1 AND V AR1A1>=V ARC1 AND V AR151>0 AND V AR181>0,0.5,0); DRAWICON( 买点 3>0,L-0.01,1);{DRAWTEXT(买点 1>0,L-0.01,'买点'),COLORRED;}DRAWTEXT(买点 2>0,L-0.01,'买点'),COLOR33FF33;DRAWTEXT(卖点 1>0,H+0.1,'卖点'),COLORFFFF00;天狼短线 B1:=MA(C,1);减仓 :SMA(SMA(SMA(B1,2,1),2,1),2,1),colorgreen,LINETHICK2; 天狼短线 :HHV(MA( 减仓 ,1),13),color00aaff,LINETHICK4;HHV(MA( 减仓 ,1),13),colorred,LINETHICK3;STICKLINE( 天狼短线 > 减仓 AND 减仓 >MA( 减仓 ,3), 天狼短线 , 天狼短线 -0.13,4,0),color00aaff;STICKLINE( 天狼短线 >MA( 减仓 ,3) AND 减仓 <MA( 减仓 ,3), 天狼短线 ,MA( 减仓,3),0,1),colorgree n;路遥 7:36:44雷霆顶压:HHV(MA(H,11),50),COLOROOFFFF;短压:HHV(MA(H,11),15),COLOR0090E0;XL1:=LLV(MA(H,11),1);趋势:IF(XL1>=短压,短压,XL1),COLORFFFFFF;X1:=(3*C+H+L+O)/6;X2:=EMA(X1,10);X3:=REF(X2,1);X4:=(REF(HIGH,1)+REF(LOW,1))/2;X5:=MA(CLOSE,21)+2*STD(CLOSE,21);X6:=REF(CLOSE,1);{ 出货} X7:=SMA(MAX(CLOSE-X6,0),7,1)/SMA(ABS(CLOSE-X6),7,1)*100;X8:=CROSS(79,X7);X9:=FILTER(X8,4);{40}WZ1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);{ 减}WZ2:=POW(MA(LOW,5),2)+MA(LOW,5); WZ3:=POW(MA(HIGH,5),2)+MA(HIGH,5);WZ4:=(WZ1-LLV(WZ2,9))/(HHV(WZ3,9)-LLV(WZ2,9))*150+65; DK:=SMA(WZ4,3,1)*1.5; DD:=SMA(DK,3,1); DJ:=3*DK-2*DD;WZ5:= EMA(CLOSE,12) - EMA(CLOSE,26); WZ6:= EMA(WZ5,9); WZ7:= 2*(WZ5-WZ6);{50} WZ8:= REF(WZ7,1);WZ9:= CROSS(WZ8,WZ7) AND WZ8>0; DRAWTEXT(WZ9 AND DJ>250,H,' ・减'),C0L0RBCFF8B;VAR11:=EMA(CLOSE,8);{ 起步 } VAR2:=EMA(VAR11,20); VAR3:=CR0SS(V AR11,VAR2);VAR4:=VAR11<MA(CL0SE,120); VAR5:=(HHV(HIGH,36)-CL0SE)/(HHV(HIGH,36)-LLV(L0W,36))*100;{ VAR6:=SMA(V AR5,5,1); VAR7:=SMA(V AR6,8,1);{60}VAR8:=CR0SS(V AR6,VAR7) AND V AR7<20; VAR9:=CL0SE>LLV(CL0SE,60)+0.3*LLV(CL0SE,60) AND V AR8; VARA:=IF(CL0SE>1000,V AR8,VAR9); 起步 := VAR3 AND V AR4; 逃遁 := VARA;STICKLINE(X2>X3,X2*0.98,X2,6,1),C0L0R0000FF,LINETHICK2; STICKLINE(X2<X3,X2*0.98,X2,6,1),C0L0RF10011,LINETHICK2; WW1:= SUM( MA(C,10),9)/10.110,C0L0RYELL0W; XX1:=MA(L0W,2)*0.96; XX2:=MA(L0W,26)*0.85;XX3:= REF(XX1,1)<XX2 AND REF(XX1,1)<XX1 AND REF(XX1,1)<REF(XX1,2); VAR1:=INDEXC; VAR12:=MA(V VAR13:=MA(V VAR14:=MA(V VAR15:=MA(V VAR16:=MA(VVAR17:=VAR15<REF(V AR15,1) AND V AR6<REF(VAR16,1) AND V AR15<VAR6*0.98; VAR18:=VAR14>VAR12*1.11 AND V AR13>VAR12*1.095; VAR19:=VAR12>VAR1*0.95;VAR111:=EMA(WINNER(CL0SE)*70,3); VAR112:=EMA((WINNER(CL0SE*1.1)-WINNER(CL0SE*0.9))*80,3); VAR113:=CL0SE/MA(CL0SE,40)*100<76; VAR114:=CL0SE/MA(CL0SE,60)*100<74;逃命 }AR1,6); AR1,24); AR1,32); AR1,62); AR1,105);VAR115:=HIGH>LOW*1.051;VAR116:=V AR115 AND COUNT(V AR15,5)>1;VAR117:=V AR17 AND V AR8 AND V AR19 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND CLOSE>0.1 OR VAR16AND (V AR113 OR VAR114) AND V AR112<20 AND V AR111<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5 OR TROUGHBARS(3,15,1)<4AND CROSS(EMA(CLOSE,21)-EMA(CLOSE,8),EMA(EMA(CLOSE,21)-EMA(CLOSE,8),5));XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;XL3:= MA(XL2,3);XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT(IF(CROSS(3*XL4-2*SMA(XL4,3,1),8),87,0) AND X2>X3,L-0.1,'・•反弹 '),COLORGREEN; DRAWTEXT(IF(CROSS((V AR11-LLV(V AR1,4))/(HHV(V AR11,4)-LLV(VAR11,4))*4*25,87.5) ANDVAR1<40,87,0) AND X2>X3,L-0.2,' —•短买'),C0L0RFFBBD8;DRAWTEXT(CROSS(V AR1,10) AND X2>X3,L-0.3,' —•买'),COLOR89B2FF;DRAWTEXT(IF(CR0SS(2*(EMA((CL0SE*2+HIGH+L0W)/4,12)-EMA((CL0SE*2+HIGH+L OW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0)仓'),COLORFF5ED8;{8O}AND X2>X3,L-0.4,'・•加LL1:=(EMA(CLOSE,3) - EMA(CLOSE,13));路遥 7:37:04强势主升趋势线 :MA(CLOSE,21),ColorFFFfff,linethicK2;生命线 :MA(CLOSE,43),Color00Ffff,linethicK2;牛熊分界线 :MA(CLOSE,250),Color0000ff,linethicK3;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY ,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY ,2*10+1),10),10+1),10); A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波浪顶 :IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;STICKLINE(T1,A,A,9,0),COLORFF00FF;波浪底 :IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;Var3:=LLV( 最高价 ,240);Var4:=100*( 收盘价 -Var3)/Var3;Var5:=(收盘价-LLV(最低价,528))/(HHV(最高价,528)-LLV(最低价,528))*100;Var6:=(收盘价-LLV(收盘价,530))/(HHV(收盘价,530)-LLV(收盘价,530))*100;Var7:=0;Var8:=MA(HHV(收盘价-REF(收盘价,1),0),34)/MA(ABS(收盘价-REF(收盘价,1)),7)*100;Var9:=MA(HHV( 收盘价 -REF( 收盘价 ,1),0),13)/MA(ABS( 收盘价 -REF( 收盘价 ,1)),13)*100; VarA:=BARSCOUNT( 收盘价 );VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA( 收盘价 ,21)-EMA( 收盘价 ,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE); Var10:=IF(TROUGH(3,16,1)=0 AND 最高价 >最低价+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); Var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); Var14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); Var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1)AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); Var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA( 收盘价 ,2)-EMA( 收盘价 ,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A); Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);{ 股旁网 _飞狐股票指标公式 }Var1D:=SQRT(SQRT(最低价*最高价*开盘价*收盘价)); Var1E:=EMA(Var1D*0.97,3); Var1F:=(最高价+最低价+收盘价)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*A VEDEV(Var1F,14));Var21:=CR0SS(Var1E,最低价);买点 1:=Var10;买点 2:=(Var11+Var13+Var15+Var17);卖点 1:=(Var12+Var14+Var16+Var18),linethick2;Var22:=买点 1 AND VarF AND VarC AND Var21 AND Var4<0 AND Var5=0 AND V ar6=0 AND Var20<(-110); VAR1:=MA( 收盘价 ,5); VAR2:=MA( 收盘价 ,10); VAR31:=MA( 收盘价 ,30);VARB1:=SUM( 收盘价*成交量*1 00,28)/SUM( 成交量*1 00,28); VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA( 收盘价 ,5)-EMA( 收盘价 ,10); VARE1:=EMA(V ARD1,9); VAR131:=REF(VARE1,1); VAR141:=VARE1; VAR151:=VAR141-V AR131; VAR161:=REF(VARD1,1); VAR171:=VARD1; VAR181:=VAR171-V AR161; VAR191:= 开盘价 ; VAR1A1:= 收盘价 ;DRAWTEXT( DRAWTEXT( DRAWTEXT( 路遥 7:37:25 第三浪 AA:=V*1000/CAPITAL;主力 :MA(AA,4),COLORYELLOW,POINTDOT; 游资 :MA(AA,9),COLORRED,POINTDOT; 大户:MA(AA,17),C0L0RRED,POINTDOT;STICKLINE( 主力>0,0,主力 ,6,0),COLORYELLOW; STICKLINE( 游资>0,0,游资 ,6,0),COLORRED;STICKLINE( 大户 >0,0,大户 ,6,0),COLORGREEN; 获利平均值 :EMA(100*WINNER(C),20),COLOR9933FF; 获利 99 :=MA(COST(99 ),5); 获利 均线 获利 获利RSV:=(((CLOSE -LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100)); 趋势 :(EMA((3)*(SMA(RSV { 股旁网 VAR2:=(3)*(SMA(((OPEN (2)*(SMA(SMA(((OPENLLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2 - 100;背离:(FORCAST(((-1))*(V AR3),21)),LINETHICK1,COLOROOFFOO; DRAWTEXT((CROSS(趋势,背离)),背离,黑马'),COLORRED; B:=C/REF(C,1)>1.O48ANDC=H买点 买点 卖点 1>0,L+0.1,' ▲'),colorred; 2>0,L+0.1,' ▲'),COLORFF00FF;1>0,H+0.01,' ▼ '),COLOR33FF33;80:=MA(COST(80),5);5日:= MA(C,5);20:=MA(COST(20),5); 1 :=MA(COST(1),5); ,6,1)) - (2)*(SMA(SMA(RSV,5,1),5,1)),2)),COLORRED;_大智慧股票指标公式 }- LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1))- LLV(LOW,89))/(HHV(HIGH,89) ANDBETWEEN(FORCAST(V ,4),0.2*FORCAST(V ,12),2.1*FORCAST(V,12)); •黑牛 :FILTER(B,28)*100,STICK,COLORRED, LINETHICK3; 全仓买:(ZIG(3,35)>REF(ZIG(3,35),1)REF(ZIG(3,35),1)<REF(ZIG(3,35),2))*20,STICK,COLOR990066,LINETHICK3; V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,21); V3:=EMA(V2,5); V4:=2*(V2-V3)*100; 筹 码 进 : IF(V4>=0,V4,0),COLORWHITE,LINETHICK2;STICKLINE((V4 0),0,V4 ,0,0),LINETHICK2,COLORYELLOW; 筹码撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V40),0,V4,0,0),LINETHICK1,COLORBLUE; 路遥 7:37:45价值连城 Var1:=REF(CLOSE,2); 会员SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100,COLORFFAA66; Var2:=REF(CLOSE,1);Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100; 极品逃亡:IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0); DRAWTEXT(极品逃亡,70 ,'★ <-极品逃亡’),coloryellow,linethicki;DRAWTEXT(88>0 and ref(o,1)/ref(c,1)>1.04 and ref(l,1)<=688 and o>ref(c,1)and c<ref(o,1)and c/o>=1.01,l-l*0.02,' ★ <--极品绝底初现 '),linethick1;DRAWTEXT(c-o>=0 and o/l>1.05 and l<=llv(l,20),l,' ★<--极品绝底 '),colorblue, linethick1; 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,linethick2; q8:=HHVBARS(HIGH, 50);q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100; 跨越 :EMA(q3, 3),COLORRED;DRAWTEXT(CROSS( 特殊会员专用 , 8) AND q10<-13,20,'* 大底来 '),coloryellow,linethick5; DRAWTEXT(CROSS( 特殊会员专用 , 93) AND q10<-13,40,'* 大底 '),linethick5;DRAWTEXT(CROSS(跨越,特殊会员专用)AND ref(特殊会员专用,1)>80, ref(特殊会员专 用,3), '* 顶'),COLORRED,linethick5;Var12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 机构做空能量线 : SMA(Var12,3,1),colorgreen,linethick2; 大底来 : 0,POINTDOT; 大底: 0,POINTDOT; DRAWTEXT(cross( DRAWTEXT(cross( DRAWTEXT(cross( 路遥 7:38:02 0000VAR1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));AND跨越 ,机构做空能量线 ) ,大底 +40,'进入强势区域'),coloryellow,linethick1; 特殊会员专用 ,跨越 ) ,大底 +20,'进入拉升区域 '),linethick1; 跨越,特殊会员专用 ) ,大底+70,'注意调整VAR3:=SUM(V AR1,5);VAR4:=SUM(V AR2,5);VAR5:=IF(VAR3>V AR4,(V AR3-V AR4)/V AR3,IF(VAR3=V AR4,0,(V AR3-V AR4)/V AR4));VAR6:=MA(V AR5,5);VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VARA:=SUM(V AR8,3);VARB:=SUM(V AR9,3);VARC:=IF(VARA>VARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VARD:=MA(VARC,3);火: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED;VARE:=HHV(CLOSE,2);VARF:=BARSLAST(V ARE<REF(VARE,2));VAR10:=IF(VARF>=1,LLV(V ARE,V ARF),LOW);VAR11:=VAR10+V AR10*V ARF*0.5/100;VAR12:=IF(VAR11<REF(V AR11,1),MA(LOW,3),V AR11);VAR13:=V AR10+V AR10*(V ARF-1)*1.618/100;山: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR16:=SUM(VAR8,3);VAR17:=SUM(VAR9,3);VAR18:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VAR19:=MA(V ARC,3); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;买入或持股 : STICKLINE( 山>0,火 ,0,2,0), COLORRED;VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR1C:=SUM(V AR8,3);VAR1D:=SUM(V AR9,3);VAR1E:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(VARA=V ARB,0,(V ARA-VARB)/V ARB)); VAR1F:=MA(V ARC,3);下跌7抛出:STICKLINE(山 >0,火,山,2,1), COLORFOFOOO;VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR22:=SUM(VAR8,3);VAR23:=SUM(VAR9,3);VAR24:=IF(VARA>V ARB,(VARA-VARB)/VARA,IF(V ARA=VARB,0,(VARA-VARB)/VARB));VAR25:=MA(V ARC,3);观望: STICKLINE( 山=0 AND 火=0,0,1,4,1), COLORBLUE; VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR28:=SUM(VAR8,3);VAR29:=SUM(VAR9,3);VAR2A:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-VARB)/V ARB));VAR2B:=MA(VARC,3);植被 : STICKLINE( 山 <火,火,山,1,0), COLOR00FF00; VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR2E:=SUM(V AR8,3);VAR2F:=SUM(V AR9,3);VAR30:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR31:=MA(V ARC,3);VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10; VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR35:=SUM(VAR8,3);VAR36:=SUM(VAR9,3);VAR37:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR38:=MA(V ARC,3);路遥 7:38:22黑马起爆洗钱 A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱 B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 7:38:39绝佳买点 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*SM A(SMA((CLOSE-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*A VEDEV(Var5,14));Var7:=(Var5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-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((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,。

(整理)大智慧指标公式.

(整理)大智慧指标公式.

REFLINE: 0, ,, , ;Var2:=1/WINNER(CLOSE);Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);STICKLINE(Var2>5,Var3<100,Var2,5,0),;Var4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Var5:=SMA(Var4,5,1);Var6:=SMA(Var5,9,1);STICKLINE(VOL AND Var6<18,0,V ar2*0.5,5,0),coloryellow;〖觅庄建仓〗:0,coloryellow;5>1/WINNER(CLOSE) AND Var6<18;控盘强弱Vur1:=VOL/CAPITAL;Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);Vur3:=2.5*MAX(Vur1,Vur2);Vur4:=DMA(CLOSE,Vur3);Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;Vur6:=EMA(Vur5,2);Vur7:=EMA(Vur5,2);Vur8:=EMA(Vur7,3);VurS:=EMA(Vur7,8);Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1); VurA:=2.5*MAX(Vur1,Vur9);VurB:=DMA(INDEXC,VurA);VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38;VurD:=EMA(VurC,2);VurE:=EMA(VurC,2);D强:STICKLINE(VurD>0,0,VurD,6.5,1),colorB210E4;D弱:STICKLINE(VurD<0,0,VurD,6.5,1),colorFFA6A6;极强:STICKLINE(Vur5>0,0,Vur5,6.5,0),COLORYELLOW;强势:STICKLINE(Vur6>0,0,Vur6,6.5,0),COLORRED;极弱:STICKLINE(Vur5<0,0,Vur5,6.5,0),color10D010;弱势:STICKLINE(Vur6<0,0,Vur6,6.5,0),colorE4E410;DX:VurE,color1088FF,LINETHICK2;界:VurS,color6CBC10,LINETHICK2;控:Vur8,colorFF10FF;指:Vur7,color10E4E4;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;庄秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;庄秘进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V A:=EMA(V9,3);VB:=(V9-VA)/2;大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; ee:=cc<3 and dd<0.5 and OPEN<>LOW;a1:=DYNAINFO(6);a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));a3:=VOL/WINNER(LOW);a4:=REF(HHV(CLOSE,120),1);a5:=REF(LLV(CLOSE,120),1);a6:=100*(CLOSE-a5)/(a4-a5);a7:=a2>0 or a2=1;a8:=a7 and a3/REF(a3,3)>=3 and a6<80;a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);a10:=a8 and a9;a11:=IF(FILTER(a8,3),5,0);a12:=IF(FILTER(a10,3) or ee,10,0);筹码进场日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;筹码加仓日:IF(a12,88,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;STICKLINE(a11,0,5,5,0),colorff7700;STICKLINE(a11,0,5,4.5,0),colorff8800;STICKLINE(a11,0,5,4,0),colorff9900;STICKLINE(a11,0,5,3.5,0),colorffaa00;STICKLINE(a11,0,5,3,0),colorffbb00;STICKLINE(a11,0,5,2.5,0),colorffcc00;STICKLINE(a11,0,5,2,0),colorffdd00;STICKLINE(a11,0,5,1,0),colorffee00;STICKLINE(a12,0,15,4.5,0),color102099;STICKLINE(a12,0,15,4,0),color1020aa;STICKLINE(a12,0,15,3.5,0),color1020bb;STICKLINE(a12,0,15,3,0),color1020cc;STICKLINE(a12,0,15,2.5,0),color1020dd;STICKLINE(a12,0,15,2,0),color1020ee;STICKLINE(a12,0,15,1,0),color1020ff;DRAWTEXT(a11,8,'筹码进场');DRAWTEXT(a12,17,'筹码加仓');Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;Var3:=EMA(Var2,13);Var4:=LLV(LOW,34);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力进场:IF(Var5>REF(Var5,1),V AR5,0),COLORred,LINETHICK2;STICKLINE(Var5>REF(Var5,1),0,V ar5,7,0 ),COLORRED;洗盘:IF(V AR5<REF(VAR5,1),V AR5,0),COLORGREEN,LINETHICK2;STICKLINE(V AR5<REF(V AR5,1),0,V AR5,2,1),COLORGREEN;Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var7:=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);Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(V ar8 AND COUNT(Var8,30)=1,40,'★有筹码进场');天使报佳音vor03:=EMA(c,3);vor07:=EMA(c,7);vor13:=EMA(c,13);vor21:=EMA(c,21);vor34:=EMA(c,34);vor55:=EMA(c,55);y03:EMA(vor03,3),linethick1,colorred;y07:EMA(vor07,7),linethick1,COLOR0099FF;y13:EMA(vor13,13),linethick1,coloryellow;y21:EMA(vor21,21),linethick1,colorblue;y34:EMA(vor34,34),linethick1,colorcf88ee;y55:EMA(vor55,55),linethick1,colorwhite;vor023:=hhv(y03,3)/hhv(h,3);vor027:=hhv(y07,7)/hhv(h,7);vor213:=hhv(y13,13)/hhv(h,13);vor221:=hhv(y21,21)/hhv(h,21);vor234:=hhv(y34,34)/hhv(h,34);vor255:=hhv(y55,55)/hhv(h,55);vor33:=c*vor023;vor37:=c*vor027;vor313:=c*vor213;vor321:=c*vor221;vor334:=c*vor234;vor355:=c*vor255;vor43:=longcross(vor023,y03+0.1,10);vor47:=longcross(vor027,y07+0.1,10);vor413:=longcross(vor313,y13+0.1,10);vor421:=longcross(vor321,y21+0.1,10);vor434:=longcross(vor334,y21+0.1,10);vor455:=longcross(vor355,y55+0.1,10);DRAWICON(vor413,HIGH*1.235,1);DRAWICON(vor421,HIGH*1.235,1);DRAWICON(vor434,HIGH*1.35,1);DRAWICON(vor455,HIGH*1.46,1);stickline(vor43,if(c>0,llv(y03,22),y03),if(c>0,hhv(y03,22),y03),6,0),colorred;stickline(vor47,if(c>0,llv(y07,33),y07),if(c>0,hhv(y07,33),y07),6,0),COLOR0099FF;stickline(vor413,if(c>0,llv(y13,44),y13),if(c>0,hhv(y13,44),y13),6,0),coloryellow;stickline(vor421,if(c>0,llv(y21,55),y21),if(c>0,hhv(y21,55),y21),6,0),colorblue;stickline(vor434,if(c>0,llv(y34,66),y34),if(c>0,hhv(y34,66),y21),6,0),colorcf88ee;stickline(vor455,if(c>0,llv(y55,88),y55),if(c>0,hhv(y55,88),y21),6,0),colorwhite;资金流量PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,1,0),color808080;STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,1,0),color808080;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流量:LLJX,LINETHICK0,color0000FF;STICKLINE((资金流量> 0),资金流量,0,7,0),color0000FF;STICKLINE((资金流量< 0),资金流量,0,7,0),colorFF0000;流量基线:GJJ,color00FFFF;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量增幅:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ)),LINETHICK0;力度:(HSL / 1000),LINETHICK0;周流量:SUM(LLJX,5),LINETHICK0;BB:=REF(周流量,1);ZQZJJ:=(((周流量- BB) / BB) * 100);周增幅:IF(((周流量> 0) AND (BB < 0)),ABS(ZQZJJ),IF((((周流量< 0) AND (BB < 0)) AND (周流量< BB)),(0 - ZQZJJ),ZQZJJ)),LINETHICK0;0,color808080;庄见愁获利线:EMA(WINNER(C)*100,3),colorwhite;庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;收:=winner(C)*100;开:=winner(O)*100;博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;stickline(收>=REF(收,1),0,博弈K线长,4,0),colorred;stickline(收<=REF(收,1),0,博弈K线长,4,0),color00ff00;{庄筹线:EMA(WINNER(C)*70,5), colorred, linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen, linethick2;}5,colorwhite,pointdot;20,coloryellow,pointdot;40,colorffcc66,pointdot;60,colorff00ff,pointdot;cc:FILTER((CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorff00ff;DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;aa1:=cross(庄筹线,散筹线);DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,30,'决战诱空'),colorwhite;IF(bb,30,60 ),colorffcccc;135均线法则EMA13:EMA(C,13),COLORBLUE,LINETHICK2;EMA17:EMA(C,17),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORGREEN;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; {STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;{STICKLINE(FR,H,L,0.5,1),COLORWHITE;STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'*!'),COLOR00FF00;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,6,1),LINETHICK2,COLORFFC8FF;。

大智慧指标公式- 特牛 强烈推荐

大智慧指标公式- 特牛 强烈推荐

1、超级短线:使用方法是:当操作线(红线)自下向上穿越阻力线时,买入;操作线走平或拐头向下趋势时卖出;两条线互不交叉时持股或空仓,不予操作。

结合大势操作更好。

逃顶:白柱变短卖出现白柱买(配合操作线)Var11:=HHV(HIGH,25);Var12:=LLV(LOW,25);阻力线:EMA((CLOSE-Var12)/(Var11-Var12)*100,20)/2,colorf0f000,Linethick2;突破线:= EMA((CLOSE-Var12)/(Var11-Var12)*100,5);操作线:突破线/2,colorred, Linethick2;Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;Var2:=SMA(Var1,9,1)+100;Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1)+100;Var6:=Var5-Var2;S: IF(Var6>100,Var6-100,0);STICKLINE(REF(S,1)<S,S,REF(S,1),5,0);STICKLINE(REF(S,1)>S,S,REF(S,1),5,0);2、买卖奇准安全买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);急卖奇准:IF(HHV((买<准),5),100,50),COLORFF6699;短卖奇准: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);V AR1:=MA(LOW,1);V AR2:=MA(HIGH,2);V AR3:=MA(CLOSE,2);V AR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((V AR3 - V AR7),0),5,1) / SMA(ABS((V AR3 - V AR7)),5,1)) * 100);底部关注:IF(((动向趋势线> 88) AND (神偷线< 5.8)),80,0),LINETHICK3,COLORFF00FF;3、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<=V ar25,(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((CL OSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORff6666,linethick2; 卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>65,90,0),stick, ,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>7 AND REF(DK1,1)<0 AND (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,;4、超级短买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)<0 AND J>0,50,'短买'),colorred ;短线获利:STICKLINE(REF(J,1)<0 AND J>0,60,0,2,0),color0000ff;目前位置:K;技术低位:20;技术中位:50,POINTDOT;技术高位:80;。

大智慧选股公式大集合

大智慧选股公式大集合

大智慧选股公式大集合简单的选股指标公式1,30个交易日,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colo rff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS31.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2; 12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号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;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)(2008-10-03 13:51:58)转载(一)大智慧逃顶指标公式(看盘必备)Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=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));Var4:=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));Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=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);VarD:=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);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<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);大趋势: Var3,colorblue;顶线: IF(VarB<90,VarB,100);多方: IF(Var1>0,Var1,0), LINESTICK;空方: -IF(Var1<0,Var2,0), LINESTICK;抄底: Var20,colorred,linethick2;预警系统: (IF((Var7>=200 AND Var6>=150) OR CROSS(65,多方),15,IF(Var7<=-200AND Var6<=-150,-15,Var9))+65),COLORCcbbdd,LINETHICK2;STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);t2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);t8:=Var3<=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=65 AND 抄底=0AND 空方>=REF(空方,1) AND VarC<REF(VarD,1);DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上涨过急!'),COLOR00FFFF;B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'庄家出货!'),COLOR00FFFF;B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反弹!'),COLOR00FFFF;B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'抢反弹!'),COLOR00FFFF;B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'资金进场!'),COLOR00FFFF;DRAWTEXT(t8 and count(t8,30)=1,90,'见顶回落!'),COLOR00FFFF;(二)大智慧专用抄底逃顶指标参数n:40 100 60Var1:=HHV(HIGH,9)-LLV(LOW,9);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*CLOSE+HIGH+LOW)/4;Var7:=SMA(Var3/Var1*100,3,1);Var8:=LLV(LOW,34);Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);VarA:=IF(Var9>100,Var9-100,0);VarB:=HHV(HIGH,34);AA:= VarA*2;BB:= EMA((Var6-Var8)/(VarB-Var8)*100,13);VarC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CC:= SMA(Var5,20,1);VarD:=SMA(AA,2,1)-AA;VarE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2a:=SMA(VAR1a,9,1)+100;VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4a:=SMA(VAR3a,3,1);VAR5a:=SMA(VAR4a,3,1)+100;VAR6a:=VAR5a-VAR2a;S: IF(VAR6a>n,VAR6a-n,0);STICKLINE(BB-VarC>0,BB,VarC,5,0),colorred;STICKLINE(BB-VarC<0,BB,VarC,5,0),colorffcccc;STICKLINE(CC-SMA(CC,5,1)>0,CC,SMA(CC,5,1),5,0),coloryellow;STICKLINE(CC-SMA(CC,5,1)<0,CC,SMA(CC,5,1),5,0),colorblue;STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),colorff00ff;STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),colorffcc66;逃顶指标使用注意事项:该指标有两条柱形趋势线,分别是短期和长期趋势线,加这两条趋势线的作用是,可随时比照主图K线方便观察趋势,是对顶部指标的补充.1.当粉色柱线连续出现且柱线时,要特别关注该股的运行趋势,结合大盘的走势和该股的成交量跟踪观察,一旦柱线逐渐缩短,即可判定顶部即将形成,如果当天股票下跌即将收阴且成交量萎缩就应该果断卖出. 做短线时,只要出现第一根粉色柱线,当天可介入,第二天看该股的走势是否维持强势,如果是持股,否则冲高时获利了结. 2.股票下跌连续出现青色柱线,在青色柱线没跌到底线消失之前不要急于抄底(个别情况例外),要经过几个交易日或者更长时间才能出现转机,这时再择机介入(用这个指标查看一下历史走势就能发现规律). 3.用该指标可波段操作,如果手中的股票严重被套,用上述方法操作在顶部卖出80%,底部补进,几个来回就有可能解套.。

大智慧去风险选股公式

大智慧去风险选股公式

大智慧去风险选股公式
大智慧是一款知名的股票分析软件,它为投资者提供了一系列的功能和工具来辅助选股。

在投资中,风险是不可避免的,但通过利用大智慧提供的功能,我们可以采用一些公式和策略来帮助我们选择相对较低风险的股票。

以下是一些可以在大智慧上使用的公式和方法,以帮助降低风险并选择潜在优质股票:
1. 市盈率(PE)筛选:市盈率是衡量股票价格相对于公司盈利的指标。

通过筛选低市盈率的股票,可以发现相对较为低估的股票,有较大的上涨潜力,同时也可以降低投资风险。

2. 资产负债比(Debt-to-Equity Ratio)筛选:资产负债比是衡量
公司财务稳定性的指标,反映了公司债务相对于股东权益的比例。

通过筛选资产负债比较低的股票,可以选择相对较为健康和稳定的公司。

3. 盈利稳定性分析:利用大智慧提供的财务数据,分析公司的盈利
历史和稳定性。

通过查看公司的盈利增长趋势和盈利稳定性,可以帮助我们评估公司未来的盈利能力和风险。

4. Beta值分析:Beta值是衡量股票相对于市场的波动性的指标。


过选择Beta值较低的股票,可以降低投资组合的整体风险,因为这些股票在市场波动时会表现更为稳定。

5. 股息收益率(Dividend Yield)筛选:股息收益率是指股票派发的股息相对于股票价格的比率。

通过选择具有稳定和可观股息收益率的股票,可以在投资者等待股票升值的同时获得额外的收入,降低投资风险。

在使用大智慧进行风险选股时,投资者应该综合考虑多种因素,并根据自己的风险承受能力和投资目标做出决策。

此外,投资股市存在风险,历史表现不能保证未来结果,建议在投资前进行充分的调研和风险评估。

大智慧常用的选股公式

大智慧常用的选股公式

大智慧常用的选股公式————————————————————————————————作者:————————————————————————————————日期:大智慧选股公式财经、证券2009-08-31 21:52:08 阅读264评论0 字号:大中小大智慧选股公式怎样编写大智慧选股公式编写条件选股公式时常用的通式。

一、放量、缩量(成交量函数为VOL)1、放量:(1).今天成交量较昨天增加了1倍,表示如下:VOL/REF(VOL,1)〉2(2).今天成交量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);Vol/a〉2或者直接用如下公式表示:vol/ma(vol,10)〉2;(3).今日的5日均量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);b:=ma(vol,5);b/a〉2;(4).今日的成交量超过了整个流通盘的5%,表示如下:vol/capital〉0.05;其中capital代表流通盘。

2、缩量(1).今日成交量较昨日减少了一半,表示如下:vol/ref(vol,1)〈0.5;(2).今日成交量较10个交易日平均成交量减少一倍,表示如下:a:=ma(vol,10);vol/a〈2;或者直接用如下公式表示:vol/ma(vol,10)〈2;(3).今日的5日均量较10个交易日平均成交量减少1倍,表示如下:a:=ma(vol,10);b:=ref(a,5);a/b〈2;(4).今日的成交量低于了整个流通盘的5%,表示如下:vol/capital〈0.05;二、上涨、下跌上涨:今天的涨幅达到5%以上,表示如下:close/ref(close,1)〉1.05;5日均价连续上涨,表示如下:a:=ma(close,5);b:=ref(a,1);b;下跌:今天的跌幅达到5%以上,表示如下:close/ref(close,1)〈0.95;5日均价连续下跌,表示如下:a:=ma(close,5);b:=ref(a,1);a〈b;(3)、K线的描述close〉open;阳线close〈open;阴线open〉ref(close,1);高开open〈ref(close,1);低开open〉ref(high,1);跳空高开(high为最高价)open〈ref(low,1);跳空低开(low为最低价)三、走势特征选股公式的编制(1)、n日内创新高hhv(high,n)=hhv(high,0) and barscount(c)〉=n;注:n为指标参数,可在参数设定范围内设定参数范围。

大智慧经典版 指标及选股公式

大智慧经典版 指标及选股公式

选股公式金叉MACDDIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; 低位金叉OR 二次金叉;红进绿出V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);V AR5:=3*V AR3-2*VAR4;AA:CROSS(V AR5,V AR3) AND V AR3<2.1 AND C>O;仓位增减空:=EMA(C,5);均衡:=EMA(空,5);中轨:=HHV(MA(H,13),13);加仓:FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);夺宝奇兵买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);v1:=ema(close,5);v2:=ema(ema(close,29)*1.01,10);买进条件and cross(v1,v2);中华方圆▲★{红▲、红★同时出现选股}X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);红▲:=CROSS(Y,X);c1:=(CLOSE+LOW+HIGH)/3;c2:=EMA(c1,6);c3:=EMA(c2,5);红★:=CROSS(c2,c3);红▲and 红★;中华方圆□V AR1:=LLV(LOW,21);V AR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - V AR1) / (V AR2 - V AR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (V AR2 - V AR1)) * 50),13); AB:=CROSS(AK1,AK);V AR3:=LLV(LOW,55);V AR4:=HHV(HIGH,34);V AR5:=EMA((((CLOSE - V AR3) / (V AR4 - V AR3)) * 100),3); V AR6:=((AK + V AR5) / 2);V AR8:=EMA(V AR6,5);BB:=EMA(((0.667 * REF(V AR8,1)) + (0.333 * V AR8)),2); BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);白色□:AB =1;中华方圆▲{红▲选股}X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);红▲:CROSS(Y,X);中华方圆★{红★选股}c1:=(CLOSE+LOW+HIGH)/3;c2:=EMA(c1,6);c3:=EMA(c2,5);c4:=CROSS(c2,c3);红★:c4;黑马王N:=20;V AR2:=(CLOSE+HIGH+LOW)/(3);V AR3:=(EMA(V AR2,10));V AR4:=(REF(VAR3,1));V AR5:=((REF(HIGH,1)+REF(LOW,1))/(2));V AR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)));xg:CROSS(V AR3,V AR4);红柱初现X4:=(L+H+C*4)/6;x6:=EMA(x4,19);x9:=(x6-REF(x6,1))/REF(x6,1)*100;红柱初现:=x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1);第1个红柱:红柱初现and ref(红柱初现,1)<1;紫黄同现A1:=EMA(C,7)-EMA(C,21); A2:=MA(A1,4); 买入:cross(A1,A2) AND A1-A2>0.03 and A2<-0.1;布林宝塔线QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))), (VOL/2)))+IF((CLOSE>OPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2)))));ZLL:=(VOL/CAPITAL);HSL:=((XVL/20)/1.15);攻击流量:=(((HSL*0.55)+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,3);B1:=REF(C,1);B2:=REF(C,2);SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));DK:=IF(REF(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2)));C>REF(C,1)*1.035 AND C>AMOUNT/100/V AND COUNT(CROSS(LLJX,0),2)=1 AND CROSS(C,DK)AND C>SAR(10,2,20) AND C>MA(C,14) AND C>MA(C,20)AND BETWEEN(V/CAPITAL,0.01,0.08) AND CAPITAL<=2000000;上穿就买上升趋势:=EMA(CLOSE,5);支撑压力:=EMA(CLOSE,21);XG:CROSS(上升趋势,支撑压力);三线交汇B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),,;操作线:=分水岭-(EMA(C,3)-分水岭);CROSS(分水岭,操作线);立桩量AAA:=(3*C+H+L+O)/6;V AR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>V AR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));突破:=TJ2=1;TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));三天法则:=TJ3=1;成立:=三天法则AND 突破;条件成立:FILTER(成立,3);低进高出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;X:=LLV(J,2)=LLV(J,8);CROSS(J,REF(J+0.01,1)) AND X AND J<19;财出水面V AR2:=(-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);操盘:=3*VAR3-2*VAR4;xg:CROSS(操盘,V AR3) AND V AR3<2.1 and c>o;绝对牛股Var1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);V1:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05and (v/ma(v,5)>2 or c/ref(c,1)>0.035));关注DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD超跌:=(COUNT((DIFF < DEA),10) = 10);MACD:=(MACD超跌* "MACD.MACD"(26,12,9))*(-1);MACD金叉:=CROSS(DIFF,DEA);关注: (MACD金叉AND (REF(MACD,1) < 0)) ;关注买MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA65:=MA(CLOSE,65);MA250:=MA(CLOSE,250);均线流:=(((((MA5 > MA65) AND (MA10 > MA65)) AND (MA30 > MA65)) AND (MA5 < MA30)) * 0.3); PL1:=(((CLOSE - MA60) / MA60) < 0.1);PL2:=(((CLOSE - MA250) / MA250) < 0.3);偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD超跌:=(COUNT((DIFF < DEA),10) = 10);MACD:=(MACD超跌* "MACD.MACD"(26,12,9))*(-1);目标:=IF(均线流=0.3 AND MACD AND 偏离率=0.2 ,0.8,0);MBSJ:=BARSLAST((目标= 0.8));放量上涨:=(((VOL / REF(VOL,1)) >= 1.1) AND ((CLOSE / REF(CLOSE,1)) >= 1.01));SZSJ:=BARSLAST((放量上涨= 1));MACD金叉:=CROSS(DIFF,DEA);JCSJ:=BARSLAST((MACD金叉= 1));启动:((((MBSJ <= 20) AND (SZSJ <= 1)) AND (JCSJ <= 1)) * 1);老鸭头MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma5,ma60));pday2 := barslast(cross(ma10,ma60));pday3 := barslast(high=hhv(high,pday2));pday4 := barslast(cross(ma10,ma5){ or (ref(ma10,1)<ref(ma5,1) and ma5=ma10)});pday5 := barslast(cross(ma5,ma10){ or (ref(ma5,1)=ref(ma10,1) and ma5>ma10)});a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;a3:=ma5>ma60 and ma10>ma60;(A1 AND A2 and a3) and FILTER(A1 AND A2 and a3 ,5);主升行情顶:=85;V AR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;CC:=SMA(V AR5,20,1);CC1:=SMA(CC,5,1);出击:CROSS(CC,CC1) AND (CC1 < 顶) ;超越庄股K2:=EMA(C,5);K3:=EMA(C,10);K5:=EMA(C,30);K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6);CROSS(K8,0);强势拉升Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Q3:=SMA(Q2, 9, 1);跨越:=EMA(Q3, 3);V AR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线:=SMA(V AR12,3,1);CROSS(跨越,机构做空能量线);吸庄血{底部笑脸的信号买入}V AR1:=4*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1),3.2,1); V AR2:=8;CROSS(V AR1,V AR2);智能操盘K2:=EMA(C,5);K3:=EMA(C,10);K5:=EMA(C,30);K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6);买入:CROSS(K8,0);财富拐点ma3:=ema(c,3);ma5:=ema(c,5);var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var19:REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR V ar14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND V ar1 AND CROSS(MA3,MA5);金牌逃顶V AR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;V AR2:=SMA(V AR1,9,1)+100;V AR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4:=SMA(V AR3,3,1);V AR5:=SMA(V AR4,3,1)+100;V AR6:=V AR5-V AR2;趋势:=IF(V AR6>45,V AR6-45,0);第一个粉色:ref(REF(趋势,1) >趋势,1) and REF(趋势,1)< 趋势;领头羊{绿线上穿白线}白色:=SMA(HIGH,21,2)*1.05;绿色:=SMA(CLOSE,2,1);领头羊:CROSS(绿色,白色);财神到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;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;MACD提示DIFF:=(EMA(CLOSE,3) - EMA(CLOSE,13));DEA:=EMA(DIFF,9);绿变红:CROSS(DIFF,DEA)变色MACDDIF:=EMA(CLOSE,8)-EMA(CLOSE,13);DEA:=EMA(DIF,9),;买卖频谱买线:=EMA(C,3);卖线:=EMA(SLOPE(C,21)*20+C,55);N:CROSS(买线,卖线);底部爆发V AR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); V AR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);V AR03:=CROSS(V AR02,V AR01);V AR04:=REF(V AR02,2)<REF(V AR02,1) AND V AR02<REF(V AR02,1);V AR05:=COUNT(V AR03,7)>0 AND V AR04;V AR06:V AR05 AND COUNT(V AR05,5)=1;顶天立地V AR26:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);V AR27:=REVERSE(V AR26);V AR28:=SMA(VAR26,3,1);快线:=SMA(V AR28,3,1);慢线:=SMA(快线,3,1);金叉买:CROSS(快线,慢线) AND (快线<40);短线套利MA6:=MA(C,6);MA18:=MA(C,18);买进价:=((C-REF(MA6,1))/6+MA6)*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);加码价:=((C-REF(MA18,1))/18+MA18)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);(ref(买进条件,1) and 加码条件) OR (ref(加码条件,1) and 买进条件) ;雷电交加V ARF:=TROUGHBARS(3,15,1)<4;FILTER(V ARF=1,3);买必涨diff:=EMA(CLOSE,12)-EMA(CLOSE,26);dea:=EMA(diff,9);买入:CROSS(diff,dea);金叉:CROSS(DIF,DEA) AND DIF<0.3;要涨停陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1); N:=IF((陡峭度> 0.35),6,65);V AR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20170110)); 要涨停:(30)*(CROSS(V AR1,(-2)));指标公式涨停{参数M1 2 1000 5M2 2 1000 10M3 2 1000 20M4 2 1000 30M5 2 1000 60M6 2 1000 120M7 2 1000 250}MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6);MA7:MA(CLOSE,M7);C3:=REF(C,1); 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),2,0);STICKLINE(涨停,OPEN,CLOSE,5,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),2,0);STICKLINE(跌停,OPEN,CLOSE,5,0),COLORGREEN;黑马王N:=20;N1:=7;N2:=69;M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),CoLor008000;M13:EMA(M8,13),CoLor0000FF;M62:EMA(M8,55),CoLorF0F000;V AR1:=EMA(M13,62);M81:EMA(M62,81),CoLor00FFFF;M144:EMA(V AR1,144),Linethick2,CoLor0000FF;M250:EMA(V AR1,250),POINTDOT,Linethick2,CoLorF00FF0;V AR2:=(CLOSE+HIGH+LOW)/(3);V AR3:=(EMA(V AR2,10));V AR4:=(REF(VAR3,1));STICKLINE((V AR3>V AR4),V AR3,V AR4,4,0),CoLor00FFFF;STICKLINE((V AR3<V AR4),V AR3,V AR4,4,0),CoLorFF0000;V AR5:=((REF(HIGH,1)+REF(LOW,1))/(2));V AR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)));DRAWTEXT(CROSS(VAR3,V AR4),(V AR3)*(0.98),'★'),CoLor00FFFF;DRAWTEXT(CROSS(VAR5,V AR6),(HIGH)*(1.04),'↓卖'),CoLor008000;V AR7:=REF(CLOSE,1);V AR8:=((SMA(MAX(CLOSE-V AR7,0),N1,1))/(SMA(ABS(CLOSE-V AR7),N1,1)))*(100);V AR9:=CROSS(N2,V AR8);V ARA:=(FILTER(V AR9,4));DRAWTEXT(V ARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;V ARB:=((2)*(CLOSE)+HIGH+LOW)/(4);V ARC:=LLV(LOW,34);V ARD:=HHV(HIGH,34);V ARE:=(EMA(((V ARB-VAR1)/(V AR5-V AR1))*(100),7));V ARF:=(EMA((0.667)*(REF(V ARE,1))+(0.333)*(VARE),5));DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((V ARE>=V ARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF; DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((V ARE>V ARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;V AR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3));DRAWTEXT(IF((CLOSE<V AR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;金叉MACDDIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR00AAFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00BBFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00CCFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.65,0 ),COLOR00DDFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00EEFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,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 MACD<0,0,MACD,4,0 ),COLORAA00BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORBB11BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORCC22BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.65,0 ),COLORDD33BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLOREE44BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFF55BB;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORFFAA00;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORFFCC22;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.65 ,0 ),COLORFFDD33;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFEE44;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFFFF55;IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;↑低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;STICKLINE(↑低位金叉,0,-0.5,2,0),COLORYELLOW;DRAWTEXT(↑低位金叉,-0.4,' ↑低位金叉'),COLORYELLOW;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));↑二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(↑二次金叉,0,-0.2,5,0),COLORFF00FF;DRAWICON(↑二次金叉,DEA*1.2,11) ;DRAWTEXT(↑二次金叉,-0.2,' ↑二次金叉'),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.2,3,0),COLOR00FF00;DRAWLINE(A1=0,DEA,↑底背离,DEA,0),COLORRED,LINETHICK2;DRAWTEXT(↑底背离,0.2,' ↑底背离'),COLOR00FF00;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));↑顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); DRAWLINE(A2=0,DEA,↑顶背离,DEA,0),COLORGREEN,LINETHICK2红进绿出V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);V AR5:=3*V AR3-2*VAR4;AA:=CROSS(VAR5,V AR3) AND V AR3<2.1 AND C>O;V AR6:=(2*CLOSE+HIGH+LOW)/4;V AR7:=LLV(LOW,13);V AR8:=HHV(HIGH,13);V AR9:=EMA((V AR6-V AR7)/(V AR8-V AR7)*100,13);V ARA:=EMA(0.667*REF(V AR9,1)+0.333*V AR9,2);多:V AR9,COLORRED,POINTDOT;空:EMA(0.382*REF(VAR9,2)+0.618*V AR9,12),COLORGREEN;STICKLINE(V AR9>V ARA,V AR9,V ARA,6,0),COLORRED;STICKLINE(V AR9<=V ARA,V AR9,V ARA,6,0),COLORGREEN;DRAWTEXT(AA,10,'底'),COLORYELLOW;战无不胜危机线:85,colorred;中间线:50,colorwhite;安全线:15,colorgreen;v1:=(2*close+high+low)/4;v2:=llv(low,34);va:=hhv(high,34);防线b:=ema((v1-v2)/(va-v2)*100,13);防线bb:=ema((0.667*ref(防线b,1)+0.333*防线b),2);战术线:防线b,coloryellow,pointdot;战略线:ema(0.382*ref(防线b,2)+0.618*防线b,12),coloryellow;stickline(防线b>防线bb,防线b,防线bb,6,0),colorred;stickline(防线b<=防线bb,防线b,防线bb,6,0),;紫黄同现{紫黄同现股票将大涨}JJ :=(C*3+H+L+O)/6;SK := EMA(JJ,13) - EMA(JJ,21);SD := EMA(SK,3);SP := EMA(SK,10);A1:=EMA(C,7)-EMA(C,21);B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);B1,COLORSTICK;X1:=V/SUM(V,13);X2:=DMA(C,X1);X3:=(C-X2)/X2*40;L2:=MA(AMOUNT/(100*V),13);CYS13:= (C-L2)/L2*100;做多:IF(A1>=B1,A1,B1),LINETHICK2,COLORFF00FF;做空:IF(B1-A1,B1,A1),COLORGREEN,LINETHICK2;强庄:STICKLINE(CYS13>5,0,-做空,2,0 ),COLORYELLOW;主力强度:STICKLINE(X3>0 AND 做多>0,做多+0.1,做多,1,0),COLORFF80FF;C>MA(C,30),COLORFF80FF,LINETHICK2;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J1:=DIFF;J2:=DEA;J3:=K;J4:=D;VL:=REF(LOW,1); VH:=REF(H,1);V AR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;V AR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;V AR3:=REF(CLOSE,1);V AR4:=MA(V AR2,13);V AR5:=LLV(L,34);V AR6:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;V AR7:=CROSS(93,V AR6);V AR8:=EMA(IF(L<=VAR5,V AR4,0),3);V AR9:=H>LLV(L,0)*7;V AR10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));V AR11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (V AR10 * 10.9);上攻:FILTER(CROSS(J1,J2) AND VOL>REF(SUM(VOL,5),1),3),COLOR0066FF,LINETHICK2;WR10:=-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)),COLORWHITE,LINETHICK1;WR45:=-100*(HHV(HIGH,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45)),COLORFFB900,LINETHICK1;WR99:=-100*(HHV(HIGH,99)-CLOSE)/(HHV(HIGH,99)-LLV (LOW,99)),COLORRED,LINETHICK1;顶:= 0, LINETHICK2 ,COLOR446600;底1:=-95, LINETHICK2 ,COLOR446600;红柱初现工作线:MA(CLOSE,14),COLORRED,LINETHICK2;操盘线:MA(CLOSE,26),Color00A800,LINETHICK2;X1:=MA(C,1);X2:=SMA(SMA(SMA(x1,2,1),2,1),2,1);X3:=MA(x2,3);X4:=(L+H+C*4)/6;X5:=EMA(x4,12);x6:=EMA(x4,19);x7:=(x5-REF(x5,1))/REF(x5,1)*100;x9:=(x6-REF(x6,1))/REF(x6,1)*100;G:=BARSLAST(CROSS(x7,0));X8:=REF(x4,G);A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)) *100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),HIGH,LOW,0.5,0),color0000CD;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,8,0),color070084;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,7,0),color0000A3;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,6,0),color0000B7;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,5,0),color0000CD;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,4,0),color0000E9;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,2,0),color0754E9;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,0.6,0),Color68B8FF;Z1:MA(CLOSE,5),COLORYELLOW,;Z2:MA(CLOSE,55){,ColorFF8080},Color00FF00,LINETHICK2;玄黄吉星XF: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);V AR2:=MA(CLOSE,80)-MA(CLOSE,13)/3;神奇趋势线:=MA((CLOSE-V AR2)/V AR2,1);狙击:DRAWTEXT(CROSS(神奇趋势线,0) AND LOW/REF(HIGH,1)<1.012,LOW,'狙击'),COLORYELLOW;盈利临界: DRAWTEXT(COUNT(神奇趋势线>REF(神奇趋势线,1),3)=3 AND COUNT(神奇趋势线<0,10)=10 AND REF(神奇趋势线,3)=LLV(神奇趋势线,10),LOW,'盈利临界'),COLORYELLOW;参与: DRAWTEXT(REF(神奇趋势线,2)=LLV(神奇趋势线,20) AND REF(神奇趋势线,2)<0.071 AND REF(神奇趋势线,2)<REF(神奇趋势线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),LOW,'参与'),COLORYELLOW;DRAWICON(CROSS(EMA(CLOSE,8),EMA(EMA(CLOSE,8),20)) AND EMA(CLOSE,8)<MA(CLOSE,120),LOW,1),COLORRED;DRAWTEXT((WINNER(CLOSE)-WINNER(OPEN))*100>=17 AND VOL/CAPITAL*100<=2,LOW,'无量长阳,谨慎'),COLORWHITE;V AR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR21:=SMA(VAR1,20,1);V AR3:=SMA(V AR21,15,1);V AR4:=100-3*VAR21+2*V AR3;V AR5:=(3*VAR21+2*V AR3)/4;V AR6:=ABS(ABS(V AR5)-ABS(V AR4));V AR7:=ABS(ABS(V AR5)-ABS(V AR6));阴跌区域:=V AR4-V AR7;见顶区域:=阴跌区域<0;均衡:=V AR5-V AR7;DRAWTEXT(CROSS(阴跌区域,均衡),LOW,'阴跌延续'),COLORGREEN;DRAWTEXT(CROSS(阴跌区域,-0.1),LOW,'见顶回落'),COLORWHITE;STICKLINE(C>=O,C,H,0.1,0),COLORRED;TTZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 {AND TTZF>=ZF};STICKLINE(TTZF>=2.50 ,O ,C ,8,0),COLOR00FFFF;中轨:HHV(MA(H,11),15),COLORRED;趋势:LLV(MA(H,11),1),COLORGREEN;三合成RSI6:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100,colorwhite;DIFF:=EMA(C,5)-EMA(C,20);DEA:=EMA(DIFF,10);MACD:800*(DIFF-DEA)/EMA(C,30),colorSTICK,linethick3;RSV:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;K20:SMA(RSV,5,1),COLORyellow;D20:SMA(K20,5,1),COLORFF00ff;20;50;80;DRAWICON(count(c>ref(c,1),5)=5,h*1.01,3);DRAWICON(count(c<ref(c,1),5)=5,l*0.995,1);机构能量做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;做空能量线: SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3; 20,pointdot,colorf00ff0;50,pointdot,colorgreen;80,pointdot,colorwhite;短线之星Var1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);买入信号: IF(Var2<MA(Var3,6),MA(Var3,6),Var2),colorred ;卖出信号: IF(Var1>MA(Var3,6),MA(Var3,6),Var1),colorgreen ;强弱线: MA(Var3,6),coloryellow ,linethick2 ;极品逃顶V AR2:=LLV(LOW,10);V AR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-V AR2)/(V AR3-V AR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:动力线,COLORA8A8A8;超级逃顶Var2:=llv(low,10);var3:=hhv(high,25);3.5,color0088ff;清仓卖出: 3.5;动力线:= ema((close-var2)/(var3-var2)*4,4);stickline(动力线>ref(动力线,1) ,动力线,ref(动力线,1),8 ,1),colorred;stickline(动力线<=ref(动力线,1) ,动力线,ref(动力线,1),8 ,1),colorgreen;底部介入:0.2,colorgreen;重点关注:0.5, coloryellow;drawicon( filter(cross(动力线,重点关注),20),动力线+0.02 ,1);drawicon( filter(cross(清仓卖出,动力线),20),动力线+0.02,2);drawicon( filter(cross(动力线,底部介入),20),动力线+0.02 ,1);drawicon( filter(cross(JDMC,动力线),20),动力线+0.02,2);强弱分界线:1.75,pointdot,linethick2,colordddddd;抄底逃顶趋势: 5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW ,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,2 7)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;趋势1: EMA(MA(趋势,5),3),LINETHICK0,COLORA6B8C1;STICKLINE(趋势>=趋势1,趋势,趋势1,5,0),COLOR7F52AF;STICKLINE(趋势<趋势1,趋势,趋势1,5,0),COLORA6B8C1;STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,5,0),COLORFF0000;STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,5,0),COLORFFFFFF;STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,5,0),COLORF00FF0;STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,5,0),COLORF0F000;V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);V2:= MA(CLOSE,5)>MA(CLOSE,20);V3:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险: IF(V1 AND V2 AND V3,30,0),LINETHICK0,STICK,COLOR00FF00;V11:= MA(CLOSE,5)=HHV(MA(CLOSE,5),120);V21:= MA(CLOSE,5)>MA(CLOSE,120);V31:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险1: IF(V11 AND V21 AND V31,60,0),LINETHICK0,STICK,COLORF0F000;底部: 5,LINETHICK0,COLOR00FFFF;抄底: IF(CROSS(趋势,底部),60,0),LINETHICK2,STICK,COLOR00FFFF;DRAWTEXT(抄底,50,'抄底'),COLOR0000FF;天线: 108,LINETHICK0,COLORFF9D00;逃顶: IF(CROSS(天线,趋势),1,0),LINETHICK0,STICK,COLORFF9D00;STICKLINE(CROSS(天线,趋势),90,108,3,0),COLORFF9D00;DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),COLORFF9D00;金牌黑马A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A3:=EMA(C,5);A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00;DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,黑马线,'黑马');DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,黑马线,'追涨');DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马');底部:(A2<-10 AND A2>REF(A2,1))*25,COLORRED;DRAWICON(底部AND A3>REF(A3,1),25,4);机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000;中短长线90,COLOR9966FF,LINETHICK2;80,COLOR996699;20,COLORGREEN;10,COLORCC6633,LINETHICK2;长期线:MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,color9900FF;短期线:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,color888888;中期线:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,coloryellow,linethick2;见顶:(ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线) ;顶部区域:(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5and 短期线<中期线and 短期线<长期线+4;顶部:=filter(顶部区域,4);底部区域:(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ;stickline( 顶部,99,103,20,1 ),colorred,linethick2;stickline( 底部区域,-4,0,22,0 ),colorgreen;低位金叉:长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线or ref( 短期线,1)<1 );stickline( 低位金叉,0,5,11,0 ),colorred;仓位增减(主图)。

大智慧的指南针指标公式

大智慧的指南针指标公式

大智慧的指南针指标公式(一共21个公式)原码1,CYW主力控盘VAR1:=CLOSE-LOW;VAR2:=HIGH-LOW;VAR3:=CLOSE-HIGH;VAR4:=IF(CLOSE&gt;=0,(VAR1/VAR2+VAR3/VAR2)*VOL,(V AR3/V AR2+V AR 1/VAR2)*VOL); SUM(V AR4,10)/10000, COLORSTICK;2,CYW-YJJ主力控盘VAR1:=1;VAR2:=CLOSE-REF(CLOSE,1);VAR3:=IF(CLOSE-REF(CLOSE,1)&gt;=0,V AR2,0);VAR4:=REF(CLOSE,1)-CLOSE;VAR5:=IF(CLOSE-REF(CLOSE,1)&lt;=0,VAR4,0);VAR6:=SUM(VAR3,P1)/SUM(V AR5,P1);VAR7:=100-100/(1+VAR6);VAR8:=EMA(VAR7,P1);VAR9:=EMA(VAR8,P2);VARA:=EMA(V AR8,P3);MO: (V AR8-V ARA)*VAR1;ML: (V AR9-V ARA)*VAR1;MODE: MO*VAR1, COLORSTICK;p1:=0,100,6p2:=0,100,8p3:=0,100,453,CYS盈亏指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYS5: 100*(CLOSE-V ar2)/V ar2;CYS13: 100*(CLOSE-V ar3)/V ar3;CYS34: 100*(CLOSE-V ar4)/V ar4;CYS无穷: 100*(CLOSE-V ar5)/V ar5;n1:=0,100,51n2:=0,100,13n3:=0,100,344,CYE市场趋势MAL:=MA(CLOSE,5);MAS:=MA(MA(CLOSE,20),5);CYEL:MAL-REF(MAL,1)/REF(MAL,1)*100;CYES:MAS-REF(MAS,1)/REF(MAS,1)*100;5,CYR市场强弱DIVE:=0.01*EMA(AMOUNT,N)/EMA(VOL,N);CYR:=DIVE/REF(DIVE,1)-1*100;MACYR:MA(CYR,M);n:=0,100,13m:=0,100,56,CYQKL博弈K线100*(WINNER(CLOSE)-WINNER(OPEN)), COLORSTICK;7,CYOBV优化累积能量NOBV1:SUM(IF(CLOSE&gt;REF(CLOSE,1),VOL,IF(CLOSE&lt;REF(CLOSE,1),0-VOL, 0)),N)/CAPITAL; n:=0,100,348,CYF市场能量HSL:=VOL/CAPITAL*100;CYF:100-100/(1+EMA(HSL,N)*100);n:=0,100,219,CYDD动态承接V ar1:=WINNER(CLOSE);V ar2:=DMA(V ar1,VOL/CAPITAL);V ar3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;CYDD: V ar1/Var3;CYDD1: V ar2/Var3;1, POINTDOT;10,CYD2承接因子A:=WINNER(CLOSE )*CAPITAL;2承接因子:A/VOL;11,CYD承接因子CYDS:WINNER(CLOSE)/(VOL/CAPITAL);CYDN:WINNER(CLOSE)/MA(VOL/CAPITAL,N);n:=0,100,2112,CYC2成本均线CYC1:0.01*EMA(AMOUNT,n1)/EMA(VOL,n1);CYC2:0.01*EMA(AMOUNT,n2)/EMA(VOL,n2);CYC3:0.01*EMA(AMOUNT,n3)/EMA(VOL,n3);CYC∞:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7))); n1:=0,100,5n2:=0,100,13n3:=0,100,3413,CYC1成本均线V ar1:=AMOUNT/(100*VOL);短线成本均线: MA(V ar1,N1);中线成本均线: MA(V ar1,N2);长线成本均线: MA(V ar1,N3);无穷成本均线: DMA(CLOSE,VOL/CAPITAL);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n1:=0,100,5n2:=0,100,13n3:=0,100,34314,CYB优化布林线MB: MA(CLOSE,N);上轨: MB+STD(CLOSE,N);下轨: MB-STD(CLOSE,N);上极限: MB+2*STD(CLOSE,N);下极限: MB-2*STD(CLOSE,N);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd;STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n:=0,100,1315,CMACD指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);CMACD: 100*(V ar2-V ar3)/V ar3, COLORSTICK;n1:=0,100,5n2:=0,100,1316,CBXQD成本均线V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);4V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYR5: 100*(V ar2-REF(V ar2,N))/REF(V ar2,N);CYR13: 100*(V ar3-REF(V ar3,N))/REF(V ar3,N);CYR34: 100*(V ar4-REF(V ar4,N))/REF(V ar4,N);CYR无穷: 100*(V ar5-REF(V ar5,N))/REF(V ar5,1);n:=0,100,4n1:=0,100,5n2:=0,100,13n3:=0,100,3417,CBW成本带宽CBW: 100*(COST(N1)-COST(N2))/COST(N1);n1:=0,100,98n2:=0,100,218,CBAND布林线宽V ar1:=MA(CLOSE,N);V ar2:=V ar1+2*STD(CLOSE,N);变盘: 5, POINTDOT;布林宽度: (V ar2-V ar1)/V ar1*100;警戒: 30, POINTDOT;n;=5,100,3020,指南针CYE顶部: 4,COLORBLUE;强势: 1,COLORRED;弱势: -1,colorf00ff0;底部: -4,COLORWHITE;短期趋势:(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*100,COLORWH ITE,LINETHICK2; 中期趋势:(MA(MA(CLOSE,13),5)-REF(MA(MA(CLOSE,13),5),1))/REF(MA(MA(CLOSE, 13),5),1)*100,colorf00ff0,LINETHICK2;长期趋势:(MA(MA(CLOSE,34),5)-REF(MA(MA(CLOSE,34),5),1))/REF(MA(MA(CLOSE, 34),5),1)*100,COLORRED,LINETHICK2;521,0amaV ar1:=SMA(&quot;AMOUNT&quot;,10,1)/10000000;V ar2:=REF(V ar1,1);AA: STICKLINE(V ar1&gt;Var2,V ar1,V ar2,8,1),COLORRED; AD: STICKLINE(V ar1&lt;V ar2,V ar1,V ar2,8,0),COLORGREEN; C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL); C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL); C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL); ∞: DMA(V ar1,VOL/1.1/CAPITAL);6。

大智慧指标公式集

大智慧指标公式集

大智慧指标公式集一、预测明天{预测明天-大智慧公式}E:=(H+L+O+2*C)/5;次日突破价:E+(H-L);次日阻力价:2*E-L;次日支撑价:2*E-H;次日下跌反转价:E-(H-L);次日心理价:(E+次日突破价+次日阻力价+次日支撑价+次日下跌反转价)/5;DIFF1:=EMA(C,3)-EMA(C,13);DEA1:=EMA(DIFF1,9);MACD1:=2*(DIFF1-DEA1)*10;DIFF2:=EMA(C,5)-EMA(C,21);DEA2:=MA(DIFF2,9);MACD2:=2*(DIFF2-DEA2)*10;DIFF3:=EMA(C,5)-EMA(C,89);DEA3:=EMA(DIFF3,21);MACD3:=2*(DIFF3-DEA3)*10;STICKLINE(C>0,0,22,6,0),Color8BA400;STICKLINE(C>0,0,10,6,0),Color8BA411;STICKLINE(C>0,0,9.5,6,0),Color8BA422;STICKLINE(C>0,0,9,6,0),Color8BA433;STICKLINE(C>0,0,8.5,6,0),Color8BA444;STICKLINE(C>0,0,8,6,0),Color8BA455;STICKLINE(C>0,0,7.5,6,0),Color8BA466;STICKLINE(C>0,0,7,10,0),Color8BA477;STICKLINE(C>0,0,6.5,6,0),Color8BA488;STICKLINE(C>0,0,6,6,0),Color8BA499;STICKLINE(C>0,0,5.5,6,0),Color8BA4aa;STICKLINE(C>0,0,5,6,0),Color8BA4cc;STICKLINE(C>0,0,4,6,0),Color8BA4ee;STICKLINE(C>0,0,3,6,0),Color8BA4ff;STICKLINE(C>0,0,-15,6,0),Color8BA433;STICKLINE(C>0,0,-10,6,0),Color8BA444;STICKLINE(C>0,0,-5,6,0),Color8BA455;STICKLINE(C>0,0,-1,6,0),Color8BA466;STICKLINE(macd3>=0,0,macd3,8,0),color009e3a;STICKLINE(macd3<0,0,-macd3,8,0),color646464;STICKLINE(macd2>=0,0,macd2,8,0),color007d19;STICKLINE(macd2<0,0,-macd2,8,0),color555555;STICKLINE(macd1>=0,0,macd1,8,0),color006400;STICKLINE(macd1<0,0,-macd1,8,0),color414141;STICKLINE(macd3,0,-abs(macd3)*0.6,8,0),color232323;STICKLINE(macd1,0,-abs(macd1)*0.6,8,0),color0f0f0f;x1:=MA(LLV(C,8)*1.1,13);x2:=MA(HHV(C,21)*0.9,13);x3:=MA(LLV(INDEXC,8)*1.1,13);x4:=MA(HHV(INDEXC,21)*0.9,13);资金进出:=3*(MA(C,1)-(x1+x2)/2-(x1+x2)/2*((x3+x4)/2-EMA(INDEXC,3))/((x3+x4) /2));STICKLINE(资金进出<0,资金进出,0,0.5,0),COLORFFFF00;STICKLINE(资金进出>=0,资金进出,0,0.5,0),ColorFF8BFF;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);DRAWTEXT(K<23,-10,'ャ'),ColorDBDBDB;DRAWTEXT(K<23,-10,'︼'),Color688EC1;DRAWTEXT(K<23 AND CROSS(K,D),8,'$'),COLORRED,LINETHICK7; DRAWTEXT(CROSS(MACD3,MACD2) andMACD3>ref(MACD3,1),MACD3+2,'$'),COLORRED,LINETHICK7;MA20:=MA(C,20);MA40:=MA(C,40);MA60:=MA(C,60);aa:=BARSLAST(ma60>ma40 and (ma40=ma20 or ma40>ma20));bb:=ref(count(c<ma60,aa)=aa,1);cc:=cross(c,ma60) and vol>ma(vol,5) and (c-ref(c,1))/ref(c,1)*100>3; 芙蓉出水:=bb and cc,color00ff00;drawtext(芙蓉出水,8,'$'),COLORRED;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,50,8,0) ,COLORRED;k1:=IF(k8>ref(k8,5) and k3<ref(k3,5) ,1,0 ),COLORYELLOW;k21:=IF(k8>ref(k8,7) and k3<ref(k3,7) ,1,0 ),COLORYELLOW;k31:=IF(k8>ref(k8,9) and k3<ref(k3,9) ,1,0 ),COLORYELLOW;k4:=IF(k8>ref(k8,11) and k3<ref(k3,11) ,1,0 ),COLORYELLOW;nday := 3;down := close/llv(low,60)<=1.2;pma1 := ma(close,2);pma2 := ma(close,5);diff :=ema(close,12) - ema(close,26),colorwhite;dea :=ema(diff,9),colorgreen;vma1:=ma (vol,2)/100000,colorred;vma2:=ma(vol,5)/100000,coloryellow;ppday := barslast(cross(pma1,pma2));vvday := barslast(cross(vma1,vma2));macdday := barslast(cross(diff,dea));A1:=BARSLAST(ref(cross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),1)); 背离、W底、金叉:=ref(c,A1+1)>c andref("macd.diff"(5,12,9),A1+1)<"macd.diff"(5,12,9) andcross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),,colorred;sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday ) and (diff<0),1,0);STICKLINE(sjcjd,50,60,6,0),colorwhite,linethick2;MACD:= 2*(diff-dea), COLORSTICK;短趋势:=((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;Vara2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Vara3:=LLV(LOW,34);Vara4:=HHV(HIGH,34);长趋势:=EMA((Vara2-Vara3)/(Vara4-Vara3)*100,13),color00ff00;判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; Vara5:=CROSS(短趋势,长趋势)AND 长趋势<25;Vara6:=CROSS(短趋势,长趋势)AND 长趋势<50;STICKLINE(Vara5,60,70,8,0) ,colorgreen;XX:=((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100)* 5);B001:=(((((CLOSE - MA(CLOSE,42)) / MA(CLOSE,42)) ) * 100) * 5);B002:=(((((CLOSE - MA(CLOSE,67)) / MA(CLOSE,67)) ) * 100) * 5);B003:=(((XX + B001) / 2) - (B002 ));B004:=(((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) -LLV(LOW,34)));B005:=(((0 - 100) * (HHV(HIGH,42) - CLOSE)) / (HHV(HIGH,42) -LLV(LOW,42)));B006:=(((0 - 100) * (HHV(HIGH,72) - CLOSE)) / (HHV(HIGH,72) -LLV(LOW,72)));B007:=EMA((((B004 + B005) / 2) - B006),6);B008:=REF(CLOSE,1);B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);B012:=EMA(((((B009 + B010) / 2) - B011) * 5),6);B013:=((((0 - 1) * ((B007 + B003) + B012)) / 3) * 1.5);B014:=B012;B015:=B013;B016:=EMA(B012,4);B017:=B012;KKM1:=B013;DPM1:=EMA(B013,4);多头:=B017,color0000FF;空头:=KKM1,color00FF00;多均:=B016;空均:=DPM1;B018:=IF(CROSS(B017,KKM1),28,0);xd:=5 ;VARX:=B017;C023:=KKM1;C024:=B016;C025:=DPM1;C026:=WINNER(CLOSE);W:=(DMA(C026,((VOL / CAPITAL) * 1)) * 100);HWXWINNER:=W;XD1:=EMA(W,6);XWXMH:=XD1;XD2:=MA(W,14);庄家控盘:=((HWXWINNER - XWXMH) * 10),COLORff00ff,LINETHICK2; STICKLINE(cross(多头,空均),80,70,8,0) ,COLORYELLOW;Varb1:=(2*CLOSE+HIGH+LOW)/4;Varb2:=LLV(LOW,34);Varb3:=HHV(HIGH,34);Varb4:=ma(HIGH,8);xx1:=EMA((Varb1-Varb2)/(Varb3-Varb2)*100,13);yy:=EMA(0.667*REF(xx1,1)+0.333*xx1,2) , ;STICKLINE(CROSS(xx1,20) AND yy<xx1 andVarb4>ref(Varb4,1),80,90,6,0),COLORFF0000;逃顶:=IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),60,90),COLOR53ff53; {Re:预测明天-用法简介用法简介:一:小船出现是在股价相对的底部,$是参考买点,青山出现表示股价逐渐走强.当黑色大山出现时表示股价逐渐走弱.二:1 红柱线是中线指示2 其余四色柱线是短线指示3连续发出三个以上短线指示,可以短线买入.4连续发出三个以上短线指示后,发出中线指示,可以重仓买入.一年中线重仓买入,一般不会超过4次.三:1、次日上升突破价位:如明日此价位最高价超过此价位,则有上升行情产生,可当日买入,或观察近几日可逢低吸纳。

大智慧指标公式函数大全

大智慧指标公式函数大全

大智慧指标公式函数大全1.移动平均线(MA):MA=(今日收盘价×N日+昨天收盘价×(N-1)日+⋯+第N+1日收盘价×1日)÷N2. 动量指标(Momentum):Momentum=今日收盘价-N日前收盘价3.随机指标(RSI):RSI=100×A÷(A+B),其中A是N日内上涨收盘价的累计幅度,B是N日内下跌收盘价的累计幅度4. 相对强弱指标(Relative Strength Index,RSI):RSI=100×(现价-最低价)÷(最高价-最低价)5. 威廉指标(William):William=(当日最高价-昨日收盘价)÷(昨日最低价-昨日收盘价)6. 随机振荡器(Stochastic Oscillator):StochasticOscillator=(当日最高价-当日收盘价)÷(当日最高价-当日最低价)7. 威廉超买超卖指标(Williams Overbought/Oversold):Williams Overbought/Oversold=(当日最高价-昨日收盘价)÷(昨日最低价-昨日收盘价)8. 麦克指标(Macd):Macd=(短期EMA-长期EMA)÷振荡器(改标准)9. 相对强弱比率(Relative Strength Ratio,RSR):RSR=(N日的最高价-N日内最低价)÷(N日内最低价-N日内最高价)10. 布林线指标(Bollinger Bands):BB=(今日收盘价-N日简单移动平均线)÷2×标准差11. 平均真实波幅(Average True Range):ATR=(当日最高价-当日最低价)÷前N日移动平均。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

大智慧经典指标中精心挑选的公式大智慧主图:中华方圆、天狼操盘手、千金不传、超短买卖、利多方舟修改版、买卖提示、财富拐点、智能操盘、宝塔线、夺宝奇兵有未来函数的大智慧主图有:捞钱手、粉进黄出、红买绿卖等。

大智慧辅图:高抛低吸、庄影难逃、金牌逃顶、底部爆发、短线MACD、启动在即、火山景、机构买点、益明主力进出、庄家踪迹、低吸高抛、底部吸筹、大底出现等。

好得很,我将其中我十几年收集的大智慧经典指标中精心挑选的,人人喜欢的公式原码如下发给大家:如大家都真正喜欢,并加分加精,我将继续发出,甚至就发可以直接引入的公式1.利多方舟MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20;MA4:MA(CLOSE,30);VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /(HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /(HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW *0.998),1);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH *1.013),2);DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'买入'),color4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH *1.035),'卖出'),colorFFFF34;年:MA(CLOSE,26),COLORGREEN;STICKLINE(C&gt;=年ANDC&gt;=O,C,O,7,0),COLORRED;STICKLINE(C&gt;=年ANDC&gt;=O,H,L,0,0),COLORRED;STICKLINE(C&gt;=年AND C&lt;O,C,O,7,1),COLORRED; STICKLINE(C&gt;=年ANDC&lt;O,O,H,0,0),COLORRED;STICKLINE(C&gt;=年AND C&lt;O,C,L,0,0),COLORRED;STICKLINE(C&lt;年AND C&gt;O,C,O,7,1),COLORffff00; STICKLINE(C&lt;年AND C&lt;=O,C,O,7,1),COLORffff00; STICKLINE(C&lt;年AND C&lt;=O,H,L,0,1),COLORffff00;STICKLINE(C&lt;年AND C&gt;O,C,H,0,1),COLORffff00; STICKLINE(C&lt;年AND C&gt;O,O,L,0,1),COLORffff00 2.中华方圆MA1:MA(CLOSE,6);MA2:MA(CLOSE,13);MA3:MA(CLOSE,62);MA4:MA(CLOSE,120);MA5:MA(CLOSE,250);X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);LL:=REF(CLOSE,2);MM:=((SMA(MAX((CLOSE - LL),0),6,1) /SMA(ABS((CLOSE - LL)),6,1)) * 100);DB:=IF(((MM &lt; REF(MM,1)) AND (MM &gt; 79)),MM,0); DRAWTEXT(CROSS(Y,X),(LOW *0.985),'▲'),LINETHICK2,colorred;DRAWTEXT(CROSS(X,Y),(HIGH *1.02),''),LINETHICK2,colorFF6699;DRAWTEXT(DB,(HIGH *1.02),'○'),LINETHICK2,color00ff00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13); DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2); VAR3:=LLV(LOW,55);VAR4:=HHV(HIGH,34);VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);VAR6:=((AK + VAR5) / 2);VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2); VAR8:=EMA(VAR6,5);BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2); AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB) AND (BB &lt; 30));CD:=(BB1 * 0.6);DRAWTEXT((CD = 0.6),(LOW *0.99),'□'),LINETHICK2,color33CC99;3.天狼操盘手DRAWGBKLAST(v&gt;1,STRIP(RGB(0,128,128),RGB(47, 79,79),0));LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) /SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);波动回调提示图:MA(CLOSE,10000);STICKLINE((MA15 &gt;REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000F F;STICKLINE((MA15 &lt;REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF000 0;DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);stickline(买线&gt;=卖线,low,high,1,0),colorred;stickline(买线&gt;=卖线,close,open,4.5,0),color0000aa;stickline(买线&gt;=卖线,close,open,4,0),color0000cc; stickline(买线&gt;=卖线,close,open,3,0),color0000cc; stickline(买线&gt;=卖线,close,open,2,0),color0000ee; stickline(买线&lt;卖线,close,open,4.5,0),coloraaaa00; stickline(买线&lt;卖线,close,open,4,0),colorbbbb00; stickline(买线&lt;卖线,close,open,3,0),colorcccc00; stickline(买线&lt;卖线,close,open,2,0),coloreeee00; stickline(买线&lt;卖线,low,high,1,0),colorffff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12) +EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;4.千金不传MA7:MA(C,7),COLOR0000FF;MA13:MA(C,13),COLOR0096FF;MA21:MA(C,21),COLOR00FF99;MA49:MA(C,49),COLORFF00FF;A:=BARSCOUNT(CLOSE);AH:=HHV(HIGH,200);AL:=LLV(LOW,200);B0:=(AH-AL)/40;B1:=HIGH+B0;B2:=LOW-B0;DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B2-2.2*B0*1.1,'变盘'),COLORRED;DRAWTEXT(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLO SE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1) *100),1,0),HIGH*1.045,'警'),COLORWHITE;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-L C),4.1,1)*100;DRAWICON(CROSS(RSI,11) ,L*0.99,3);VAR28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOS E-LC),6,1)*100;DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)& gt;0 AND EMA(CLOSE,12)/LOW&gt;1.15,5),LOW,'买'),COLORFF00FF;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(1 00); AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)&gt;=5) AND CROSS(VARJ,VARE) AND (AA&gt;79);DRAWTEXT((REF(BIAS18,1)&gt;=5) ANDCROSS(VARJ,VARE) AND (AA&gt;SS) ANDCROSS(84,RSI),H*1.028,'卖'),LINETHICK7,COLORGREEN;DRAWTEXT(CROSS(84,RSI) ANDCROSS(76,VAR28),H*1.01,'出'),LINETHICK7,COLORYELLOW;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,13)*21+C,49);STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,1.2,0),COLORYELLOW;STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,1.2,0),COLORBLUE;V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1);V5:=SMA(操盘线,2,1);DRAWICON(CROSS(操盘线,V5) ANDMA7&gt;REF(MA7,1),L*0.987,5);DRAWICON(REF(操盘线,2) AND MA21 AND CROSS(V5,操盘线),H*1.01,6);STICKLINE((REF(BIAS18,1)&gt;=5) ANDCROSS(VARJ,VARE) AND (AA&gt;SS) ANDCROSS(84,RSI) AND CROSS(76,VAR28),C,O,3,0),COLORGREEN,LINETHICK2;5.超短买卖A:=(2*C+O+H+L)/5;X1:MA(A,1),COLORFFF000;X2:MA(X1,3),COLORFFFFFF;DRAWTEXT(CROSS(X1,X2),X2-0.04,'买'),COLORYELLOW;DRAWTEXT(CROSS(X2,X1),X2+0.04,'卖'),COLOR33FF33;B:MA(C,5),COLORFF00FF,LINETHICK2;D:=B&lt;REF(B,1);M13:MA(CLOSE,13),LINETHICK1,colorffcc66;M34:MA(CLOSE,34),COLORRED,LINETHICK2;M55:MA(CLOSE,55),COLORGREEN,LINETHICK2;M120:MA(CLOSE,120),Coloryellow,LINETHICK2; STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaa aaa;STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbb bbb;STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORc ccccc;STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORd ddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc ;STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777 dd;STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR888 8ee;STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR999 9ff;varC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C, 1)),6,1)*100;DRAWICON(CROSS(82,varC),HIGH,2);var6:=REF(C,1);var7:=SMA(MAX(C-var6,0),6,1)/SMA(ABS(C-var6),6,1)*10 0;DRAWTEXT(CROSS(84,var7),H*1.01,'▲逃顶'),COLORGREEN ;Var32:=CLOSE/REF(CLOSE, 1)&gt;=1.062 ANDHIGH/CLOSE&lt;1.005 AND MA(CLOSE,90)/CLOSE&gt;=1.150;Var33:=Var32 AND COUNT(Var32, 20)=1 ;Var34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1); Var35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);Var36:=IF(Var34&gt;0.010, 0.900, 1) ANDIF(Var34&gt;(-0.025), 1, 1.200);Var37:=Var36*(Var35-Var34)*100;Var38:=SUM(Var37, 10);Var39:=SMA(Var38, 40, 1);Var310:=Var38&gt;20;Var311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE&gt;OPEN*1.060 AND VOL&gt;=REF(VOL, 1)*1.5 AND CLOSE&gt;=MA(CLOSE, 10);Var312:=Var310 AND Var311 ;Var313:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW, 3));Var314:= CROSS(Var313, (-87)) ANDOPEN=1.090*REF(CLOSE, 1) ANDINDEXC&gt;0.980*REF(INDEXC, 1) ANDCLOSE&lt;=1.470*LLV(CLOSE, 58);Var315:=EMA(CLOSE, 12)-EMA(CLOSE, 26);Var316:=EMA(Var315, 9);Var317:=2*(Var315-Var316);Var318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH,9)-LLV(LOW, 9))*100;Var319:=SMA(Var318, 3, 1);Var320:=SMA(Var319, 3, 1);Var321:=EMA(IF(Var316&gt;REF(Var316, 1), 1, (-1)), 14)*14;Var322:=EMA(IF(Var320&gt;REF(Var320, 1), 1, (-1)), 14)*14*2;Var323:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100; Var324:=(Var323+Var322+Var321)/3;Var325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3;Var326:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE&gt;REF(CLOSE, 1)*1.0 ANDCLOSE,88,0);{Var38&gt;Var39;}Var327:=IF(CLOSE/REF(CLOSE, 1)&gt;1.050 ANDVOL/CAPITAL*100&lt;10 AND CLOSE&lt;17 ANDHIGH/CLOSE&lt;1.010 AND Var326&gt;0, 91, 0);Var328:=IF(Var324&gt;REF(Var324, 1) AND REF(Var324, 1)&lt;REF(Var324, 2) AND (Var33 OR Var312 OR Var314) OR Var326&gt;0 ORVar327&gt;0, 85, 0);Var329:=IF(Var327&gt;0 ,95,0);Var330:=IF(Var326&gt;0 or var327&gt;0,91,0);Var331:=IF(Var328&gt;0 or var327&gt;0 orvar326&gt;0,88,0);Var332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LL V(LOW,42));Var333:=COUNT(MA(CLOSE,3)&gt;REF(MA(CLOSE,3),1 ),1)=1;Var334:=(Var332&lt;93 AND Var333 andMAX(MAX(Var329, Var330), Var331))*100;STICKLINE(Var327&gt;90,LOW*0.99,LOW*0.95,2,0),COL ORYELLOW;DRAWTEXT(Var327&gt;90,LOW*0.95,'追涨'),COLORYELLOW;DRAWICON(Var310&gt;0 AND Var327=0,HIGH*1.01,5); AA:MA(CLOSE,3),ColorFF00FF,LINETHICK0;AA1:=(CLOSE+HIGH+LOW)/(3);BB:=EMA(AA1,10);BB2:=REF(BB,1);MA20:=EMA(CLOSE,20);DRAWTEXT((BB&gt;BB2),ma20,'*'),COLORFF00FF; DRAWTEXT((BB&lt;BB2),ma20,'*'),Coloryellow; STICKLINE(open&gt;=close ,close ,open,0,0 ),COLOR00F F00;STICKLINE(open&gt;=close ,close ,open,8,0 ),COLOR008 800;STICKLINE(open&gt;=close ,close ,open,7,0 ),COLOR009 900;STICKLINE(open&gt;=close ,close ,open,6,0 ),COLOR00 AA00;STICKLINE(open&gt;=close ,close ,open,5,0 ),COLOR00 BB00;STICKLINE(open&gt;=close ,close ,open,4,0 ),COLOR00 CC00;6.粉进黄出ma6:ma(c,6),LINETHICK2,Color7fffd5;ma18:ma(c,18),LINETHICK2,color0096ff;ma34:ma(c,34),COLOR00ff99;ma60:ma(c,60),Colorff00ff;aaf:LLV(LOW,34),LINETHICK1,COLORffffcc;bbf:MA(aaf,4),LINETHICK1,coloryellow;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-L C),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CL OSE-Var27),6,1)*100;DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5); DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)& gt;0 AND EMA(CLOSE,12)/LOW&gt;1.15,5),LOW,'☆'),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(5); VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LO W,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(1 00);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)&gt;=5) AND CROSS(VARJ,VARE) AND (aa&gt;79);DRAWTEXT((REF(BIAS18,1)&gt;=5) ANDCROSS(VARJ,VARE) AND(aa&gt;ss),h*1.02,'☆'),LINETHICK7,colorgreen;Var1:=ZIG(3,10)&lt;REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)&gt;REF(ZIG(3,10),2);{ZIG 有未来}Var2:=ZIG(3,10)&gt;REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)&lt;REF(ZIG(3,10),2);STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2 ;{高位黄色}STICKLINE(Var1,C,O,2,0),COLORYELLOW,LINETHICK2 ;{高位黄色}STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2; {高位黄色}STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位红色}STICKLINE(Var2,C,O,2,0),COLORFF00FF,LINETHICK2;{底位红色}7.捞钱手MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/S MA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+5 0;G1:=IF(-MMS&gt;95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV( CLOSE,7))*100=100)&gt;0 AND G1)+1);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:=MA(MMV,1);{STICKLINE(((SSL&gt;MM)),SSL,MM,0.01,0),COLORRED ;} {去掉柱线}SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));捞钱手:IF(((SSL&gt;MM)),MM,SA),LINETHICK2,COLORFF00F F;{IF(SSL&lt;MM,捞钱手,DRAWNULL),LINETHICK2,COLORFFFFFF;}能量线:=DMA(((CLOSE + OPEN) / 2),(VOL /(SMA(VOL,4,1) *4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);智能黄金线:A,COLORYELLOW,LINETHICK1;B:=REF(A,1);{STICKLINE(((SSL&lt;MM)),捞钱手,智能黄金线,0.01,0),COLORFFFF00;} {去掉柱线}VA1:=EMA(上收,8);VA2:=EMA(上收,20);DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.9 78,'★绝佳') ,LINETHICK2,COLORRED;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH* 1.02,'★卖');DRAWTEXT(CROSS(VA1,VA2)AND(C&gt;=O)AND 智能黄金线&gt;REF(智能黄金线,1),VA1*0.97,'★买'),COLOR00FF00;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)&gt;=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A&gt;100/100 AND T1;T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A&gt;100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;T4:=CROSS(选手,箱底) AND 箱顶/箱底&gt;110/100;T5:=CROSS(箱顶,选手) AND 箱顶/箱底&gt;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(VAR3 &gt;=VAR4 ,箱顶,'--中期好'),COLOR00FFFF;DRAWTEXT(VAR3&lt;VAR4 ,箱顶,'--中期坏'),COLORF0F000;DRAWTEXT(A&gt;B ,箱底,'--短期好'),COLOR00FFFF; DRAWTEXT(A&lt;B ,箱底,'--短期坏'),COLORF0F000;} DRAWTEXT(CROSS(VAR3,VAR4)AND(C&gt;=O)AND VAR3&lt;40 ANDUOO&gt;0,LOW*0.96,'★'),COLORF00FF0; STICKLINE(C&gt;=O,C,O,5,0),COLORRED; STICKLINE(C&gt;=O,H,L,0,0),COLORYELLOW; STICKLINE(C&lt;=O,C,O,5,0),COLORGREEN; STICKLINE(C&lt;=O,H,L,0,0),COLORFFFF00;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);DRAWTEXT(CROSS(买线,卖线)AND 箱顶&gt;=REF(箱顶,1),LOW*0.95,'★跟'),COLOR00FFFF;STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;{以下大笔出货标识}VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,3 4)-LLV(LOW,34)),5)-20;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR1 2,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR1 2,70));VAR15:=IF(VAR13&gt;=150 AND VAR13&lt;200 AND VAR14&gt;=150 AND VAR14&lt;200,10,0);VAR16:=IF(VAR13&lt;=-150 AND VAR13&gt;-200 AND VAR14&lt;=-150 AND VAR14&gt;-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18&lt;90,VAR18,100);VAR1A:=IF(VARE&gt;0,VARE,0);VAR1B:=IF(VAR14&gt;=200 ANDVAR13&gt;=150,15,IF(VAR14&lt;=-200 ANDVAR13&lt;=-150,-15,VAR16))+60;VAR1C:=VAR1A&gt;48 AND VAR1B&gt;60 ANDVAR19&lt;100;DRAWTEXT(VAR1C ANDCOUNT(VAR1C,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66;8.买卖提示公式N =13股价趋势:=ZIG(3,3);m13:=ZIG(3,n);a:=if(cross(m13,ref(m13,1))and ref(m13,1)&lt;=m13,m13+2,ZIG(3,21)-1);b:=if(cross(ref(m13,1),m13)andref(m13,1)&gt;=m13,m13+1,ZIG(3,21)-1);var1:=zig(3,40);var2:=ref(var1,1);var3:=cross(close,"boll.lower"(20,2));var4:=cross(var1,var2);var5:=vol/ref(vol,2)&gt;2;var6:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n)) *100;var7:=SMA(var6,3,1);【当心变盘了】:if(股价趋势=m13 and 股价趋势&gt;ref(股价趋势,1) and m13&gt;ref(m13,1) andvar7&gt;75,a,a-4),stick,colorblue,linethick3;【关注筑底】:if(var3 and var4 andvar5,a,a-4),stick,colorred,linethick3;通达信上股价趋势:=ZIG(3,3);M13:=ZIG(3,N);A:=IF(CROSS(M13,REF(M13,1))ANDREF(M13,1)&lt;=M13, M13+2,ZIG(3,21)-1);B:=IF(CROSS(REF(M13,1),M13)ANDREF(M13,1)&gt;=M13,M13+1,ZIG(3,21)-1);VAR1:=ZIG(3,40);VAR2:=REF(VAR1,1);VAR3:=CROSS(CLOSE,(20,2));VAR4:=CROSS(VAR1,VAR2);VAR5:=VOL/REF(VOL,2)&gt;2;VAR6:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW, N))*100;VAR7:=SMA(VAR6,3,1);【当心变盘了】:IF(股价趋势=M13 AND 股价趋势&gt;REF(股价趋势,1) AND M13&gt;REF(M13,1) AND VAR7&gt;75,A,A-4),STICK,COLORBLUE,LINETHICK3; 【关注筑底】:IF(VAR3 AND VAR4 ANDVAR5,A,A-4),STICK,COLORRED,LINETHICK3;夺宝奇兵Var1:=EMA(C,3);Var2:=EMA(C,5);Var3:=EMA(C,10);Var4:=EMA(C,20);Var5:=EMA(C,30);Var6:=(Var2+Var3+Var4+Var5)/4;Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;Var9:=EMA(Var7,8);STICKLINE(Var7&lt;1*REF(Var7,1),h,l,0.5,0),COLORBLU E;{蓝-持币}STICKLINE(Var7&lt;1*REF(Var7,1),o,c,5,1),COLORBLUE;STICKLINE(Var7&gt;1*REF(Var7,1),h,l,0.5,0),COLORRE D;{红-持股}STICKLINE(Var7&gt;1*REF(Var7,1),o,c,5,1),COLORRED;STICKLINE(Var7&lt;1*REF(Var7,1) ANDVar9&gt;1*REF(Var9,1),h,l,0.5,0),COLORGREEN;{绿-洗盘}STICKLINE(Var7&lt;1*REF(Var7,1) ANDVar9&gt;1*REF(Var9,1),o,c,5, 1),COLORGREEN;买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价&gt;ref(买进价,1); STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;{白-买进}STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;加码条件:=cross(c,加码价) and 加码价&gt;ref(加码价,1); STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;{黄-加码}STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;X1:EMA(C,7),color0088ff;X2:EMA(c,21),coloree00ee;X3:EMA(X2,21),colorwhite;x4:ema(x3,27),color009900;x5:ema(x2,100),colorFFAA00;x6:ema(x5,100),color009999;v1:ema(close,5);v2:ema(ema(close,29)*1.01,10);DRAWICON(cross(v1,v2),v2,1);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC ),6,1)*100;逃:if(CROSS(84,RSI) ,HIGH,high+1),pointdot,linethick7,COLORYELLOW ;high+ 1,pointdot,linethick7,COLOR000000;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)&gt;C AND REF(DIFF,A1+1)&lt;DIFF AND CROSS(DIFF,DEA);DRAWICON(FILTER(B1&gt;0,5),L*0.94,10); DRAWTEXT(FILTER(B1&gt;0,5),L*0.94,'M底'),COLORGREEN;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3 ,3)),1));B2:=REF(C,A2+1)&gt;C ANDREF("KDJ.K"(9,3,3),A2+1)&lt;"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));DRAWICON(FILTER(B2&gt;0,5),L*0.96,10); DRAWTEXT(FILTER(B2&gt;0,5),L*0.96,'K底'),COLORYELLOW;{KDJ底背离}A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI. RSI2"(6,12,24)),1));REF("RSI.RSI1"(6,12,24),A3+1)&lt;"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); DRAWICON(FILTER(B3&gt;0,5),L*0.98,10); DRAWTEXT(FILTER(B3&gt;0,5),L*0.98,'R底'),COLORFFFF00;{RSI底背离}C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)&lt;C AND REF(DIFF,C1+1)&gt;DIFF AND CROSS(DEA,DIFF);DRAWICON(FILTER(D1&gt;0,5),H*1.07,12); DRAWTEXT(FILTER(D1&gt;0,5),H*1.07,'M顶'),COLOR0066FF;{MACD顶背离}C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3 ,3)),1));D2:=REF(C,C2+1)&lt;C ANDREF("KDJ.K"(9,3,3),C2+1)&gt;"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));DRAWICON(FILTER(D2&gt;0,5),H*1.05,12); DRAWTEXT(FILTER(D2&gt;0,5),H*1.05,'K顶'),COLORRED;{KDJ顶背离}C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI. RSI1"(6,12,24)),1));REF("RSI.RSI1"(6,12,24),C3+1)&gt;"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)); DRAWICON(FILTER(D3&gt;0,5),H*1.03,12); DRAWTEXT(FILTER(D3&gt;0,5),H*1.03,'R顶'),COLORFF00FF;{RSI顶背离};。

相关文档
最新文档