【股票指标公式下载】-【大智慧】金叉叠加(阻价、支价、今撑).doc_第1页
【股票指标公式下载】-【大智慧】金叉叠加(阻价、支价、今撑).doc_第2页
【股票指标公式下载】-【大智慧】金叉叠加(阻价、支价、今撑).doc_第3页
【股票指标公式下载】-【大智慧】金叉叠加(阻价、支价、今撑).doc_第4页
【股票指标公式下载】-【大智慧】金叉叠加(阻价、支价、今撑).doc_第5页
免费预览已结束,剩余2页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

【大智慧】金叉叠加(阻价、支价、今撑)-指标公式源码DRAWGBK(close0,STRIP(RGB(25,25,112),RGB(47,79,79),0);RSV:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLOR00DDDD; J:3*K-2*D,LINETHICK2,COLOR800080;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;DEA :EMA(DIFF,9),linethick0,COLORD89837;MACD:2*(DIFF-DEA),COLORFF9999,linethick0;YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100);阻价:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low);支价:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC);今压:REF(阻价,1),LINETHICK0,COLORAA11BB;今撑:REF(支价,1),LINETHICK0,COLOR009900;明压:阻价,LINETHICK0;明撑:支价,LINETHICK0;rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8)*101;kk:=sma(rsv1,3,1);dd:=sma(kk,3,1);jj:=3*kk-2*dd;买卖:=if(jj=100,100,if(jj=0,0,jj);明天买:if(买卖=100,0-10,0),color00cccc;明天卖:if(买卖=0,90,100),color00ff00;KX:=250;KH:=HHV(K,KX);DH:=HHV(D,KX);JH:=HHV(J,KX);KL:=LLV(K,KX);DL:=LLV(D,KX);JL:=LLV(J,KX);HKMAX:=MAX(KH,MAX(DH,JH);LKMIN:=MIN(KL,MIN(DL,JL);KHLB:=(HKMAX+LKMIN)/2;KHLC:=HKMAX-LKMIN;MHF:=HHV(DIFF,KX);MHD:=HHV(DEA,KX);MHM:=HHV(MACD,KX);MLF:=LLV(DIFF,KX);MLD:=LLV(DEA,KX);MLM:=LLV(MACD,KX);HMAX:=MAX(MHF,MAX(MHD,MHM);LMIN:=MIN(MLF,MIN(MLD,MLM);FHLB:=(HMAX-LMIN)/100;FHLC:=HMAX-LMIN;SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;CDA:=MACD0;CDB:=MACD=ref(MACD,1) and MACD0;CDC:=MACDref(MACD,1) and MACD0;CDD:=MACD=ref(MACD,1) and MACD0,RGB(255,153,153),DIFF0,RGB(65,105,225),DEAref(diff,1),20,20,2,0),COLORRED;STICKLINE(diff=ref(K,1) or kd and diffref(diff,1),80,80,2,1),COLORRED;STICKLINE(K=(0-0.05) AND MACD0 AND MACD=REF(MACD,1) AND DIFF=0,1,0);DRAWTEXT(DIFF金叉=1,DIFFA*1.68,DIFF金叉),colorCDFFBB;低位金叉:=CROSS(DIFF,DEA) AND DIFF=0);二次金叉:=CROSS(DIFF,DEA) AND DEACLOSE AND DIFFREF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背离,DEAA*0.99-16, 底背离),Color0099FF;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1);顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,顶背离),COLORDDAAAA;周金叉,死叉周DIFF:=MACD.DIFF#WEEK;周DEA:=MACD.DEA#WEEK;周MACD:=MACD.MACD#WEEK;DIF周金叉:=CROSS(周DIFF,周DEA);DRAWTEXT(DIF周金叉,DEAA,DIFF周金叉),COLOR0099FF;DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,DIFF周死叉),align0,COLORCDFFBB;MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD=(0-0.05) AND 周MACD=0.02;DRAWTEXT(MACD周金叉,macda-0.03,MACD周金叉),color00FFFF;月金叉,死叉月DIFF:=MACD.DIFF#MONTH;月DEA:=MACD.DEA#MONTH;DIF月金叉:=CROSS(月DIFF,月DEA);DRAWTEXT(DIF月金叉,DEAA*0.98,DIF月金叉),COLOR00FFCC;DRAWTEXT(CROSS(月DEA,月DIFF),DEAA*1.02,DIF月死叉),align0,COLORDDDDDD;周K:=KDJ.K#WEEK(9,3,3);周D:=KDJ.D#WEEK(9,3,3);周J:=KDJ.J#WEEK(9,3,3);月K:=KDJ.K#MONTH(9,3,3);月D:=KDJ.D#MONTH(9,3,3);月J:=KDJ.J#MONTH(9,3,3);月金叉:=cross(月K,月D);周金叉:=cross(周K,周D);日金叉:=FILTER(cross(K,D) and Kclose and ref(k,KDB+1)0,5),1,0);DRAWTEXT(K底背=1,D*0.98,底背离),COLORDDDDDD;KDD:=BARSLAST(ref(cross(d,k),1);K顶背:=ref(close,KDD+1)k and cross(d,k);DRAWTEXT(FILTER(K顶背0,5),D+8,顶背离),COLORFFAA22;MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;MD2:=MA(CLOSE-MD1)/MD1,3);买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)1.012 AND JREF(J,1);ma12:=MA(CLOSE,12);佳点:=if(FILTER(MACD=REF(MACD,5) AND open0 AND MACD=0,3) and Jref(J,1) and Dref(D,1) and (diff=ref(diff,1) or dea=ref(dea,1),1,0);DRAWTEXT(佳点=1,macda*0.98,佳点),color0099FF;DX0:=EMA(CLOSE,2)-EMA(OPEN,5);DX1:=if(CROSS(DX0,MACD) AND LOW=XX AND MACD=(0-0.11) and (J20 or K20),1,0);DRAWTEXT(FILTER(DX1,3),0,短10%),color00CC00;短线MA10:=MA(CLOSE,10);SS:=EMA(MA(HIGH,3)*1.05,30);LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE0 AND CROSS(MACD,0) AND MACD=0 AND DIFF0 AND ma10-REF(ma10,1)0 AND VOLREF(VOL,1)=0.7 AND (CLOSE0),5) AND JREF(MD2,1),3)=3 AND COUNT(MD20,10)=10 AND REF(MD2,3)=LLV(MD2,10) and Jref(J,1),1,0);DRAWTEXT(最佳点=1,J,最佳点),colorFF00CC;买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)0.071 AND REF(MD2,2)REF(HIGH,2) AND LOWREF(HIGH,1) AND CLOSEREF(CLOSE,1) AND JREF(J,1);DRAWTEXT(买点1 or 买点2,D-1,买),colorff00CC;预涨YZ:=(INTPART(SMA(RSV,3,1)+INTPART(SMA(K,3,1)/2;预涨:=cross(yz,50) and jref(diff,1);DRAWTEXT(预涨,d*0.6,预n涨),COLORA52A2A;KD金叉:=cross(K,D)and J20 and J80;选股:if(cross(macd,0) or DX1 or 佳点 or LQS or K底背 or 月金叉 or 周金叉 or 日

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论