大智慧会员极品公式大全

合集下载

大智慧公式函数大全完整版

大智慧公式函数大全完整版

大智慧公式函数大全大智慧新一代的公式编写系统使用了多类的函数,以达到快速提取数据和提高运算能力,同时简化计算过程的要求。

因此在不同类型的函数我们赋予了相当精确的含义,有的函数定义为行情数据提取函数,那么它的功能就是从静态历史上的行情数据或者动态的及时盘中数据提取我们所需要的数据以方便以后的分析和计算;有的函数定义为运算函数,是考虑到一些复杂的数学计算过程过于冗长,从而设计的简化运算的函数等等。

在以下的几节当中,我们将会分别介绍一共17类函数。

(1). 函数的基本模型:K(X1,X2,X3…)1. K表示函数的名称;2. X1,X2,X3…表示该函数的所有参数。

不同参数用逗号分隔并用括号将所有函数括起来列于函数名称之后;参数的取值可以是变量也可以是一个常量,具体取值和含义因函数不同而不同;(2). 函数的引用周期:应不同的使用者在分析周期习惯上的差异,大智慧特别设定了周期选择。

这主要是针对在引用类函数在引用数据时锁定自己所需要的周期,例如在日线上,或者在周线上等等的要求。

一. 行情函数行情函数是最基本的函数。

首先,它为我们提供计算所需的数据,这些函数从存储的数据中取得我们所需要的各类数据,而其它多数函数所需的计算数据一般也是由通过引用行情函数产生的。

二. 时间函数时间函数,顾名思义,在大智慧的函数中专门用来对时间数据进行描述和引用,以满足我们在分析的过程当中对时间的限定和要求。

三. 引用函数引用类函数是在公式编写过程当中经常会使用到的一类函数。

该类函数主要有两大功能,其一是对相邻周期上的行情数据进行引用,以便计算和操作,例如使用昨天的收盘价;其二是大智慧为方便计算,将一些经常会使用到的比较复杂的数学计算过程简化成一个简单的函数,在实际的运算过程当中,可以直接引用这些函数避免复杂的数学计算。

例如将计算移动平均值直接用MA代替。

四. 逻辑函数五. 算术函数六. 统计函数统计函数主要用于对股票数据进行计统计计算,得到数据分布、趋势等方面的信息,包算法:算法:参数:X:变量,计算样本回归预测回归斜率线性回归如上图所示,线性回归就是用一条线段来近似描述数据点的分布情况.从而得到该数据的总体趋势情况。

大智慧炒股公式集锦

大智慧炒股公式集锦

大智慧炒股公式集锦紫涨绿卖A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR2:=EMA(VAR1,8);VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势:=EMA(VAR3,3)-10;{FILLRGN(趋势,80,趋势>80);}DRAWICON(CROSS(趋势,0),0,1);{FILLRGN(0,A09,(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50))),COLORFFFF00;}机构建仓区:0,LINETHICK0,COLORFFFF00;VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;{STICKLINE(趋势<=13,0,20,5,0),COLORCC9900; DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),COLORCC9900;STICKLINE(趋势<=13 AND VAR4>13,0,50,5,0),COLOR0099FF;} VAR5:=FILTER((趋势<=13 AND VAR4>13),10); DRAWTEXT(VAR5,60,'买入'),COLOR0099FF;STICKLINE(趋势>=90 AND VAR4,0,30,5,0),COLORGRAY; VAR6:=FILTER((趋势>=90 AND VAR4),10);DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;VAR7:=LLV(LOW,30);VAR8:=HHV(HIGH,30);VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25; STICKLINE(VAR9>90,100,105,10,2),COLORRED;VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,95,0),88,'险'),COLOR00FF00;DRAWICON(CROSS(90,VAR9),95,5);VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;VAR12:=HHV(VAR11,30)*8;火焰山:EMA(IF(LOW<=VAR7 AND 趋势<40,VAR11+VAR12),0),3)/618,COLORRED,LINETHICK2; STICKLINE(火焰山>0,0 ,火焰山*1.2,8,0 ),COLORRED;VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5; VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5; 趋势线: 趋势,COLORYELLOW,LINETHICK2;VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;VAR17:=EMA(VAR16,5);波浪峰:VAR17,STICK,COLORFF00FF;STICKLINE(VAR17<REF(VAR17,1),0,VAR17,1,0),COLOR00FF00; VAR18:=MA(趋势线,8);IF(CROSS(VAR2,VAR18) AND VAR2<15,50,0),COLORRED; DRAWTEXT(CROSS(趋势线,VAR2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORFF0000;KDJ+MACDDRAWGBK(close>0,STRIP(RGB(25,25,112),RGB(47,79,79),0)); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;J:3*K-2*D,LINETHICK2,COLOR800080;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;DEA :EMA(DIFF,9),linethick0,COLORD89837;MACD:2*(DIFF-DEA),COLORFF9999,linethick0;YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/ 4,AMOUNT/(vol+0.01)/100);阻价:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));支价:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));今压:REF(阻价,1),LINETHICK0,COLORAA11BB;今撑:REF(支价,1),LINETHICK0,COLOR009900;明压:阻价,LINETHICK0;明撑:支价,LINETHICK0;rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101; kk:=sma(rsv1,3,1);dd:=sma(kk,3,1);jj:=3*kk-2*dd;买卖:=if(jj>=100,100,if(jj<=0,0,jj));明天买:if(买卖=100,0-10,0),color00cccc;明天卖:if(买卖=0,90,100),color00ff00;KX:=250;KH:=HHV(K,KX);DH:=HHV(D,KX);JH:=HHV(J,KX);KL:=LLV(K,KX);DL:=LLV(D,KX);JL:=LLV(J,KX);HKMAX:=MAX(KH,MAX(DH,JH));LKMIN:=MIN(KL,MIN(DL,JL));KHLB:=(HKMAX+LKMIN)/2;KHLC:=HKMAX-LKMIN;MHF:=HHV(DIFF,KX);MHD:=HHV(DEA,KX);MHM:=HHV(MACD,KX);MLF:=LLV(DIFF,KX);MLD:=LLV(DEA,KX);MLM:=LLV(MACD,KX);HMAX:=MAX(MHF,MAX(MHD,MHM)); LMIN:=MIN(MLF,MIN(MLD,MLM)); FHLB:=(HMAX-LMIN)/100;FHLC:=HMAX-LMIN;SH:=(0-FHLB)*(KHLC/FHLC)+KHLB; DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB; MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;CDA:=MACD<ref(MACD,1) and MACD>0;CDB:=MACD>=ref(MACD,1) and MACD>0;CDC:=MACD>ref(MACD,1) and MACD<0;CDD:=MACD<=ref(MACD,1) and MACD<0; STICKLINE(CDA,SH,macda,6,0),COLOR00AAFF;{黄色段} STICKLINE(CDA,SH,macda,6.6,0),COLOR00BBFF; STICKLINE(CDA,SH,macda,4.4,0),COLOR00CCFF; STICKLINE(CDA,SH,macda,3.3,0),COLOR00DDFF; STICKLINE(CDA,SH,macda,2.2,0),COLOR00EEFF; STICKLINE(CDA,SH,macda,1.1,0),COLOR00FFFF; STICKLINE(CDB,SH,macda,6,0),COLOR0000AA; {红色段} STICKLINE(CDB,SH,macda,6.6,0),COLOR0011BB; STICKLINE(CDB,SH,macda,4.4,0),COLOr0022CC;STICKLINE(CDB,SH,macda,3.3,0),COLOR0033DD; STICKLINE(CDB,SH,macda,2.2,0),COLOR0044EE; STICKLINE(CDB,SH,macda,1.1,0),COLOR0055FF; STICKLINE(CDC,SH,macda,6,0),COLORAA00BB;{向上粉红} STICKLINE(CDC,SH,macda,6.6,0),COLORBB11BB; STICKLINE(CDC,SH,macda,4.4,0),COLORCC22BB; STICKLINE(CDC,SH,macda,3.3,0),COLORDD33BB; STICKLINE(CDC,SH,macda,2.2,0),COLOREE44BB; STICKLINE(CDC,SH,macda,1.1,0),COLORFF55BB; STICKLINE(CDD,SH,macda,6,0),COLORFF7700; STICKLINE(CDD,SH,macda,6.6,0),COLORFF8811; STICKLINE(CDD,SH,macda,4.4,0),COLORFFAA22; STICKLINE(CDD,SH,macda,3.3,0),COLORFFBB33; STICKLINE(CDD,SH,macda,2.2,0),COLORFFDD44; STICKLINE(CDD,SH,macda,1.1,0),COLORFFDD55;PARTLINE(DIFFA,DIFF>0,RGB(255,153,153),DIFF<0,RGB(255,1 53,153));PARTLINE(DEAA,DEA>0,RGB(65,105,225),DEA<0,RGB(65,105,2 25));DRAWTEXT(BARSTATUS=2,SH,' 0'),color00aaaa;TYP:=(HIGH+LOW+CLOSE)/3;STICKLINE(diff>ref(diff,1),20,20,2,0),COLORRED;STICKLINE(diff<ref(diff,1),20,20,2,0),COLORGREEN;STICKLINE(K>=ref(K,1) or k>d anddiff>ref(diff,1),80,80,2,1),COLORRED;STICKLINE(K<ref(K,1),80,80,2,1),COLORGREEN;MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;DRAWTEXT(MACD金叉,macda*0.82,'MACD金叉'),color00FFFF;XX:=ema(MA(LOW,3)*0.96,30);DIFF金叉:=if(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);DRAWTEXT(DIFF金叉=1,DIFFA*1.68,'DIFF金叉'),colorCDFFBB;低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位金叉,deaa*0.99,' 低位金叉'),COLOR0099DD;DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 ANDCOUNT(DIFDEA=2,21)=1;DRAWTEXT(二次金叉,deaa*0.99-8,' 二次金叉'),ColorFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背离,DEAA*0.99-16,' 底背离'),Color0099FF;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'顶背离'),COLORDDAAAA;{周金叉,死叉}周DIFF:="MACD.DIFF#WEEK";周DEA:="MACD.DEA#WEEK";周MACD:="MACD.MACD#WEEK";DIF周金叉:=CROSS(周DIFF,周DEA);DRAWTEXT(DIF周金叉,DEAA,'DIFF周金叉'),COLOR0099FF;DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,'DIFF周死叉'),align0,COLORCDFFBB;MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02;DRAWTEXT(MACD周金叉,macda-0.03,'MACD周金叉'),color00FFFF;{月金叉,死叉}月DIFF:="MACD.DIFF#MONTH";月DEA:="MACD.DEA#MONTH";DIF月金叉:=CROSS(月DIFF,月DEA);DRAWTEXT(DIF月金叉,DEAA*0.98,'DIF月金叉'),COLOR00FFCC;DRAWTEXT(CROSS(月DEA,月DIFF),DEAA*1.02,'DIF月死叉'),align0,COLORDDDDDD;周K:="KDJ.K#WEEK"(9,3,3);周D:="KDJ.D#WEEK"(9,3,3);周J:="KDJ.J#WEEK"(9,3,3);月K:="KDJ.K#MONTH"(9,3,3);月D:="KDJ.D#MONTH"(9,3,3);月J:="KDJ.J#MONTH"(9,3,3);月金叉:=cross(月K,月D);周金叉:=cross(周K,周D);日金叉:=FILTER(cross(K,D) and K<20,4);drawtext(月金叉,月D-2,'★'),ALIGN0,color0022ee; DRAWTEXT(月金叉,月D-2,'KD月金叉'),coloryellow;drawtext(周金叉,周D,'★'),ALIGN2,color0022ee;DRAWTEXT(周金叉,周D,' KD周金叉'),colorgreen;DRAWICON(日金叉,K,1),align2;DRAWTEXT(日金叉,D-6,'低位金叉'),color00CCCC;DRAWTEXT(CROSS(周D,周K),周D*1.2,'KD周死叉'),COLOR00DDBB;DRAWTEXT(CROSS(月D,月K),月D,'KD月死叉'),COLORFFFFFF; KDB:=BARSLAST(ref(cross(k,d),1));KDDB:=ref(close,KDB+1)>close and ref(k,KDB+1)<k and cross(k,d);K底背:=if(FILTER(KDDB>0,5),1,0);DRAWTEXT(K底背=1,D*0.98,'底背离'),COLORDDDDDD; KDD:=BARSLAST(ref(cross(d,k),1));K顶背:=ref(close,KDD+1)<close and ref(k,KDD+1)>k and cross(d,k);DRAWTEXT(FILTER(K顶背>0,5),D+8,'顶背离'),COLORFFAA22; MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;MD2:=MA((CLOSE-MD1)/MD1,3);买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);ma12:=MA(CLOSE,12);佳点:=if(FILTER(MACD>=REF(MACD,5) ANDopen<=ref(close,1) and XX-REF(XX,1)>0 AND MACD<=0 AND ma12-REF(ma12,1)>=0,3) and J<80 and J>ref(J,1) and D>ref(D,1) and (diff>=ref(diff,1) or dea>=ref(dea,1)),1,0);DRAWTEXT(佳点=1,macda*0.98,'佳点'),color0099FF;DX0:=EMA(CLOSE,2)-EMA(OPEN,5);DX1:=if(CROSS(DX0,MACD) AND LOW<=XX ANDMACD<=(0-0.11) and (J<20 or K<20),1,0);DRAWTEXT(FILTER(DX1,3),0,'短10%'),color00CC00;{短线}MA10:=MA(CLOSE,10);SS:=EMA(MA(HIGH,3)*1.05,30);LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE<SS AND XX-REF(XX,1)>0 AND CROSS(MACD,0) AND MACD>=0 ANDDIFF>0 AND ma10-REF(ma10,1)>0 ANDVOL>REF(VOL,1))>=0.7 AND (CLOSE<SS AND XX-REF(XX,1)>0),5) AND J<80,1,0);DRAWTEXT(LQS=1,macda*0.98,'量价齐上'),colorCDFFDD;{量价齐上}最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 ANDCOUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) and J<80 and J>ref(J,1),1,0);DRAWTEXT(最佳点=1,J,'最佳点'),colorFF00CC;买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)<REF(MD2,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);DRAWTEXT(买点1 or 买点2,D-1,'买'),colorff00CC;{预涨}AZ:=DYNAINFO(7);AC1:=REF(C,1);ZF1:=(AZ-AC1)/AC1*100;BZ:=DYNAINFO(8);BV1:=REF(VOL,1);ZF2:=BZ/BV1*100;DZ:=REF(CLOSE,1)-REF(OPEN,1);EZ:=DYNAINFO(23)-DYNAINFO(22);FZ:=REF(VOL,1)-REF(VOL,2);预涨:=ZF1>1 AND ZF1<5 AND ZF2>30 AND DZ>0 AND EZ>0 AND FZ>0 AND D>REF(D,1);DRAWTEXT(预涨,d*0.6,'预\涨'),COLORA52A2A;KD金叉:=cross(K,D)and J>20 and J<80;选股:if(cross(macd,0) or DX1 or 佳点or LQS or K底背or 月金叉or 周金叉or 日金叉or 买点1 or 买点2 or 最佳点or MACD金叉or DIFF金叉or 低位金叉or 二次金叉or 底背离or DIF周金叉or MACD周金叉or DIF月金叉or KD金叉,2,0),LINETHICK0;财富拐点var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CLOSE>=REF(CLOSE,2);VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CLOSE>=REF(CLOSE,2);Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 ORVar16 OR Var17 OR Var18,1) AND Var1;STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),14,1),colorred;Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA ORVarB OR VarC,1) AND VarD;成交拐点VOLUME:VOL,VOLSTICK;主力启动线:MA(VOLUME,5),COLORRED,LINETHICK2;主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK2;资金异动线:MA(VOLUME,135),COLORBLUE,LINETHICK2;出击:STICKLINE(CROSS(主力启动线,资金异动线) OR ((主力洗盘线> 资金异动线) AND CROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;启动:STICKLINE(主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) OR REF(VOL,2)<REF(资金异动线,2))),0,VOL,3,0),COLORGREEN;V1:=CLOSE/REF(CLOSE,3)>=1.1;V2:=BACKSET(V1,2);V3:=REF(CLOSE,3)*1.1;V4:=CROSS(C,V3);OK:STICKLINE((V2 ANDCOUNT(V2,2)=1),VOL,0,5,0),COLORRED;COND:(CROSS(主力启动线,资金异动线) OR ((主力洗盘线> 资金异动线) AND CROSS(主力启动线,主力洗盘线)))OR (主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) ORREF(VOL,2)<REF(资金异动线,2))))OR (V2 AND COUNT(V2,2)=1),LINETHICK0;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);长期线:=A+100;短期线:=B+100;中期线:=D+100;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线AND 短期线<长期线+4;顶部:=FILTER(顶部区域,4);STICKLINE( {见顶OR} 顶部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;VAR6:=REF(CLOSE,1);VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099 FF,LINETHICK2;均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) +REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) +REF(CLOSE,3)) / 4);趋势一:=((((均势一- REF(均势一,1)) / REF(均势一,1)) * 1000) + 50);趋势二:=((((均势二- REF(均势二,1)) / REF(均势二,1)) * 1000) + 50);波段高位:=(CROSS(趋势一,趋势二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));STICKLINE(波段高位,VOL,VOL*1.08,20,1 ),COLORGREEN,LINETHICK2;短线买卖ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(C LOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6 ),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MT M),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM ),26),26));MMA:=C-REF(C,1);MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);MMC:=MA(MMB,5);V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);庄进:IF((MMS>REF(MMS,1) AND MMB>REF(MMB,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),colorwhite,POINTDOT;主进主轨:=ABV>M2 AND CROSS(ABV,M1) ANDCROSS(MMB,MMC);STICKLINE(庄进OR 主进主轨,65,0,4,1),colorwhite;精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);主进主买:=ABV>M2 AND MMB>MMC ANDCROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);短中精:=精准买卖OR 短线买点OR 中线买点OR 主进主买;如意:IF(短中精,60,0),ColorFF00FF,POINTDOT;STICKLINE(如意,60,0,4,1),ColorFF00FF;庄增:IF(ABV>M2 AND MMS>MML AND CROSS(MMB,MMC) AND MMB>REF(MMB,1) ANDMMC>REF(MMC,1),55,0),COLORFFCC66,POINTDOT; STICKLINE(庄增,55,0,4,1),COLORFFCC66;Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);Var2:=SMA(Var1,3,1);波:=SMA(Var2,3,1);段:=SMA(波,3,1);Var9:=CROSS(段,波) AND 波>80;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);风险:80,Color00FF00;天险:89,ColorFF00FF;太空:100,COLORFFCC66;王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);金箍:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;STICKLINE(金箍,40,0,4,1),COLORYELLOW;QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);生意上门:=SMA(QVAR1C,13,8);AAS:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);庄亏:IF(AAS,60,0),colorred,STICK,linethick4;买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);走势:(生意上门+买卖顺意)/2,colorccffff;趋势:(王+波+段)/3,COLOR0099FF;STICKLINE(Var1>20 AND Var1<80,Var1,Var1,10,1),colorred;控盘出货VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盘<0,控盘,0,4,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,LINETHICK1;开始控盘:IF(A10,5,0),LINETHICK2,COLORYELLOW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,LINETHICK1;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),COLORFF00FF;高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,LINETHICK1;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLOR00FF00;控盘趋弱:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,LINETHICK1;买点必赚MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);V5:=MA(CLOSE,5);V10:=MA(CLOSE,10);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=(SMA(RSV,3,1));D:=(SMA(K,3,1));MAJC:=CROSS(MA5,MA10);VJC:=CROSS(V5,V10);MACDJC:=CROSS(DIFF,DEA);KDJC:=CROSS(K,D);QSXS:=MA10>MA30 AND MA30>REF(MA30,1);JCTJ:=COUNT(MAJC,2)+COUNT(VJC,2)+COUNT(MACDJC,2)+ COUNT(KDJC,2);金叉统计:JCTJ,COLOR00FFFF;目标:FILTER(JCTJ>=3,3)*5,COLORFF00FF,LINETHICK2;优选:目标AND QSXS,COLORFFFFFF,POINTDOT,LINETHICK0; DRAWICON(优选,5,1);买准卖准Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;Var6:=(Var3+Var4+Var5)/3;Var7:=EMA(Var6,5);指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;Var8:=IF(Var6<=-20,10,0);Var9:=HHV(Var8,10);STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);K:EMA(Var7,5)*2, COLORff00ff;D:EMA(K,5), colorwhite;J:K*3-D*2, coloryellow;VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;换手: VOL/CAPITAL*100,colorgreen;DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;STICKLINE((VarA=20),0,10,5,0),colorwhite;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;DRAWTEXT((VARC=1),(-14),'买'),Color0000FF;STICKLINE((VARD=1),14,0,4,0),Color00FF00;DRAWTEXT((VARD=1),18,'卖'),Color00FF00;VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VarF:=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);Var10:=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);Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;STICKLINE(Var11 ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;Var12:=(HIGH+LOW+CLOSE)/3;Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var18<90,Var18,100);Var1A:=IF(VarE>0,VarE,0);Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;STICKLINE(Var1C ANDCOUNT(Var1C,30)=1,0,10,5,0),colorffcc66;强势弱势{以下设置强弱区域提示}M3:=MA(C,3);M5:=MA(C,5);N1:=BARSLAST(CROSS(M3,M5));N2:=BARSLAST(CROSS(M5,M3));N:=IF(N1<N2,N1+1,0-N2-1);强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;DRAWTEXTABS(100,3,'【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号'),LINETHICK1,colorwhite;DRAWTEXTABS(700,3,'量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】'),COLORYELLOW;散户买卖{以下设置强弱区域提示}M3:=MA(C,3);M5:=MA(C,5);N1:=BARSLAST(CROSS(M3,M5));N2:=BARSLAST(CROSS(M5,M3));N:=IF(N1<N2,N1+1,0-N2-1);强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;DRAWTEXTABS(100,3,'【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号'),LINETHICK1,colorwhite;DRAWTEXTABS(700,3,'量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】'),COLORYELLOW;天狼拐点LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);波动回调提示图:MA(CLOSE,10000);STICKLINE((MA15 >REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;STICKLINE((MA15 <REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF; 买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);stickline(买线>=卖线,low,high,1,0),colorred;stickline(买线>=卖线,close,open,4.5,0),color0000aa; stickline(买线>=卖线,close,open,4,0),color0000cc;stickline(买线>=卖线,close,open,3,0),color0000cc;stickline(买线>=卖线,close,open,2,0),color0000ee;stickline(买线<卖线,close,open,4.5,0),coloraaaa00;stickline(买线<卖线,close,open,4,0),colorbbbb00;stickline(买线<卖线,close,open,3,0),colorcccc00;stickline(买线<卖线,close,open,2,0),coloreeee00;stickline(买线<卖线,low,high,1,0),colorffff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(C LOSE,24))/4,2),linethick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;屠庄var101:=ma(SLOPE(CLOSE,3)/REF(CLOSE,14),13);var102:=ma(SLOPE(INDEXC,3)/ref(indexc,14),13);var103:=var101-var102;var104:=sma(var103,3,1);var105:=AMOUNT/100000000;var106:=IF(CLOSE>REF(CLOSE,1),var105,IF(CLOSE<REF(CLOSE ,1),(-1)*var105,0));var107:=SUM(var106,21);var108:=var107*CLOSE;var109:=sma(var108,3,1);var110:=sma(var109,3,1);var111:=MA(var108,30);var112:=if(var108>var109 and var109>var110 andvar108>var111,1,0);var113:=EMA(CLOSE,12.5)-EMA(CLOSE,25);var114:=EMA(var113,13);var115:=(var113-var114)*2;var116:=IF(var115>0.3,POW(var115,3)*5/10+POW(var115,2),0 );var117:=EMA(var116,3);var118:=SMA((CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*100,5,1);var119:=3*var118-2*SMA(var118,3,1);var120:=sma(var119,3,1);var121:=if(var119>var120 and var119<50,1,0);var122:=if(barslast(cross(var103,var104))<=5 andllv(var103,10)=llv(var103,60)and var112,1,0);DRAWTEXT(filter(var121=1 and var122=1,5),low,'*送钱了'),COLORyellow,linethick7;DRAWTEXT(cross(var104*10000,99),low,'*屠庄'),COLORwhite,linethick7;RSV1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20));RSV2:=(RSV1-0.5)*EMA(C,20)/5;K:=SMA(RSV2,5,1);D:=SMA(K,5,1);J:=K*3-D*2;var140:=ma(K+EMA(C,20),3);var139:=ma(J+EMA(C,20),3);var141:=if(cross(var139,var140),1,0);var142:=if(cross(var140,var139),1,0);移动峰位:=100*EMA((WINNER(C*1.1)-WINNER(C*0.95)),5);主力进出:=100*EMA(WINNER(C)-WINNER(C*0.7),5);出货过程:=100*(1-ema(winner(c*0.7),5));※主力:cost(主力进出),colormagenta,linethick2;※峰位:cost(移动峰位),color339966,linethick2;※沉淀:cost(0.5*(100-100*EMA(WINNER(C)-WINNER(C*0.7),5))+0.5*EMA(100-(WINNER(C*1.05)-WINNER(C*0.90))*100,5)),POINTdot,colorYELLOW;※买点:DRAWICON(var141,low*0.97,4),colorred;※卖点:DRAWICON(var142,high*1.03,5),colorgreen;var1a:=ma(SLOPE(CLOSE,5)/REF(CLOSE,14),13);var2a:=ma(SLOPE(INDEXC,5)/ref(indexc,14),13);※黑马值※:10000*(var1a-var2a),color339966,linethick0;主力+散户Var1:=1;Var2:=1/WINNER(CLOSE);Var3:=MA(CLOSE,13);Var4:=100-ABS((CLOSE-Var3) /var3*100);Var5:=LLV(LOW,75);Var6:=HHV(HIGH,75);Var7:=(Var6-Var5)/100;Var8:=SMA((CLOSE-Var5) /var7,20,1);Var9:=SMA((OPEN-Var5) /var7,20,1);VarA:=3*Var8-2*SMA(Var8,15,1);VarB:=3*Var9-2*SMA(Var9,15,1);VarC:=100-VarB;主力: (100-VarA)*Var1,color0099ff;散户: MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow;新庄: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,colorgreen,linethick1,pointdot ;VarD:=散户>Var4;VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=CLOSE-REF(CLOSE,1);Var13:=MAX(Var12,0);Var14:=ABS(Var12);Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;Var17:=BARSCOUNT(CLOSE);Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1B:=SMA((SMA(Var1A,4,1)-50)*2,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:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50;STICKLINE(VarD,Var4,散户,5,0),colorwhite; STICKLINE(1,新庄,100,1,0),colorgreen; STICKLINE(Var20,0,80,5,0),colorred,linethick3 ; 100,colorgreen ,linethick2 ;0,coloryellow ,linethick2 ;中线: 15,colorblue ,linethick2 ;主力拉升VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));VAR1E:=EMA(VAR1D,30);VAR1F:=((2 * (VAR1D - VAR1E)) * 10);VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);拉升:(15 * ((VAR25 > 0.1) AND (COUNT((VAR25 > 0.1),2) = 1))) and c>ema(c,60),LINETHICK2,color00FFFF;var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);Var5:=LLV(LOW,34);Var7:=IF(LLV(LOW,56),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7; STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),colorred;主力强弱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);。

大智慧公式函数大全(完整版)

大智慧公式函数大全(完整版)

大智慧公式函数大全大智慧新一代得公式编写系统使用了多类得函数,以达到快速提取数据与提高运算能力,同时简化计算过程得要求。

因此在不同类型得函数我们赋予了相当精确得含义, 有得函数定义为行情数据提取函数,那么它得功能就就是从静态历史上得行情数据或者动态得及时盘中数据提取我们所需要得数据以方便以后得分析与计算;有得函数定义为运算函数,就是考虑到一些复杂得数学计算过程过于冗长,从而设计得简化运算得函数等等。

在以下得几节当中,我们将会分别介绍一共17类函数。

(1)、函数得基本模型:K(X1,X2,X3…)1、K表示函数得名称;2、X1,X2,X3…表示该函数得所有参数.不同参数用逗号分隔并用括号将所有函数括起来列于函数名称之后;参数得取值可以就是变量也可以就是一个常量,具体取值与含义因函数不同而不同;(2)、函数得引用周期:应不同得使用者在分析周期习惯上得差异,大智慧特别设定了周期选择.这主要就是针对在引用类函数在引用数据时锁定自己所需要得周期,例如在日线上,或者在周线上等等得要求。

一、行情函数ﻩ行情函数就是最基本得函数。

首先,它为我们提供计算所需得数据,这些函数从存储得数据中取得我们所需要得各类数据,而其它多数函数所需得计算数据一般也就是由通过引用行情函数产生得。

二、时间函数时间函数,顾名思义,在大智慧得函数中专门用来对时间数据进行描述与引用,以满足三、引用函数引用类函数就是在公式编写过程当中经常会使用到得一类函数。

该类函数主要有两大功能,其一就是对相邻周期上得行情数据进行引用,以便计算与操作,例如使用昨天得收盘价;其二就是大智慧为方便计算,将一些经常会使用到得比较复杂得数学计算过程简化成一个简单得函数,在实际得运算过程当中,可以直接引用这些函数避免复杂得数学计算。

例如将计四、逻辑函数逻辑函数得参数或返回值为逻辑值,用0表示条件不成立,用非0表示条件成立。

五、算术函数六、统计函数统计函数主要用于对股票数据进行计统计计算,得到数据分布、趋势等方面得信息,包回归预测回归斜率线性回归如上图所示,线性回归就就是用一条线段来近似描述数据点得分布情况。

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

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

大智慧指标公式-特牛强烈推荐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);<>。

大智慧公式集锦之主图

大智慧公式集锦之主图

大智慧公式集锦之主图{三线玄机}MA3:MA(CLOSE,5),colorred;MA4:MA(CLOSE,6),colorred;MA5:MA(CLOSE,7),colorred;MA6:MA(CLOSE,8),colorred;MA7:MA(CLOSE,9),colorred;MA8:MA(CLOSE,10),colorred;MA9:MA(CLOSE,11),colorred;MA10:MA(CLOSE,12),colorred;MA11:MA(CLOSE,13),colorred;MA12:MA(CLOSE,14),colorred;MA13:MA(CLOSE,15),colorred;MA14:MA(CLOSE,21);洼: IF(MA14>MA3,MA3,MA14),coloryellow;洼1: IF(MA14>MA4,MA4,MA14),coloryellow;洼2: IF(MA14>MA5,MA5,MA14),coloryellow;洼3: IF(MA14>MA6,MA6,MA14),coloryellow;洼4: IF(MA14>MA7,MA7,MA14),coloryellow;洼5: IF(MA14>MA8,MA8,MA14),coloryellow;洼6: IF(MA14>MA9,MA9,MA14),coloryellow;洼7: IF(MA14>MA10,MA10,MA14),coloryellow; 洼8: IF(MA14>MA11,MA11,MA14),coloryellow; 洼9: IF(MA14>MA12,MA12,MA14),coloryellow; 洼10: IF(MA14>MA13,MA13,MA14),coloryellow; {可取之处在于运用IF引用函数将均线变色}====================={三线开花趋势王}线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,COLOR00F F00;线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,3 0)+MA(CLOSE,60)+MA(CLOSE,120))/6,COLOR00FF00;线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,COLOR 00FF00,linethick2;线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;Stickline(线A1>线A4,线A1,线A4,0.1,1),ColorFF0080;Stickline(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,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);STICKLINE(t1,A,A,9,0),ColorFF00FF;STICKLINE(t2,B,B,9,0),Color80FF00;STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),COLORRED;STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORFFEEAF;STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,4,0),COLORFFEEAF;线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;IF(线A1<线A3,线A3,线A1),COLORRED;线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;IF(线A2<线A3,线A3,线A2),COLORRED;线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK2;IF(线A1<线A3,线A3,线A3),COLORRED,linethick2;DRAWICON(CROSS(线A1,线A4),线A1,1);ss1:=(LOW+HIGH+CLOSE*2)/4;ss2:= MA(ss1,4);ss3:=HHV(ss2,10);ss4:=ma(ss3,3);ss5:=1.25*ss4-0.25*ss3;kki:=if(ss5>ss3,ss3,ss5);ff1:=LLV(ss2,10);ff2:=ma(ff1,3);ff3:=1.25*ff2-0.25*ff1;kkj:=if(ff3<ff1,ff1,ff3);ma13:=ma(c,13);zdhm:=cross(c,kkj) and cross(c,ma13) and cross(c,kki);zhm:=cross(c,ma13) and cross(c,kki);黑马:if(zdhm or zhm,l,h),colorwhite,pointdot;STICKLINE(zdhm or zhm,h,l,0,1),colorwhite,linethick2;STICKLINE(zdhm or zhm,o,c,4,1),colorwhite,linethick2;======================--------------------------------------------------------------------------------{乾坤线主图 AA:1 10 5 BB:1 100 15 M2:1 100 3 M22:1 100 8} MID:=MA(CLOSE,20);UPPER:=MID+2*STD(CLOSE,20);LOWER:=MID-2*STD(CLOSE,20);V1:=(CLOSE-LOWER)/(UPPER-LOWER)*100;V2:=V1-EMA(V1,5);K1:=SUM(LLV(V2,4),4)/4;V3:=EMA(V2,64)*10;V4:=EMA(0.4*V2*(-1),3);V5:=-1*EMA(V2,39)*10;A:=V3>10;B:=V2>V4;D:=V5>10;E:=V3<=10 OR V2<=V4 OR V5<=10;KS:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);RKS:=REF(KS,1);MLS:=RKS/KS>1.23 AND RKS>13 AND CLOSE/REF(CLOSE,1)>1.03;STICKLINE(C>=O AND E,H,L,0,0),COLORRED;STICKLINE(C>=O AND E,C,O,4,0),COLORRED;STICKLINE(C<O AND E,H,L,0,0),COLOR00FF00;STICKLINE(C<O AND E,C,O,4,0),COLOR00FF00;STICKLINE(O>C AND A,L,H,0,0),COLORYELLOW;STICKLINE(O>C AND A,C,O,4,0),COLORYELLOW;STICKLINE(O<=C AND A,L,H,0,0),COLORYELLOW;STICKLINE(O<=C AND A,C,O,4,1),COLORYELLOW;STICKLINE(O>C AND B,L,H,0,0),COLORRED;STICKLINE(O>C AND B,C,O,4,0),COLORRED;STICKLINE(O<=C AND B,L,H,0,0),COLORRED;STICKLINE(O<=C AND B,C,O,4,1),COLORRED;STICKLINE(O>C AND D,L,H,0,0),COLORFFCC66;STICKLINE(O>C AND D,C,O,4,0),COLORFFCC66;STICKLINE(O<=C AND D,L,H,0,0),COLORFFCC66;STICKLINE(O<=C AND D,C,O,4,1),COLORFFCC66;超跌:IF(KS>13,低,高),COLORWHITE,POINTDOT;STICKLINE(KS>13,高,低,0,1),colorwhite,linethick2;反弹:IF(MLS=1,高,低),COLORFF00FF,POINTDOT;STICKLINE(MLS=1,高,低,0,1),colorff00ff,linethick2;STICKLINE(KS>13,开,收,4,1),colorwhite,linethick2;STICKLINE(MLS=1,开,收,4,1),colorff00ff,linethick2;tj1:=SLOPE(EMA(CLOSE,2),aa)*bb+CLOSE ;s:=EMA(SLOPE(CLOSE,5)/REF(CLOSE,14),3)*302 ;t1:=BARSLAST(CROSS(CLOSE,KS));t2:=BARSLAST(CROSS(KS,CLOSE));红跟入:IF(CLOSE>KS ,REF(CLOSE,t1),REF(CLOSE,t1)),COLORRED,POIN TDOT;STICKLINE(CLOSE>KS ,REF(CLOSE,t1),REF(CLOSE,t1),1,0),line thick6,colorred;黄洗盘:IF(CLOSE>KS and CLOSE<REF(CLOSE,t1),REF(CLOSE,t1),REF(CLOSE,t1)),COLORYELL OW,POINTDOT;STICKLINE(CLOSE>KS and CLOSE<REF(CLOSE,t1),REF(CLOSE,t1),REF(CLOSE,t1),1,0),linethick 6,coloryellow;灰下跌:IF(CLOSE<KS,REF(CLOSE,t2),REF(CLOSE,t2)),COLORFFCC66,PO INTDOT;STICKLINE(CLOSE<KS,REF(CLOSE,t2),REF(CLOSE,t2),1,0),linet hick6,COLORFFCC66;鄂:REF(CLOSE,t1),linethick1,colorblue;圆圈:REF(CLOSE,t2),linethick1,colorwhite;================================{黄金箱 n1:0 100 4}上收:=c;上开:=o;上高:=h;上低:=l;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,N1);B:=REF(A,1);智能黄金线:A,POINTDOT,COLORYELLOW;B,POINTDOT,COLORYELLOW;STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;VA1:=EMA(上收,8);VA2:=EMA(上收,20);DRAWTEXT(CROSS(VA2,VA1),h,''★''),COLORYELLOW;DRAWTEXT(CROSS(VA2,VA1),h+0.09,''止损''),COLORYELLOW;DRAWTEXT(CROSS(VA1,VA2),L,''★''),COLORWHITE;DRAWTEXT(CROSS(VA1,VA2),L-0.09,''买入''),COLORWHITE;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);箱底A:=MA(REF(LLV(上收,3),1),3);t1:=MA(上收,20)>=REF(MA(上收,20),1);t2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND t1;t3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;t4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;t5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;DRAWICON(t2 OR t4,l,1);DRAWICON(t3 OR t5,h,2);Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=SMA(Var3,3,1);DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底,''逢低吸呐''),COLORf00ff0;DRAWTEXT(CROSS(Var4,Var3) AND Var4>75 ,箱顶*1.02,''逢高减磅''),COLORf0f000;======================={垂帘听股主图}MA5:=MA(C,5);a:=(3*c+l+o+h)/6;垂帘:(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref( a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10) +9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15) +4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210,COLORR ED,POINTDOT;听股:ma(垂帘,13),colorffcccc,circledot;zar1:=SLOPE(EMA(CLOSE,2),5)*15+C;zar2:=EMA(zar1,5);zarA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(zar2,5),5), 5),5),5),5),5),5);zarB:=BARSLAST(CROSS(CLOSE,zarA));zarC:=BARSLAST(CROSS(zarA,CLOSE));STICKLINE(CLOSE<zarA,REF(CLOSE,zarC),REF(CLOSE,zarC),1 2,0),linethick2,colorFFCCCC;上涨:if(CLOSE>zarA ANDCLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB)),COL ORFFC8FF,pointdot;STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),垂帘,1,0),colorFFC8FF;STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB),12,0), COLORFFC8FF,LINETHICK2;止盈止损:IF(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),REF(CLOSE,zarC)),COL OR00FF00,POINTDOT;STICKLINE(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),垂帘,1,0),COLOR00FF00;VAR41:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);VAR4A:=REF(VAR41,1)>92 AND VAR41<92;DRAWTEXT(VAR4A,H+0.12,''短卖''),COLOR00FF00;DRAWTEXT(VAR4A,H+0.05,''●''),COLOR00FF00;STICKLINE(C>=O,H,L,0,0),colorred;STICKLINE(C<O,H,L,0,0),colorFFFF52;STICKLINE(C>=O,C,O,4,1),colorred;STICKLINE(C<O,C,O,4,0),colorFFFF52;MA13:MA(C,13),COLORWHITE,LINETHICK2;MA55:MA(C,55),COLORFF00FF;MA125:MA(C,125),COLORFFCC66;MA250:MA(C,250),COLORBLUE;STICKLINE(cross(ma5,听股) and ma5>听股and c>o,ma13,ma13-0.09,4,0),coloryellow;DRAWTEXT(cross(ma5,听股) and ma5>听股and c>o,ma13-0.12,''垂帘听股''),coloryellow;{这个指标的图形比较形象,当浅粉色帘低垂时正是阳光普照之时,反映在股票上就是一波阳多阴少开始上升的趋势,如果出现垂帘听股信号,这个时候买入再加上有浅粉色垂帘相映一定会心情不错吧!当绿色帘低垂时,预示着明媚的阳光即将被乌云遮盖,随之而来的阴雨绵绵,反映在股票上就是阴多阳少或者连续阴跌,这可不是踏青赏绿的时候,而是止盈止损保住钱袋子,这才是英明的选择,此时应该结束垂帘听股.}==============================={卷帘操作}Var2:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);Var3:=EMA(Var2,3);Var4:=EMA(Var3,3);Var5:=EMA(Var4,3);Var6:=EMA(Var5,3);Va7:=EMA(Var6,3);VAR7:=EMA(Va7,3);VA8:=EMA(VAR7,3);Var8:=EMA(VA8,3);Var9:=EMA(Var8,3);VarA:=BARSLAST(CROSS(CLOSE,Var9));VarB:=BARSLAST(CROSS(Var9,CLOSE));卷帘操作:IF(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LORFFC8FF,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1,00,1),COLORF FC8FF;强:IF(CLOSE<Var9 ANDCLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),REF(CLOSE,VarB)),COL OR0099FF,POINTDOT;STICKLINE(CLOSE<Var9 AND CLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),HIGH*1,0,1),COLOR00 FF00;势:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LORWHITE,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1.02,0,1),COLOR FFCCCC;垂帘休息:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LOR00ff00,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA),6,1), COLOR00FF00;沉:IF(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB)),ColorB 3B3B3,POINTDOT;STICKLINE(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB),1 6,0),ColorB3B3B3,linethick2;STICKLINE(CLOSE>Var9,REF(CLOSE,VarA),REF(CLOSE,VarA),1 6,0),COLORBLUE,linethick2;STICKLINE(C>=O,H,L,0,0),colorred;STICKLINE(C<O,H,L,0,0),colorFFFF52;STICKLINE(C>=O,C,O,4,1),colorred;STICKLINE(C<O,C,O,4,0),colorFFFF52;x5:HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CL OSE,4))/4,5),COLOR00FF00;x10:HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10),COLORyellow;x20:HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(C LOSE,6))/4,20),COLORFF00FF;BY:=CROSS(C,X5) AND CROSS(C,X10) AND CROSS(C,X20) AND C/REF(C,1)>1.015;BH:=CROSS(X5,X10) AND C>O;STICKLINE(BY OR BH,L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(BY OR BH,L-0.12,''操作''),COLORYELLOW;DDC:=CROSS(X5,C) AND CROSS(X10,C) AND CROSS(X20,C);DRAWTEXT(DDC,H+0.15,''●''),COLOR00FF00;{指标要点:卷帘操作,垂帘休息.指标原理:X5、X10、X20均线依次取前4天平均值的5、10、20天最高值,通过运算显示出不同于其它均线运行的趋势,当三条均线由下或由上发散粘合时,股价在不同周期内的最高值趋于一致,股价变动的几率比较大。

大智慧VIP公式集

大智慧VIP公式集

二、屠龙刀varA1:=amount/vol;varA2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5); VarA111:="h000001$VOL"*"h000001$CLOSE";VarA21:=EMA(VarA111,5)/EMA("h000001$VOL",5); CYS:=("h000001$CLOSE"-VarA21)/VarA21*100;A1:=varA1/100;A2:=MA(A1,5);A3:=MA(A1,20);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9>100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF (INDEXC,1))/INDEXC,8,1)*100-25;VAR15:=MA(Var14,3);VAR16:=REF(VAR15,1);STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),COLORRED;STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLORgreen;生命线:=EMA(VAR13,5);STICKLINE(cross(VAR13,VAR12) and VAR12>60,80,100,8,0),COLOR00ff00;绿灯亮卖:0,color00ff00;STICKLINE(cross(VAR12,VAR13) and VAR12>VAR13 and VAR12<18,20,0,8,0),COLORRED; 红灯亮买:0,colorred;Var21:=INDEXC;Var22:=MA(Var21,6);Var23:=MA(Var21,24);Var24:=MA(Var21,32);Var25:=MA(Var21,62);Var26:=MA(Var21,105);Var27:=Var25<REF(Var25,1) AND Var26<REF(Var26,1) AND Var25<Var26*0.98;Var28:=Var24>Var22*1.11 AND Var23>Var22*1.095;Var29:=Var22>Var21*0.95;抄底A:= Var27 AND Var28 AND Var29 AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN;{抄底1:}STICKLINE(抄底A,40,60,1,1),colorff00ff;抄底1:0,colorff00ff;Var2A:=CLOSE/MA(CLOSE,40)*100<78;Var2B:=CLOSE/MA(CLOSE,60)*100<74;Var2C:=HIGH>LOW*1.051;Var2D:=Var2C AND COUNT(Var2C,5)>1;Var2E:=Var2D AND (Var2A OR Var2B);Var2F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var30:=(CLOSE-Var2F)/Var2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Var31:=(CLOSE-REF(CLOSE,5))/CLOSE*100<-9;Var32:=WINNER(CLOSE);Var33:=EMA((INDEXC-MA(INDEXC,10))/INDEXC*100,14)<-4.9;Var34:=(MA(VOL,5)-VOL)/CAPITAL*100<0.8;Var35:=(VOL-MA(VOL,21))/VOL*100;抄底B:= Var33 AND Var31 AND Var32<0.12 AND Var34 AND Var35>18;{抄底2:}STICKLINE(抄底B,40,60,3,1),coloryellow;抄底2:0,coloryellow;Var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;VD:=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);VE:=REF(L,1)*0.9;VF:=L*0.9;V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;V11:=EMA(V10,30);V12:=V11-C;V13:=REF(C,1);V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;V16:=BARSCOUNT(C);V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;V1A:=(SMA(V19,4,1)-50)*2;V1B:=SMA(V1A,3,1);V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;V1D:=SMA(V1C,4,1);V1E:=SMA(V1D,3,1);V1F:=(HHV(H,30)-C)/C*100;V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);大趋势: V3;顶线: IF(VB<90,VB,100);多方: IF(V1>0,V1,0),LINESTICK;空方: -IF(V1<0,V2,0),LINESTICK;抄底: V20,colorred,linethick2;预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200AND V6<=-150,-15,V9))+65);STICKLINE(V3<=REF(V4,1),V3,V4,8,0),colorwhite;STICKLINE(V3>REF(V4,1),V3,V4,8,0),colorred;t1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);t2:=C; t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);t8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; 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;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(S MA((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>=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,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*S MA(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*S MA(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)*10 0;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<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60;STICKLINE(VAR6,40,50,7,0),COLOR1078B4,LINETHICK2; STICKLINE(VAR6,40,50,6,0),COLOR1088B4,LINETHICK2; STICKLINE(VAR6,40,50,5,0),COLOR1098B4,LINETHICK2; STICKLINE(VAR6,40,50,4,0),COLOR10A8B4,LINETHICK2; STICKLINE(VAR6,40,50,3,0),COLOR10B8B4,LINETHICK2; STICKLINE(VAR6,40,50,2,0),COLOR10C8B4,LINETHICK2; STICKLINE(VAR6,40,50,1,0),COLOR10D8B4,LINETHICK2; STICKLINE(VAR5,30,40,8,0),COLOR102070,LINETHICK2; STICKLINE(VAR5,30,40,7,0),COLOR102080,LINETHICK2; STICKLINE(VAR5,30,40,6,0),COLOR102090,LINETHICK2; STICKLINE(VAR5,30,40,5,0),COLOR1020A0,LINETHICK2; STICKLINE(VAR5,30,40,4,0),COLOR1020B0,LINETHICK2; STICKLINE(VAR5,30,40,3,0),COLOR1020C0,LINETHICK2; STICKLINE(VAR5,30,40,2,0),COLOR1020D0,LINETHICK2; STICKLINE(VAR5,30,40,1,0),COLOR1020E0,LINETHICK2; STICKLINE(VAR4,20,30,8,0),COLOR105510,LINETHICK2; STICKLINE(VAR4,20,30,7,0),COLOR106610,LINETHICK2; STICKLINE(VAR4,20,30,6,0),COLOR107710,LINETHICK2; STICKLINE(VAR4,20,30,5,0),COLOR108810,LINETHICK2; STICKLINE(VAR4,20,30,4,0),COLOR109910,LINETHICK2; STICKLINE(VAR4,20,30,3,0),COLOR10AA10,LINETHICK2; STICKLINE(VAR4,20,30,2,0),COLOR10BB10,LINETHICK2; STICKLINE(VAR4,20,30,1,0),COLOR10CC10,LINETHICK2;{大盘均线} VAR7:=EMA(INDEXV,5);VAR8:=EMA(INDEXV,10);VAR9:=EMA(INDEXV,20);VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;STICKLINE(VAR12,70,80,8,0),COLOR108010,LINETHICK2; STICKLINE(VAR12,70,80,7,0),COLOR109010,LINETHICK2; STICKLINE(VAR12,70,80,6,0),COLOR10A010,LINETHICK2; STICKLINE(VAR12,70,80,5,0),COLOR10B010,LINETHICK2; STICKLINE(VAR12,70,80,4,0),COLOR10C010,LINETHICK2; STICKLINE(VAR12,70,80,3,0),COLOR10D010,LINETHICK2; STICKLINE(VAR12,70,80,2,0),COLOR10E010,LINETHICK2; STICKLINE(VAR12,70,80,1,0),COLOR10F010,LINETHICK2; STICKLINE(VAR11,60,70,8,0),COLORFF45FF,LINETHICK2; STICKLINE(VAR11,60,70,7,0),COLORFF55FF,LINETHICK2; STICKLINE(VAR11,60,70,6,0),COLORFF65FF,LINETHICK2; STICKLINE(VAR11,60,70,5,0),COLORFF75FF,LINETHICK2; STICKLINE(VAR11,60,70,4,0),COLORFF85FF,LINETHICK2; STICKLINE(VAR11,60,70,3,0),COLORFF95FF,LINETHICK2; STICKLINE(VAR11,60,70,2,0),COLORFFA5FF,LINETHICK2;Var17:EMA((Var11-Var13)/(Var16-Var13)*100,8);巫修全制: Var17, ,coloryellow ;Var18:=EMA(Var17,5);STICKLINE(Var17>0 AND Var17-Var18>=0,79,80,6,0), ,colorred ;STICKLINE(Var17>0 AND Var17-Var18<0,79,80,6,1), ,color00ff00 ;STICKLINE(Var17>0 AND Var17-Var18>=0,19,20,6,0),colorred, ;STICKLINE(Var17>0 AND Var17-Var18<0,19,20,6,1), ,color00ff00 ;STICKLINE(Var17-Var18>0,Var17,Var18,8,1), ,colorred ;STICKLINE(Var17-Var18<0,Var17,Var18,8,1), ,color00ff00 ;Var22:=REF(LOW,1);Var23:=SMA(ABS(LOW-Var22),3,1)/SMA(MAX(LOW-Var22,0),3,1)*100;Var24:=EMA(IF(CLOSE*1.3,Var23*10,Var23/10),3);Var25:=LLV(LOW,30);Var26:=HHV(Var24,30);Var27:=IF(MA(CLOSE,58),1,0);Var28:=EMA(IF(LOW<=Var25,(Var24+Var26*2)/2,0),3)/618*Var27;Var29:=IF(Var28>100,100,Var28);STICKLINE(Var29>-150,0,Var29,3,0), , colorff00ff;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , color00ff00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , colorff00ff;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , colorffffff;Vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Vark2:=REVERSE(Vark1);Vark3:=SMA(Vark1,3,1);波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(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);散户:=MA(WINNER(CLOSE*0.95)*100,3);新庄:=(100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0));VarD:=散户>Var4;VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=CLOSE-REF(CLOSE,1);Var13:=MAX(Var12,0);Var14:=ABS(Var12);Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;Var17:=BARSCOUNT(CLOSE);Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1B:=SMA((SMA(Var1A,4,1)-50)*2,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:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50;Var21:=(HIGH+LOW+CLOSE)/3;Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70));Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0);Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24);断子绝生:= IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50;drawicon(VarD,high,2);drawtext(Var20,c,'★'),coloryellow;DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,c*1.01,'有钱不赚傻'), COLORYELLOW;DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,high*1.01,'赚钱我走啦'),color00ff00;Var26:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var27:=REVERSE(Var26);Var28:=SMA(Var26,3,1);波段王:= SMA(Var28,3,1);波段鬼:= SMA(波段王,3,1);地狱:drawicon(CROSS(波段王,波段鬼) AND 波段王<40,low,1);天堂: drawicon(CROSS(波段鬼,波段王) AND 波段鬼>75,high,2);DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,low*1.01,'低吸做波段'), COLORWHITE;。

大智慧会员极品公式大全

大智慧会员极品公式大全

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

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

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

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

大智慧200000元精品公式

大智慧200000元精品公式
zai:=filter(varf1 and varf2,2);
drawtext(zai,均衡,' →◆●¤主升行情'),colorff00ff;
vv2:=ref(close,1);
vv3:=sma((close-vv2),6,1)/sma(abs(close-vv2),6,1)*100;
drawicon(ref(vv3,1)>81 and vv3<80,high,2);
drawtext(ref(vv3,1)>81 and vv3<80,high,' →◆●沽空↓'),coloryellow;
vf1:=ma(close,60)-ma(close,5)/3.2;
drawtext(if(close<vf1 and vol/240>ma(vol,5)/240 and close>=ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0),low,'☆'),colorred;
var1:=(high+low+openar1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
hy3:=if(count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0);
varr1:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;

大智慧最佳组合公式

大智慧最佳组合公式

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

大智慧指标公式源码精品打包

大智慧指标公式源码精品打包

猎庄+买入信号Var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;Var4:=EMA(IF(CLOSE*1.2,Var3*10,Var3/10),3);Var5:=LLV(LOW,38);Var6:=HHV(Var4,38);Var7:=IF(LLV(LOW,90),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;有庄的影子: STICKLINE(V ar8,0,Var8,6,1) , COLORffaaff;趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORaabbdd;aa:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-30) and 趋势线>=ref(趋势线,1)) or (ref(cross(-30,趋势线),1) and cross(趋势线,-30)) or 趋势线=-30;drawtext(aa,500,'砸锅卖田买'),coloryellow;砸锅卖田买:if(aa,500,-30),coloryellow;bb:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-20 and 趋势线>-25) and 趋势线>=ref(趋势线,1)) or (ref(cross(-20,趋势线),1) and cross(趋势线,-20));drawtext(bb,300,'见底信号'),colorred;见底信号:if(bb,300,-20),colorred;cc:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-25 and 趋势线>-30) and 趋势线>=ref(趋势线,1)) or (ref(cross(-25,趋势线),1) and cross(趋势线,-25));drawtext(cc,400,'莫错失机会'),color00ff00;莫错失机会:if(cc,400,-25),color00ff00;底部快显:if(cross(-20,趋势线),100,-20),linethick2,colorf0f000;drawtext(cross(-20,趋势线),120,'★'),colorf0f000;机会来临:if(cross(-25,趋势线),150,-25),linethick2,colorf00ff0;drawtext(cross(-25,趋势线),170,'★'),colorf00ff0;砸锅卖田等:if(cross(-30,趋势线),200,-30),linethick2,colorwhite;drawtext(cross(-30,趋势线),220,'★'),colorwhite;{见底信号:}-20,colorred,pointdot;{莫要错失机会:}-25,colorlime,pointdot;{砸锅卖田等着你:}-30,coloryellow,pointdot;皇赐桥杯——庄家的馈赠{皇赐桥杯}V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(V AR2,3,1),3,1)/28.57;V AR4:=EMA(VAR3,5);V AR5:=3*VAR3-2*V AR4;AA:=CROSS(VAR5,V AR3) AND V AR3<2.1 and c>o;var6:=(2*CLOSE+HIGH+LOW)/4;var7:=LLV(LOW,13);var8:=HHV(HIGH,13);var9:=EMA((var6-var7)/(var8-var7)*100,13);varA:=EMA(0.667*REF(var9,1)+0.333*var9,2);多:var9,COLORRED,POINTDOT;空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00; STICKLINE(var9>varA,var9,varA,6,0), COLORWHITE; STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66; {皇赐桥杯画图源码}STICKLINE(AA,0,30,40,1),coloryellow;STICKLINE(AA,16,29,38,0),colorgreen;STICKLINE(AA,1,14,38,0),colorgreen;STICKLINE(AA,15,15,40,1),coloryellow;STICKLINE(AA,30,50,10,0),coloryellow;STICKLINE(AA,53,55,10,1),colorred;STICKLINE(AA,57,59,10,1),colorred;STICKLINE(AA,61,63,10,1),colorred;STICKLINE(AA,65,67,10,1),colorred;STICKLINE(AA,69,75,12,0),colorffcccc;DRAWTEXT(AA,85,'皇赐桥杯'),coloryellow;DRAWTEXT(AA,26,'人头马'),coloryellow;DRAWTEXT(AA,12,'OK'),coloryellow;大智慧特色指标——强弱分明强势线:2,linethick2,ColorFF00FF;准强线:1.3,linethick1,Colorblue;up:=( c > o or c > ref(c,1)) and v > ref(v,1);aa:=count(up,3)=3;bb:=llv(l,5)=llv(l,120);cc:=c > ma(c,3);llt:=aa and bb and cc;{头部}v1:=llv(low,10);v2:=hhv(h,25);警戒线:3.1,linethick3,Color00FFFF;高抛线:3.5,linethick2,Color0000FF;指导线:ema((c-v1)/(v2-v1)*4,4),color00FF00;m5:=ma(指导线,5);低吸线:0.3,linethick1,colorwhite;Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(V ar3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND V arE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (V ar10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND V ar11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V ar18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (V arF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;大底区域: ( Var1C OR Var1D )*3,linethick2,colorred;新编布林通道——买卖点信号提示BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,colorwhite;UPR:BBI+P*STD(BBI,N),coloryellow;DWN:BBI-P*STD(BBI,N),colorff00ff;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;V ARA:=((AMOUNT)/(VOL))/(100);V ARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);V ARC:=((SUM(AMOUNT,7))/(V ARA))/(100);V ARD:=DMA(V ARB,(VOL)/(V ARC));V ARE:=((CLOSE-V ARD)/(V ARD))*(100);V ARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);V ARJ:=MA(V ARE,20)+STD(V ARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(V ARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(V ARJ,V ARE) AND (aa>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(V ARJ,V ARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;DRAWTEXT(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),LOW,'卖▲出' ),COLORYELLOW;DRAWTEXT(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),LOW,'买★入'),COLORred;精品收费指标原码:盘中参谋精品收费指标原码:盘中参谋(准确率极高)智囊系列之"盘中参谋"(用于大智慧。

大智慧量化公式

大智慧量化公式

大智慧量化公式
以下是大智慧股票指标公式:
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表示前一日的收盘价。

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

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

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

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

大智慧公式多年收集的大智慧指标公式(源码)

大智慧公式多年收集的大智慧指标公式(源码)

漓江渔歌VarA:=MA(CLOSE,20);RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));K:=SMA(RSV,5,1);D:=SMA(K,3,1);D2:=SMA(K,2,1);t1:=(3*K-2*D)*100;天空:STICKLINE(t1,0,120,0.5,0),COLORFFFFFF;山:=(3*K-2*D)*100;桂山:STICKLINE(山,0,山,5,0),COLOR00FFDD;STICKLINE(山,0,山*0.95,5,0),COLOR00FFBB;STICKLINE(山,0,山*0.88,5,0),COLOR00FF99;STICKLINE(山,0,山*0.8,5,0),COLOR00DD99;STICKLINE(山,0,山*0.71,5,0),COLOR00BB99;STICKLINE(山,0,山*0.6,5,0),COLOR00AA99;STICKLINE(山,0,山*0.5,5,0),COLOR009999;STICKLINE(山,0,山*0.4,5,0),COLOR008899;t2:=((100-山)-100)*2/3;漓江水:STICKLINE(t2,懒旅呐魄壬仕掏COLORCCFF00;倒影:t2,COLOR00FFCC,STICK;STICKLINE(倒影,0,倒影*4/5,0.1,0),COLOR00CC99;STICKLINE(倒影,0,倒影*3/5,0.1,0),COLOR009999;STICKLINE(倒影,0,倒影*2/5,0.1,0),COLOR006699;顶线:=100-((HIGH-VarA)/VarA);RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1:=SMA(RSV2,3,1);Var2:=SMA(Var1,3,1);买入:=Var1<16 and Var2<21 ;卖出预警:=t1>=88 or 顶线<=90;卖出:=CROSS(顶线,t1) or CROSS(90,t1);t3:=买入;打渔船:DRAWTEXT(FILTER(t3,2),山-45,'︼'),COLOR0000FF,LINETHICK2; t4:=卖出预警or 卖出;南归雁:DRAWTEXT(FILTER(t4,2),山+10,'>'),COLORFFFF00;示例 2一个副图公式:《雨季彩虹》ys1:=(high+low+close*2)/4;rk3:=ema(ys1,10);rk4:=std(ys1,10);rk5:=(ys1-rk3)*100/rk4;rk6:=ema(rk5,5);rk7:=ema(rk6,10);涨:ema(rk6,10)+100/2-5,linethick1,colorred;跌:ema(涨,4),linethick1,colorwhite;天晴:if(cross(涨,跌) and 跌<-10,30,0),linethick1,colorccccff;雨季:if(cross(跌,80),70,100),color0099ff,linethick1;彩虹1:ema(跌,4),colorf00ff0;彩虹2:ema(彩虹1,4),colorgreen;彩虹3:=ema(彩虹2,4),coloryellow;彩虹4:=ema(彩虹3,4),colorcc9900;-10,pointdot,color888888,linethick2;80,pointdot,color888888,linethick2;stickline(涨> ref(涨,1),涨,ema(涨,3),0,0) ,color00bbff;stickline(涨> ref(涨,1),涨,ema(涨,3),8,0) ,color0011ff;stickline(涨> ref(涨,1),涨,ema(涨,3),7,0) ,color0022ff;stickline(涨> ref(涨,1),涨,ema(涨,3),6,0) ,color0044ff;stickline(涨> ref(涨,1),涨,ema(涨,3),5,0) ,color0066ff;stickline(涨> ref(涨,1),涨,ema(涨,3),4,0) ,color0088ff;stickline(涨> ref(涨,1),涨,ema(涨,3),3,0) ,color0099ff;stickline(涨> ref(涨,1),涨,ema(涨,3),2,0) ,color00aaff;stickline(涨> ref(涨,1),涨,ema(涨,3),1,0) ,color00bbff;drawicon(天晴,30,1),color0000ff;drawicon(cross(跌,80),70,2),colorgreen;drawtext(cross(涨,跌) and 跌<20 and 跌>-10,40,'停雨多云'),colorccff99; drawtext(天晴>0,-20,'天晴'),color0000ff;var11:=sumbars(vol,finance(7)*100);var22:=dma(ema(close,12),sum(vol,5)/3/capital);var3:=(close-var22)/var22*100;var4:=hhv(var3,var11);var5:=llv(var3,var11);var6:=(var3-var5)/(var4-var5)*100;k:=sma(var6,3,1);d:=sma(k,3,1);j:=3*k-2*d;ma1:=ma(j,3),colorgreen;stickline(filter(j>ma1 and j<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow; drawtext(filter(j>ma1 and j<=3,5)=1 and 跌<0,60,'注意'),colorffffff;。

大智慧指标公式

大智慧指标公式

大智慧指标公式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。

大智慧精品公式

大智慧精品公式

大智慧公式大三浪{大三浪指标使用说明:均线粘合且多头,长期未涨庄吸筹;目标锁定先跟踪,出击买入等丰收!}{N:30,120,65;}MA5:=MA(CLOSE,5);MA21:=MA(CLOSE,21);MA65:=MA(CLOSE,65);多头:=COUNT(MA21>MA65,10)=10;GX:=MAX(MA5,MAX(MA21,MA65));DX:=MIN(MA5,MIN(MA21,MA65));粘合:=ABS(GX/DX-1)*100<=15;多头粘合:IF(多头 AND 粘合,1,0),COLORFF00FF,POINTDOT,LINETHICK0;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);庄股:COUNT(MACD<0,10)=10,COLORFFFF00,POINTDOT,LINETHICK0;目标:IF(多头 AND 粘合 AND 庄股,5,0),COLORFFFFFF,LINETHICK2;跟踪:IF(目标,BARSLAST(CROSS(目标,0))+1,0),COLOR00FF00,POINTDOT,LINETHICK2;出击:IF(CROSS(0.1,目标) AND CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK2;MJSJ:=BARSLAST(出击);涨幅:IF(MJSJ<=120,(C/REF(C,MJSJ)-1)*100,0),COLOR0000FF,POINTDOT,LINETHICK0;日涨:IF(MJSJ<=120,涨幅/MJSJ,0),COLORFFFFFF,POINTDOT,LINETHICK0;TPX:=MIN(MA65*1.15,MA21*1.13);突破:IF(CROSS(C,TPX) AND 粘合 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK2; {以下设置副图显示方式}STICKLINE(多头粘合,0,1,8,0),COLORFF00FF;STICKLINE(庄股,0,MACD*10,8,0),COLORFFFF00;DRAWTEXT(出击,10,'★买'),COLOR00FFFF;VERTLINE(CROSS(涨幅,20) AND COUNT(CROSS(涨幅,20),MJSJ)=1,2),COLOR0000FF;{简单趋势指标使用说明:短线涨幅成趋势,超涨挖坑寻价值;最爱关注拉升段,超跌跟踪养马池.}DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));ZF:=(C/REF(C,1)-1)*100;趋势:SUM(ZF,3),COLORFFFFFF,LINETHICK2;PARTLINE(趋势,趋势>REF(趋势,1) AND 趋势>=0,RGB(255,0,0),趋势<REF(趋势,1) AND 趋势>0,RGB(0,255,0)),LINETHICK2;超涨:IF(MA(ZF,3)>=5,15,0),COLOR0000FF;WK:=趋势=LLV(趋势,4) AND 趋势-HHV(趋势,4)<=0-20 AND HHV(趋势,4)>=8;挖坑:IF(WK,0-10,0),COLOR00FFFF;超跌:IF(MA(ZF,3)<=0-5,0-15,0),COLOR00FF00;CZSJ:=BARSLAST(超涨=15);CDSJ:=BARSLAST(超跌=0-15);CZQY:=CZSJ<=8 AND CZSJ<=CDSJ AND COUNT(MA(趋势,3)>=0-5,CZSJ)=CZSJ;CDQY:=CDSJ<=8 AND CDSJ<=CZSJ AND COUNT(MA(趋势,3)<=5,CDSJ)=CDSJ;关注期:IF(CZQY,CZSJ+1,0),COLORFF00FF,POINTDOT;跟踪期:IF(CDQY,0-CDSJ-1,0),COLORFF8800,POINTDOT;{以下设置副图显示方式}STICKLINE(CZQY,REF(趋势,CZSJ),REF(趋势,CZSJ),8,1),COLORFF00FF;STICKLINE(CDQY,REF(趋势,CDSJ),REF(趋势,CDSJ),8,1),COLORFF8800;VERTLINE(超涨=15,2),COLOR0000FF;VERTLINE(超跌=0-15,2),COLOR00FF00;{DF:3,10,5;DF表示涨停信号出现后的短期跌幅,低吸信号使用。

大智慧指标公式集

大智慧指标公式集

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

大智慧指标公式函数大全

大智慧指标公式函数大全

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

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

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

很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):一、专吸庄血(公式源码)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;。

大智慧 中的高级公式

大智慧 中的高级公式

大智慧1号称年费200万的(主图)源码公式:V AR1:=MA(CLOSE,5);V AR2:=MA(CLOSE,10);V AR3:=MA(CLOSE,20);V AR4:=MA(CLOSE,30);V AR5:=MA(CLOSE,60);F1:=V AR1>REF(V AR1,1);F2:=V AR2>REF(V AR2,1);F3:=V AR2>REF(V AR2,1);F4:=V AR2>REF(V AR2,1);F5:=V AR2>REF(V AR2,1);x1:=EMA(C,7);drawtext(filter(var3 and var2 and count(x1<ref(x1,1),5)>2 and x1>ref(x1,1),3),l-0.01,'短↑进'),ColorFFFFFF; LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(75,RSI) , HIGH*1.035,' '),Color00FF00;B1:=REF(CLOSE,1);B2:=REF(CLOSE,2);B3:=REF(CLOSE,3);B4:=REF(CLOSE,4);CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3); STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,8,0),COLOR000099;STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,5,0),COLOR0000BB;STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 ORB2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,3,0),COLOR0000FF;STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,8,0),COLOR000099;STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,5,0),COLOR0000BB;STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,3,0),COLOR0000FF;STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,8,0),COLOR009900;STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,5,0),COLOR00BB00;STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 ORB2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 ANDCLOSE<B2,B1,CLOSE,3,0),COLOR00FF00;STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,8,0),COLOR009900;STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,5,0),COLOR00BB00;STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,3,0),COLOR00FF00;STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,8,0),COLORFF9900;STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,5,0),COLORFFBB00;STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,3,0),COLORFFFF00;STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,8,0),COLOR000099;STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,5,0),COLOR0000BB;STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,3,0),COLOR0000FF;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) ,POINTDOT ,Color00FFFF;STICKLINE(t1,A,A,5,0),ColorFF00FF;波谷:IF(t2,B,B),POINTDOT,Color80FF00;STICKLINE(t2,B,B,5,0),Color80FF00;。

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

大智慧会员极品公式大全本人使用过的大智慧公式,效果较好,现集中转发,方便股友大智慧] 绝佳指标----动量线{N1=5 N2=10 }Var1:=AMOUNT/(100*VOL);Var2:=WINNER(C*0.95)*(100-LFS)*MA(Var1,13)/MA(C,13);EM:MA(2*Var2,2),colorff00ff,linethick2;MA1:MA(EM,N1),color00cc00;MA2:MA(EM,N2),colorf0f000;天线:100,color6633FF,pointdot,linethick2;地线:0,color888888,linethick2;用法:1,低位三线金叉买进,通常在行情展开主升段时提前发出买入信号,高位死叉卖出,往往在没有大跌之前已发现信号.2,顶背离警惕,表示量能不足.但往往个股还会有冲高的过程才见顶,让你提前预知顶部的来临,可卖在高位而从容退出.3,个股长期下跌后动量线可能会变成0,一旦由小于1变成大于1的时候是超跌反弹的真正启动,这时介入可稳定获利.4,个股收阴而动量线上行,是绝佳的买入时机,往往能让你体会买入后就大涨的快乐.准确率99%以上.5,动量线冲过天线,表示短线超买,将见顶回落.准确率90%以上.(大牛股不适用,熊市准确无误).价值连城的特殊会员专用指标(dzh)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>0 and ref(o,1)/ref(c,1)>1.04 and ref(l,1)<=688 and o>ref(c,1)and c<ref(o,1)and c/o>=1.01,l-l*0.02,'★<--极品绝底初现'),linethick1;DRAWTEXT(c-o>=0 and o/l>1.05 and l<=llv(l,20),l,'★<--极品绝底'),colorblue, linethick1;q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;q3:=SMA(q2, 9, 1);q4:=SMA(q3, 3, 1);特殊会员专用:3*q3-2*q4,colorwhite,linethick2;q8:=HHVBARS(HIGH, 50);q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100;跨越:EMA(q3, 3),COLORRED;DRAWTEXT(CROSS(特殊会员专用, 8) AND q10<-13,20,'*大底来'),coloryellow,linethick5; DRAWTEXT(CROSS(特殊会员专用, 93) AND q10<-13,40,'*大底'),linethick5;DRAWTEXT(CROSS(跨越, 特殊会员专用) AND ref(特殊会员专用,1)>80, ref(特殊会员专用,3), '*顶'),COLORRED,linethick5;Var12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线: SMA(Var12,3,1),colorgreen,linethick2;大底来: 0,POINTDOT;大底: 0,POINTDOT;DRAWTEXT(cross(跨越,机构做空能量线) ,大底+40,'进入强势区域'),coloryellow,linethick1; DRAWTEXT(cross(特殊会员专用,跨越) ,大底+20,'进入拉升区域'),linethick1;DRAWTEXT(cross(跨越,特殊会员专用) ,大底+70,'注意调整'),COLORFFAA66,linethick1;●注意买入点: DRAWTEXT(REF(CROSS(机构做空能量线,跨越),25) AND 机构做空能量线>1.005*跨越,跨越,'●<-注意买入点'),COLORBLUE,linethick1;★逢低买入: DRAWTEXT(REF(CROSS(跨越,特殊会员专用),82) AND 跨越>1.3*特殊会员专用,特殊会员专用,'★<<-逢低买入'),linethick1;★低买: DRAWTEXT(REF(CROSS(特殊会员专用,跨越),1) AND 特殊会员专用>1.3*跨越,跨越,'★低买'),COLORRED,linethick1;红买绿卖{红买绿卖n:1 100 9 m1:1 100 3 m2:1 100 3 m3:1 100 5}RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;FASTK:=SMA(RSV,M1,1);K:SMA(FASTK,M2,1);D:SMA(K,M3,1),colorwhite;A1:=LLV(low,999999);A2:=HHV(high,999999);A3:=100/(A2-A1);80,pointdot,linethick2;20,pointdot,linethick2;V AR1:=HHV(HIGH,9)-LLV(LOW,9);V AR2:=HHV(HIGH,9)-CLOSE;V AR3:=CLOSE-LLV(LOW,9);V AR4:=V AR2/VAR1*100-70;V AR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;V AR6:=(2*CLOSE+HIGH+LOW)/4;V AR7:=SMA(V AR3/V AR1*100,3,1);V AR8:=LLV(LOW,34);V AR9:=SMA(V AR7,3,1)-SMA(V AR4,9,1);V AR10:=IF(VAR9>100,V AR9-100,0);V AR11:=HHV(HIGH,34);V AR12:=EMA((V AR6-V AR8)/(V AR11-V AR8)*100,13);V AR13:=EMA(0.667*REF(V AR12,1)+0.333*V AR12,2);V AR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;V AR15:=MA(Var14,3);V AR16:=REF(VAR15,1);STICKLINE(V AR12-V AR13>0,V AR12,V AR13,8,0),COLORRED;STICKLINE(V AR12-V AR13<0,V AR12,V AR13,8,0),COLORgreen;生命线:=EMA(V AR13,5);STICKLINE(cross(V AR13,V AR12) and V AR12>60,80,100,8,0),COLOR00ff00;绿灯亮卖:0,color00ff00;STICKLINE(cross(V AR12,V AR13) and V AR12>V AR13 and V AR12<18,20,0,8,0),COLORRED; 红灯亮买:0,colorred;Var21:=INDEXC;Var22:=MA(Var21,6);Var23:=MA(Var21,24);Var24:=MA(Var21,32);Var25:=MA(Var21,62);Var26:=MA(Var21,105);Var27:=Var25<REF(Var25,1) AND V ar26<REF(Var26,1) AND Var25<Var26*0.98;Var28:=Var24>Var22*1.11 AND Var23>Var22*1.095;Var29:=Var22>Var21*0.95;抄底A:= Var27 AND Var28 AND Var29 AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN; {抄底1:}STICKLINE(抄底A,40,60,1,1),colorff00ff;抄底1:0,colorff00ff;Var2A:=CLOSE/MA(CLOSE,40)*100<78;Var2B:=CLOSE/MA(CLOSE,60)*100<74;Var2C:=HIGH>LOW*1.051;Var2D:=Var2C AND COUNT(Var2C,5)>1;Var2E:=Var2D AND (Var2A OR Var2B);Var2F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var30:=(CLOSE-Var2F)/Var2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Var31:=(CLOSE-REF(CLOSE,5))/CLOSE*100<-9;Var32:=WINNER(CLOSE);Var33:=EMA((INDEXC-MA(INDEXC,10))/INDEXC*100,14)<-4.9;Var34:=(MA(VOL,5)-VOL)/CAPITAL*100<0.8;Var35:=(VOL-MA(VOL,21))/VOL*100;抄底B:= Var33 AND V ar31 AND Var32<0.12 AND Var34 AND Var35>18;{抄底2:}STICKLINE(抄底B,40,60,3,1),coloryellow;抄底2:0,coloryellow;Var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5; Var37:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/5; Var38:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7))/5; Var39:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8))/5; Var3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9))/5; BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;抄底C:=(Var36/CLOSE>1.112 OR Var37/CLOSE>1.123 OR Var38/CLOSE>1.135 ORVar39/CLOSE>1.145 OR Var3A/CLOSE>1.156) AND BIAS3<=-20 AND COST(25)/CLOSE>=1.5 AND CLOSE<OPEN;{抄底3:}STICKLINE(抄底C,40,60,5,1),color0099ff;抄底3:0,color0099ff;Var3B:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;抄底D:= FILTER(IF(CROSS(Var3B,-28),1,0),8);{抄底4:}STICKLINE(CROSS(Var3B,-28),40,60,8,1),colorwhite;抄底4:0,colorwhite;Var3C:=DMA(EMA(CLOSE,13),SUM(VOL,5)/2/CAPITAL);Var3D:=(CLOSE-Var3C)/Var3C*100;抄底E:= REF(Var3D,1)<-35 AND Var3D>REF(Var3D,1) AND REF(Var3D,1)<REF(Var3D,2) AND Var3D-REF(Var3D,1)>2.5;{抄底5:}STICKLINE(抄底E,40,60,8,1),colorffcc66;抄底5:0,colorffcc66;Var3E:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);抄底F:= CLOSE>OPEN*1.06 AND Var3E<10;{抄底6:}STICKLINE(抄底F,40,60,8,1),colorblue;抄底6:0,colorblue;智慧专用V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;V2:=2*ABS(V1);V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));V5:=(H+L+C)/3;V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);V A:=(C-MA(C,13))/MA(C,13)*100;VB:=100-ABS(V A);VC:=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),1 5,1);VD:=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);VE:=REF(L,1)*0.9;VF:=L*0.9;V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;V11:=EMA(V10,30);V12:=V11-C;V13:=REF(C,1);V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;V16:=BARSCOUNT(C);V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;V1A:=(SMA(V19,4,1)-50)*2;V1B:=SMA(V1A,3,1);V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;V1D:=SMA(V1C,4,1);V1E:=SMA(V1D,3,1);V1F:=(HHV(H,30)-C)/C*100;V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);大趋势: V3;顶线: IF(VB<90,VB,100);多方: IF(V1>0,V1,0),LINESTICK;空方: -IF(V1<0,V2,0),LINESTICK;抄底: V20,colorred,linethick2;预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200AND V6<=-150,-15,V9))+65);STICKLINE(V3<=REF(V4,1),V3,V4,8,0),colorwhite;STICKLINE(V3>REF(V4,1),V3,V4,8,0),colorred;t1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);t2:=C; t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);t8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; 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;会员指标Var1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1) )),25);Var2:=HIGH-REF(HIGH,1);Var3:=REF(LOW,1)-LOW;Var4:=SUM(IF(Var2>0 AND Var2>V ar3,Var2,0),25);Var5:=SUM(IF(Var3>0 AND Var3>V ar2,Var3,0),25);Var6:=Var4*100/Var1;Var7:=Var5*100/Var1;Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100,15);Var9:=(V ar8+REF(Var8,15))/2;A:=(Var7>Var6 AND Var7>25 AND Var6<25);B:ZIG(3,50/5)*100,colorwhite;g:MA(B,2),coloryellow;D:=CROSS(B,g)*1000,colorred;W:=cross(g,B)*1000,colorblue;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);Var10:=F AND F<8;Var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var12:=SMA(Var11,3,1);Var13:=SMA(Var12,3,1);Var14:=Var13 AND Var13<20;mm:=A AND D AND Var10 AND Var14 ;DRAWTEXT(W=1000,b*1.05,'卖' ),COLOR00ff00;DRAWTEXT(D=1000,b*1.05,'买'),COLORred;百万绝品趋势线:{ Var1*}(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50),colorwhite;Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var3:=LLV(LOW,34);Var4:=HHV(HIGH,34);SK: EMA((Var2-Var3)/(Var4-Var3)*100,13){*Var1};SD: EMA(SK,3){*Var1};买入: IF(CROSS(趋势线,8.5),60,19){*Var1, , };卖出: IF(CROSS(87,趋势线),40,81){*Var1, ,};Var5:=AMOUNT/VOL/100;Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));Var7:=100*WINNER(Var6);Var8:=MA(Var7,8){*Var1};Var9:=HHV(CLOSE,0)/Var8;VarA:=IF(Var9>2.5,-10,Var9);VarB:=IF(VarA>1,-10,VarA);底限: VarB, , ;VarC:=Var8/LLV(LOW,0);VarD:=HHV(HIGH,0)/Var8*8*10;VarE:=IF(VarD>50,50,VarD);VarF:=VarE;Var10:=HHV(HIGH,0)/Var8*4.5*100;Var11:=IF(Var10>100,103,V ar10);DRAWTEXT({Var1 AND }CROSS(87,趋势线),35,'逃'), , ;DRAWTEXT({Var1 AND }CROSS(趋势线,8.5),65,'买'), , ;DRAWTEXT({Var1 AND }CROSS(90,Var8),86,'诱多'), , ;DRAWTEXT({Var1 AND }CROSS(Var8,10),11,'吸筹'), , ;DRAWTEXT({Var1 AND }CROSS(Var8,46),V ar8,'拉升'), ,;Var13:=IF(CROSS(SK,SD),23,19);Var14:=IF(CROSS(SD,SK),77,81);卖出1: Var14, , ;买进: Var13, , ;盘中参考Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(V ar5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(V ar5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 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)*1 00;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<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60; STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);STICKLINE(Var3<REF(Var4,1),Var3,Var4,8,0);Var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);Var22:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);Var23:=红军>50 AND 预警系统>60 AND 天线=100;Var24:=红军>48 AND 预警系统>60 AND 天线<100;Var25:=绿军>38 AND 预警系统<55;Var26:=导弹>50 AND 天线<90;Var27:=Var3<REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var28:=Var3>=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND 导弹=0 AND 绿军>=REF(绿军,1) AND VarC<REF(VarD,1);DRAWTEXT(V ar21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!'); DRAWTEXT(V ar22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌!'); DRAWTEXT(V ar23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出!'); DRAWTEXT(V ar24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出!'); DRAWTEXT(V ar25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!'); DRAWTEXT(V ar26 AND COUNT(Var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外'); DRAWTEXT(V ar27 AND COUNT(Var27,30)=1,40,'有大资金进场迹象,关注!'); DRAWTEXT(V ar28 AND COUNT(Var28,30)=1,20,'见顶回落');。

相关文档
最新文档