【大智慧】预测收盘(预测当天最低价、预测收盘价)_第1页
【大智慧】预测收盘(预测当天最低价、预测收盘价)_第2页
【大智慧】预测收盘(预测当天最低价、预测收盘价)_第3页
【大智慧】预测收盘(预测当天最低价、预测收盘价)_第4页
【大智慧】预测收盘(预测当天最低价、预测收盘价)_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

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

文档简介

1、【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0); MA3:MA(CLOSE,3);MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,''),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,''),LINE

2、THICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);17x9:FORCAST(c,9),Colorwhite,LINETHICK2; llx:=llv(FORCAST(c,9),2); PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0),linethick3;MA21:MA(C,21),LINETHICK1,COLORE66878; VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反

3、转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;预测当天最低价公式A1:=REF(O,1);A2:=ABS(REF(C,1)-A1)/A1);A3:=ABS(REF(H,1)-A1)/

4、A1);A4:=ABS(REF(L,1)-A1)/A1);B1:=ABS(A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;预测当天收盘价公式开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-

5、BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEX

6、TABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="email=LTFunc5FORLT2LTFunc5FORLT2/email"s1:="email=LTFunc5LT_S1LTFunc5LT_S1/email" p1:="email=LTFunc5LT_P1LTFunc5LT_P1/email"drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,va

7、lign0;drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1)<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1)<>1,h,'ss.bmp'),align1,valign2;一品资料说明WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LO

8、W,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW),COLOR00FFFF,LINETHICK0,PRECIS0;DRAWTEXTABS(210,15,'低点至今上涨:'+NUMTOSTRN(低涨,2)+' '+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,

9、15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;43DRAWGBK(c,'7' );Var3:=LLV(H,240);Var4:=100*(C-Var3)/Var3;Var5:=(C-LLV(L,528)/(HHV(H,528)-LLV(L,528)*100;Va

10、r6:=(C-LLV(C,530)/(HHV(C,530)-LLV(C,530)*100;Var7:=0;Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1),7)*100;Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1),13)*100;VarA:=BARSCOUNT(C);VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA(C,21)-EMA(C,8);VarE:=EMA(Va

11、rD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG

12、(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)

13、,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

14、),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A);Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);Var1D:=SQRT(SQRT(L*H*O*C);Var1E:=EMA(Var1D*0.

15、97,3);Var1F:=(H+L+C)/3;Var20:=(Var1F-MA(Var1F,14)/(0.015*AVEDEV(Var1F,14);Var21:=CROSS(Var1E,L);买点1:=Var10;买点2:=(Var11+Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);DRAWTEXT(买点1>0,L-0.15,'B')

16、,LINETHICK4,ALIGN1,colorred;BDRAWTEXT(买点2>0,L-0.25,'B''买'),LINETHICK2,ALIGN1,COLOR00FFFF;BDRAWTEXT(卖点1>0,H+0.95,'S''卖'),LINETHICK2,ALIGN1,COLOR33FF33;S闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA(o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA(o+h+l)/3,4)+(h

17、+l)/2-ref(o+h+l)/3,3)/4;DRAWTEXTREL(250,0,' 测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 ),ColorGREEN,linethick1; 预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618;DRAWTEXTREL(15,0,' 测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 ),Colorred,linethick1;预测明日涨跌C1:=REF(CLOSE,1); C2:=HHV(C1,2); C3:=LLV

18、(C1,1); ET:=HHV(C1,2); ET1:=REF(ET,1); XB:=LLV(C1,1); XB1:=REF(XB,1); M:=BARSLAST(CLOSE < XB) AND (C1 >= XB1); M11:=REF(M,1); N9:=BARSLAST(CLOSE > ET) AND (C1 <= ET1); N1:=REF(N9,1); M21:=(BARSLAST(M - N9) > 0) AND (M11 <= N1) + 1); N2:=(BARSLAST(N9 - M) > 0) AND (N1 <= M11)

19、+ 1); ET2:=HHV(ET,M21); XB2:=LLV(XB,N2); A:=IF(M - N9) > 0) AND (M11 <= N1),1,IF(N9 - M) > 0) AND (N1 <= M11),0,2); H1:=IF(M - N9) > 0),CLOSE,ET2); H2:=IF(A = 1),CLOSE,C2); H3:=IF(M - N9) < 0),CLOSE,XB2); H4:=IF(A = 1),CLOSE,XB2); H5:=IF(M - N9) > 0) OR (A = 1),CLOSE,H3); H6:=RE

20、F(H5,1); H7:=REF(H5,2); H8:=(H5 > H6); H9:=(H4 = REF(H4,1) AND (REF(H4,1) < REF(H4,2) AND (H5 > REF(H5,2); H10:=(H2 = REF(H2,1) AND (H4 = REF(H4,1) AND (H5 = REF(H5,2); W:=(H8 OR H9) OR H10); T9:=(H5 < H6) AND (H5 < REF(H5,2); T10:=(H4 = REF(H4,1) AND (H5 < REF(H5,2); T11:=(H3 >

21、 REF(H3,1) AND (H5 < REF(H5,1); T12:=(H5 = REF(H5,1) AND (H3 = H4); T13:=(H2 = REF(H2,1) AND (H2 = H5); TW:=(T9 OR T10) OR T11) OR T12) OR T13); PK:=(AMOUNT * (OPEN + CLOSE) + HIGH) + LOW) / 4); PK1:=IF(VOL > 0),(PK / AMOUNT),(OPEN + CLOSE) + HIGH) + LOW) / 4); BBP:=(CLOSE - LLV(LOW,9) / (HHV(

22、HIGH,9) - LLV(LOW,9) * 100);DRAWTEXT(DISPSTATUS=2 AND W) AND (BBP < 96.5),(H5 * 1.022),' 明日 看涨'),MOVE1,colorFF00ff; DRAWTEXT(DISPSTATUS=2 AND TW) AND (BBP > 1),(H5 + H4) / 2),' 明日 看跌'),MOVE0,colorffFF00;支撑压力gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l); 明日支撑:=l+(c-gj); 明日阻力:=l+(gj-l)+(c-l); 明日支撑:=l+(c-gj); 今日阻力:=REF(明日阻力 , 1); 今日支撑:=REF(明日支撑 , 1); STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF; STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00; STICKLINE(DISPSTATUS=2 and c>=今

温馨提示

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

评论

0/150

提交评论