大智慧指标代码

合集下载

大智慧自编指标

大智慧自编指标

大智慧自编指标(密)第一个(我的指标1 买卖指标1 )MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);MA250:MA(CLOSE,250);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*AVEDEV(Var1F,14)); Var21:=CROSS(V ar1E,最低价);买点1:=Var10;买点2:=(Var11+Var13+Var15+V ar17);卖点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);V AR1:=MA(收盘价,5);V AR2:=MA(收盘价,10);V AR31:=MA(收盘价,30);V ARB1:=SUM(收盘价*成交量*100,28)/SUM(成交量*100,28); V ARC1:=INTPART(V ARB1*100)/100;V ARD1:=EMA(收盘价,5)-EMA(收盘价,10);V ARE1:=EMA(V ARD1,9);V AR131:=REF(VARE1,1);V AR141:=VARE1;V AR151:=VAR141-V AR131;V AR161:=REF(VARD1,1);V AR171:=VARD1;V AR181:=VAR171-V AR161;V AR191:=开盘价;V AR1A1:=收盘价;DRAWTEXT(买点1>0,L+0.01,'▲'),colorred;DRAWTEXT(买点2>0,L+0.01,'▲'),COLORFF00FF;DRAWTEXT(卖点1>0,H+0.01,'▼'), COLOR33FF33;第二个(我的指标2 买卖指标2 ){A2可以自设均线,牛市21日线,熊市10日线}A1:=Ma(C,5);A2:=Ma(C,10);A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;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)>0 AND 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;{使用指标说明: 红色均线持股,绿色均线持币,红买黄卖,懒汉操盘}。

大智慧经典指标源码(二)【范本模板】

大智慧经典指标源码(二)【范本模板】

大智慧经典指标源码(二)21、涨停跳空N:=3;filter(COUNT((ref(c,n)/REF(C,(n+1))>=1.099),n)〉=1,n);上跳空:L>REF(H,1),stick,color0000ff,linethick2;;下跳空:H〈REF(L,1),stick,color00ff00,linethick2;;上跳空涨停:O/REF(C,1)>1.01 AND C/REF(C,1)〉1.098,stick,COLORFF00FF,linethick2;22、月线指标N:=9;M1:=3;M2:=3;t:=ma(c,12);a2:=c〉t;b:=t>REF(t,1) AND REF(t,1)〈REF(t,2);拐点12月线:if(a2 and b,5,0),STICK,COLORYELLOW,LINETHICK3;趋势12月向上:(MA(C,12)>REF(MA(C,12),1))*3, CIRCLEDOT,COLORYELLOW; 趋势24月向上:(MA(C,24)>REF(MA(C,24),1))*2,CIRCLEDOT,color0000ff;V1:=VOL/SUM(VOL,13);V2:=DMA(C,V1);RSI6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C—REF(C,1)),6,1)*100;定海神针:IF(CROSS(20,RSI6),5,0),stick,COLORFFFFFF,linethick4;金叉KDJ:IF(cross("kdj。

k"(9,3,3),"kdj.d"(9,3,3)) and ”kdj。

k”(9,3,3)〈20,3,0),COLOR00FF00;DRAWTEXT(cross(”kdj。

k”(9,3,3),”kdj.d”(9,3,3)) and "kdj。

大智慧自编指标源码

大智慧自编指标源码

1、箱顶箱底箱顶: HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58),color00aaff;箱底: LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58),color00ff00;Var1:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LL V(LOW,10))*20/10+箱底,2);Var2:=(3*Var1-2*SMA(Var1,5,1))*0.3;Var3:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));Var4:=EMA(3*Var3-2*SMA(Var3,18,1),5);Var5:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));Var6:=3*SMA(Var5,3,1)-2*SMA(SMA(Var5,3,1),5,1);Var7:=(INDEXC*2+INDEXH+INDEXL)/4;Var8:=EMA(Var7,13)-EMA(Var7,34);Var9:=EMA(Var8,5);VarA:=(Var8-Var9+箱底)*1;VarB:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34);趋势力度: VarB,colorffaa99;VarC:=箱底;STICKLINE(C>=O,C,O,7,0),COLORRED;STICKLINE(C>=O,C,O,4,0),COLOR7070ff;STICKLINE(C>=O,C,O,2,0),COLORYELLOW;STICKLINE(C>=O,H,L,0,0),COLORYELLOW;STICKLINE(C<=O,C,O,7,0),COLORFF2020;STICKLINE(C<=O,C,O,4,0),COLORFF6600;STICKLINE(C<=O,C,O,2,0),colorffcc66;STICKLINE(C<=O,H,L,0,0),colorffcc66;牛气冲天: STICKLINE(趋势力度>=VarC,VarC,趋势力度,4,0),colorred;STICKLINE(趋势力度<=REF(趋势力度,1) AND 趋势力度>VarC,VarC,趋势力度,4,1),colorwhite;趁机派发: STICKLINE(REF(趋势力度,2)<REF(趋势力度,1) AND 趋势力度<=REF(趋势力度,1) AND 趋势力度>VarC,VarC,趋势力度,4,0),colorgreen; DRAWICON(REF(趋势力度,2)<REF(趋势力度,1) AND 趋势力度<=REF(趋势力度,1) AND 趋势力度>VarC,趋势力度,2);熊气盖天: STICKLINE(趋势力度<VarC-0.5,VarC-0.5,趋势力度,8,1),coloryellow;转强信号:STICKLINE(趋势力度>REF(趋势力度,1) AND 趋势力度<Varc-0.5,Varc-0.5,趋势力度,2,0),colorred;MA3: MA(CLOSE,3),LINETHICK2,colorwhite;MA34: MA(CLOSE,34),colorff00ff;DRAWTEXT(CROSS(MA3,箱底),LOW*0.95,'试'),colorffffff;STICKLINE(CROSS(MA3,箱底),LOW*0.97,l*0.95,4,0),colorffcc66;DRAWTEXT(CROSS(MA3,MA34),LOW*0.95,'买'),colorred;STICKLINE(CROSS(MA3,MA34),LOW*0.97,l*0.95,4,0),colorff00ff;DRAWTEXT(CROSS(MA3,箱顶) AND CLOSE>箱顶,箱顶*0.95,'追'),coloryellow;STICKLINE(CROSS(MA3,箱顶) AND CLOSE>箱顶,箱顶*0.97,箱顶*0.95,4,0),coloryellow;DRAWTEXT(CROSS(箱顶,MA3) AND CLOSE<箱顶,HIGH*1.03,'卖'),color00ff00; STICKLINE(CROSS(箱顶,MA3) AND CLOSE<箱顶,HIGH*1.02,h*1.0,4,0),color00ff00;DRAWTEXT(REF(VarA,2)<REF(VarA,1) AND REF(VarA,1)>VarA AND VarA>箱顶AND CLOSE>箱顶,HIGH*1.04,'顶'),colorwhite;STICKLINE(REF(VarA,2)<REF(VarA,1) AND REF(VarA,1)>VarA AND VarA>箱顶AND CLOSE>箱顶,HIGH*1.005,h*1.03,4,0),colorwhite;2超准买卖V AR3:=LLV(HIGH,240);V AR4:=100*(CLOSE-V AR3)/V AR3;V AR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;V AR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;V AR7:=0;V AR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)* 100;V AR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1) *100;V AR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);V AR11:=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);V AR12:=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);V AR13:=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);V AR14:=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);V AR15:=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);V AR16:=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);V AR17:=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);V AR18:=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);V AR19:=EMA(CLOSE,2)-EMA(CLOSE,150);买1:=V AR10;买2:=(V AR11+V AR13+V AR15+V AR17);卖1:=(V AR12+V AR14+V AR16+V AR18);DRAWTEXT(买1>0 OR 买2>0,LOW*1,'←买入'),CROSSDOT,LINETHICK1,COLORRED; DRAWTEXT(卖1>0,HIGH*1,'←卖出'),CROSSDOT,LINETHICK1,COLORGREEN;3、MACD Lv-2A:=(100-100/(1+SUM(V,14)/CAPITAL))*CAPITAL*96/10000;DIFF :EMA(A*CLOSE,5) - EMA(A*CLOSE,10);DEA :EMA(DIFF,3);MACD :2*(DIFF-DEA), COLORSTICK;{MAC:2.8*DIFF-2*DEA;}牛:(MACD>ref(DEA>10.3,1)and(MACD>ref(MACD,1)))*MACD,Color00EAFD,STICK,LINETHICK2;4、牛股涨停ls:=c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12));拉升:filter(ls,28)*100,coloryellow;。

大智慧自编指标原码

大智慧自编指标原码
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),LINETHICK2,COLORFF9F33,CROSSDOT;
DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,25,'逢低吸呐'),LINETHICK2,COLORWHITE;
DRAWTEXT(CROSS(波段鬼,波段王) AND 波段鬼>75,85,'逢高减磅'),LINETHICK2,COLORCYAN;
{黑马战歌2} n 46 1 320
3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中。
4.公式源码以外的内容,如:名称,说明以及参数等等,凡在{ }以外的,均要删除,或者用{ }将其括上。
5、在大智慧的底部显示栏中点击公式名称即可看到刚刚导入的公式。
说明
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;

大智慧指标代码

大智慧指标代码

大智慧指标代码1、〖110〗:MA 移动平均线2、〖112〗:CHANNELS 通道线3、〖114〗:主力成本4、〖115〗:TDX 天地线5、〖116〗:SAR 抛物转向6、〖117〗:XS 薛氏通道7、〖118〗:PBX 瀑布线8、〖120〗:ROC 变动速率9、〖121〗:MTM 动力指标10、〖123〗:DMI 趋向指标11、〖125〗:RSI 相对强弱指标12、〖126〗:主力轨迹13、〖128〗:DMA 平均离差14、〖130〗:DPO 区间震荡线15、〖132〗:MACD 指数平滑异同平均线16、〖133〗:KDJ 随机指标17、〖134〗:CCI 顺势指标18、〖139〗:PSY 心理线19、〖140〗:BIAS 乖离率20、〖141〗:W&R 威廉指标21、〖142〗:%B 布林极限22、〖143〗:CR 能量指标23、〖144〗:BRAR 人气意愿指标24、〖148〗:TRIX 三重指数平滑平均数25、〖149〗:ASI 振动升降指标26、〖150〗:OBV 能量潮27、〖151〗:主力进出28、〖154〗:MFI 资金流量指标29、〖155〗:PVI 正量指标30、〖156〗:NVI 负量指标31、〖157〗:VMACD 指数平滑异同平均线32、〖158〗:VR 容量比率33、〖161〗:WVAD 威廉变异离散量34、〖163〗:EMV 简易波动指标35、〖164〗:拉升在即36、〖165〗:底部构成37、〖166〗:主力买卖38、〖170〗:MIKE 麦克指标39、〖171〗:CDP 逆势操作40、〖180〗:ADL 藤落指数41、〖181〗:ADR 涨落比率42、〖182〗:ABI 指标43、〖183〗:STIX 指数平滑广量指标44、〖187〗:EXPMA 平滑移动平均线45、〖AD〗:AD集散量、A/D上涨家数比46、〖ABI〗:ABI 指标47、〖ACD〗:ACD 收集派发48、〖ADL〗:ADL 藤落指数49、〖ADR〗:ADR 涨落比率50、〖ALF〗:ALF 过滤指标51、〖ASI〗:ASI 振动升降指标52、〖ASR〗:ASR 浮筹比例53、〖ATR〗:ATR 真实波幅54、〖AMOUNT〗:AMOUNT 成交额55、〖ADTM〗:ADTM 动态买卖气指56、〖B〗:%B 布林极限57、〖BBI〗:BBI 多空指数58、〖BTI〗:BTI 广量冲力指标59、〖BFTD〗:60、〖BIAS〗:BIAS 乖离率61、〖BOLL〗:BOLL 布林线62、〖BRAR〗:BRAR 人气意愿指标63、〖B3621〗:B3621三减六日乖离64、〖BWIDTH〗:BWIDTH 布林极限宽65、〖BBIBOLL〗:BBIBOLL 多空布林线66、〖CD〗:CD 相对强度67、〖CHAIKIN〗: CHAIKIN 佳庆线68、〖CR〗:CR 能量指标69、〖CCI〗:CCI 顺势指标70、〖CDP〗:CDP 逆势操作71、〖CHO〗:CHO 济坚指数72、〖CYC〗:CYC 指南针成本均线73、〖CYS〗:CYS 市场盈亏74、〖CYW〗:CYW 主力控盘75、〖CYQKL〗: CYQKL 指南针博弈K线长度76、〖DDI〗:DDI 方向标准离差指数77、〖DKX〗:DKX 多空线78、〖DMA〗:DMA 平均离差79、〖DMI〗:DMI 趋向指标80、〖DMI-QL〗DMI-QL 趋向指标(钱龙)81、〖DPO〗:DPO 区间震荡线82、〖DBCD〗:DBCD 异同离差乖离率83、〖DBGC〗:DBGC 底部构成84、〖DPTB〗:DPTB 大盘同步指标85、〖EMV〗:EMV 简易波动指标86、〖ENV〗:ENV 轨道线87、〖EOM〗:EOM 活动能力88、〖EXPMA〗:EXPMA 平滑移动平均线89、〖GDS〗:股东数90、〖GLZB〗:ALF 过滤指标91、〖HDNL〗:EOM 活动能力92、〖II〗:II当日成交密度93、〖JDQS〗:JDQS 阶段强势指标94、〖JJZB〗:CHO 济坚指数95、〖JEZF〗:江恩正方96、〖KD〗:KD 随机指标97、〖KDJ〗:KDJ 随机指标98、〖KST〗:KST 完定指标99、〖LFS〗:LFS 锁定因子100、〖LWR〗:LW&RLWR 威廉指标101、〖LJX〗:量价线102、〖LJQS〗:VPT 量价趋势103、〖LSZJ〗:LSZJ 拉升在即104、〖M1〗:M1 移动平均线105、〖MA〗:移动平均线106、〖MI〗:MI 动量指标107、〖MFI〗:MFI 资金流量指标108、〖MJR〗:MJR109、〖MTM〗:MTM 动力指标110、〖MACD〗:MACD 指数平滑异同平均线111、〖MASS〗:MASS 重量指数112、〖MICD〗:MICD 异同离差动力指数113、〖MIKE〗:MIKE 麦克指标114、〖NDB〗:NDB 脑电波115、〖NVI〗:NVI 负量指标116、〖NORVOL〗:NORVOL 标准化成交量117、〖OX〗:OX 图118、〖OBV〗:OBV 能量潮119、〖OSC〗:OSC 震荡量120、〖OBOS〗:OBOS 超买超卖121、〖OLAL〗:OLAL 叠加线122、〖PR〗:PR 穿透率123、〖PBX〗:PBX 瀑布线124、〖PSY〗:PSY 心理线125、〖PVI〗:PVI 正量指标126、〖PVT〗:PVT价/量趋势127、〖PRICE〗:PRICE 价位线128、〖PRICEOSC〗:PRICEOSC 指数震荡129、〖QLCX〗:钱龙长线130、〖QLDX〗:钱龙短线131、〖QLZB〗:钱龙指标132、〖QRSI〗:QRSI 量RSI133、〖QHLSR〗:QHLSR 阻力指标134、〖RC〗:RC 变化率指数135、〖RS〗:RS 相对强弱比136、〖RMI〗:RMI137、〖ROC〗:ROC 变动速率138、〖RSI〗:RSI 相对强弱指标139、〖RCCD〗:RCCD 异同离差变化率指数140、〖SP〗:SP 低点搜寻交易系统141、〖SAR〗:SAR 抛物转向142、〖SCR〗:SCR 筹码集中度143、〖SMI〗:SMI144、〖SJKB〗:FASTKD 随机快步145、〖SJPF〗:ACD 收集派发146、〖SOBV〗:SOBV 能量潮147、〖SRMI〗:SRMI MI 修正指标148、〖STIX〗:STIX 指数平滑广量指标149、〖SLOWKD〗:SLOWKD 慢速KD150、〖SDKJ〗:四度空间151、〖TBR〗:TBR 新三价率152、〖TDX〗:TDX 天地线153、〖TDZS〗:CCI-4.0 通道指数154、〖TRIX〗:TRIX 三重指数平滑平均数155、〖TRIX40〗:TRIX-4.0 TRIX趋向指标156、〖UOS〗:UOS 终极指标157、〖VB〗:VB 波幅通道158、〖VR〗:VR 容量比率159、〖VMA〗:VMA 成交量指标160、〖VOL〗:VOL 成交量161、〖VPT〗:VPT 量价趋势162、〖VOSC〗:VOSC 成交量震荡163、〖VSTD〗:VSTD 成交量标准差164、〖VMACD〗:VMACD 指数平滑异同平均线165、〖WR〗:W&R 威廉指标166、〖WDZB〗:KST 完定指标167、〖WLLD〗:威力雷达168、〖WVAD〗:WVAD 威廉变异离散量169、〖XS〗:XS 薛氏通道170、〖XDT〗:XDT 心电图171、〖ZIG〗: ZIG ZIG ZAG 之字转向172、〖ZDZB〗:ZDZB 筑底指标173、〖ZHPS〗:ZHPS 智慧判势174、〖ZHSL〗:ZHSL 换手率175、〖ZLGJ〗:ZLGJ 主力轨迹176、〖ZLJC〗:ZLJC 主力进出177、〖ZLMM〗:ZLMM 主力买卖178、〖ZUPR〗:ZUPR 阶段涨幅179、〖ZVOL〗:ZVOL 阶段总成交量180、〖ZLCB〗:主力成本181、〖ZAMOUNT〗:ZAMOUNT 阶段总成交额182、〖FASTKD〗:FASTKD 随机快步183、〖CCI40〗:CCI-4.0 通道指数184、〖STOCKRSI〗:STOCKRSI。

(完整版)[大智慧]非常实用的选股指标代码大全(共125个)

(完整版)[大智慧]非常实用的选股指标代码大全(共125个)

[大智慧] 非常实用的选股指标大全(共125个)--———-----———-—----—--—---—---—-—----—--——-——-—-—-——----—-——-—----——-—-——---—--—非常实用的大智慧选股指标大全,自己可以随意自己加减汇编,不怕你没能力,就怕你没创意,只要你有创意,就可以自己编写!——————-——-———————--——-——---———-—--—--——-———-—--—-—-————-———---—-——---———--——-———1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)—c)/hhv(c,30)>0.5;2,今天的量是5天平均的 2倍以上xg:v〉ma(v,5)*2;缩量vol/ma(vol,10)<0。

3;3,两天内,累计下跌等于或超过20%选股.xg:(ref(c,2)-c)/c〉0.2;4,股价是25天以来新低.xg:c<ref(llv(c,25),1);5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c〉ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2。

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

3。

KD指标产生黄金交叉,K线上穿D线.4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff;RSV:=(CLOSE—LLV(LOW,9))/(HHV(HIGH,9)—LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<—6 and cross(k,d) and d〈16;7,要求是量大、换手率达到3左右,涨幅〉7个点.xg:v/capital*100〉3 and (c/ref(c,1)〉1。

大智慧极品指标源码

大智慧极品指标源码

1黑马{N1 1 100 14}VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5); VAR4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;VAR5:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR6:=EMA(VAR5,100);VAR7:=2*(VAR5-VAR6);VAR8:=POW(VAR7,3)*0.1+POW(VAR7,1);VAR9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VARA:=EMA(VAR9*0.97,3);VARB:=(HIGH+LOW+CLOSE)/3;VARC:=(VARB-MA(VARB,14))/(0.015*AVEDEV(VARB,14));黑马线1:= IF(VAR7>0.1,VAR8,0)*5;VARD:=LLV(HIGH,240);VARE:=100*(CLOSE-VARD)/VARD;VARF:=AMOUNT/VOL;VAR10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAR11:=INDEXC;VAR12:=MA(VAR11,5);VAR13:=MA(VAR11,20);VAR14:=MA(VAR11,30);VAR15:=VAR14>VAR12*1.08 AND VAR13>VAR12*1.055;VAR16:=VAR12>VAR11*1.03 AND VAR13>VAR11*1.13;VAR17:=VAR16;VAR18:=IF(FILTER(VAR10<6,5)=1,1,0);VAR19:=VAR10<6 AND VAR17;VAR1A:=CROSS(黑马线1,2);VAR1B:=CROSS(黑马线1,4);VAR1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR1F:=REF(CLOSE,1);VAR20:=SMA(MAX(CLOSE-VAR1F,0),5,1)/SMA(ABS(CLOSE-VAR1F),5,1)*100;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR1C>=-15.8 AND VAR1C<=-12.2 AND VAR1D<=-20.8 AND VAR1E<=-27.5 AND VAR20<=11.7 AND VAR22<=-145)*100;VAR24:=VAR4=0;VAR25:=VAR4=100;IF(VAR25>0,110,101),STICK,LINETHICK2,COLOR00FF00;101,STICK,LINETHICK2,COLOR0 00000;IF(VAR23>0,100,90),STICK,LINETHICK3,COLORRED;90,STICK,LINETHICK3,COLOR000000 ;{DRAWTEXT(VAR23>0,90,'发现大黑马加把安全锁,全部亏损问它要'), , COLORMAGENTA;}IF(VAR24>0,-11,0),STICK,LINETHICK2, COLORRED;0,STICK,LINETHICK2, COLOR000000; 黑马线:黑马线1,STICK ,COLOR008364,LINETHICK3;发现: (VAR18 AND VARE<-2.5 AND VAR3<5 AND VAR4=0)*60,LINETHICK2 ,COLORYELLOW;黑马: IF(FILTER(VAR19,1)=1,1,0)*80,STICK , LINETHICK2, COLORF0F000;大黑马: VAR19 AND VAR18*80,STICK ,LINETHICK2, COLORYELLOW;操盘手: VAR4,COLORF00FF0;庄拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4<40 ANDVAR3<40,5)=1,35,0),LINETHICK2,COLORRED ;{DRAWTEXT(发现>0,25,'短线黑马2.5%')COLORCC99FF; DRAWTEXT(黑马>0,52,'黑马发现10%'), COLORYELLOW; DRAWTEXT(大黑马,70,'★日线专用大黑马获利10%以上'),COLORRED;} 0,LINETHICK1,COLOR000999;100, COLORFF9966;[大智慧极品指标源码]------机构入场var1c:=(high - min(open,close));var2c:=(close - open);var3c:=(min(open,close) - low);var4c:=(high - low);var5c:=((vol * var1c) / var4c);var6c:=((vol * var2c) / var4c);var7c:=((vol * var3c) / var4c);var8c:=((var5c - var6c) - var7c);大机构:((sum(var8c,13) / ma(vol,13)) / 13),linethick1,color0000ff;小机构:((sum(var8c,21) / ma(vol,21)) / 21),linethick1,colorffff00;散户:((sum(var8c,30) / ma(vol,30))/ 30),colorff00ff;股票:((sum(var8c,125) / ma(vol,125)) / 125),linethick2,color00ffff;var4:=ma(close,5);var5:=ma(close,10);var6:=ma(close,30);var7:=ma(close,60);var8:=ema(cost(85),7);var9:=ema(cost(15),7);vara:=(sum(((close * vol) * 100),4) / sum((vol * 100),4));varb:=(intpart((vara * 100)) / 100);varc:=(sum(((close * vol) * 100),7) / sum((vol * 100),7));vard:=(intpart((varc * 100)) / 100);vare:=(sum(((close * vol) * 100),28) / sum((vol * 100),28));varf:=(intpart((vare * 100)) / 100);短线趋势:(ema(close,5) - ema(close,10));中线趋势:ema(短线趋势,9);var10:=((0 - ((100 * (hhv(close,5) - close)) / (hhv(close,5) - llv(low,5)))) + 100); var11:=((0 - ((100 * (hhv(close,10) - close)) / (hhv(close,10) - llv(low,10)))) + 100); var12:=((0 - ((100 * (hhv(close,20) - close)) / (hhv(close,20) - llv(low,20)))) + 100); var13:=((0 - ((100 * (hhv(close,30) - close)) / (hhv(close,30) - llv(low,30)))) + 100); var14:=ref(中线趋势,1);var15:=中线趋势;var16:=(var15 - var14);var17:=ref(短线趋势,1);var18:=短线趋势;var19:=(var18 - var17);var1a:=open;var1b:=close;发现机构入场:if((((((((var1a <= var4) and (var1a <= var5)) and (var1a <= var6)) and (var1b >= var4)) and (var1b >= varf)) and (var16 > 0)) and (var19 > 0)),0.5,0),linethick2,color00ff00;短线指标:if(((((cross(短线趋势,中线趋势) and (短线趋势< 0)) and (中线趋势< (0 - 0.2))) and (var11 > 45)) and (var16 > 0)),0.3,0.1),colorff0000;神奇均线(主图指标)本指标由“神奇中线”(A1~A7)、“神奇短线”(A8~A9)和“安全线”(绿色)构成。

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

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

大智慧绝对厉害的主图指标公式源码编程思路破译编程思路破译R1赋值:收盘价的1日简单移动平均R2赋值:收盘价的3日简单移动平均R3赋值:(R2的1日简单移动平均*1)R4赋值:(R2的3日简单移动平均*1)X1赋值:(收盘价+最低价+最高价)/3DD赋值:FINANCE2(35)SS赋值:FINANCE2(37)GG赋值:FINANCE2(3)TH赋值:市盈(动)A51赋值:3*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均LC赋值:1日前的收盘价RSI赋值:(((收盘价-LC)和0的较大值的3日[1日权重]移动平均/ (收盘价-LC)的绝对值的3日[1日权重]移动平均) * 100)FF赋值:收盘价的3日指数移动平均MA15赋值:收盘价的21日指数移动平均A1赋值:如果(收盘价<800),返回((成交额(元)/成交量(手))/100),否则返回((((收盘价*2)+最高价)+最低价)/4)A2赋值:((15日内最高价的最高值) + (30日内最低价的最低值)) / 2A3赋值:(A1的5日简单移动平均)的10日指数移动平均A4赋值:(A1的15日简单移动平均)的10日指数移动平均A5赋值:(A1的13日简单移动平均)的21日指数移动平均A6赋值:((A3 + A4) + A5) / 3输出决策线:(收盘价的5日简单移动平均)的3日指数移动平均,线宽为2,COLORFF0000PARTLINE(决策线,决策线> (3日前的决策线),自定色),线宽为2,COLOR3300FF当满足条件((收盘价>0)AND(DISPSTATUS=2))时,在(决策线*0.95)位置书写文字,MOVE10,ALIGN2,线宽为2,画红色VAR1111赋值:若2日前的最高价=5日内最高价的最高值则将最近3周期置为1VAR2222赋值:VAR1111上穿0.9VAR3333赋值:若2日前的最低价=5日内最低价的最低值则将最近3周期置为1VAR4444赋值:VAR3333上穿0.9输出压力: 上次VAR2222距今天数日前的最高价, POINTDOT,COLOREA91B5当满足条件收盘价时,在上次VAR2222距今天数日前的最高价和上次VAR2222距今天数日前的最高价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOREA91B5输出支撑: 上次VAR4444距今天数日前的最低价, POINTDOT,COLOR00B4FF,线宽为3当满足条件收盘价时,在上次VAR4444距今天数日前的最低价和上次VAR4444距今天数日前的最低价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOR00B4FF输出弱势双线持币:2日内最高价的(3)日简单移动平均的最高值,线宽为2,COLOR00FF00输出强势单线持股:1日内最高价的(3)日简单移动平均的最低值,线宽为2,COLORFF00FFAA1赋值:成交额(元)/成交量(手)BB1赋值:最低价<AA1*0.9CC1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>1.2DD1赋值:最低价<收盘价的5日简单移动平均*0.921EE1赋值:成交量(手)<成交量(手)的5日简单移动平均*1.5输出老鼠仓:BB1 AND CC1 AND DD1 AND EE1,线宽为0当满足条件老鼠仓时,在(最低价*0.99)位置书写文字,线宽为3,COLOR40CCFFA74赋值:收盘价的20日简单移动平均A75赋值:(收盘价 > 收盘价的5日简单移动平均)A76赋值:(收盘价的5日简单移动平均 > 收盘价的10日简单移动平均)A77赋值:(收盘价 > 收盘价的10日简单移动平均)A78赋值:(收盘价的5日简单移动平均 > 收盘价的20日简单移动平均)A79赋值:(收盘价 > 收盘价的20日简单移动平均)A710赋值:1日前的A74A711赋值:(A74 > A710)AVX赋值:(((((如果A75,返回10,否则返回(0-10) + 如果A76,返回10,否则返回(0-10)) + 如果A77,返回10,否则返回(0-10)) + 如果A78,返回10,否则返回(0-10)) + 如果A79,返回10,否则返回(0-10)) + 如果A711,返回10,否则返回(0-10))DSLX赋值:(收盘价 / 大盘的收盘价)DSLX1赋值:DSLX的5日简单移动平均DSLX2赋值:DSLX的10日简单移动平均V1赋值:成交量(手)的5日简单移动平均V2赋值:成交量(手)的10日简单移动平均赋值: 上次DISPSTATUS=1距今天数+1赋值: 上次DISPSTATUS=1距今天数+1赋值: T日内最高价的最高值赋值: T日内最低价的最低值条件判断数据位置状态=2 AND 收盘价<200 AND ((AVX上穿1 AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。

大智慧常用指标代码

大智慧常用指标代码

大智慧常用指标代码布林线{布林张口}中轨: MA(CLOSE,20);上轨: 中轨+STD(CLOSE,20);下轨: 中轨-STD(CLOSE,20);上极限: 中轨+2*STD(CLOSE,20);下极限: 中轨-2*STD(CLOSE,20);YA:=MAX(上轨,上极限);YB:=MIN(上轨,上极限);XL:=(上极限-REF(上极限,1))/REF(上极限,1)*100>0.5;G0:=(YA/YB-1)*100<5.1 AND CROSS(C,上极限) AND XL;DRAWICON(G0,L-0.20,1);{显示红脸}MACD控盘DIFF:=((EMA(CLOSE,26) - EMA(CLOSE,12)) * -1);DEA:=EMA(DIFF,9);DEA1:=EMA(DIFF,18);MACD:=(2 * (DIFF - DEA));操盘:STICKLINE(((MACD >= 0) AND (MACD >= REF(MACD,1))),0,MACD,4,1),color0000FF;减仓:STICKLINE(((MACD >= 0) AND (MACD < REF(MACD,1))),0,MACD,4,0),colorFF00FF;反弹:STICKLINE(((MACD < 0) AND (MACD >= REF(MACD,1))),0,MACD,4,1),colorFFFF00;寻底:STICKLINE(((MACD < 0) AND (MACD <REF(MACD,1))),0,MACD,4,0),colorFFFF00;IF((DIFF < 0),DIFF,0),LINETHICK2,colorFFFF00;IF((DIFF < DEA),DIFF,DEA),LINETHICK2,colorFFFFFF;IF((DIFF < 0),0,DIFF),LINETHICK2,colorFF0000;STICKLINE((DIFF < MA(DIFF,2)),DIFF,DEA,6,0),LINETHICK2,colorFFFFFF;IF((DIFF > DEA),DEA,DEA),LINETHICK2,colorFF0000;空仓:STICKLINE((DEA < MA(DEA,5)),DEA,DIFF,6,0),LINETHICK2,colorFFFFFF;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));周K:=MA("KDJ.K"(9,3,3),5);周D:=MA("KDJ.D"(9,3,3),5);周J:=MA("KDJ.J"(9,3,3),5);DRAWICON(((K < 20) AND CROSS(K,D)),MACD,8),LINETHICK0,color808080;周金▲:dRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),MACD,'▲'),LINETHICK0,colorred;周死▼:dRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ."(9,3,3)),(MACD * 1.5),'▼'),LINETHICK0,colorFF0000;CYC13:=((0.01 * EMA(AMOUNT,7)) / EMA(VOL,7));CYC5:=((0.01 * EMA(AMOUNT,5)) / EMA(VOL,5));CYC34:=((0.01 * EMA(AMOUNT,21)) / EMA(VOL,21));VAR1:=((CYC5 > CYC13) AND (CYC13 > CYC34));0,CIRCLEDOT,colorAAAAAA;持股:STICKLINE((VAR1 = 1),0,0,0,0),LINETHICK4,colorred;持币:STICKLINE((VAR1 = 0),0,0,0,0),LINETHICK4,colorFF0000;操盘主图买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,LOW*0.996,'B'),colorred,linethick3;drawtext(sel,HIGH*1.028,'S'),colorffff00,linethick3;stickline(买线>=卖线,low,high,1,0),colorred;stickline(买线>=卖线,close,open,4.5,0),color0000aa;stickline(买线>=卖线,close,open,4,0),color0000cc;stickline(买线>=卖线,close,open,3,0),color0000cc;stickline(买线>=卖线,close,open,2,0),color0000ee;stickline(买线<卖线,close,open,4.5,0),coloraaaa00;stickline(买线<卖线,close,open,4,0),colorbbbb00;stickline(买线<卖线,close,open,3,0),colorcccc00;stickline(买线<卖线,close,open,2,0),coloreeee00;stickline(买线<卖线,low,high,1,0),colorffff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLO SE,24))/4,2),linethick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;超级短线Var11:=HHV(HIGH,25);Var12:=LLV(LOW,25);阻力线:EMA((CLOSE-Var12)/(Var11-Var12)*100,20)/2,colorf0f000,Linethick2;突破线:= EMA((CLOSE-Var12)/(Var11-Var12)*100,5);操作线:突破线/2,colorred, Linethick2;Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;Var2:=SMA(Var1,9,1)+100;Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1)+100;Var6:=Var5-Var2;S: IF(Var6>100,Var6-100,0);STICKLINE(REF(S,1)<S,S,REF(S,1),5,0);STICKLINE(REF(S,1)>S,S,REF(S,1),5,0);使用方法是:当操作线(红线)自下向上穿越阻力线时,买入;操作线走平或拐头向下趋势时卖出;两条线互不交叉时持股或空仓,不予操作。

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

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

漓江渔歌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;。

大智慧经典指标源码

大智慧经典指标源码

大智慧经典指标源码41、波段王{副图}V AR1:=(CLOSE+HIGH+LOW+OPEN)/(4);V AR2:=SUMBARS(VOL,CAPITAL);V AR3:=HHV(V AR1,V AR2);V AR4:=LLV(V AR1,V AR2);V AR5:=((2)*(VAR1)-VAR4-REF(V AR4,1))/(V AR3-VAR4);V AR6:=(V AR1-VAR4)/(V AR3-V AR4);V AR7:=IF((VAR1<=V AR4),(V AR5)*(60),(V AR6)*(60));V AR8:=((600)*(EMA(CLOSE,3)-EMA(LOW,30)))/(EMA(LOW,30));V AR9:=EMA(VAR8,7);V ARA:=(WINNER(((120)*(CLOSE))/(100))-WINNER(((100)*(CLOSE))/(100)))*(100);V ARB:=((-100))*(WINNER(((120)*(CLOSE))/(100))-WINNER(((100)*(CLOSE))/(100)))+5;波段买入:=IF((V ARA+V ARB<7) AND CROSS(V AR8,V AR9) AND (V AR9<(-18)) AND V AR9,1,0); DRAWICON((波段买入=60),70,1),CoLor00FFFF;V ARC:=HHV(HIGH,9)-LLV(LOW,9);V ARD:=HHV(HIGH,9)-CLOSE;V ARE:=CLOSE-LLV(LOW,9);V ARF:=((VARD)/(V ARC))*(100)-70;V AR10:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);V AR11:=((2)*(CLOSE)+HIGH+LOW)/(4);V AR12:=SMA(((V ARE)/(V ARC))*(100),3,1);V AR13:=LLV(LOW,34);V AR14:=SMA(VAR12,3,1)-SMA(V ARF,9,1);V AR15:=IF((VAR14>100),V AR14-100,0);V AR16:=HHV(HIGH,34);V AR17:=EMA(((V AR11-V AR13)/(V AR16-VAR13))*(100),8);V AR18:=EMA(V AR17,5);V AR22:=REF(LOW,1);V AR23:=((SMA(ABS(LOW-V AR22),3,1))/(SMA(MAX(LOW-VAR22,0),3,1)))*(100);V AR24:=EMA(IF((CLOSE)*(1.3),(VAR23)*(10),(VAR23)/(10)),3);V AR25:=LLV(LOW,30);V AR26:=HHV(V AR24,30);V AR27:=IF(MA(CLOSE,58),1,0);V AR28:=((EMA(IF((LOW<=V AR25),(V AR24+(V AR26)*(2))/(2),0),3))/(618))*(VAR27);V AR29:=IF((VAR28>100),100,V AR28);STICKLINE((V AR29>(-150)),0,V AR29,1,0),CoLorFF00FF;V ARK1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);V ARK2:=REVERSE(V ARK1);V ARK3:=SMA(V ARK1,3,1);波段王:=SMA(V ARK3,3,1);波段鬼:=SMA(波段王,2.5,1);趋势线:(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SM A(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1)),Linethick1 ,CoLorFFCCCC;卖:IF(((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线)) or CROSS(波段王,趋势线)) AND (波段鬼>65),90,0),Stick,Linethick1,CoLor00FF00;RSV9:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);出手就赢:IF((DK1>7) AND (REF(DK1,1)<0) AND (DK1-REF(DK1,1)>9),50,0),Stick,Linethick1,CoLo r00FFFF;DRAWICON((出手就赢>0),50,1),CoLor0000FF;买点预备:IF((趋势线<=10),0,10),Linethick1,CoLorFF9933;STICKLINE(CROSS(趋势线,10),0,73,6,0),CoLor3366FF;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,’抄底’),CoLorFFFFFF;DRAWTEXT(IF(CROSS(10,趋势线),1,0),10,’备钱’),CoLor33FFCC;42、抄底逃顶{副图}V AR1:=((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36)))*(100);V AR2:=SMA(V AR1,3,1);V AR3:=SMA(V AR2,3,1);V AR4:=SMA(V AR3,3,1);波:V AR3,Linethick2,CoLor0000FF;段:V AR4,Linethick2,CoLor00FFFF;V AR5:=CROSS(V AR2,VAR3) AND (V AR3<25);STICKLINE(V AR5,0,V AR3+5,1,1),Linethick2,CoLor0000FF;V AR6:=CROSS(V AR3,VAR4) AND (V AR3<25);V AR7:=V AR6 AND (VOL>(REF(VOL,1))*(2)) AND (VOL>(REF(MA(VOL,5),1))*(2)); STICKLINE(V AR6,0,V AR3+5,1,1),Linethick2,CoLorFFFFFF;DRAWTEXT(V AR6 AND (COUNT(V AR6,10)=1),VAR3+15,’抄底’),Linethick2,CoLorFFFFFF; STICKLINE(V AR7,0,V AR3+5,1,1),Linethick2,CoLor0000FF;DRAWTEXT(V AR7 AND (COUNT(V AR7,10)=1),VAR3+5,’放量’),Linethick2,CoLor0000FF;V AR8:=CROSS(V AR2,VAR3) AND (V AR3>80) AND (V AR3>V AR4);STICKLINE(V AR8 AND (COUNT(V AR8,5)=1),V AR3-5,100,1,1),Linethick2,CoLor008000;V AR9:=CROSS(V AR4,V AR3) AND (V AR3>80);STICKLINE(V AR9,V AR3-5,100,1,1),Linethick2,CoLor00FFFF;DRAWTEXT(V AR9 AND (COUNT(V AR9,10)=1),VAR3-15,’逃顶’),Linethick2,CoLor00FFFF;43、机构买点{副图}V AR1:=3;V AR2:=(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));启动在即:IF(CROSS(V AR2,V AR1),100,0),CoLor00FFFF;买入:IF((VAR2<=3),25,0),CoLorFF00FF;机构买入:IF((VAR2<5),45,0),CoLor00FF00;44、买了就涨{副图}V AR6:=((CLOSE)/(REF(CLOSE,3))>=1.05);V AR7:=BACKSET(V AR6,3);STICKLINE(V AR7 AND (COUNT(V AR7,5)=1),19,0,4,0),CoLor0000FF;DRAWTEXT(V AR7 AND (COUNT(V AR7,5)=1),5,买入 ),CoLorFF00FF;45、碧血洗银枪Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;Var3:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Var4:=SMA(Var3, 9, 1);Var5:=SMA(Var4, 3, 1);J:3*Var4-2*Var5,colorgreen;Var6:=J>1*REF(J, 1);Var7:=LLVBARS(LOW, 50);Var8:=SUM(VOL, Var7);Var9:=HHVBARS(HIGH, 50);Var10:=SUM(VOL, Var9);Var11:=(CLOSE-REF(OPEN, Var9))/REF(OPEN, Var9)*100;Var12:=Var10/CAPITAL*100;Var13:=(CLOSE-REF(OPEN, Var7))/REF(OPEN, Var7)*100;Var14:=Var8/CAPITAL*100;Var15:MA(WINNER(CLOSE),3)*100;Var16:EMA(Var4,3);A2:EMA(Var4,3), COLORFFDDCC,linethick2;A3:EMA(A2,3), COLORFFBBCC;A4:EMA(A3,3), COLORFF99CC;A5:EMA(A4,3), COLORFF55CC;A6:EMA(A5,3), COLORFF33CC;A7:EMA(A6,3), COLORFF11CC,linethick2;c1:=cross(a2,a7) and a2>a7;DRAWICON(c1,a2,1);AA:EMA(A5,36),LINETHICK2, COLORyellow;DRAWTEXT(CROSS(A4, AA) AND Var11,a4,’@’),color00ff00;DRAWTEXT(CROSS(A2,J) AND A2>75, A2, ’峰’), COLORYELLOW;DRAWTEXT(CROSS(J, A2) AND V ar6 AND A2<20 AND Var2>9 OR A2>1*REF(A2, 1) AND Var2>4 AND A2<60, A2, ’拉’), colorred;46、天地线(主图)(AA:5 1 100 BB:15 1 100 M2:3 1 100 M22:8 1 100)MA13:MA(C,13),COLORWHITE,LINETHICK2;MA21:MA(C,21),COLORFFCCCC,LINETHICK2;MA34:MA(C,34),COLORFF00FF,LINETHICK2;MA120:MA(C,120),COLOR0099FF;MA250:MA(C,250),COLORFFCC66;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;开:=OPEN;高:=HIGH;低:=LOW;收:=CLOSE;STICKLINE(收>=开 AND E,高,低,0,0),COLORred;STICKLINE(收>=开 AND E,收,开,6,0),COLORred;STICKLINE(收< 开 AND E,高,低,0,0),COLORgreen;STICKLINE(收< 开 AND E,收,开,6,0),COLORgreen;STICKLINE(开> 收 AND A,低,高,0,0),COLORYELLOW;STICKLINE(开> 收 AND A,收,开,6,0),COLORYELLOW;STICKLINE(开<=收 AND A,低,高,0,0),COLORYELLOW;STICKLINE(开<=收 AND A,收,开,6,1),COLORYELLOW;STICKLINE(开> 收 AND B,低,高,0,0),COLORRED;STICKLINE(开> 收 AND B,收,开,6,0),COLORRED;STICKLINE(开<=收 AND B,低,高,0,0),COLORRED;STICKLINE(开<=收 AND B,收,开,6,1),COLORRED;STICKLINE(开> 收 AND D,低,高,0,0),COLORGREEN;STICKLINE(开> 收 AND D,收,开,6,0),COLORGREEN;STICKLINE(开<=收 AND D,低,高,0,0),COLORGREEN;STICKLINE(开<=收 AND D,收,开,6,1),COLORGREEN;超跌:STICKLINE(KS>13,高,低,0,1),colorwhite,linethick2;反弹:STICKLINE(MLS=1,高,低,0,1),colormagenta,linethick2;STICKLINE(KS>13,开,收,8,1),colorwhite,linethick2;STICKLINE(MLS=1,开,收,8,1),colormagenta,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));红买:STICKLINE(CLOSE>KS ,REF(CLOSE,t1),REF(CLOSE,t1),1,0),linethick6,colorred;黄洗盘:STICKLINE(CLOSE>KS and CLOSE<REF(CLOSE,t1),REF(CLOSE,t1),REF(CLOSE,t1),1,0 ),linethick6,coloryellow;绿跌:STICKLINE(CLOSE<KS,REF(CLOSE,t2),REF(CLOSE,t2),1,0),linethick6,COLORCY AN; 鄂:REF(CLOSE,t1),colorblue;圆圈:REF(CLOSE,t2),colorwhite;47、与庄共舞Var1:=999999999999999999999999999;Var2:=999999999999999999999999999;Var3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;Var4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var5:=SMA(Var4,13,8);危险: 95, POINTDOT;多方: SMA(Var5,13,8);高抛: 90, POINTDOT;空方: SMA(Var3,21,8);低吸: 5, POINTDOT;关注: 10, POINTDOT;48、底部抢反弹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,pointdot;{砸锅卖铁等着你:}-30,coloryellow,pointdot;49、买卖时机V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorgreen;主力进: IF(V4>=0,V4,0);V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V A:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场: IF(VB>=0,VB,0),Coloryellow;大盘资金撤走: IF(VB<=0,VB,0),colorblue; V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;预备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'备钱'),color0099ff;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10); drawtext (bb,60,'买入'),color0099ff;见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),colorgray;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);drawtext (cc,40,'卖出'),color6699ff;50、建仓帮手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);Var6:=HHV(Var4,34);Var7:=IF(LLV(LOW,56),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;Var9:=EMA(CLOSE,5);Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);STICKLINE(Var9>REF(Var9,1),0,V ar9*0.25,4,0),color10E410;减仓:IF(Var9>REF(Var9,1),Var9*0.25,0),color10E410,STICK;STICKLINE(Var9<REF(Var9,1),0,V ar9*0.25,4,0),color1010FF;增仓:IF(Var9<REF(Var9,1),Var9*0.25,0),color1010FF,STICK;STICKLINE(Var8>REF(Var8,1),0,V ar8,4,0),color10FFFF;主力进场:IF(Var8>REF(Var8,1),Var8,0),color10FFFF,STICK;STICKLINE(Var8<REF(Var8,1),0,V ar8*1.5,4,0),colorFFF810;洗盘:IF(Var8<REF(Var8,1),Var8*1.5,0),colorFFF810,STICK;增减力度:Var10*0.2,colorFF7676;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,Var8*3,4,0),Color006EFF;↑买↑:XL3,Color006EFF,STICK;DRAWTEXT(XL3,Var8*3.5,'买'),Color006EFF;DRAWTEXT(XL3,15,'△'),COLORFF00FF;51、极品波段DIFF:=EMA(C,5)-EMA(C,20);DEA:=EMA(DIFF,10);MACD:600*(DIFF-DEA)/EMA(C,30), COLORRED ,POINTDOT;RSV:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;FK:=SMA(RSV,5,1);K20:SMA(FK,3,1), POINTDOT, COLORYELLOW;D20:SMA(K20,3,1), POINTDOT, COLORFF9999;STICKLINE(K20>=D20,D20,K20,3,0),COLORFF00FF;STICKLINE(K20<=D20,D20,K20,3,0),COLORFFFF00;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);买入:STICKLINE(CROSS(价位线,0.3),50,5,2,0), COLOR00CCFF,LINETHICK1; STICKLINE(CROSS(价位线,0.3),30,5,2,0),COLORRED,LINETHICK1;卖出:STICKLINE(CROSS(3.5,价位线),60,100,2,0), COLORRED,LINETHICK2; STICKLINE(CROSS(3.5,价位线),80,100,2,0), COLORFF9900,LINETHICK2;DRAWTEXT(CROSS(价位线,0.3),55,'买'),COLORF00FF0;DRAWTEXT(CROSS(3.5,价位线),55,'卖'),COLOR00FF00;V AR2Q:=REF(LOW,1);V AR3Q:=SMA(ABS(LOW-V AR2Q),3,1)/SMA(MAX(LOW-V AR2Q,0),3,1)*100;V AR4Q:=EMA(IF(CLOSE*1.3,V AR3Q*10,V AR3Q/10),3);V AR5Q:=LLV(LOW,30);V AR6Q:=HHV(V AR4Q,30);V AR7Q:=IF(MA(CLOSE,58),1,0);V AR8Q:=EMA(IF(LOW<=V AR5Q,(V AR4Q+V AR6Q*2)/2,0),3)/618*VAR7Q;V AR9Q:=IF(VAR8Q>100,100,V AR8Q);吸筹:STICKLINE(V AR9Q>-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,98,90,15,1),COLORFFFF00;52、主力建仓VarF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);Var19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SM A(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);Var20:=VarF<REF(Var19,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(V ar20 AND COUNT(Var20,30)=1,15,'庄买'),linethick1,COLORff00ff;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;ee:=cc<3 and dd<0.5 and OPEN<>LOW;a1:=DYNAINFO(6);a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));a3:=VOL/WINNER(LOW);a4:=REF(HHV(CLOSE,120),1);a5:=REF(LLV(CLOSE,120),1);a6:=100*(CLOSE-a5)/(a4-a5);a7:=a2>0 or a2=1;a8:=a7 and a3/REF(a3,3)>=3 and a6<80;a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);a10:=a8 and a9;a11:=IF(FILTER(a8,3),5,0);a12:=IF(FILTER(a10,3) or ee,10,0);资金进场日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;资金加仓日:IF(a12,88,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;STICKLINE(a11,0,5,5,0),colorff7700;STICKLINE(a11,0,5,4.5,0),colorff8800;STICKLINE(a11,0,5,4,0),colorff9900;STICKLINE(a11,0,5,3.5,0),colorffaa00;STICKLINE(a11,0,5,3,0),colorffbb00;STICKLINE(a11,0,5,2.5,0),colorffcc00;STICKLINE(a11,0,5,2,0),colorffdd00;STICKLINE(a11,0,5,1,0),colorffee00;STICKLINE(a12,0,15,4.5,0),color102099;STICKLINE(a12,0,15,4,0),color1020aa;STICKLINE(a12,0,15,3.5,0),color1020bb;STICKLINE(a12,0,15,3,0),color1020cc;STICKLINE(a12,0,15,2.5,0),color1020dd;STICKLINE(a12,0,15,2,0),color1020ee;STICKLINE(a12,0,15,1,0),color1020ff;DRAWTEXT(a11,8,'买');DRAWTEXT(a12,17,'加仓');Var1:=(CLOSE*2+HIGH+LOW)/4*10;Var2:=EMA(Var1,13)-EMA(Var1,34);Var3:=EMA(Var2,5);Var4:=2*(Var2-Var3)*5.5;主力: var4,COLORred,LINETHICK2 ;0,colorwhite;Var5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);Var7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; Var8:=(INDEXC*2+INDEXH+INDEXL)/4;Var9:=EMA(Var8,13)-EMA(Var8,34);VarA:=EMA(Var9,3);VarB:=(Var9-VarA)/2;大盘资金: VarB,colorgreen,linethick2;VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var10:=(HIGH+LOW+CLOSE)/3;Var11:=(Var10-MA(Var10,14))/(0.015*A VEDEV(Var10,14));Var12:=(Var10-MA(V ar10,70))/(0.015*A VEDEV(Var10,70));Var13:=IF(Var11>=150 AND Var11<200 AND Var12>=150 AND Var12<200,10,0);Var14:=IF(Var11<=-150 AND Var11>-200 AND Var12<=-150 AND Var12>-200,-10,Var13);Var15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;Var16:=100-ABS(Var15);Var17:=IF(Var16<90,Var16,100);Var1A:=IF(VarE>0,VarE,0);Var1B:=IF(Var12>=200 AND Var11>=150,15,IF(Var12<=-200 AND Var11<=-150,-15,Var14))+60;Var1C:=Var1A>48 AND Var1B>60 AND Var17<100;DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'庄卖(低位缩量则洗盘)'),linethick1,COLORffcc66;t1:= Var20 AND COUNT(V ar20,30)=1;t:=count(a8,30)>=3 and count(a10,30)>=3;t1 ;53、量能突破(操作:蓝变红交界处买入,红变蓝交界处卖出)流通:=AMOUNT/VOL;PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-L OW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJ J*(HIGH-LOW),0-VOL/2)));ZLL:=VOL/CAPITAL;HSL1:=IF(ZLL>10,10,ZLL);HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流向:LLJX,COLOR0000FF;{LINETHICK0}STICKLINE(资金流向>0,资金流向,0,7,0),COLOR0000FF;STICKLINE(资金流向<0,资金流向,0,7,0),COLORFF0000;流量基线:=GJJ;ZJLL:=REF(LLJX,1);QZJJ:=((LLJX-ZJLL)/ZJLL)*100;资金增幅百分比:IF(LLJX>0 AND ZJLL<0,ABS(QZJJ),IF(LLJX<0 AND ZJLL<0 AND LLJX<ZJLL,-QZJJ,QZJJ)),LINETHICK0;力度:HSL/1000,LINETHICK0;TTJ:=BARSLAST((VOL=HHV(VOL,40)));量能突破:TTJ<2 AND TTJ>=1 AND C>REF(C,TTJ) and 资金增幅百分比>0,linethick0,colorblack;DRAWICON(TTJ<2 AND TTJ>=1 AND C>REF(C,TTJ) and 资金增幅百分比>0 , HHV(资金流向,40)*1.5,1);54、私募跟踪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),colorgreen;私募机构加仓日: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,'进场'),COLORYELLOW;drawtext(a12,17,'加仓'),COLORWHITE;55、无量空跌var10:=100*(c-cost(10))/cost(10);var1:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100;var2:=sma(var1,4,1);var3:=sma(var2,2,1);var4:=vol/capital*34;var5:=ref(var4,1);主力建仓提醒: if(var3<8.5 and var2<11,-10,0),colorred;空跌幅度:if(var10<0,var10,0),coloryellow,linethick2;-10,colorccff99,pointdot;-20,colorccff99,pointdot;-25,colorccff99,pointdot;56、庄家行踪Var1:=EMA(EMA(CLOSE,13),13);控盘: (Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc,pointdot;STICKLINE(控盘<0,控盘,0,4,0),colorwhite;无庄控盘:控盘<0,colorwhite;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;有庄控盘: 控盘>REF(控盘,1) AND 控盘>0,colorred;Var2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),color00ff00;主力出货: 控盘<REF(控盘,1) AND 控盘>0,color00ff00;STICKLINE(Var2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),colorff00ff; 高度控盘: Var2>50 AND COST(85)<CLOSE AND 控盘>0,colorff00ff;a10:=CROSS(控盘,0);开始控盘:if(a10,6,0),coloryellow;参数设置:N、N1、M、M1可设置任意天数作现在期的筹码移动分析,但N、n1和M、m1的天数应保持一致。

大智慧量能饱和度指标源码

大智慧量能饱和度指标源码

大智慧量能饱和度指标源码大智慧量能饱和度指标是金融领域中常用的技术指标之一,用于判断市场的波动程度和交易量的强弱。

它可以帮助投资者更加准确地把握市场的变化和交易的机会。

以下是一份大智慧量能饱和度指标的源码示例,使用简体中文编写。

```pythonimport pandas as pdimport numpy as npdef lcbd(data, n=20, m=6):'''计算大智慧量能饱和度指标(Largest Capacity of Buying Demand)参数:- data: DataFrame类型的数据,包含'open', 'high', 'low', 'close', 'volume'列- n:取n日均值,默认为20- m:取m日标准差,默认为6返回值:- lcbd: Series类型的数据,包含大智慧量能饱和度指标的值'''data['c_diff'] = (data['close'] -data['close'].shift(1)).fillna(0)data['v_diff'] = (data['volume'] -data['volume'].shift(1)).fillna(0)data['buy'] = np.where(data['c_diff'] >= 0,data['volume'], 0)data['sell'] = np.where(data['c_diff'] < 0,data['volume'], 0)data['buy_cum'] = data['buy'].cumsum()data['sell_cum'] = data['sell'].cumsum()data['v_avg'] = data['buy_cum'].rolling(window=n).mean() data['v_std'] = data['buy_cum'].rolling(window=n).std() data['lcbd'] = (data['buy_cum'] - data['v_avg']) / (m * data['v_std'])lcbd = data['lcbd'].fillna(0)return lcbd#调用示例data = pd.read_csv('data.csv')lcbd_indicator = lcbd(data)print(lcbd_indicator)```以上代码中,我们使用pandas库读入了一个名为`data.csv`的数据文件,并定义了一个名为`lcbd`的函数来计算大智慧量能饱和度指标。

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

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

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

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

精选大智慧自编股票指标源码

精选大智慧自编股票指标源码

1.散户线指标公式N:=30;M:=60;散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORRED;100,COLOR00FF00,POINTDOT;50,Color00FFFF,POINTDOT;0,COLORWHITE,POINTDOT;2.MACD背离(底背离、底背)-指标公式源码DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); 底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); 顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;3.财神到(主图)-指标公式源码A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5<-0.1 AND A5>A6);mac:c,color00ffff,linethick3;ma3:ma(c,3);ma5:ma(c,5);ma10:ma(c,10);ma20:ma(c,20);财神到:IF(A7,LLV(L,21),LLV(L,21)),COLORRED,CIRCLEDOT;财神到1:IF(A7,LLV(L,21),LLV(L,21)),COLORRED;4.超级波段(回落、启动)-指标公式源码SW1:= (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;TT:=(C-SW1)/SW1*100;PT:=MA(TT,6);VARF:=TROUGHBARS(3,15,1)<1;A:=REF(VARF,1);B:=REF(VARF,2);D:=REF(VARF,3);启动1:IF(FILTER(VARF=1,5) AND CROSS(TT,PT),0,-20),COLORgreen; 启动2:IF(FILTER(A=1,5) AND CROSS(TT,PT),0,-20),COLORRED;启动3:IF(FILTER(B=1,5) AND CROSS(TT,PT),0,-20),COLORMAGENTA; 启动4:IF(FILTER(D=1,5) AND CROSS(TT,PT),0,-20),COLORYELLOW; VARF1:=PEAKBARS(3,15,1)<1;W:=REF(VARF1,1);P:=REF(VARF1,2);Q:=REF(VARF1,3);回落1:IF(FILTER(VARF1=1,5) AND CROSS(PT,TT),0,20),COLORGREEN; 回落2:IF(FILTER(W=1,5) AND CROSS(PT,TT),0,20),COLORRED;回落3:IF(FILTER(P=1,5) AND CROSS(PT,TT),0,20),COLORMAGENTA; 回落4:IF(FILTER(Q=1,5) AND CROSS(PT,TT),0,20),COLORYELLOW;。

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

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

猎庄+买入信号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;精品收费指标原码:盘中参谋精品收费指标原码:盘中参谋(准确率极高)智囊系列之"盘中参谋"(用于大智慧。

大智慧正版超赢指标源码.docx

大智慧正版超赢指标源码.docx

大智慧正版超赢指标源码大智慧超赢指标源码:{SVSH -散户线模型}input:p1(7);variable: 散户帐号数 =0;参数 :=min(1-(h-c)/c,1-(c-l)/c,1-(h-l)/c);TOP 散户 :=TOPVIEW(1360)+TOPVIEW(1361); T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);s1:=(t1-ref(t1,1));s7:=(t1-ref(t1,p1));bb:=if(order(1)-order(2)>=0,pow(abs((order(1)-order(2))*参数),0.8),0-pow(abs((order(1)-order(2))*参数),0.8));;aa:=INTPART(max(min(散户帐号数+bb,capital/8),capital/2000));散户帐号数 :if(TOPVIEW(1400,0,1)0,TOP散户,aa),PRECIS0,linethick2;drawmovetext(s7>0,numtostr(p1)+'日内散户增仓占'+numtostr(s7)+'%'),colorgreen;drawmovetext(s71,散户帐号数,'散户当日增仓占流通盘的'+NUMTOSTR(s1)+'%'),colorgreen;drawflagtext(s1<-1,散户帐号数,'散户当日减仓占流通盘的'+NUMTOSTR(abs(s1))+'%'),colorred;DRAWGBK((topview(1400,0,10)-ref(topview(1400,0,10),1))0 and STRCMP(STKLABEL,'000001')0 andcapital0),COLOR484848;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))>0,' 流通 A 股增加了'+NUMTOSTR((topview(1400,0,10)-ref(topview(1400,0,10) ,1))/10000)+' 万股 '),coloryellow;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))<0,' 流通 A 股减少了'+NUMTOSTR((ref(topview(1400,0,10),1)-topview(1400,0, 10))/10000)+' 万股 '),coloryellow;{SVZL -主力持仓分析}input:p1(7);主力持仓 :topview(1436,0,200),LINETHICK2;bb1:= 主力持仓 -ref( 主力持仓 ,1);STICKLINE(bb1=0,bb1+ 主力持仓 ,主力持仓,0.1,0),colorred;STICKLINE(bb1>=0.2 and bb1-0.2 and bb1<0,主力持仓+bb1, 主力持仓 ,0.1,0),COLORCYAN;STICKLINE(bb1-1,主力持仓+bb1,主力持仓,1,0),COLORCYAN;STICKLINE(bb1-2,主力持仓+bb1,主力持仓,2,0),COLORCYAN;STICKLINE(bb10,NUMTOSTR(p1)+'日内买卖净占比'+NUMTOSTR(多日净值)+'%'),colorred;drawmovetext(多日净值0.2,主力持仓+bb1,'当日主力净买入占流通盘的'+NUMTOSTR(intpart(bb1*100)/100)+'%'),colorred;drawflagtext(bb1<=-0.2,主力持仓+bb1,'当日主力净卖出占流通盘的'+NUMTOSTR(intpart(-bb1*100)/100)+'%'),colorgreen;DRAWGBK((topview(1400,0,10)-ref(topview(1400,0,10),1))0 and STRCMP(STKLABEL,'000001')0 andcapital0),COLOR484848;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))>0,' 流通 A 股增加了'+NUMTOSTR((topview(1400,0,10)-ref(topview(1400,0,10),1))/10000)+' 万股 '),coloryellow;drawmovetext((topview(1400,0,10)-ref(topview(1400,0,10),1))<0,' 流通 A 股减少了'+NUMTOSTR((ref(topview(1400,0,10),1)-topview(1400,0, 10))/10000)+' 万股 '),coloryellow;drawtextabs(0,0,'超赢主力持仓'),coloryellow;{SVZJ -资金流向决策分析 }T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户:=(T1-REF(T1,1))*capital/10000*(c/if(TYPE=0,255.5,1));中户:=(T2-REF(T2,1))*capital/10000*(c/if(TYPE=0,255.5,1));大户:=(T3-REF(T3,1))*capital/10000*(c/if(TYPE=0,255.5,1));超大:=(T4-REF(T4,1))*capital/10000*(c/if(TYPE=0,255.5,1));净额 :=if(TYPE=0 and date0,0,净额,3,0),colorred;stickline( 净额 <0,0, 净额 ,3,0),colorgreen;stickline( 净额 =0,0, 净额 ,3,0),colorwhite;drawmovetext(1,'活跃资金进出'+numtostr(净额)+'万元'); drawtextabs(0,0,'超赢资金流'),coloryellow;{SVSS -超赢实时监控 }T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户 :(T1-REF(T1,1))*capital/10000*c,PRECIS1,colorstick;中户 :(T2-REF(T2,1))*capital/10000*c,PRECIS1,colorstick;大户 :(T3-REF(T3,1))*capital/10000*c,PRECIS1,colorstick;超大 :(T4-REF(T4,1))*capital/10000*c,PRECIS1,colorstick; drawtextrel(0,997,'净额(万元)');drawtextrel(0,998.5,' 分类 ');drawtextrel(10,998,'#RULER10'),COLORYELLOW;drawtextrel(20,998,'#RULER10'),COLORYELLOW; drawtextrel(30,998,'#RULER10'),COLORYELLOW;drawtextrel(40,998,'#RULER10'),COLORYELLOW;{SVYY -引用指标 }原散户 :TOPVIEW(1430,0,100);原中户 :TOPVIEW(1431,0,100);原大户 :TOPVIEW(1432,0,100);原超大 :TOPVIEW(1433,0,100);昨日原散户 :REF( 原散户 ,1);昨日原中户 :REF( 原中户 ,1);昨日原大户 :REF( 原大户 ,1);昨日原超大 :REF( 原超大 ,1);{SVQS -超赢盘中趋势}昨天的超大 :="SVYY. 昨日原超大 #day";昨天的大户 :="SVYY. 昨日原大户 #day";昨天的中户 :="SVYY. 昨日原中户 #day";昨天的散户 :="SVYY. 昨日原散户 #day";当日超大 1:=(ordervol(1,3)-ordervol(2,3))/capital*100;当日大户1:=((ordervol(1,2)-ordervol(2,2))-(ordervol(1,3)-ordervol(2, 3)))/capital*100;当日中户1:=((ordervol(1,1)-ordervol(2,1))-(ordervol(1,2)-ordervol(2, 2)))/capital*100;当日散户 1:=0- 当日中户 1- 当日大户 1- 当日超大 1;当日散户 :=sum( 当日散户 1,0);当日中户 :=sum( 当日中户 1,0);当日大户 :=sum( 当日大户 1,0);当日超大 :=sum( 当日超大 1,0);最新超大 := 昨天的超大 +当日超大 ;最新大户 := 昨天的大户 +当日大户 ;最新中户 := 昨天的中户 +当日中户 ;最新散户 := 昨天的散户 +当日散户 ;回归后散户仓位:=1/(exp(50)/100*exp(-(50+(最新散户-50)/20))+0.01);回归后中户仓位:=1/(exp(50)/100*exp(-(50+(最新中户-50)/20))+0.01);回归后大户仓位:=1/(exp(50)/100*exp(-(50+(最新大户-50)/20))+0.01);回归后超大仓位:=1/(exp(50)/100*exp(-(50+(最新超大-50)/20))+0.01);归百 :=100/( 回归后散户仓位 +回归后中户仓位 +回归后大户仓位 +回归后超大仓位 );超大 :=回归后超大仓位*归百 ;大户 :=回归后大户仓位*归百 ;中户 :=回归后中户仓位*归百 ;散户 :=回归后散户仓位*归百 ;盘中变化 :大户 +超大 -ref( 大户 ,1)-ref( 超大,1),colorstICK,LINETHICK2;超赢趋势 :sum( 盘中变化 ,0);{SVFL -超赢分类统计}refline:0,25,50,75;T1:=topview(1430);T2:=topview(1431);T3:=topview(1432);T4:=topview(1433);散户 :percentbar(T1,REF(T1,1)),COLORGREEN;中户 :percentbar(T2,REF(T2,1)),COLORBLUE;大户 :percentbar(T3,REF(T3,1)),COLORCYAN;超大 :percentbar(T4,REF(T4,1)),COLORRED; drawtextrel(0,997,'比例%');drawtextrel(0,998.5,' 分类 ');drawtextrel(10,997,numtostrn(T1,1)),COLORGREEN;drawtextrel(20,997,numtostrn(T2,1)),COLORBLUE; drawtextrel(30,997,numtostrn(T3,1)),COLORCYAN; drawtextrel(40,997,numtostrn(T4,1)),COLORRED; drawtextrel(10,998,'#RULER10'),COLORYELLOW; drawtextrel(20,998,'#RULER10'),COLORYELLOW; drawtextrel(30,998,'#RULER10'),COLORYELLOW;drawtextrel(40,998,'#RULER10'),COLORYELLOW;{SVPH -分类排行 }散户 :=topview(1430);中户 :=topview(1431);大户 :=topview(1432);超大 :=topview(1433);P1 日前散户 :=REF( 散户 ,P1);散户持仓 :percentbar( 散户 ,P1 日前散户 ); P2 日前中户 :=REF( 中户 ,P2);中户持仓 :percentbar( 中户 ,P2 日前中户 ); P3 日前大户 :=REF( 大户 ,P3);大户持仓 :percentbar( 大户 ,P3 日前大户 ); P4 日前超大 :=REF( 超大 ,P4);超大持仓 :percentbar( 超大 ,P4 日前超大 );散户增减 :散户 -P1 日前散户 ;中户增减 :中户 -P2 日前中户 ;大户增减 :大户 -P3 日前大户 ;超大增减 :超大 -P4 日前超大 ;活跃资金增减 :大户 +超大 -ref( 大户 ,1)-ref( 超大 ,1);{TRT -顺势交易 }variable:p1=0;c1:=INTPART(cyc(5)*100*0.96)/100;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p40:=intpart(maxcyc*100)/100;p41:=intpart(ref(MAXCYC,1)*100)/100;p4:=p1=0 and c>p2 or(ref(vol/100,1)intpart(p2*0.98*100)/100 andvol>min(capital*0.05,ref(ma(vol,34),1)));p5:=p1=1 and c<min(p3,p41);p1:=if(p4=1,1,if(p5=1,0,ref(p1,1)));STICKLINE(p1=1 and co,c,o,8,1),colorffff54;STICKLINE(p1=0 and c>o,c,h,0.5,0),colorffff54;STICKLINE(p1=0 and c>o,l,o,0.5,0),colorffff54;DRAWTEXT(cross(p1,0),l*0.9,'B'),coloryellow,LINETHICK3;DRAWTEXT(cross(1,p1),h*1.05,'S'),COLORgreen,LINET HICK3;DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c>0.1,c,'持币');DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c<=0.1 andref(vol/100,1)<vv,c,' 明日收盘价超过'+str(p2)+'; 或收盘价超过'+str(intpart(p2*0.98*100)/100)+' 且成交量大于 '+str(vv)+'买入 ');DRAWFLAGTEXT(p1=0 and (p2*0.98-c)/c=vv,c,' 明日收盘价超过 '+str(p2)+' 买入 ');DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)>0.1 ,c,' 持股 ');DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)<=0.1 ,c,' 明日收盘价跌破'+str(min(c1,p40))+' 卖出 ');;{SUPL - 主力资金线 }variable:eye=0;eye:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;eyes:=sum(eye,0);gold:=eyes+50;主力资金 :gold,color0093f5;STICKLINE(eye>0 and eye=2,gold,gold+eye,4,0),colorred;STICKLINE(eye>-0.5 andeye<=0,gold+eye,gold,0.5,0),COLORCYAN;STICKLINE(eye-1,gold+eye,gold,2,0)SUZL,COLORCYAN;STICKLINE(eye-2,gold+eye,gold,3,0),COLORCYAN;STICKLINE(eye=0.3,gold+eye,'当日主力净买入力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorred;drawflagtext(eye<=-0.3,gold+eye,'当日主力净卖出力度'+NUMTOSTR(intpart(eye*100)/100)+'%'),colorgreen;{每日大单 }每日大单:(bigorder(1)-bigorder(2))*vol/capital*100,color3d;{超赢买入- 选股公式 }DDX:=(BIGORDER(1)-BIGORDER(2))*vol/capital*100;DDX>0.1 and DYNAINFO(14)0.1 ANDCOUNT(DDX>0,10)>=3 and ddx>0.15;。

[大智慧]非常实用的选股指标代码大全(共125个)

[大智慧]非常实用的选股指标代码大全(共125个)

[大智慧] 非常实用的选‎股指标大全(共125个)--------------------------------------------------------------------------------非常实用的大‎智慧选股指标‎大全,自己可以随意‎自己加减汇编‎,不怕你没能力‎,就怕你没创意‎,只要你有创意‎,就可以自己编‎写!--------------------------------------------------------------------------------1,30个交易日‎内,股价跌幅达到‎一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的‎2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<0.3;3,两天内,累计下跌等于‎或超过20%选股.xg:(ref(c,2)-c)/c>0.2;4,股价是25天‎以来新低.xg:c<ref(llv(c,25),1);5,选股:EXPMA5日与10日‎金叉并且第二天的‎收盘价在EX‎PMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c>ema(c,5);6,请编买入公式‎:1. 将BIAS指‎标的参数设置‎为24日,将KD指标的‎参数设置为9‎;3;3。

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

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

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

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorf‎f00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORW‎H ITE;D:=SMA(K,3,1),COLORY‎E LLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3‎左右,涨幅>7个点。

大智慧指标公式颜色代码

大智慧指标公式颜色代码

大智慧指标公式颜色代码白色:colorWhite酒红:colorCyan粉色:colorff99ff紫罗兰:colore66878紫色:colorff0099黄色:colorYellow谷黄:Color208FFF蓝色:colorCyan天蓝:Colorblue红色:Colorred深红:color000999绿色:colorgreen浅绿:COLOR99FF66深绿:color399c7f军绿:color399c7f锈红:color0055ff红色colorred、灰色colorgray、绿色colorgreen、黄色coloryellow、蓝色colorblue、白色colorwhite.另外颜色还有:粉红colorf00ff0、草绿color00ff00、淡蓝colorf0f000、紫色colorff0099、金黄色color008364、紫红color000999、综色color0055ff、深黄色color00cccc、紫罗蓝colore66878、天蓝色colorff937f深草绿color399c7f红色:colorred,linethick2,POINTDOT多变K线:Var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,CLOSE,REF(CLOSE,1),8,0),colorred;VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(VarD OR VarE OR VarF OR Var10 OR Var11 ORVar12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,CLOSE,REF(CLOSE,1),8,0),colorgreen;Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND Var1;STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),8,0),colormage nta;Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,1) AND VarD;STICKLINE(Var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),colorblue;0:colorCyan;linethick220:Colorred;linethick250:Color208FFF;linethick280:colorgreen;linethick2100:COLOR99FF66;linethick2DRAWTEXTABS(20,10,'暖色系图谱为多头控制区域,'),Color00FFFF;DRAWTEXTABS(20,25,'若股价创新高而该指标不'),Color00FFFF;DRAWTEXTABS(20,40,'若股价创新低而该指标不'),Color00FFFF;低吸:20,colorgreen;强弱:50,colorwhite;风险:80,colorblue;DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),linethick2;DEA : EMA(DIFF,M),linethick2;MACD : 2*(DIFF-DEA), COLORSTICK,linethick2;。

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

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

很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):一、专吸庄血(公式源码)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. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

大智慧指标代码
1、〖110〗:MA 移动平均线
2、〖112〗:CHANNELS 通道线
3、〖114〗:主力成本
4、〖115〗:TDX 天地线
5、〖116〗:SAR 抛物转向
6、〖117〗:XS 薛氏通道
7、〖118〗:PBX 瀑布线
8、〖120〗:ROC 变动速率
9、〖121〗:MTM 动力指标
10、〖123〗:DMI 趋向指标
11、〖125〗:RSI 相对强弱指标
12、〖126〗:主力轨迹
13、〖128〗:DMA 平均离差
14、〖130〗:DPO 区间震荡线
15、〖132〗:MACD 指数平滑异同平均线
16、〖133〗:KDJ 随机指标
17、〖134〗:CCI 顺势指标
18、〖139〗:PSY 心理线
19、〖140〗:BIAS 乖离率
20、〖141〗:W&R 威廉指标
21、〖142〗:%B 布林极限
22、〖143〗:CR 能量指标
23、〖144〗:BRAR 人气意愿指标
24、〖148〗:TRIX 三重指数平滑平均数
25、〖149〗:ASI 振动升降指标
26、〖150〗:OBV 能量潮
27、〖151〗:主力进出
28、〖154〗:MFI 资金流量指标
29、〖155〗:PVI 正量指标
30、〖156〗:NVI 负量指标
31、〖157〗:VMACD 指数平滑异同平均线
32、〖158〗:VR 容量比率
33、〖161〗:WVAD 威廉变异离散量
34、〖163〗:EMV 简易波动指标
35、〖164〗:拉升在即
36、〖165〗:底部构成
37、〖166〗:主力买卖
38、〖170〗:MIKE 麦克指标
39、〖171〗:CDP 逆势操作
40、〖180〗:ADL 藤落指数
41、〖181〗:ADR 涨落比率
42、〖182〗:ABI 指标
43、〖183〗:STIX 指数平滑广量指标
44、〖187〗:EXPMA 平滑移动平均线
45、〖AD〗:AD集散量、A/D上涨家数比
46、〖ABI〗:ABI 指标
47、〖ACD〗:ACD 收集派发
48、〖ADL〗:ADL 藤落指数
49、〖ADR〗:ADR 涨落比率
50、〖ALF〗:ALF 过滤指标
51、〖ASI〗:ASI 振动升降指标
52、〖ASR〗:ASR 浮筹比例
53、〖ATR〗:ATR 真实波幅
54、〖AMOUNT〗:AMOUNT 成交额
55、〖ADTM〗:ADTM 动态买卖气指
56、〖B〗:%B 布林极限
57、〖BBI〗:BBI 多空指数
58、〖BTI〗:BTI 广量冲力指标
59、〖BFTD〗:
60、〖BIAS〗:BIAS 乖离率
61、〖BOLL〗:BOLL 布林线
62、〖BRAR〗:BRAR 人气意愿指标
63、〖B3621〗:B3621三减六日乖离
64、〖BWIDTH〗:BWIDTH 布林极限宽
65、〖BBIBOLL〗:BBIBOLL 多空布林线
66、〖CD〗:CD 相对强度
67、〖CHAIKIN〗: CHAIKIN 佳庆线
68、〖CR〗:CR 能量指标
69、〖CCI〗:CCI 顺势指标
70、〖CDP〗:CDP 逆势操作
71、〖CHO〗:CHO 济坚指数
72、〖CYC〗:CYC 指南针成本均线
73、〖CYS〗:CYS 市场盈亏
74、〖CYW〗:CYW 主力控盘
75、〖CYQKL〗: CYQKL 指南针博弈K线长度
76、〖DDI〗:DDI 方向标准离差指数
77、〖DKX〗:DKX 多空线
78、〖DMA〗:DMA 平均离差
79、〖DMI〗:DMI 趋向指标
80、〖DMI-QL〗DMI-QL 趋向指标(钱龙)
81、〖DPO〗:DPO 区间震荡线
82、〖DBCD〗:DBCD 异同离差乖离率
83、〖DBGC〗:DBGC 底部构成
84、〖DPTB〗:DPTB 大盘同步指标
85、〖EMV〗:EMV 简易波动指标
86、〖ENV〗:ENV 轨道线
87、〖EOM〗:EOM 活动能力
88、〖EXPMA〗:EXPMA 平滑移动平均线
89、〖GDS〗:股东数
90、〖GLZB〗:ALF 过滤指标
91、〖HDNL〗:EOM 活动能力
92、〖II〗:II当日成交密度
93、〖JDQS〗:JDQS 阶段强势指标
94、〖JJZB〗:CHO 济坚指数
95、〖JEZF〗:江恩正方
96、〖KD〗:KD 随机指标
97、〖KDJ〗:KDJ 随机指标
98、〖KST〗:KST 完定指标
99、〖LFS〗:LFS 锁定因子
100、〖LWR〗:LW&RLWR 威廉指标
101、〖LJX〗:量价线
102、〖LJQS〗:VPT 量价趋势
103、〖LSZJ〗:LSZJ 拉升在即
104、〖M1〗:M1 移动平均线
105、〖MA〗:移动平均线
106、〖MI〗:MI 动量指标
107、〖MFI〗:MFI 资金流量指标
108、〖MJR〗:MJR
109、〖MTM〗:MTM 动力指标
110、〖MACD〗:MACD 指数平滑异同平均线111、〖MASS〗:MASS 重量指数
112、〖MICD〗:MICD 异同离差动力指数113、〖MIKE〗:MIKE 麦克指标
114、〖NDB〗:NDB 脑电波
115、〖NVI〗:NVI 负量指标
116、〖NORVOL〗:NORVOL 标准化成交量117、〖OX〗:OX 图
118、〖OBV〗:OBV 能量潮
119、〖OSC〗:OSC 震荡量
120、〖OBOS〗:OBOS 超买超卖
121、〖OLAL〗:OLAL 叠加线
122、〖PR〗:PR 穿透率
123、〖PBX〗:PBX 瀑布线
124、〖PSY〗:PSY 心理线
125、〖PVI〗:PVI 正量指标
126、〖PVT〗:PVT价/量趋势
127、〖PRICE〗:PRICE 价位线
128、〖PRICEOSC〗:PRICEOSC 指数震荡129、〖QLCX〗:钱龙长线
130、〖QLDX〗:钱龙短线
131、〖QLZB〗:钱龙指标
132、〖QRSI〗:QRSI 量RSI
133、〖QHLSR〗:QHLSR 阻力指标
134、〖RC〗:RC 变化率指数
135、〖RS〗:RS 相对强弱比
136、〖RMI〗:RMI
137、〖ROC〗:ROC 变动速率
138、〖RSI〗:RSI 相对强弱指标
139、〖RCCD〗:RCCD 异同离差变化率指数140、〖SP〗:SP 低点搜寻交易系统
141、〖SAR〗:SAR 抛物转向
142、〖SCR〗:SCR 筹码集中度
143、〖SMI〗:SMI
144、〖SJKB〗:FASTKD 随机快步
145、〖SJPF〗:ACD 收集派发
146、〖SOBV〗:SOBV 能量潮
147、〖SRMI〗:SRMI MI 修正指标
148、〖STIX〗:STIX 指数平滑广量指标
149、〖SLOWKD〗:SLOWKD 慢速KD
150、〖SDKJ〗:四度空间
151、〖TBR〗:TBR 新三价率
152、〖TDX〗:TDX 天地线
153、〖TDZS〗:CCI-4.0 通道指数
154、〖TRIX〗:TRIX 三重指数平滑平均数155、〖TRIX40〗:TRIX-4.0 TRIX趋向指标156、〖UOS〗:UOS 终极指标
157、〖VB〗:VB 波幅通道
158、〖VR〗:VR 容量比率
159、〖VMA〗:VMA 成交量指标
160、〖VOL〗:VOL 成交量
161、〖VPT〗:VPT 量价趋势
162、〖VOSC〗:VOSC 成交量震荡
163、〖VSTD〗:VSTD 成交量标准差
164、〖VMACD〗:VMACD 指数平滑异同平均线165、〖WR〗:W&R 威廉指标
166、〖WDZB〗:KST 完定指标
167、〖WLLD〗:威力雷达
168、〖WVAD〗:WVAD 威廉变异离散量
169、〖XS〗:XS 薛氏通道
170、〖XDT〗:XDT 心电图
171、〖ZIG〗: ZIG ZIG ZAG 之字转向
172、〖ZDZB〗:ZDZB 筑底指标
173、〖ZHPS〗:ZHPS 智慧判势
174、〖ZHSL〗:ZHSL 换手率
175、〖ZLGJ〗:ZLGJ 主力轨迹
176、〖ZLJC〗:ZLJC 主力进出
177、〖ZLMM〗:ZLMM 主力买卖
178、〖ZUPR〗:ZUPR 阶段涨幅
179、〖ZVOL〗:ZVOL 阶段总成交量
180、〖ZLCB〗:主力成本
181、〖ZAMOUNT〗:ZAMOUNT 阶段总成交额182、〖FASTKD〗:FASTKD 随机快步
183、〖CCI40〗:CCI-4.0 通道指数
184、〖STOCKRSI〗:STOCKRSI。

相关文档
最新文档