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

合集下载

大智慧各户资金分时指标公式-大智慧公式-股旁网

大智慧各户资金分时指标公式-大智慧公式-股旁网

大智慧各户资金分时指标公式-大智慧公式-股旁网N:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:SUM(ZLLR-ZLLC,0),COLOR00FFFF,LINETHICK0,PRECIS2;主现:=SUM(ZLLR-ZLLC,N);{N分钟}TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:SUM(TDLR-TDLC,0),COLORFF00FF,LINETHICK0,PRECIS2;超现:=SUM(TDLR-TDLC,N);{N分钟}DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:SUM(DDLR-DDLC,0),COLOR00FF00,LINETHICK0,PRECIS2;大现:=SUM(DDLR-DDLC,N);{N分钟}ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:SUM(ZDLR-ZDLC,0),COLORB8B8B8,LINETHICK0,PRECIS2;中现:=SUM(ZDLR-ZDLC,N);{N分钟}XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10 000;XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10 000;散净:SUM(XDLR-XDLC,0),COLORFF9911,LINETHICK0;散现:=SUM(XDLR-XDLC,N);{N分钟}主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100;中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力: 主力净买,COLOR3D;主力,COLOR00FFFF,LINETHICK2;STR1:=''+'(主力)'+NUMTOSTRN(主净,2)+' (主现)' + NUMTOSTRN(主现,2)+'\n';DRAWTEXT(BARSTATUS,主力,STR1),COLOR00FFFF;超大: 超大净买,COLORFF00FF,LINETHICK2;STR1:=''+'(超大)'+NUMTOSTRN(超净,2)+' (超现)' + NUMTOSTRN(超现,2)+'\n';DRAWTEXT(BARSTATUS,超大,STR1),COLORFF00FF;大户: 大户净买,COLOR00FF00,LINETHICK2;STR1:=''+'(大户)'+NUMTOSTRN(大净,2)+' (大现)' + NUMTOSTRN(大现,2)+'\n';DRAWTEXT(BARSTATUS,大户,STR1),COLOR00FF00;中户:中户净买,COLORB5B5B5,LINETHICK2;STR1:=''+'(中户)'+NUMTOSTRN(中净,2)+' (中现)' + NUMTOSTRN(中现,2)+'\n';DRAWTEXT(BARSTATUS,中户,STR1),COLORB5B5B5;散户: 散户净买,COLORFF9911,LINETHICK2;STR1:=''+'(散户)'+NUMTOSTRN(散净,2)+' (散现)' + NUMTOSTRN(散现,2)+'\n';。

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

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

好用的指标公式: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 SK<安全线,9.8,6);买二:IF(CROSS(SK,安全线),9.8,6);买三:IF(CROSS(SK,SD) AND SK>安全线,9.8,6);2、庄家进出Var1:=IF(YEAR>=2034AND MONTH>=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),COLORgreen;见底信号: 2;买点准备: IF(趋势线<=10,50,0);买入时间: IF(CROSS(趋势线,见底信号),100,0),COLOR0099ff,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(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),V OL/2)),Color0000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),V OL/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);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF; STICKLINE((主动买盘 > 0),0,主动买盘,7.8,0),color0018FF; STICKLINE((主动买盘 > 0),0,主动买盘,7.5,0),color001BFF; STICKLINE((主动买盘 > 0),0,主动买盘,7.3,0),color0022FF; STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF; STICKLINE((主动买盘 > 0),0,主动买盘,6.8,0),color0041FF; STICKLINE((主动买盘 > 0),0,主动买盘,6.5,0),color0050FF; STICKLINE((主动买盘> 0),0,主动买盘,6.3,0),color0059FF; STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF; STICKLINE((主动买盘 > 0),0,主动买盘,5.7,0),color006CFF; STICKLINE((主动买盘> 0),0,主动买盘,5.5,0),color007AFF; STICKLINE((主动买盘 > 0),0,主动买盘,5.3,0),color0080FF; STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF; STICKLINE((主动买盘 > 0),0,主动买盘,4.5,0),color0095FF; STICKLINE((主动买盘 > 0),0,主动买盘,3.5,0),color009CFF; STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF; STICKLINE((主动买盘> 0),0,主动买盘,2.5,0),color00C0FF; STICKLINE((主动买盘 > 0),0,主动买盘,1.5,0),color00D1FF; STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF; STICKLINE((主动买盘 > 0),0,主动买盘,0.7,0),color00FFFF; STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800; STICKLINE((主动卖盘 > 0),0,主动卖盘,7.8,0),color007F00; STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00; STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00; STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;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)),ColorFF00FF; DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖盘比='+NUMTOSTR(买卖盘比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1; DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;6、发家分时(抓涨停)日1:EMA(C,1),COLORFF00FF;日:=EMA((H+L+C)/3,1);日5:=MA(EMA((H+L+C)/3,1),5);日10:=MA(EMA((H+L+C)/3,1),10);对比日: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((日10/REF(日10,5)-1)*100)*180/3.14115926)>20;弱:=日5<对比日5 AND 日10<对比日10 AND 日5-对比日5<0 AND 日10-对比日10<0 AND 对比日5>REF(对比日5,3);STICKLINE( CROSS(日5,对比日5) AND C>REF(C,150) AND 角,日5*1.05,REF(LLV(对比日,200),200),1,0),COLORRED;STICKLINE(角2,日5*0.98,REF(LLV(对比日,200),200),1,0),COLORYELLOW; DRAWICON(CROSS(日1,对比日)AND C>REF(C,240),日1*1.05,1);DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);。

大智慧组合主图指标公式

大智慧组合主图指标公式

大智慧组合主图指标公式K线美化,无未来,可单独删除STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;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,CLOSE,OPEN,1,0) ,COLOR0000ff;{红买绿卖点显示,无未来,可单独删除}DRAWGBK(c>=0),Color2B5516;平衡:EMA(C,20),CIRCLEDOT,COLORwhite;STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff;STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600;{画线显示,带未来,正常,可单独删除}Var1:=DATE>900101 AND DATE<2098108;Var2:=DATE>2098106;Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4*Var1; Var4:=IF(DATE<2098231,IF(Var3>23.16,Var3,0),0);Var5:=Var3<10;Var6:=Var3<2;Var7:=Var5 OR Var6;长期趋势: ZIG(3,19)*Var1,COLORBLUE;短期趋势: ZIG(3,6.5)*Var1,COLORYELLOW;{压力支撑显示,带未来,正常,可单独删除}TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); vB1:=FILTER(A1,10); C1:=BACKSET(vB1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); vB2:=FILTER(A2,10); C2:=BACKSET(vB2,10+1); LD:=FILTER(C2,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;STICKLINE(t1,A,A,9,0),ColorFF00FF;支撑线:IF(t2,B,B),Color80FF00,POINTDOT;STICKLINE(t2,B,B,9,0),Color80FF00;{BS买卖点显示,无未来,可单独删除}a:="LTFunc5@FORLT2"; {计算BS点}s1:="LTFunc5@LT_S1"; {s1=0,向下; s1=1,向上}hs:="LTFunc5@LT_HS"; {短线买入机会}ls:="LTFunc5@LT_LS"; {短线卖出机会}p1:="LTFunc5@LT_P1"; {p1=1,显示BS,p1上穿0线,B点 ; p1下穿1线,S点}upp:="LTFunc5@LT_UPP";{明日B点预测}udd:="LTFunc5@LT_UDD";{明日S点预测}drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{筹码成本显示,带未来,正常,可单独删除}Zyz:=cost(99.9);Zyx:=cost(0.1);Zy:=(Zyz-Zyx)/50;Zy1:=Zyz-Zy;Zy2:=Zyz-2*Zy;Zy3:=Zyz-3*Zy;Zy4:=Zyz-4*Zy;Zy5:=Zyz-5*Zy;Zy6:=Zyz-6*Zy;Zy7:=Zyz-7*Zy;Zy8:=Zyz-8*Zy;Zy9:=Zyz-9*Zy;Zy10:=Zyz-10*Zy;Zy11:=Zyz-11*Zy;Zy12:=Zyz-12*Zy;Zy13:=Zyz-13*Zy; Zy14:=Zyz-14*Zy; Zy15:=Zyz-15*Zy; Zy16:=Zyz-16*Zy; Zy17:=Zyz-17*Zy; Zy18:=Zyz-18*Zy; Zy19:=Zyz-19*Zy; Zy20:=Zyz-20*Zy; Zy21:=Zyz-21*Zy; Zy22:=Zyz-22*Zy; Zy23:=Zyz-23*Zy; Zy24:=Zyz-24*Zy; Zy25:=Zyz-25*Zy; Zy26:=Zyz-26*Zy; Zy27:=Zyz-27*Zy; Zy28:=Zyz-28*Zy; Zy29:=Zyz-29*Zy; Zy30:=Zyz-30*Zy; Zy31:=Zyz-31*Zy; Zy32:=Zyz-32*Zy; Zy33:=Zyz-33*Zy; Zy34:=Zyz-34*Zy; Zy35:=Zyz-35*Zy; Zy36:=Zyz-36*Zy; Zy37:=Zyz-37*Zy; Zy38:=Zyz-38*Zy; Zy39:=Zyz-39*Zy; Zy40:=Zyz-40*Zy; Zy41:=Zyz-41*Zy; Zy42:=Zyz-42*Zy; Zy43:=Zyz-43*Zy; Zy44:=Zyz-44*Zy; Zy45:=Zyz-45*Zy; Zy46:=Zyz-46*Zy; Zy47:=Zyz-47*Zy; Zy48:=Zyz-48*Zy; Zy49:=Zyz-49*Zy;Z1:=winner(Zyz)*100-winner(Zy4)*100;Z2:=winner(Zy4)*100-winner(Zy7)*100;Z3:=winner(Zy7)*100-winner(Zy10)*100;Z4:=winner(Zy10)*100-winner(Zy13)*100;Z5:=winner(Zy13)*100-winner(Zy16)*100;Z6:=winner(Zy16)*100-winner(Zy19)*100;Z7:=winner(Zy19)*100-winner(Zy22)*100;Z8:=winner(Zy22)*100-winner(Zy25)*100;Z9:=winner(Zy25)*100-winner(Zy28)*100;Z10:=winner(Zy28)*100-winner(Zy31)*100;Z11:=winner(Zy31)*100-winner(Zy34)*100;Z12:=winner(Zy34)*100-winner(Zy37)*100;Z13:=winner(Zy37)*100-winner(Zy40)*100;Z14:=winner(Zy40)*100-winner(Zy43)*100;Z15:=winner(Zy43)*100-winner(Zy46)*100;Z16:=winner(Zy46)*100-winner(Zy49)*100;STICKLINE( DISPSTATUS=2,Zy1 ,Zy4 ,Z1*50 ,1 ),LAYER7,coloryellow; STICKLINE( DISPSTATUS=2,Zy5 ,Zy7 ,Z2*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy8 ,Zy10 ,Z3*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy11 ,Zy13 ,Z4*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy14 ,Zy16 ,Z5*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy17 ,Zy19 ,Z6*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy20 ,Zy23 ,Z7*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy24 ,Zy26 ,Z8*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy27 ,Zy29 ,Z9*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy30 ,Zy31 ,Z10*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy32 ,Zy34 ,Z11*50 ,1),LAYER7,DOTLINE; STICKLINE( DISPSTATUS=2,Zy35 ,Zy37 ,Z12*50 ,1),LAYER7,DOTLINE;; STICKLINE( DISPSTATUS=2,Zy47 ,Zy49 ,Z16*50 ,1),LAYER7,coloryellow; DRAWTEXTABS(5,5,'股旁网 '),linethick1,COLOR00EEff; {文字显示,带未来,正常,可单独删除}DRAWTEXTABS(10,10,'所属板块:'+BKNAME),COLOR00FF00,linethick1;市值:=C*CAPITAL*VOLUNIT/100000000;股本:=FINANCE2(35)/10000;流通:=FINANCE2(37)/10000;人均持股:=CEILING(CAPITAL*100/selfdata('shx'));市盈率:=DYNAINFO(39);市净率:=c/FINANCE2(4);F:=COST(5 );J:=COST(95 );M:=COST(15 );N:=COST(85 );F1:=(J-F)/(F+J)*100;M1:=(N-M)/(N+M)*100;成本集中度:=F1;莸利比例:=WINNER(c )*100;日换手率:=vol/CAPITAL*100;净资产:=FINANCE2(4);净资收益率:=FINANCE2(5);最新收益:=FINANCE2(3);每股未分配:=FINANCE2(8);毛利润率:=FINANCE2(12);净利润率:=FINANCE2(33)/FINANCE2(27)*100;股东权益比:=FINANCE2(9);每股公积金:=FINANCE2(7);DRAWTEXTABS(10,30,'市值:'+市值+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,30,'股本:'+股本+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,30,'流通:'+流通+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,50,'市盈率:'+市盈率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,50,'市净率:'+市净率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,50,'成本集中度:'+成本集中度+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,70,'莸利比例:'+莸利比例+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,70,'日换手率:'+日换手率+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,70,'净资产:'+净资产+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,90,'净资收益率:'+净资收益率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,90,'最新收益:'+最新收益+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,90,'每股未分配:'+每股未分配+'元 '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,110,'毛利润率:'+毛利润率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(110,110,'净利润率:'+净利润率+'% '),LINETHICK1,Color00FF00;DRAWTEXTABS(210,110,'股东权益比:'+股东权益比+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(10,130,'每股公积金:'+每股公积金+'元 '),LINETHICK1,Color00FF00;{文字显示,无未来,可单独删除}mc:=REF(c,1);阻力位:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));阻力位1:=IF((CLOSE < 10),(CLOSE * 1.05),阻力位);止损位:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));止损位2:=IF((mc < 10),(mc * 0.95),止损位b);DRAWTEXTABS(10,150,'[昨/今日止损位 :'+NUMTOSTRn(止损位b,2)+'/'+NUMTOSTRn(止损位1,2)+']'),LINETHICK1,COLORYELLOW;DRAWTEXTABS(10,170,'[昨/今日阻力位 :'+NUMTOSTRn(阻力位2,2)+'/'+NUMTOSTRn(阻力位1,2)+']'),LINETHICK1,COLORYELLOW;。

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

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

大智慧指标公式-特牛强烈推荐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);< p="">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<=Var25,(Var24+Var26*2)/2,0),3)/618*Var27;Var29:=IF(Var28>100,100,Var28);STICKLINE(Var29>-150,0,Var29,3,0), , colorff00ff;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , color00ff00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , colorff00ff;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , colorffffff;Vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Vark2:=REVERSE(Vark1);Vark3:=SMA(Vark1,3,1);波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((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;</s,s,ref(s,1),5,0);<>。

大智慧指标

大智慧指标

金牌涨停R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:EMA(R,3),LINETHICK1,COLORYELLOW;D:EMA(K,3),LINETHICK1,COLORFF00FF;一年十二倍:20,LINETHICK1,POINTDOT,COLOR00FF00;陡峭度:= IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1); SHAUN:= MA(CLOSE,14);AH1:= SHAUN*1.1;AH2:= SHAUN*0.9;AH3:= AH1-(AH1-AH2)*0.191;BH0:= AH1-(AH1-AH2)*0.618;BH1:= LLV(BH0,3);BH2:= IF(BH0>BH1,BH0-(BH1-BH0)/2,BH1);上升趋势:= BH1<BH2;V AR1B:= EMA(CLOSE,34)-EMA(CLOSE,5);V AR2B:= EMA(V AR1B,5);趋势:= (0-3)*(VAR1B-V AR2B);长期趋势:= EMA(V AR1B,10)*(0-1);N:= IF(陡峭度=0,55,6);V AR1:IF(close>0,0-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),-50),LINETHICK0, COLORBLUE;狂喜:= 30*CROSS(V AR1,-2);STICKLINE(狂喜,0,20,6,0),COLORYELLOW;DRAWTEXT(狂喜,-5,'要涨停'),COLORYELLOW;狂喜过望:= 50*(VAR1=0);STICKLINE(狂喜过望,0,50,8,1),COLORRED;DRAWTEXT(狂喜过望,55,'涨停'),COLORRED;恐慌: (-30)*(VAR1<(-93)) AND FINANCE2(3)>0,LINETHICK1,COLORC1C1C1; STICKLINE(恐慌,0,-30,6,0),COLORC1C1C1;DRAWTEXT(恐慌,-35,'恐慌'),COLORC1C1C1;极度恐慌: (-50)*(V AR1=(-100)),LINETHICK1,COLOR00FF00;STICKLINE(极度恐慌,0,-50,8,1),COLORWHITE;DRAWTEXT(极度恐慌,-55,'极度恐慌'),COLORFFFF00;满仓: 40*(CROSS(V AR1,-93) AND COUNT(恐慌,5)>0),LINETHICK1,COLORGREEN; DRAWTEXT(满仓,45,'满仓'),COLORGREEN;加仓: 30*(CROSS(K,20) AND COUNT(满仓,5)>0),LINETHICK1,COLORGRAY; STICKLINE(加仓,0,30,8,1),COLORGRAY;DRAWTEXT(加仓,35,'加仓'),COLORGRAY;背离: COUNT(恐慌,2)>0 AND CLOSE<REF(CLOSE,1) AND V AR1>REF(VAR1,1),LINETHICK1,COLORYELLOW;DRAWICON(背离,0,1),COLORFF00FF;顶级买卖主图QQ1: IF(DATE>0,EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0),LINETHICK1,COLOR0000FF; QQ2: IF(DATE>0,EMA(REF(QQ1,1),3),0),LINETHICK1,COLOR00FFFF;QQ3: EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK1,COLORFF0000;AA:= MA(WINNER(CLOSE*0.95)*100,3);VAR83:= 1/WINNER(CLOSE);VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR85:= 100-ABS(VAR84);VAR86:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLO SE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR87:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPE N-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR88:= 100-VAR87;VAR89:= 100-VAR86;VAR90:= MA(WINNER(CLOSE*0.95)*100,3);VAR91:= IF(VAR83>5,IF(VAR83<100,VAR83,VAR85-10),0);VAR92:= MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR93:=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);VAR94:=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);VAR95:= VAR93<REF(VAR94,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); VARA:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:= SMA(VARA,3,1);VARC:= SMA(VARB,3,1);探索:= EMA(3*VARB-2*VARC,3);主力:= (-1)*(EMA(VAR89,1)-50)+50;Z1:= MA(主力,9);VARD:= (-1)*(EMA(VAR89,1)-50)+50;VARE:= (-1)*(EMA(VAR89,12)-50)+50;LCC:= REF(CLOSE,1);RSI1:= SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;天涯:= IF(RSI1>93 OR AA>90 AND RSI1>80,80,100);苦海:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);ZS:= MA(探索,3);ZM:= MA(MA(探索,3),3);A11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA((CLOSE-LL V(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);黑马线:= EMA(A11,5);A12:= (黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;N:= 3;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),5);VAR6:= REF(CLOSE,1);VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR9:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR10:= VAR8 AND VAR9;VAR11:= (2*CLOSE+HIGH+LOW)/4;VAR12:= LLV(LOW,13);VAR13:= HHV(HIGH,13);VAR14:= LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;VAR15:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);VAR17:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+ (CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR18:= 1/WINNER(CLOSE);VAR19:= MA(CLOSE,13);VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);VAR21:= LLV(LOW,75);VAR22:= HHV(HIGH,75);VAR23:= (VAR22-VAR21)/100;VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);VAR26:= 3*VAR24-2*SMA(VAR24,15,1);VAR27:= MA(HHV(HIGH,485),17);VAR28:= MA(HHV(HIGH,222),17);VAR29:= MA(HHV(HIGH,96),17);VAR30:= MA(LLV(LOW,485),17);VAR31:= MA(LLV(LOW,222),17);VAR32:= MA(LLV(LOW,96),17);VAR33:=MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR28*0.558+VAR29*0.558 )/6,17);VAR34:=MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28*0.55+VAR29*0.65)/6,17);VAR35:=MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0.68+VAR29*0.68)/6,17); VAR36:= LLV(LOW,30);VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);VAR38:= IF(DATE<=1050531,VAR37,VAR37*DAY);VAR39:= LOW;VAR40:= REF(LOW,1);VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100;VAR42:= MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);VAR43:= HHV(VAR42,30);VAR44:= 1080531;VAR45:= 3*VAR25-2*SMA(VAR25,15,1);VAR46:= 100-VAR45;VAR47:= IF(900101<DATE AND DATE<99991232,1,0);VAR49:= REF(LOW,1)*0.9;VAR50:= LOW*0.9;VAR51:= (VAR50*VOL+VAR49*(CAPITAL-VOL))/CAPITAL;VAR52:= EMA(VAR51,30);VAR53:= CLOSE-REF(CLOSE,1);VAR54:= MAX(VAR53,0);VAR55:= ABS(VAR53);VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;VAR58:= BARSCOUNT(CLOSE);VAR59:= SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR64:= SMA(VAR63,4,1);VAR65:= SMA(VAR64,3,1);VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR67:= VAR59<=25 AND VAR60<(-95) AND VAR66>20 AND VAR62<(-30) ANDVAR65<30 AND VAR52-CLOSE>=(-0.25) AND VAR56<22 AND VAR57<28 AND VAR58>50; VAR68:= (HIGH+LOW+CLOSE)/3;VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 AND VAR70<200,10,0); VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) ANDVAR70>(-200),-10,VAR71);VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR74:= REVERSE(VAR73);VAR75:= SMA(VAR73,3,1);绝佳买点:= IF(DATE>0,MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0),N),100000000);跑:= FILTER(REF(黑马线,1)>90 AND A12<0,7);买线:= EMA(CLOSE,2);卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);指數位置:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOS E-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);抄底:= CROSS(指數位置,10);A1:= VOL=HHV(VOL,120);A2:= CLOSE/OPEN>1.05;TJ:= A1 AND A2;龙:= VAR10;买4:= VAR14;AA1:= AMOUNT/VOL;BB1:= LOW<AA1*0.9;CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;DD1:= LOW<MA(CLOSE,5)*0.921;EE1:= VOL<MA(VOL,5)*1.5;FF1:= BB1 AND CC1 AND DD1 AND EE1;买3:= FILTER(FF1,3);二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);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);买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3;长期底部:= LLV(HIGH,30);上:= SMA(LOW,5,2)*0.96;短期底部:= LLV(HIGH,30)*0.93;LC:= REF(CLOSE,1);RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;大顶:= FILTER(VAR17>20 AND FILTER(VAR17<REF(VAR17,1),5),5);VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;MAN:= SMA(HIGH,21,2)*1.05;短底2:= EMA(VAR76,5);支撑:= HHV(短底2,60);VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR78:= SMA(VAR77,5,1);VAR79:= SMA(VAR78,8,1);VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;VAR82:= IF(CLOSE>1000,VAR80,VAR81);黑马起步:= VAR82;逃:= FILTER(HIGH>支撑AND CLOSE<支撑AND CLOSE/OPEN>0-1.06 ANDCLOSE<OPEN,5);逃命:= 黑马起步>0 AND DATE<=1080531;选逃:= FILTER(逃命OR 逃OR CROSS(84,RSI) OR 大顶,3);上线:= SMA(CLOSE,6.5,1);下线:= SMA(CLOSE,13.5,1);散户:= SMA(VAR75,3,1)*VAR47;新庄:= SMA(散户,3,1)*VAR47;高抛:= CROSS(新庄,散户) AND 新庄>75;买:= CROSS(买线,卖线);卖:= CROSS(卖线,买线);大黑马:= CROSS(趋势线3,0) AND 黑马线<40 ;大买:= FILTER(绝佳买点>30000,5) ;选底:= FILTER(LOW<=上AND HIGH>=短期底部AND CLOSE>=长期底部AND CLOSE/OPEN>1.03,3);稳赚10买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 ;大资金进场:= VAR95 AND COUNT(VAR95,30)=1;STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLOR0000FF;STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLOR0000CC;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000EE;STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLOREEEE00;STICKLINE(买线<卖线,LOW,HIGH,1,0),COLORFFFF00;选买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 ;STICKLINE(选买,CLOSE,HHV(HIGH,90)*0.94,0.3,0),COLORFF0000;DRAWTEXT(选买,HHV(HIGH,90)*1,'稳赚'),COLORFF0000;DRAWTEXT(选买,HHV(HIGH,90)*0.97,'10%买'),COLORFF0000;DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;DRAWTEXT(买,LOW*0.996,'买'),COLOR0000FF;DRAWTEXT(卖,HIGH*1,'卖'),COLOR00FFFF;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLOR008000; DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLOR008000; DRAWTEXT(跑,HIGH*1.02,'跑'),COLOR00FFFF;DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF; DRAWTEXT(大买,LOW*0.96,'大买'),COLOR0000FF;DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;位置:= (CLOSE+REF(CLOSE,105))/2;谢氏会员主图。

大智慧量化公式

大智慧量化公式

大智慧量化公式
以下是大智慧股票指标公式:
1. 做空95:HHV((HIGH+LOW+OPEN+2CLOSE)/5+H-L,5),颜色为蓝色。

2. 做空68:HHV((HIGH+LOW+OPEN+2CLOSE)/52-L,5),颜色为红色。

3. 平衡点:LLV((HIGH+LOW+OPEN+2CLOSE)/5,3),颜色为灰色,DOTLINE。

4. 做多68:LLV((HIGH+LOW+OPEN+2CLOSE)/52-H,8),颜色为绿色。

5. 做多95:LLV((HIGH+LOW+OPEN+2CLOSE)/5-H+L,8),颜色为浅绿色。

6. F:=100(C-REF(C,1))/REF(C,1),表示当前收盘价与前一日收盘价的差值
占前一日收盘价的百分比。

7. 今小昨:IF(C<REF(O,1) AND f<0,1,0),表示当前收盘价小于前一日开
盘价且当前差值小于0时为1,否则为0。

8. 今小前:IF(C<REF(O,2) AND f<0,1,0),表示当前收盘价小于前两日开
盘价且当前差值小于0时为1,否则为0。

9. 真实波动范围(TR)的计算公式为TR=Max(H-L,H-PDC,PDC-L),其中
H表示当日的最高价,L表示当日的最低价,PDC表示前一日的收盘价。

以上是大智慧股票指标公式的部分示例,如需更多信息,建议查阅大智慧股票软件官网或咨询专业金融分析师。

大智慧绝对厉害的主图指标公式源码编程思路破译

大智慧绝对厉害的主图指标公式源码编程思路破译

大智慧绝对厉害的主图指标公式源码编程思路破译编程思路破译R1赋值:收盘价的1日简单移动平均R2赋值:收盘价的3日简单移动平均R3赋值:(R2的1日简单移动平均*1)R4赋值:(R2的3日简单移动平均*1)X1赋值:(收盘价+最低价+最高价)/3DD赋值:FINANCE2(35)SS赋值:FINANCE2(37)GG赋值:FINANCE2(3)TH赋值:市盈(动)A51赋值:3*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均LC赋值:1日前的收盘价RSI赋值:(((收盘价-LC)和0的较大值的3日[1日权重]移动平均/ (收盘价-LC)的绝对值的3日[1日权重]移动平均) * 100)FF赋值:收盘价的3日指数移动平均MA15赋值:收盘价的21日指数移动平均A1赋值:如果(收盘价<800),返回((成交额(元)/成交量(手))/100),否则返回((((收盘价*2)+最高价)+最低价)/4)A2赋值:((15日内最高价的最高值) + (30日内最低价的最低值)) / 2A3赋值:(A1的5日简单移动平均)的10日指数移动平均A4赋值:(A1的15日简单移动平均)的10日指数移动平均A5赋值:(A1的13日简单移动平均)的21日指数移动平均A6赋值:((A3 + A4) + A5) / 3输出决策线:(收盘价的5日简单移动平均)的3日指数移动平均,线宽为2,COLORFF0000PARTLINE(决策线,决策线> (3日前的决策线),自定色),线宽为2,COLOR3300FF当满足条件((收盘价>0)AND(DISPSTATUS=2))时,在(决策线*0.95)位置书写文字,MOVE10,ALIGN2,线宽为2,画红色VAR1111赋值:若2日前的最高价=5日内最高价的最高值则将最近3周期置为1VAR2222赋值:VAR1111上穿0.9VAR3333赋值:若2日前的最低价=5日内最低价的最低值则将最近3周期置为1VAR4444赋值:VAR3333上穿0.9输出压力: 上次VAR2222距今天数日前的最高价, POINTDOT,COLOREA91B5当满足条件收盘价时,在上次VAR2222距今天数日前的最高价和上次VAR2222距今天数日前的最高价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOREA91B5输出支撑: 上次VAR4444距今天数日前的最低价, POINTDOT,COLOR00B4FF,线宽为3当满足条件收盘价时,在上次VAR4444距今天数日前的最低价和上次VAR4444距今天数日前的最低价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOR00B4FF输出弱势双线持币:2日内最高价的(3)日简单移动平均的最高值,线宽为2,COLOR00FF00输出强势单线持股:1日内最高价的(3)日简单移动平均的最低值,线宽为2,COLORFF00FFAA1赋值:成交额(元)/成交量(手)BB1赋值:最低价<AA1*0.9CC1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>1.2DD1赋值:最低价<收盘价的5日简单移动平均*0.921EE1赋值:成交量(手)<成交量(手)的5日简单移动平均*1.5输出老鼠仓:BB1 AND CC1 AND DD1 AND EE1,线宽为0当满足条件老鼠仓时,在(最低价*0.99)位置书写文字,线宽为3,COLOR40CCFFA74赋值:收盘价的20日简单移动平均A75赋值:(收盘价 > 收盘价的5日简单移动平均)A76赋值:(收盘价的5日简单移动平均 > 收盘价的10日简单移动平均)A77赋值:(收盘价 > 收盘价的10日简单移动平均)A78赋值:(收盘价的5日简单移动平均 > 收盘价的20日简单移动平均)A79赋值:(收盘价 > 收盘价的20日简单移动平均)A710赋值:1日前的A74A711赋值:(A74 > A710)AVX赋值:(((((如果A75,返回10,否则返回(0-10) + 如果A76,返回10,否则返回(0-10)) + 如果A77,返回10,否则返回(0-10)) + 如果A78,返回10,否则返回(0-10)) + 如果A79,返回10,否则返回(0-10)) + 如果A711,返回10,否则返回(0-10))DSLX赋值:(收盘价 / 大盘的收盘价)DSLX1赋值:DSLX的5日简单移动平均DSLX2赋值:DSLX的10日简单移动平均V1赋值:成交量(手)的5日简单移动平均V2赋值:成交量(手)的10日简单移动平均赋值: 上次DISPSTATUS=1距今天数+1赋值: 上次DISPSTATUS=1距今天数+1赋值: T日内最高价的最高值赋值: T日内最低价的最低值条件判断数据位置状态=2 AND 收盘价<200 AND ((AVX上穿1 AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/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、十年不败V1:=LLV(LOW,10);V2:=HHV(HIGH,20);lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);V ARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);V ARg6:=BACKSET(VARg5,5);入市日:=IF((VARg6 AND (COUNT(V ARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH)) AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34)) AND (REF(VOL,LOW)>REF(VOL,1)) AND (L YF1>(-93))AND (REF(VOL,LOW)>REF(VOL,8))),60,0);cross(入市日,(58));2、私募进场aa:=winner(c+c*15/100)*100;bb:=winner(c+c*0/100)*100;cc:=aa-bb;dd:=(winner(c-c*0.1/100)-winner(c-c*15/100))*100;ee:=cc<3 and dd<0.5 and o<>l;a1:=dynainfo(6);a2:=if(l>a1,0,if(h<a1,1,(a1-l+0.01)/(h-l+0.01)));a3:=v/winner(l);a4:=ref(hhv(c,120),1);a5:=ref(llv(c,120),1);a6:=100*(c-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);私募机构进场日:stickline(a11,0,5,5,0),colorff7700;私募机构加仓日: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,'S'),COLORYELLOW;drawtext(a12,17,'J'),COLORWHITE;3、底部换手OBVobv1:=sum(if(c>ref(c,1),v,if(c<ref(c,1),-v,0)),0);{求得obv}HS:=SUMBARS(v,CAPITAL); {换手一次时间}AA:=if(c>llv(c,HS),1,-1);{期间股价是否创新底}BB:= if(obv1>llv(obv1,HS),1,-1);{期间obv是否创新底}CC:=AA*BB;DD:if(cc=-1,obv1*1.12,obv1);{两者是否背离}obv:obv1;4、火焰觅庄Var1:=EMA(HHV(HIGH,500),21);Var2:=EMA(HHV(HIGH,250),21);Var3:=EMA(HHV(HIGH,90),21);Var4:=EMA(LLV(LOW,500),21);Var5:=EMA(LLV(LOW,250),21);Var6:=EMA(LLV(LOW,90),21);Var7:=EMA((Var4*0.96+V ar5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21); Var8:=EMA((Var4*1.25+V ar5*1.23+V ar6*1.2+Var1*0.55+V ar2*0.55+Var3*0.65)/6,21);Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21); VarA:=EMA((Var7*3+Var8*2+V ar9)/6*1.738,21);VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);VarE:=LLV(LOW,30);VarF:=HHV(VarD,30);Var10:=IF(MA(CLOSE,58),1,0);火焰山:EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10,coloryellow;火焰:=STICKLINE(火焰山>0 ,0 ,火焰山,4 ,1);今量:火焰山;STICKLINE(火焰山>0,0 ,今量*1.2,8,0 ),COLOR00EEff;STICKLINE(火焰山>0,0 ,今量*0.8,8,0 ),COLOR00BBff;STICKLINE(火焰山>0,0 ,今量*0.6,8,0 ),COLOR0099ff;STICKLINE(火焰山>0,0 ,今量*0.4,8,0 ),COLOR0066ff;STICKLINE(火焰山>0,0 ,今量*0.2,8,0 ),COLOR0000ff;5、金牌逃顶{p1 1 100 12 ; p2 1 100 50}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(VAR6>45,V AR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5,0),colorff00ff; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5,0),color00ff00;强弱分界:50,POINTDOT,Colorffffcc;0,Color00Ffff;20,POINTDOT,COlORFFAA66,linethick1;80,POINTDOT,COlORFFAA66,linethick1;100,Colorffff33;v1:=llv(low,10);v2:=hhv(h,25);价位线:=ema((c-v1)/(v2-v1)*4,4);DRAWTEXT(CROSS(价位线,0.3),7,'●'),ColorFFFfff;DRAWTEXT(CROSS(3.5,价位线),102,'●'),ColorFFFfff;Var2q:=REF(LOW,1);Var3q:=SMA(ABS(LOW-Var2q),3,1)/SMA(MAX(LOW-Var2q,0),3,1)*100; Var4q:=EMA(IF(CLOSE*1.3,Var3q*10,Var3q/10),3);Var5q:=LLV(LOW,30);Var6q:=HHV(Var4q,30);Var7q:=IF(MA(CLOSE,58),1,0);Var8q:=EMA(IF(LOW<=V ar5q,(Var4q+Var6q*2)/2,0),3)/618*Var7q;Var9q:=IF(Var8q>100,100,Var8q);吸筹:STICKLINE(Var9q>-120,0,V ar9q,6,1),coloryellow;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),Color0000ff,linethick2;6、真实成交量VOL,VOLSTICK;V AR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{成交:VOL,POINTDOT; }主动买盘:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE -LOW)),VOL/2)),COLORRED,POINTDOT;主动卖盘:IF(CLOSE>OPEN,0-V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-V AR1*( HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(VOL>0,VOL,0,4,1),COLORWHITE;STICKLINE(主动买盘>0,0,主动买盘,4,0),COLORRED;STICKLINE(主动卖盘<0,0,主动卖盘,4,0),COLOR00FF00;净买盘:主动买盘+主动卖盘,pointdot,coloryellow;换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;7、波段神偷{m:3,100,60; n:3,100,30。

大智慧指标公式

大智慧指标公式

xx建仓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,Var2*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);VA:=EMA(V9,3);VB:=(V9-VA)/2;大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;cc:=aa-bb;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),VAR5,0),COLORred,LINETHICK2;STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,LINETHICK2;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN;Var6:=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);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)ANDCLOSE>REF(CLOSE,1);DRAWTEXT(Var8 AND COUNT(Var8,30)=1,40,'★有筹码进场');天使报佳音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,colory ellow;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;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(xx流量,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;xx见愁获利线: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>EMA55AND (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)ORREF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF;{STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;STICKLINE(BR4AND 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>EMA55BETWEEN((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))ANDCROSS(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))ANDCROSS(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)EMA55>=REF(EMA55,1)AND CROSS(C,EMA13)ANDCROSS(C,EMA34)CROSS(C,EMA55);DRAWTEXT(HR2AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;AND ANDAND STICKLINE(HR2 AND FILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;。

大智慧的指南针指标公式

大智慧的指南针指标公式

大智慧的指南针指标公式(一共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。

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码在股票交易中,技术指标是投资者们用来预测股价走势以及作出买卖决策的重要工具之一、大智慧技术指标公式是一种非常受欢迎的股票技术指标计算方法,可以帮助投资者更好地理解和分析股票市场。

```pythonimport pandas as pdimport numpy as np#计算移动平均线def moving_average(data, n):ma = pd.Series(data['close'].rolling(n).mean(, name='MA_' + str(n))return pd.concat([data, ma], axis=1)#计算相对强弱指标(RSI)def rsi(data, n):delta = data['close'].diffup = delta.copydown = delta.copyup[up < 0] = 0down[down > 0] = 0avg_gain = up.rolling(n).meanavg_loss = abs(down.rolling(n).mean()rs = avg_gain / avg_lossrsi = 100 - (100 / (1 + rs))return pd.concat([data, rsi], axis=1)#计算随机震荡指标(KD指标)def stochastic_oscillator(data, n):low_min = data['low'].rolling(window=n).minhigh_max = data['high'].rolling(window=n).maxdata['%K'] = (data['close'] - low_min) / (high_max - low_min) * 100data['%D'] = data['%K'].rolling(window=3).meanreturn data#示例:计算并打印移动平均线、RSI和KD指标def calculate_indicators(data):data = moving_average(data, 15)data = rsi(data, 14)data = stochastic_oscillator(data, 14)print(data)#测试if __name__ == '__main__':# 假设data是一个pandas DataFrame对象,包含股票交易数据,如开盘价、收盘价、最高价、最低价等data = pd.read_csv('stock_data.csv')#调用指标计算函数calculate_indicators(data)```以上代码实现了移动平均线、RSI以及KD指标的计算方法。

大智慧超级黄牛主图指标公式源码编程思路破译

大智慧超级黄牛主图指标公式源码编程思路破译

大智慧超级黄牛主图指标公式源码编程思路破译编程思路破译DRAWTEXTABS(2,5,'所属板块:' + BKNAME),线宽为1,COLORFF50FFVAR0赋值:((FINANCE2(35)) / (10000))VAR1赋值:((FINANCE2(37)) / (10000))DRAWTEXTABS(15,20,'总股本:' + NUMTOSTRN(VAR0,2) + '亿'),线宽为1,画黄色DRAWTEXTABS(160,20,'流通盘:' + NUMTOSTRN(VAR1,2) + '亿'),线宽为1,画黄色VAR2赋值:((((收盘价 - 开盘价) / 开盘价) * (100)) > 4)VAR3赋值:((((收盘价- (1日前的收盘价)) / (1日前的收盘价)) * (100)) > 8)VAR4赋值:(((((1日前的收盘价) * (1.1)) - 收盘价) < (0.01)) AND (最高价 = 收盘价))VAR5赋值:((20 * 最高价 + 19 * (1日前的最高价) + 18 * (2日前的最高价) + 17 * (3日前的最高价) + 16 * (4日前的最高价) + 15 * (5日前的最高价) + 14 * (6日前的最高价) + 13 * (7日前的最高价) + 12 * (8日前的最高价) + 11 * (9日前的最高价) + 10 * (10日前的最高价) + 9 * (11日前的最高价) + 8 * (12日前的最高价) + 7 * (13日前的最高价) + 6 * (14日前的最高价) + 5 * (15日前的最高价) + 4 * (16日前的最高价) + 3 * (17日前的最高价) + 2 * (18日前的最高价) + 20日前的最高价) / (210))输出黄牛线:(VAR5的90日指数移动平均),线宽为2,画绿色ZT赋值:1日前的收盘价*1.1-收盘价<0.01 AND 最高价=收盘价HH赋值:(20*最高价+19*1日前的最高价+18*2日前的最高价+17*3日前的最高价+16*4日前的最高价+15*5日前的最高价+14*6日前的最高价+13*7日前的最高价+12*8日前的最高价+11*9日前的最高价+10*10日前的最高价+9*11日前的最高价+8*12日前的最高价+7*13日前的最高价+6*14日前的最高价+5*15日前的最高价+4*16日前的最高价+3*17日前的最高价+2*18日前的最高价+20日前的最高价)/210黄牛线1赋值:HH的5日指数移动平均黄牛线2赋值:HH的10日指数移动平均黄牛线3赋值:HH的30日指数移动平均黄牛线4赋值:HH的60日指数移动平均黄牛线5赋值:HH的90日指数移动平均黄牛线6赋值:HH的120日指数移动平均黄牛线7赋值:HH的250日指数移动平均输出E5:收盘价的5日指数移动平均离合赋值:(黄牛线1-((最高价-黄牛线1)*最高价-黄牛线1)/黄牛线1)离合1赋值:(黄牛线2-((最高价-黄牛线2)*最高价-黄牛线2)/黄牛线2)离合2赋值:(黄牛线3-((最高价-黄牛线3)*最高价-黄牛线3)/黄牛线3)离合3赋值:(黄牛线4-((最高价-黄牛线4)*最高价-黄牛线4)/黄牛线4)离合4赋值:(黄牛线5-((最高价-黄牛线5)*最高价-黄牛线5)/黄牛线5)离合5赋值:(黄牛线6-((最高价-黄牛线6)*最高价-黄牛线6)/黄牛线6)离合6赋值:(黄牛线7-((最高价-黄牛线7)*最高价-黄牛线7)/黄牛线7)输出最大临界线:离合6和离合5和离合4和离合3和离合2和离合1和离合的较大值的较大值的较大值的较大值的较大值的较大值最小临界线赋值:离合6和离合5和离合4和离合3和离合2和离合1和离合的较小值的较小值的较小值的较小值的较小值的较小值上升离合赋值:(黄牛线1+((收盘价-黄牛线1)*收盘价-黄牛线1)/黄牛线1)上升离合1赋值:(黄牛线2+((最高价-黄牛线2)*最高价-黄牛线2)/黄牛线2)上升离合2赋值:(黄牛线3+((最高价-黄牛线3)*最高价-黄牛线3)/黄牛线3)上升离合3赋值:(黄牛线4+((最高价-黄牛线4)*最高价-黄牛线4)/黄牛线4)输出上升离合4:(黄牛线5+((最高价-黄牛线5)*最高价-黄牛线5)/黄牛线5)上升离合5赋值:(黄牛线6+((最高价-黄牛线6)*最高价-黄牛线6)/黄牛线6)上升离合6赋值:(黄牛线7+((最高价-黄牛线7)*最高价-黄牛线7)/黄牛线7)TP1赋值:最大临界线上穿黄牛线1TP3赋值:收盘价上穿最大临界线TP6赋值:上升离合4上穿E5输出持股线:((收盘价的3日简单移动平均+ 收盘价的6日简单移动平均+ 收盘价的12日简单移动平均+ 收盘价的24日简单移动平均) / 4),线宽为2VAR6赋值:((黄牛线) - ((((收盘价 - (黄牛线)) * 收盘价) - (黄牛线)) / (黄牛线)))VAR7赋值:(黄牛线 + (((收盘价 - (黄牛线)) * 收盘价) - (黄牛线)) / (黄牛线))输出涨速线:(如果(黄牛线)>(VAR6),返回(黄牛线)*(0.9),否则返回VAR6),线宽为2,画黄色VAR8赋值:(((2日前的黄牛线) >= (1日前的黄牛线)) AND ((1日前的黄牛线) < (黄牛线)))VAR9赋值:(黄牛线上穿VAR6)VAR10赋值:(VAR6上穿黄牛线)VAR11赋值:(收盘价上穿VAR6)VAR12赋值:(VAR7上穿收盘价)当满足条件VAR9时,在最低价位置书写文字,画白色当满足条件(VAR9)AND(VAR4)时,在最低价位置书写文字,线宽为4,画红色当满足条件(VAR11)AND(VAR4)时,在最低价位置书写文字,线宽为4,画白色当满足条件TP6ANDZT时,在最低价位置书写文字, 线宽为4,画白色当满足条件VAR11时,在最低价位置书写文字,线宽为4,画红色VAR13赋值:(上次成交量(手)=(30日内成交量(手)的最高值)距今天数日前的最高价)VAR14赋值:(上次成交量(手)=(60日内成交量(手)的最高值)距今天数日前的最高价)VAR15赋值:(上次成交量(手)=(120日内成交量(手)的最高值)距今天数日前的最高价)VAR16赋值:(上次成交量(手)=(250日内成交量(手)的最高值)距今天数日前的最高价)VAR17赋值:(上次最高价=(60日内最高价的最高值)距今天数日前的最高价)VAR18赋值:(上次最高价=(120日内最高价的最高值)距今天数日前的最高价)输出股价平台250:(上次最高价=(250日内最高价的最高值)距今天数日前的最高价)VAR19赋值:((收盘价上穿VAR15) AND (VAR4))VAR20赋值:((取反) AND ((VAR15) = (VAR14)))VAR21赋值:((取反) AND ((VAR15) = (VAR16)))VAR22赋值:((取反) AND (VAR4))当满足条件VAR22时,在最低价位置书写文字,画红色VAR23赋值:(1日前的收盘价的有效数据周期数日内最高价的最高值)输出史高线:(当满足条件(收盘价上穿VAR23)AND((3日内最高价的最高值)=(0日内最高价的最高值))时,在VAR23和VAR23位置之间画柱状线,宽度为10,0不为0则画空心柱.),画白色程序源码DRAWTEXTABS(2,5,'所属板块:' + BKNAME),LINETHICK1,COLORFF50FF;VAR0:=((FINANCE2(35)) / (10000));VAR1:=((FINANCE2(37)) / (10000));DRAWTEXTABS(15,20,'总股本:' + NUMTOSTRN(VAR0,2) + '亿'),LINETHICK1,COLORYELLOW;DRAWTEXTABS(160,20,'流通盘:' + NUMTOSTRN(VAR1,2) + '亿'),LINETHICK1,COLORYELLOW;VAR2:=((((C - O) / O) * (100)) > 4);VAR3:=((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 8);VAR4:=(((((REF(C,1)) * (1.1)) - C) < (0.01)) AND (H = C));VAR5:=((20 * H + 19 * (REF(H,1)) + 18 * (REF(H,2)) + 17 * (REF(H,3)) + 16 * (REF(H,4)) + 15 * (REF(H,5)) + 14 * (REF(H,6)) + 13 * (REF(H,7)) + 12 * (REF(H,8)) + 11 * (REF(H,9)) + 10 * (REF(H,10)) + 9 * (REF(H,11)) + 8 * (REF(H,12)) + 7 * (REF(H,13)) + 6 * (REF(H,14)) + 5 * (REF(H,15)) + 4 * (REF(H,16)) + 3 * (REF(H,17)) + 2 * (REF(H,18)) + REF(H,20)) / (210));黄牛线:(EMA(VAR5,90)),LINETHICK2,COLORGREEN;ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停};HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF (H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*R EF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*RE F(H,17)+2*REF(H,18)+REF(H,20))/210;黄牛线1:=EMA(HH,5);黄牛线2:=EMA(HH,10);黄牛线3:=EMA(HH,30);黄牛线4:=EMA(HH,60);黄牛线5:=EMA(HH,90);黄牛线6:=EMA(HH,120);黄牛线7:=EMA(HH,250);E5:EMA(C,5);离合:=(黄牛线1-((H-黄牛线1)*H-黄牛线1)/黄牛线1);离合1:=(黄牛线2-((H-黄牛线2)*H-黄牛线2)/黄牛线2);离合2:=(黄牛线3-((H-黄牛线3)*H-黄牛线3)/黄牛线3);离合3:=(黄牛线4-((H-黄牛线4)*H-黄牛线4)/黄牛线4);离合4:=(黄牛线5-((H-黄牛线5)*H-黄牛线5)/黄牛线5);离合5:=(黄牛线6-((H-黄牛线6)*H-黄牛线6)/黄牛线6);离合6:=(黄牛线7-((H-黄牛线7)*H-黄牛线7)/黄牛线7);最大临界线:MAX(离合6,MAX(离合5,MAX(离合4,MAX(离合3,MAX(离合2,MAX(离合1,离合))))));最小临界线:=MIN(离合6,MIN(离合5,MIN(离合4,MIN(离合3,MIN(离合2,MIN(离合1,离合))))));{STICKLINE(最小临界线<=最大临界线,最小临界线,最大临界线,0,0);}上升离合:=(黄牛线1+((C-黄牛线1)*C-黄牛线1)/黄牛线1);上升离合1:=(黄牛线2+((H-黄牛线2)*H-黄牛线2)/黄牛线2);上升离合2:=(黄牛线3+((H-黄牛线3)*H-黄牛线3)/黄牛线3);上升离合3:=(黄牛线4+((H-黄牛线4)*H-黄牛线4)/黄牛线4);上升离合4:(黄牛线5+((H-黄牛线5)*H-黄牛线5)/黄牛线5);上升离合5:=(黄牛线6+((H-黄牛线6)*H-黄牛线6)/黄牛线6);上升离合6:=(黄牛线7+((H-黄牛线7)*H-黄牛线7)/黄牛线7);TP1:=CROSS(最大临界线,黄牛线1);TP3:=CROSS(C,最大临界线);TP6:=CROSS(上升离合4,E5);持股线:((MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4),LINETHICK2;VAR6:=((黄牛线) - ((((C - (黄牛线)) * C) - (黄牛线)) / (黄牛线)));VAR7:=(黄牛线 + (((C - (黄牛线)) * C) - (黄牛线)) / (黄牛线));涨速线:(IF((黄牛线) > (VAR6),(黄牛线) * (0.9),VAR6)),LINETHICK2,COLORYELLOW;VAR8:=(((REF(黄牛线,2)) >= (REF(黄牛线,1))) AND ((REF(黄牛线,1)) < (黄牛线)));VAR9:=(CROSS(黄牛线,VAR6));VAR10:=(CROSS(VAR6,黄牛线));VAR11:=(CROSS(C,VAR6));VAR12:=(CROSS(VAR7,C));DRAWTEXT(VAR9,L,'加'),COLORWHITE;DRAWTEXT((VAR9) AND (VAR4),L,'↖金元宝'),LINETHICK4,COLORRED;DRAWTEXT((VAR11) AND (VAR4),L,'↖精准导弹'),LINETHICK4,COLORWHITE;DRAWTEXT(TP6 AND ZT,L,'↖超级主升'), LINETHICK4,COLORWHITE;DRAWTEXT(VAR11,L,'买'),LINETHICK4,COLORRED;VAR13:=(REF(H,BARSLAST(V = (HHV(V,30)))));VAR14:=(REF(H,BARSLAST(V = (HHV(V,60)))));VAR15:=(REF(H,BARSLAST(V = (HHV(V,120)))));VAR16:=(REF(H,BARSLAST(V = (HHV(V,250)))));VAR17:=(REF(H,BARSLAST(H = (HHV(H,60)))));VAR18:=(REF(H,BARSLAST(H = (HHV(H,120)))));股价平台250:(REF(H,BARSLAST(H = (HHV(H,250)))));VAR19:=((CROSS(C,VAR15)) AND (VAR4));VAR20:=((NOT((REF(VAR15,1)) = (REF(VAR14,1)))) AND((VAR15) = (VAR14)));VAR21:=((NOT((REF(VAR15,1)) = (REF(VAR16,1)))) AND ((VAR15) = (VAR16)));VAR22:=((NOT((REF(VAR15,1)) = (VAR15))) AND (VAR4));DRAWTEXT(VAR22,L,'量爆'),COLORRED;VAR23:=(REF(HHV(H,BARSCOUNT(C)),1));史高线:(STICKLINE((CROSS(C,VAR23)) AND ((HHV(H,3)) = (HHV(H,0))),VAR23,VAR23,10,0)),COLORWHITE;该公式包含未来函数:FINANCE。

【信息化物联网】大智慧技术指标公式非常重要绝不删除

【信息化物联网】大智慧技术指标公式非常重要绝不删除

【物联网】大智慧技术指标公式非常重要绝不删除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),coloryellow4大智慧一根线追:BY20:=MA(C,5);五月持币线:MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线:IF(BY20>五月持币线,五月持币线,BY20),LINETHICK2,COLOR808080; VAR1:=ZIG(3,10)<REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG有未来}VAR2:=ZIG(3,10)>REF(ZIG(3,10),1)ANDREF(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,LINETHICK2;{底位红色}STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位红色} STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位红色} 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>=0anda>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0anda>=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<=-10andZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2; 全亏:STICKLINE(y6<=-16andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE; 超跌:STICKLINE(y7andZD1<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<-65andXh1<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)<Xx2ANDREF(Xx1,1)<Xx1ANDREF(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.1ANDSUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EF F;DRAWICON((C-MIN(C0,C1))/C<0.1ANDSUM(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:=Vw4ANDCOUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30)orVw2)andVw3andVw5;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)<XL2ANDREF(XL1,1)<XL1ANDREF(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.03andzdzk1>=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<20 070110));VAR1A:=((-((100)*(HHV(HIGH,N)-CLOSE))/(HHV(HIGH,N)-LLV(LOW,N)))+100)*((DA TE<20070110));获利盘:=(WINNER(CLOSE))*(100);获利线:=FORCAST(获利盘,7);线:=(FORCAST(VAR1A,7))*((DATE<20070110));满仓:=((线>REF(线,1))and(线<25)and(COUNT((线>REF(线,1)),5)=1)andIF((N=6),(获利盘<60),(获利盘<40))and(COUNT((获利线>20),20)>0))*(40);STICKLINE(满仓,0,40,5,0),Color008000;DRAWTEXT(满仓,45,'满仓'),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)andIF((COUNT(CROSS(K,D),3)=1)and(D<40),1,(线>D)or(K>D)and( D<60))andIF((N=6),(获利盘<70),(获利盘<40))and(COUNT((获利线>20),20)>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))andIF((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买入涨停:{买入涨停}{参数:N51009LC510024}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>=MA30ANDMA30>REF(MA30,1);GD:=ZX>=REF(ZX,1)ANDREF(ZX,1)<REF(ZX,2);YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX)AND(GDORYB)ANDQSXS,COLOR00FF00,POINTDOT,LINETHICK0; 买入易涨停:买ANDMA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE(买,h,l,0,0),COLOR00FF00,linethick2;STICKLINE(买,o,c,0,0),COLOR00FF00,linethick2;STICKLINE(买入易涨停,h,l,0,0),COLORYELLOW,linethick2;STICKLINE(买入易涨停,o,c,4,0),COLORYELLOW,linethick2;DRAWTEXT(买,L*0.99,'买'),COLOR00FF00;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;。

(物联网)大智慧技术指标公式,非常重要,绝不删除

(物联网)大智慧技术指标公式,非常重要,绝不删除

(物联网)大智慧技术指标公式,非常重要,绝不删除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),coloryellow4大智慧一根线追:BY20:=MA(C,5);五月持币线:MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线:IF(BY20>五月持币线,五月持币线,BY20),LINETHICK2,COLOR808080;VAR1:=ZIG(3,10)<REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未来 }VAR2:=ZIG(3,10)>REF(ZIG(3,10),1)ANDREF(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,LINETHICK2;{ 底位红色 }STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{ 底位红色 }STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位红色}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>=0anda>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0anda>=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<=-10andZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2;全亏:STICKLINE(y6<=-16andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE;超跌:STICKLINE(y7andZD1<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<-65andXh1<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)<Xx2ANDREF(Xx1,1)<Xx1ANDREF(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.1ANDSUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EFF;DRAWICON((C-MIN(C0,C1))/C<0.1ANDSUM(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:=Vw4ANDCOUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30)orVw2)andVw3andVw5;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)<XL2ANDREF(XL1,1)<XL1ANDREF(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.03andzdzk1>=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<200 70110));获利盘:=(WINNER(CLOSE))*(100);获利线:=FORCAST(获利盘,7);线:=(FORCAST(VAR1A,7))*((DATE<20070110));满仓:=((线>REF(线,1))and(线<25)and(COUNT((线>REF(线,1)),5)=1)andIF((N=6),(获利盘<60),(获利盘<40))and(COUNT((获利线>20),20)>0))*(40);STICKLINE(满仓,0,40,5,0),Color008000;DRAWTEXT(满仓,45,'满仓'),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)andIF((COUNT(CROSS(K,D),3)=1)and(D<40),1,(线>D)or(K>D)and(D<60))andIF((N=6),(获利盘<70),(获利盘<40))and(COUNT((获利线>20),20)>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))andIF((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买入涨停:{买入涨停}{ 参数 :N51009LC510024}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>=MA30ANDMA30>REF(MA30,1);GD:=ZX>=REF(ZX,1)ANDREF(ZX,1)<REF(ZX,2);YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX)AND(GDORYB)ANDQSXS,COLOR00FF00,POINTDOT,LINETHICK0;买入易涨停:买 ANDMA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE(买,h,l,0,0),COLOR00FF00,linethick2;STICKLINE(买,o,c,0,0),COLOR00FF00,linethick2;STICKLINE(买入易涨停,h,l,0,0),COLORYELLOW,linethick2;STICKLINE(买入易涨停,o,c,4,0),COLORYELLOW,linethick2;DRAWTEXT(买,L*0.99,'买'),COLOR00FF00;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<DandVOL/240>MA(VOL,5)/240ANDCLOSE>REF(CLOSE,1)*1.08 ANDCLOSE<MA(CLOSE,13)*1.3,1,0),LOW*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;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)andx2>x3,l-0.4,'▲加仓'),ColorFF5ED8;{80}VAR11:=(ZIG(3,10)<REF(ZIG(3,10),1))AND(REF(ZIG(3,10),1)>REF(ZIG(3,10),2));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)ANDCLOSE>=OPEN*1.04;VB2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VB3:=VB1ANDVB2;DRAWTEXT(VB3,LOW,' 买入点 '),COLORWHITE;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),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>0ANDREF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4; 休整天数:BARSLAST(BARSLAST(BIAS20<0ANDREF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK 4;DRAWTEXT(起航天数=1,-5,'起'),COLORRED;DRAWTEXT(起航天数=1,-10,'航'),COLORRED;DRAWTEXT(休整天数=1,-5,'休'),COLORYELLOW;DRAWTEXT(休整天数=1,-10,'整'),COLORYELLOW;-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)ANDM1<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>量 3AND 量 1<REF(量 1,1);路遥 2012-2-107: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)/VAR3;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:=VAR8<20ANDVAR9<23ANDVARA>35;VARC:=VARBANDCOUNT(VARB,1)=1;VARD:=EMA(C,21)-EMA(C,8); VARE:=EMA(VARD,5);VARF:=TROUGH(3,6,1)<4ANDCROSS(VARD,VARE);VAR10:=IF(TROUGH(3,16,1)=0ANDH>L+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)ANDREF(ZIG(3, 6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2)ANDREF(ZIG(3, 6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZI G(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZI G(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)ANDREF(ZI G(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZI G(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZI G(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZI G(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(C,2)-EMA(C,150);VAR1A:=EMA(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);VAR1D:=SQRT(SQRT(L*H*O*C));VAR1E:=EMA(VAR1D*0.97,3);VAR1F:=(H+L+C)/3;VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));VAR21:=CROSS(VAR1E,C);{买点 1:=VAR10;}买点 2:=(VAR11+VAR13+VAR15+VAR17);卖点 1:=(VAR12+VAR14+VAR16+VAR18),LINETHICK2;{VAR22:=买点1ANDVARFANDVARCANDVAR21ANDVAR4<0ANDVAR5=0ANDVAR6=0ANDVAR20<(-110);} VAR100:=IF(TROUGH(3,16,1)=0ANDH>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(VARB1*100)/100;VARD1:=EMA(C,5)-EMA(C,10);VARE1:=EMA(VARD1,9);VAR190:=EMA(C,2)-EMA(C,150);VAR131:=REF(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-VAR131;VAR161:=REF(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-VAR161;VAR191:=O;VAR1A1:=C;买点3:=IF(VAR190<=VAR1ANDVAR191<=VAR2ANDVAR191<=VAR31ANDVAR1A1>=VAR1ANDVAR1A1>=VARC 1ANDVAR151>0ANDVAR181>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),colorgreen;路遥 7:36:44雷霆顶压:HHV(MA(H,11),50),COLOR00FFFF;短压 :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)ANDWZ8>0;DRAWTEXT(WZ9ANDDJ>250,H,'←减'),COLORBCFF8B;VAR11:=EMA(CLOSE,8);{ 起步 }VAR2:=EMA(VAR11,20); VAR3:=CROSS(VAR11,VAR2);VAR4:=VAR11<MA(CLOSE,120);VAR5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;{逃命} VAR6:=SMA(VAR5,5,1);VAR7:=SMA(VAR6,8,1);{60}VAR8:=CROSS(VAR6,VAR7)ANDVAR7<20;VAR9:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60)ANDVAR8;VARA:=IF(CLOSE>1000,VAR8,VAR9);起步:=VAR3ANDVAR4;逃遁:=VARA;STICKLINE(X2>X3,X2*0.98,X2,6,1),COLOR0000FF,LINETHICK2; STICKLINE(X2<X3,X2*0.98,X2,6,1),COLORF10011,LINETHICK2;WW1:=SUM(MA(C,10),9)/10.110,COLORYELLOW;XX1:=MA(LOW,2)*0.96;XX2:=MA(LOW,26)*0.85;XX3:=REF(XX1,1)<XX2ANDREF(XX1,1)<XX1ANDREF(XX1,1)<REF(XX1,2); VAR1:=INDEXC;VAR12:=MA(VAR1,6);VAR13:=MA(VAR1,24);VAR14:=MA(VAR1,32);VAR15:=MA(VAR1,62);VAR16:=MA(VAR1,105);VAR17:=VAR15<REF(VAR15,1)ANDVAR6<REF(VAR16,1)ANDVAR15<VAR6*0.98;VAR18:=VAR14>VAR12*1.11ANDVAR13>VAR12*1.095;VAR19:=VAR12>VAR1*0.95;VAR111:=EMA(WINNER(CLOSE)*70,3);VAR112:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAR113:=CLOSE/MA(CLOSE,40)*100<76;VAR114:=CLOSE/MA(CLOSE,60)*100<74;VAR115:=HIGH>LOW*1.051;VAR116:=VAR115ANDCOUNT(VAR15,5)>1;VAR117:=VAR17ANDVAR8ANDVAR19ANDCLOSE/COST(8)<=0.8AND(CLOSE>OPENORCLOSE<OPEN) AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1))ANDCLOSE>0.1ORVAR16AND(VAR113ORVAR114)ANDVAR112<20ANDVAR111<20AND(WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5ORTROUGHBARS(3,15,1)<4 ANDCROSS(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)ANDX2>X3,L-0.1,'←●反弹'),COLORGREEN;DRAWTEXT(IF(CROSS((VAR11-LLV(VAR1,4))/(HHV(VAR11,4)-LLV(VAR11,4))*4*25,87.5)AND VAR1<40,87,0)ANDX2>X3,L-0.2,'←● 短买 '),COLORFFBBD8;DRAWTEXT(CROSS(VAR1,10)ANDX2>X3,L-0.3,'←● 买 '),COLOR89B2FF;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)ANDX2>X3,L-0.4,'←●加仓'),COLORFF5ED8;{80}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)ANDNOT(HD);T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(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<20ANDVar9<23ANDVarA>35;VarC:=VarBANDCOUNT(VarB,1)=1;VarD:=EMA(收盘价,21)-EMA(收盘价,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4ANDCROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0AND 最高价>最低价+0.04,4,0); Var11:=ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(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*AVEDEV(Var1F,14)); Var21:=CROSS(Var1E,最低价);买点 1:=Var10;买点 2:=(Var11+Var13+Var15+Var17);卖点 1:=(Var12+Var14+Var16+Var18),linethick2;Var22:=买点 1ANDVarFANDVarCANDVar21ANDVar4<0ANDVar5=0ANDVar6=0ANDVar20<(-110);VAR1:=MA(收盘价,5);VAR2:=MA(收盘价,10);VAR31:=MA(收盘价,30);VARB1:=SUM(收盘价*成交量*100,28)/SUM(成交量*100,28); VARC1:=INTPART(VARB1*100)/100;VARD1:=EMA(收盘价,5)-EMA(收盘价,10);VARE1:=EMA(VARD1,9);VAR131:=REF(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-VAR131;VAR161:=REF(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-VAR161;VAR191:= 开盘价 ;VAR1A1:=收盘价;DRAWTEXT( 买点1>0,L+0.1,'▲'),colorred; DRAWTEXT(买点2>0,L+0.1,'▲'),COLORFF00FF; DRAWTEXT(卖点1>0,H+0.01,'▼'),COLOR33FF33;路遥 7:37:25第三浪 AA:=V*1000/CAPITAL;主力:MA(AA,4),COLORYELLOW,POINTDOT;游资:MA(AA,9),COLORRED,POINTDOT;大户 :MA(AA,17),COLORRED,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);获利 80:=MA(COST(80),5);均线 5 日:=MA(C,5);获利 20:=MA(COST(20),5);获利 1:=MA(COST(1),5);RSV:=(((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100));趋势:(EMA((3)*(SMA(RSV,6,1))-(2)*(SMA(SMA(RSV,5,1),5,1)),2)),COLORRED;{股旁网_大智慧股票指标公式}VAR2:=(3)*(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1))-(2) *(SMA(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1),15,1)); VAR3:=VAR2-100;背离:(FORCAST(((-1))*(VAR3),21)),LINETHICK1,COLOR00FF00;DRAWTEXT((CROSS(趋势,背离)),背离,'黑马'),COLORRED;B:=C/REF(C,1)>1.048ANDC=HANDBETWEEN(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)ANDREF(ZIG(3,35),1)<REF(ZIG(3,35),2))*20,STICK,CO LOR990066,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,C OLORYELLOW;筹码撤:IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V4<0),0,V4,0,0),LINETHICK1,CO LORBLUE;路遥 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,linethick1;DRAWTEXT(88>0andref(o,1)/ref(c,1)>1.04andref(l,1)<=688ando>ref(c,1)andc<ref(o,1)a ndc/o>=1.01,l-l*0.02,'★<--极品绝底初现'),linethick1;DRAWTEXT(c-o>=0ando/l>1.05andl<=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)ANDq10<-13,20,'*大底来'),coloryellow,linethick5; DRAWTEXT(CROSS( 特殊会员专用 ,93)ANDq10<-13,40,'* 大底 '),linethick5; DRAWTEXT(CROSS(跨越,特殊会员专用)ANDref(特殊会员专用,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(跨越 ,机构做空能量线 ),大底 +40,'进入强势区域'),coloryellow,linethick1;DRAWTEXT(cross(特殊会员专用,跨越),大底+20,'进入拉升区域'),linethick1; DRAWTEXT(cross(跨越,特殊会员专用),大底+70,'注意调整'),COLORFFAA66,linethick1; 路遥 7:38:020000VAR1:=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)));VAR3:=SUM(VAR1,5);VAR4:=SUM(VAR2,5);VAR5:=IF(VAR3>VAR4,(VAR3-VAR4)/VAR3,IF(VAR3=VAR4,0,(VAR3-VAR4)/VAR4));VAR6:=MA(VAR5,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(VAR8,3);VARB:=SUM(VAR9,3);VARC:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB)); VARD:=MA(VARC,3);火:BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED;VARE:=HHV(CLOSE,2);VARF:=BARSLAST(VARE<REF(VARE,2));VAR10:=IF(VARF>=1,LLV(VARE,VARF),LOW);VAR11:=VAR10+VAR10*VARF*0.5/100;VAR12:=IF(VAR11<REF(VAR11,1),MA(LOW,3),VAR11);VAR13:=VAR10+VAR10*(VARF-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>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB)); VAR19:=MA(VARC,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(VAR8,3);VAR1D:=SUM(VAR9,3);VAR1E:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB)); VAR1F:=MA(VARC,3);下跌→ 抛出 :STICKLINE( 山 >0, 火 , 山 ,2,1),COLORF0F000;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>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB)); VAR25:=MA(VARC,3);观望 :STICKLINE( 山 =0AND 火 =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>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB)); 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(VAR8,3);VAR2F:=SUM(VAR9,3);VAR30:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));VAR31:=MA(VARC,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>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));VAR38:=MA(VARC,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>量 3AND 量 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*SMA( 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(S MA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14));Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70));Var8:=IF(Var6>=150ANDVar6<200ANDVar7>=150ANDVar7<200,10,0);Var9:=IF(Var6<=-150ANDVar6>-200ANDVar7<=-150ANDVar7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2 *SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1 );VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2 *SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1 );VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=IF(Var17<=25ANDVar18<-95ANDVar1F>20ANDVar1B<-30ANDVar1E<30ANDVar12>=-0.2 5ANDVar14<22ANDVar15<28ANDVar16>50,80,0);。

2个很棒的大智慧L2指标公式

2个很棒的大智慧L2指标公式

1.名称:逃顶专家公式用法:两条k线相重合,顶部到来,出现蓝色k线,逃顶。

量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE; 量1:=EMA(量,3);量2:=EMA(量,5);量3:=EMA(量,7);STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA;STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB;STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC;STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD;STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE;STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF;STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000;STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300;STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500;STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700;STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900;STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00;STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00;STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00;T1:=量2 >= 量3 AND 量1 < REF(量1,1);T2:=量2 < 量3 AND 量1 > REF(量1,1);STICKLINE(T1,量1,量3,8,0),colorFFBB11;STICKLINE(T1,量1,量3,7,0),colorFFCC22;STICKLINE(T1,量1,量3,5,0),colorFFDD33;STICKLINE(T1,量1,量3,3,0),colorFFEE44;STICKLINE(T1,量1,量3,1,0),colorFFFF55;STICKLINE(T2,量1,量3,10,0),color338FDD;STICKLINE(T2,量1,量3,8,0),colorFF00FF;STICKLINE(T2,量1,量3,1,0),color00DDFF;STICKLINE(T2,量1,量3,8,0),color00AAFF;STICKLINE(T2,量1,量3,6.6,0),color00BBFF;STICKLINE(T2,量1,量3,4.4,0),color00CCFF;STICKLINE(T2,量1,量3,3.3,0),color00DDFF;STICKLINE(T2,量1,量3,2.2,0),color00EEFF;STICKLINE(T2,量1,量3,1,0),color00FFFF;2. 神奇线大盘暴跌,不用怕,我有神奇线,好神奇哦!出现神奇买点后,就在神奇线处买入,没有未来!XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);奇线: MA((CLOSE-XX2)/XX2,1),color00ff00;买点1: IF(CROSS(奇线,0) AND LOW/REF(HIGH,1)<1.012,0.5,0), STICK,COLORWHITE;买点2: IF(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),0.5,0),COLORRED;DRAWTEXT( 买点1>0,0.2 ,'神奇线'),COLORWHITE;DRAWTEXT( 买点2>0,0.4 , '神奇线'),COLORyellow;。

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):一、专吸庄血(公式源码)N:=5;VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1),COLORYELLOW,LINETHICK0; VAR2:8,COLORGREEN,LINETHICK0;上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;0,LINETHICK2 ,COLORFFCC00;二、资金判牛(公式源码)做空能量线:SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3; 短线通道:15,COLORGREEN;强弱分界:45,COLOR00FFFF;短线顶部:85,COLORFF00FF;FILLRGN(做多能量线,短线通道,做多能量线<=短线通道),COLORRED;FILLRGN(做空能量线,短线顶部,做空能量线>=短线顶部),COLORRED;FILLRGN(做空能量线,短线通道,做空能量线<=短线通道),COLORBLUE;FILLRGN(做多能量线,短线顶部,做多能量线>=短线顶部),COLORBLUE;3、主力进场(公式源码)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);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORRED;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0000FF;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK0,COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00BB00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00DD00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);VAR13:=EMA(VAR12,10);VAR14:=HHV(H,33);VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),LINETHICK0,COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORBB00BB; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORDD00DD; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),LINETHICK0,COLORYELLOW;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,6,0 ),COLORYELLOW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777; STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00BBBB; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00DDDD; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2<19,19,0),COLORWHITE;4、新VOL(公式源码)当日:VOL;量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0 000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color0 0E521,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);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0018FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color001BFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0022FF;STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0041FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0050FF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color0059FF;STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color006CFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color007AFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0080FF;STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0095FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color009CFF;STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color00C0FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00D1FF;STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00FFFF;STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color007F00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00;STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color009500;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color009C00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00A300;STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00AF00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00B900;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00C000;STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00CA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00D300;STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00EA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00FF00;DRAWTEXTABS(1,1,'【买卖盘解量(手)】');DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF;DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖盘比='+NUMTOSTR(买卖盘比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1; DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1; DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1; DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1; DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;5、猎庄端窝(公式源码)DRAWTEXTREL(10,900,'..'),linethick1,COLOR00EEff;DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));N:=5;N1:=21;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N) )/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1);小试牛刀: IF(CROSS(VAR1,8),8,0),STICK,COLORRED;DRAWICON(小试牛刀>0,8,7);发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9));CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1));CD5:=IF(CD4>,CD4,;CD6:=REF(CD5,1);VAR81:=MA(C,9);空头1:=IF(CD6-CD5,CD6,CD5);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;端庄窝:IF(VAR6A>N1,VAR6A-N1,0),COLORRED;果断出击:IF(CROSS(端庄窝,,18,0),STICK,COLOR0000CC,LINETHICK2;DRAWICON(果断出击>0,18,7);XG:=CROSS(端庄窝,;选底:IF(XG=1,16,0),STICK,LINETHICK3;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);减仓空仓:10*(CROSS(CD6,CD5) OR E),COLORGREEN;DRAWICON(减仓空仓>0,113,8);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),7,0),COLORRED;STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),7,0),COLOR00FF00;红持绿空:0,COLORGREEN;6、买点决策(公式源码)input:N(60,1,111);a1:=INDEXC;a2:=INDEXO;a3:=DISPSTATUS=1;a4:=BARSLAST(a3);a5:=(REF(a1,a4))/(REF(CLOSE,a4));a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));a7:=IF(a3,(a1/a5),(REF((a1/a5),a4))); a8:=a6-a7;a9:=a2/a5;a10:=INDEXH/a5;a11:=INDEXL/a5;a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));大盘:STICKLINE(a13,(a10 +a8),(a11 +a8),0,0),colorRed;STICKLINE(a13,((a1/a5) +a8),(a9 +a8),5,0),colorRed;STICKLINE(NOT(a13),(a11+a8),(a10+a8),0,0),colorGreen;STICKLINE(NOT(a13),((a1/a5)+a8),(a9+a8),5,0),colorGreen;PARTLINE(CLOSE,CLOSE>(a1/a5),RGB(255,0,0)),linethick2,colorRed;PARTLINE(CLOSE,CLOSE>(a1/a5)AND(CLOSE<(REF(CLOSE,1))),RGB(255,0,255)),linethick2,colorMagent a;PARTLINE(CLOSE,(CLOSE>(a1/a5)AND((MA(CLOSE,30))>(REF((MA(CLOSE,30)),1))))AND((MA((a1/a5),30) )<(REF((MA((a1/a5),30)),1))),RGB(255,255,0)),linethick2,colorYellow;STICKLINE((((REF(a1,1))<(REF(a2,1)))AND(a1>(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;STICKLINE((((REF(a1,1))>(REF(a2,1)))AND(a1<(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060 ;a14:=MA(CLOSE,10);a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;DRAWTEXT(((DATE >700101)AND(CROSS(84,a16))),HIGH,'▼'),colorGreen;a17:=(((2*CLOSE)+HIGH)+LOW)/4;a18:=LLV(LOW,34);a19:=HHV(HIGH,34);a20:=EMA((((a17-a18)/(a19-a18))*100),6);a21:=EMA((*(REF(a20,1)))+*a20)),4);a22:=LLV(LOW,120);a23:=HHV(HIGH,120);a24:=a23-a22;a25:=HHVBARS(CLOSE,N);REF(CLOSE,a25),POINTDOT,ColorFF0000;突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*))AND(REF((a25>=5),1))),10),POINTDOT,linethick0;STICKLINE(突破,(CLOSE*,CLOSE,5,0),ColorF600A9;DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*,'最佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*,'次佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*,'理想买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * ,'及格买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * ,'突破'),colorWhite;a26:=(CLOSE<(a1/a5))AND(CROSS(80,a16));DRAWICON(a26,CLOSE,8);DRAWICON((CLOSE>(a1/a5)AND(CROSS(a16,17))),CLOSE,7);DRAWICON((CROSS(a16,10)),CLOSE,7);DRAWICON((CROSS(90,a16)),CLOSE,8);DRAWICON((CROSS(CLOSE,(a1/a5))),CLOSE,11);DRAWTEXT(((IF(((((((COUNT((CLOSE<(REF(CLOSE,1))),8))/8)>AND(COUNT((a20>a21),3)))AND((REF(LOW,1))=a22))AND(CLOSE>OPEN)),1,0))AND(CROSS(a16,15))),LOW, '★小底'),ColorFF8080;a27:=DYNAINFO(3);a28:=SMA(CLOSE,2,1);a29:=SMA(CLOSE,6,1);a30:=2*(a28-a29);DRAWTEXTABS(10,200,'■所属板块:'+BKNAME),ColorYELLOW,linethick1;流通盘大小:=FINANCE2(37)/1000000*100;DRAWTEXTABS(280,220,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW; 每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);DRAWTEXTABS(170,220,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLOR00FF00;DRAWTEXTABS(170,240,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORRED;DRAWTEXTABS(170,260,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORRED;DRAWTEXTABS(20,220,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLOR00FF00; DRAWTEXTABS(20,240,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLOR00FF00;DRAWTEXTABS(20,260,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;7、数据投机(指标源码){计算股价}input:股数(0,0,),买入价(0,0,500),预期涨幅(0,0,100),服务费(0,0,100){根据各证券所收费不同,自行调节};预卖价位:=买入价*(预期涨幅*+1);买入收费:=买入价*股数*{各证券所收费不同,自行调节}+服务费;卖出收费:=预卖价位*股数*{各证券所收费不同,自行调节}+服务费;预期盈利:=预卖价位*股数-买入价*股数-买入收费-卖出收费;DRAWTEXTREL(320,850,'¤预卖价位: '+NUMTOSTRN(预卖价位,2)+' 元'),LINETHICK5,COLORAFAFAF; DRAWTEXTREL(540,850,'¤预期盈利: '+NUMTOSTRN(预期盈利,2)+' 元'),LINETHICK5,COLORAFAFAF; {庄家实力}cyc0:=MAXCYC;庄家实力:c/cyc0,precis2,LINETHICK0,COLORC68CFF;DRAWTEXTREL(100,70,'☆庄家实力: '+NUMTOSTRN(庄家实力,2)+' 级'),LINETHICK5,COLORC68CFF;{精确风险系数}rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;kk:=sma(rsv,10,1);dd:=sma(kk,5,1);zlcm:=intpart(sma(rsv,10,1));shcm:=intpart(sma(kk,5,1));风险系数:zlcm+shcm-70,precis0,LINETHICK0,COLOR66FFFF;DRAWTEXTREL(320,70,'※风险系数: '+NUMTOSTRN(风险系数,2)+' 级'),LINETHICK5,COLOR66FFFF;{历史价位系数}历史价位:(c-llv(l,0))/(hhv(h,0)-llv(l,0))*100,precis0,LINETHICK0,COLORFFBB77; DRAWTEXTREL(755,70,'⊙历史价位: '+NUMTOSTRN(历史价位,2)+' %'),LINETHICK5,COLORFFBB77;{量能饱和度}饱和量度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20) )*100),precis0,LINETHICK0,COLORE07EAA;DRAWTEXTREL(60,270,'§饱和量度: '+NUMTOSTRN(饱和量度,2)+' ℃'),LINETHICK5,COLORE07EAA;{股价倾斜系数}hot:=ma(c,13);倾斜系数:atan(hot-ref(hot,1))**100,precis0,LINETHICK0,COLORFFCC62;DRAWTEXTREL(245,270,'∥倾斜系数: '+NUMTOSTRN(倾斜系数,2)+' 度'),LINETHICK5,COLORFFCC62; {获利比例}获利比例:WINNER(CLOSE)*100,precis0,LINETHICK0,COLOR79A5FF;浮筹比例:(winner(c*-winner(c*)/winner(hhv(h,0))*100,precis0,LINETHICK0,COLORFFCC62; DRAWTEXTREL(430,270,'◇获利比例: '+NUMTOSTRN(获利比例,2)+' %'),LINETHICK5,COLOR79A5FF; DRAWTEXTREL(615,270,'□浮筹比例: '+NUMTOSTRN(浮筹比例,2)+' %'),LINETHICK5,COLORFFCC62;{人均持股}人均持股:=INTPART(FINANCE2(36)/extradata('散户线')*10000);DRAWTEXTREL(800,270,'〓人均持股: '+NUMTOSTRN(人均持股,0)+' 股'),LINETHICK5,COLOR79A5FF; {止损价位}LC:=REF(CLOSE,1);止损价位:=(LC**97+/;DRAWTEXTREL(100,850,'☆止损价位: '+NUMTOSTRN(止损价位,2)+' 元'),LINETHICK5,colorWHITE;{成本预测}建仓成本:MAXCYC,precis2,LINETHICK0,COLORFFBB77;心理价位:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE2(37)))*,precis2,LINETHICK0,COLORC78EFF; DRAWTEXTREL(60,470,'○建仓成本: '+NUMTOSTRN(建仓成本,2)+' 元'),LINETHICK5,COLORFFBB77; DRAWTEXTREL(60,660,'◎心理价位: '+NUMTOSTRN(心理价位,2)+' 元'),LINETHICK5,COLORC78EFF; {上升空间}上升空间:100-c/(心理价位-建仓成本)*10,precis0,LINETHICK0,COLOR79A5FF;DRAWTEXTREL(540,70,'‖上升空间: '+NUMTOSTRN(上升空间,2)+' %'),LINETHICK5,COLOR79A5FF; {股价预测}VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*VC-LOW;明日支撑:=2*VC-HIGH;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);今日突破:=REF(明日突破 , 1);今日反转:=REF(明日反转 , 1);DRAWTEXTREL(245,470,'↑今日支撑: '+NUMTOSTRN(今日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,470,'↓今日阻力: '+NUMTOSTRN(今日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,470,'♂今日突破: '+NUMTOSTRN(今日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,470,'♀今日反转: '+NUMTOSTRN(今日反转,2)+' 元'),LINETHICK5,COLORFC878F; DRAWTEXTREL(245,660,'↑明日支撑: '+NUMTOSTRN(明日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,660,'↓明日阻力: '+NUMTOSTRN(明日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,660,'♂明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,660,'♀明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),LINETHICK5,COLORFC878F; {实际盈亏}实际盈亏:c*股数-买入价*股数-买入收费-卖出收费,precis2,LINETHICK0,colorWHITE; DRAWTEXTREL(755,850,'¥实际盈亏: '+NUMTOSTRN(实际盈亏,2)+' 元'),LINETHICK5,colorWHITE;。

大智慧绝对厉害的主图指标公式

大智慧绝对厉害的主图指标公式

大智慧绝对厉害的主图指标公式R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);X1:=(C+L+H)/3;DD:=FINANCE2(35);SS:=FINANCE2(37);GG:=FINANCE2(3);TH:=DYNAINFO(39);A51:=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))*100,5,1);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);a1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));a2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;a3:=EMA((MA(a1,5)),10);a4:=EMA((MA(a1,15)),10);a5:=EMA((MA(a1,13)),21);a6:=((a3 + a4) + a5) / 3;决策线:EMA((MA(CLOSE,5)),3),linethick2,colorFF0000;PARTLINE(决策线,决策线> (REF(决策线,3)),RGB(255,0,0)),linethick2,Color3300FF;DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(决策线* 0.95),'决策价:'+决策线),MOVE10,ALIGN2,linethick2,colorRed;{支撑}VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力: REF(HIGH,BARSLAST(Var2222)), POINTDOT,ColorEA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(Var2222)),REF(HIGH, BARSLAST(Var2222)),5,0),LINETHICK3,ColorEA91B5;支撑: REF(LOW,BARSLAST(Var4444)), POINTDOT,Color00b4ff,linethick3;STICKLINE(CLOSE,REF(LOW,BARSLAST(Var4444)),REF(LOW,B ARSLAST(Var4444)),5,0),LINETHICK3,Color00b4ff;弱势双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;强势单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,ColorFF00FF;{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1,linethick0;DRAWTEXT(老鼠仓, (LOW* 0.99),'老鼠仓'),LINETHICK3,Color40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T := BARSLAST(DISPSTATUS=1)+1;T := BARSLAST(DISPSTATUS=1)+1;HHg := HHV(H, T);ddg := LLV(L, T);{Hk := LL-HH; G12 := LL-HK*1.55; }IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。

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

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;。

相关文档
最新文档