最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 【大智慧源码公式集锦】【大智慧上源码引入方法】 (三)

    正文概述    2024-04-07 23:05:32  
    1. 把要导入的指标(源码)考下来,方法是用左键先把源码变蓝,之后点右键,点复制;
    2. 进入大智慧------ 特色功能------ 自编指标------ 常用------ 技术指标------ 新建,在出现的指标编辑区的下面的空白处,把刚考的源码粘贴上,将指标名称复制后粘贴到指标名称栏------ 确认------ 退出。
    3.如有参数的,如:N 1 100 15之类,则需将这类数据填充到参数表中。
    4.指标源码以外的内容,如:名称,说明以及参数等等,凡在{ }以外的,均要删除,或者用{ }将其括上。
    5、在大智慧的底部显示栏中点击指标名称即可看到刚刚导入的指标。
    二、rar和exp格式指标文件文件的引入方法:
    有一兄弟问偶:
    大哥,请教个问题,你在指标区发的 金牌黑马(大智慧)我觉得很好,下载了,但是不知道怎么用在大智慧上,我是新手,麻烦你有时间的话,告诉我好吗?谢谢啦
    偶是这样答复滴:
    复制指标->打开大智慧-> 功能 菜单->自编指标->新建->下面空白处点鼠标右键选 粘贴 ->最上面 指标名称 输入 金牌黑马 ->确认->打开随便一只个股的K线图->输入 jphm 回车(jphm是 金牌黑马 的拼音代码)->你会发现K线图变了->搞定!
    上面是指标原码的使用方式,下面说说.EXP格式的使用方法,.EXP是大智慧的指标模块,只有大智慧才能使用,用法如 下:
    打开大智慧->功能->自编指标->引入->选择你的EXP文件->全部选中->确定。如果是rar格式的文件,需要解压文件,解压到dzh ind export,然后 打开大智慧->功能->自编指标->引入->选择你的EXP文件->全部选中->确定。
    恭喜你,你已经学会了

    10跟庄建仓
    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;
    (趋势
    DRAWICON(CROSS(趋势,0),0,1);
    ((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,9);
    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,5,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;
    趋势线: 趋势,colorff0000;
    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;
    11大智慧副图 [涨幅前兆]
    DRAWGBKLAST(v 1,STRIP(RGB(30,30,30),RGB(130,130,130),0));
    DRAWTEXTREL(10,0,'涨幅前兆 '),LINETHICK6,Coloryellow;
    DRAWTEXTREL(10,180,'代码:'+STKLABEL+' 名称:'+STKNAME),LINETHICK3,Color0000ff;Var3:=LLV(HIGH,240);
    Var4:=100*(CLOSE-Var3)/Var3;
    Var5:=REF(LLV(CLOSE,480),1);
    Var6:=REF(HHV(CLOSE,480),1);
    Var7:=100*(CLOSE-Var5)/(Var6-Var5);
    Var8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
    Var9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;
    VarA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
    VarB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
    VarC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
    VarD:=IF(DATE 1031231,IF(VarC 23.16,VarC,0),0);
    VarE:=VarC
    VarF:=VarD;
    Var10:=Var4 0 AND Var7
    Var11:=1;
    Var12:=(HIGH+LOW+CLOSE*2)/4*Var11;
    Var13:=EMA(Var12,21);
    Var14:=STD(Var12,21);
    Var15:=((Var12-Var13)/Var14*100+200)/4*Var11;
    Var16:=(EMA(Var15,89)-25)*1.56*Var11;
    Var17:=EMA(Var16,5)*1.22*Var11;
    Var18:=EMA(Var17,3)*Var11;
    Var19:=3*Var17-2*Var18*Var11;
    Var1A:=IF(CROSS(Var19,Var17) AND CROSS(Var19,Var18) AND CROSS(Var17,Var18),1,0);
    Var1B:=IF(CROSS(Var17,Var19) AND CROSS(Var18,Var19) AND CROSS(Var18,Var17),1,0);
    买点: IF(FILTER(Var8=0 AND VarE AND Var10 AND Var1A,5)=1,10,0), colorred;
    卖点: IF(FILTER(Var8=100 AND VarF AND Var1B,5)=1,10,0),colorgreen;
    Var1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
    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);
    Var21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    Var22:=EMA(Var21*0.97,3);
    Var23:=(HIGH+LOW+CLOSE)/3;
    Var24:=(Var23-MA(Var23,14))/(0.015*AVEDEV(Var23,14));
    Var25:=IF(YEAR 2008 AND Var1F 0.015,Var20,0)/45;
    庄拉线: Var25,coloryellow ;
    Var26:=EMA(CLOSE,2)-EMA(CLOSE,150);
    Var27:=EMA(Var26,100);
    Var28:=2*(Var26-Var27);
    Var29:=POW(Var28,3)*0.1+POW(Var28,1);
    Var2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    Var2B:=EMA(Var2A*0.97,3);
    Var2C:=(HIGH+LOW+CLOSE)/3;
    Var2D:=(Var2C-MA(Var2C,14))/(0.015*AVEDEV(Var2C,14));
    黑马线: IF( Var28 0.1,Var29,0)*5,colorred;
    量价线: (CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,colorwhite;
    Var2E:=IF(FILTER(量价线 0 AND 量价线 3,5)=1,12,0);
    涨幅前兆: IF(FILTER(庄拉线 0 AND 庄拉线 0.5 AND Var2E AND Var1C 3,10)=1,10,0), colorwhite;
    选股利器: IF(FILTER(Var2E 0 AND Var1C 2 AND 庄拉线 0 AND 庄拉线 1
    AND 黑马线 0 AND 黑马线 1.5 AND Var2E 0,5)=1,10,0),colorffffff;
    DRAWICON(买点 0,10,1);
    DRAWICON(卖点 0,10,2);
    DRAWICON(涨幅前兆 0,10,1);
    DRAWICON(选股利器 0,10,1);
    12大智慧指标:牛气冲天
    箱顶: HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58),color00aaff;
    箱底: LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58),color00ff00;
    Var1:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱底,2);
    Var2:=(3*Var1-2*SMA(Var1,5,1))*0.3;
    Var3:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
    Var4:=EMA(3*Var3-2*SMA(Var3,18,1),5);
    Var5:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
    Var6:=3*SMA(Var5,3,1)-2*SMA(SMA(Var5,3,1),5,1);
    Var7:=(INDEXC*2+INDEXH+INDEXL)/4;
    Var8:=EMA(Var7,13)-EMA(Var7,34);
    Var9:=EMA(Var8,5);
    VarA:=(Var8-Var9+箱底)*1;
    VarB:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34);
    趋势力度: VarB,colorffaa99;
    VarC:=箱底;
    STICKLINE(C =O,C,O,7,0),COLORRED;
    STICKLINE(C =O,C,O,4,0),COLOR7070ff;
    STICKLINE(C =O,C,O,2,0),COLORYELLOW;
    STICKLINE(C =O,H,L,0,0),COLORYELLOW;
    STICKLINE(C =O,C,O,7,0),COLORFF2020;
    STICKLINE(C =O,C,O,4,0),COLORFF6600;
    STICKLINE(C =O,C,O,2,0),colorffcc66;
    STICKLINE(C =O,H,L,0,0),colorffcc66;
    牛气冲天: STICKLINE(趋势力度 =VarC,VarC,趋势力度,4,0),colorred;
    STICKLINE(趋势力度 =REF(趋势力度,1) AND 趋势力度 VarC,VarC,趋势力度,4,1),colorffff00;
    趁机派发: 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;
    以下《牛气冲天》使用技巧另安装
    可以粘贴在指标注释中
    1.股价横盘,牛气冲天白线与箱顶线粘合,股价向上突破,出现 追 是最佳买入时机。
    2.股价下跌一段时间,白线掉头触及M34紫线最佳买入时机。
    3.股价上升,第二天下调至箱顶线 棕黄色 附近上下都可,买入,具体操作个人掌握。
    4.股价下跌一段时间,股价向上突破箱顶线,买入。
    5.白线下穿棕黄线,卖出
    6白线不下穿棕黄线,均可持股
    13天狼50(增量资金更明显)
    VAR1:=C-REF(C,1);
    VAR2:=o-REF(o,1);
    VAR3:=h-REF(h,1);
    VAR4:=l-REF(l,1);
    var5:=(var1+var2+var3+var4)/4;
    天狼:ma(var5*vol,14) ,linethick0;
    stickline(天狼 0,天狼,0,6,0), colorred;
    stickline(天狼 0,天狼,0,6,0) ,colorgreen;
    主力建仓指标
    Var2:=1/WINNER(CLOSE);
    Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);
    STICKLINE(Var2 5,Var3 100,Var2,5,0),colorred;
    Var4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
    Var5:=SMA(Var4,5,1);
    Var6:=SMA(Var5,9,1);
    STICKLINE(VOL AND Var6 18,0,Var2*0.5,5,0),coloryellow;
    〖觅庄建仓〗:0,coloryellow;
    大智慧指标集(超强收集,全部源码)
    上一篇 / 下一篇2006-09-21 19:26:26 / 天气: 晴朗 / 心情: 高兴 / 精华(3)
    查看( 3703 ) / 评论( 29 )
    一、会员指标100万
    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 Var3,Var2,0),25);
    Var5:=SUM(IF(Var3 0 AND Var3 Var2,Var3,0),25);
    Var6:=Var4*100/Var1;
    Var7:=Var5*100/Var1;
    Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100,15);
    Var9:=(Var8+REF(Var8,15))/2;
    A:=(Var7 Var6 AND Var7 25 AND Var6
    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
    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
    mm:=A AND D AND Var10 AND Var14 ;
    DRAWTEXT(W=1000,b*1.05,'卖' ),COLOR00ff00;
    DRAWTEXT(D=1000,b*1.05,'买'),COLORred;

    本文转载 金爵别墅 老师的帖 并无提供公式下载,请参考公式编辑录像自己编辑成公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 【大智慧源码公式集锦】【大智慧上源码引入方法】 (三) 加入收藏