通达信指标——大盘预测 (主图)

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

{大盘预测TDX主图}

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,9),LINETHICK2;

MA3:MA(CLOSE,14),LINETHICK2;

MA4:MA(CLOSE,20);

MA5:MA(CLOSE,30);

MA6:MA(CLOSE,117);

条件:=CROSS(MA2,INDEXC) AND MA3 > REF(MA3,1) AND MA1 < REF(MA1,1); DRAWTEXT(条件,H*1.015,'↙大跌开始');

DRAWTEXTABS(5,10,'■跌破9日均线或14日均线要注意: '),Color00FFFF,LINETHICK3;

DRAWTEXTABS(5,8,' 大盘'),Color00A9FF,LINETHICK5;

DRAWTEXTABS(5,30,'■大盘指数跌破9日均线第二第三日5日'),ColorFFFF00,LINETHICK3;

DRAWTEXTABS(22,50,'均线回升可解除大跌信号'),ColorFFFF00,LINETHICK3;

Var1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,7);

休息: DRAWTEXT(CROSS(3,Var1),l,'休息了↗'),Color00FFFF,ALIGN2; {新增信号}

====================================================================== =====

{专测大盘} (DZHL2副图)

LC:=REF(CLOSE,1);

动力1:EMA(EMA((SUM(IF(INDEXC > LC,VOL,0),42)/SUM(IF(INDEXC < = LC,VOL,0),42)),5),2)*100,COLORGRAY,linethick2;

动力2:EMA(EMA((SUM(IF(INDEXC > LC,VOL,0),55)/SUM(IF(INDEXC < = LC,VOL,0),55)),5),2)*100,ColorD49D56,linethick2;

STICKLINE(CROSS(250,动力1),350,400,9,0),COLOR00ff00;

STICKLINE(CROSS(400,动力1),300,400,9,0),COLORff00ff;

关注:IF(动力1 < 70,70,50),LINETHICK2,COLORffcc66;

WV AD10:=MA((INDEXC-INDEXO)/(INDEXH-INDEXL)*VOL,10)/1000+50;

真金:IF(CROSS(WV AD10,50) AND 关注> 50 AND 动力 1 < 400 AND ZIG(1,19) > REF(ZIG(1,19),1),200,50),LINETHICK2,COLORBLUE;

白银:IF(CROSS(WV AD10,50) AND 动力 1 < 400 AND ZIG(1,19) > REF(ZIG(1,19),1),150,50),LINETHICK2,COLORYELLOW;

铜钱:IF(CROSS(WV AD10,50),100,50),LINETHICK2,COLORRED;

Var2:=(INDEXC+INDEXH+INDEXL)/3;

Var3:=EMA(Var2,10);

Var4:=REF(Var3,1);

{持股:}STICKLINE(Var3 > Var4,258,288,2,0),COLOR0066FF,linethick2;

{持币:}STICKLINE(Var3 < Var4,218,248,2,0),COLORgreen,linethick2;

大盘:=COUNT(INDEXC > REF(INDEXC,1),3)=3; {连续N天上涨}

动力:=COUNT(动力1 < REF(动力1,1),3)=3; {连续N日下跌}

DRAWTEXT(FILTER(大盘AND 动力,2),动力1,'小心'),ALIGN1,ColorFFE900; DRAWICON(FILTER(大盘AND 动力,2),动力1+30,8),ALIGN1;

50,LINETHICK2,COLORYELLOW;

250,LINETHICK2,COLORff00ff;

stickline(c > 0,400,400,5,0),LINETHICK2,COLORGREEN;

相关文档
最新文档