版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
本文格式为Word版,下载可任意编辑——很牛的主图时间之窗通达信指标公式源码
很牛的主图(包括跟庄.支撑.压力.买卖点等等)直接上图!家人再也不担忧你炒股了!
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,'',0),LINETHICK2;
M80:MA(C,80),LINETHICK0;M200:MA(C,200),LINETHICK0;
DRAWBAND(M200,RGB(40,100,40),M80,RGB(100,100,0)),LINETHICK0;DRAWKLINE(H,O,L,C);
MA03:MA(C,3),COLORYELLOW,DOTLINE,LINETHICK0;
IF(MA03>=REF(MA03,1),MA03,DRAWNULL),COLOR0066FF,LINETHICK0;IF(MA03=REF(多空线,1),多空线,DRAWNULL),COLORRED,LINETHICK3;IF(多空线1.03,LOW*0.96,25);
DRAWTEXT(FILTER(牛皮熊,8),多空线-0.05,'↖跟庄买进'),COLORGREEN;
DRAWTEXT(CROSS(MA03,多空线)ANDMA03>0,多空线-0.23,'★←'),COLORYELLOW;花:=SLOPE(EMA(C,3),3);神:=SLOPE(EMA(C,7),7);
DRAWICON(CROSS(花,神)ANDCLOSE/REF(CLOSE,1)>1.03,LOW*0.96,25);DRAWTEXT(CROSS(花,神)ANDCLOSE/REF(CLOSE,1)>1.03,LOW*0.96,'买
'),COLORWHITE;
花2:=EMA(SLOPE(1,1)+C,3),COLORRED;神2:=EMA(SLOPE(1,1)+C,7),COLORBLUE;
A02:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);
A7:=(A5A6);
财神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;DRAWTEXT_FIX(1,0.01,0.08,0,'主题投资:')COLOR0000FF;DRAWTEXT_FIX(1,0.09,0.08,0,EXTERNSTR(0,1))COLOR0000FF;
窗口显示:=C>REF(C,1)*1.095ANDC=H;T:=BARSLAST(窗口显示),LINETHICK0;涨停价:REF(C,T)NODRAW,LINETHICK0;
涨停日期:REF(DATE-1000000,T)NODRAW,LINETHICK0;
STICKLINE(L>REF(H,1),L,REF(H,1),20,1001),COLORYELLOW,LINETHICK0;STICKLINE(REF(L,1)>H,REF(L,1),H,20,1001),COLORGREEN,LINETHICK0;TJ01:=CO,2);
DRAWLINE(TJ01,REFX(LLV(L,2),1),REF(TJ01,1),REF(REFX(LLV(L,2),1),1),1)COLORYELLOW,LINETHICK0;
DRAWLINE(TJ01,REFX(HHV(C,2),1),REF(TJ01,1),REF(REFX(HHV(C,2),1),1),1)COLORYELLOW,LINETHICK0;{波峰}TY:=H;
A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C002:=BACKSET(B2,10+1);LD:=FILTER(C002,10);
波峰:REF(H,BARSLAST(HD)),COLOR00808F,POINTDOT,LINETHICK4;STICKLINE(H,波峰,波峰,8,0),COLOR00808F,LINETHICK4;BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;高点:REF(C,GDSJ),COLORGREEN,LINETHICK4,POINTDOT;
突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ=HHV(HIGH,10),HIGH,LOW1.095,C,O,2,0),COLORYELLOW;涨停:=IF(REF(C,1)*1.095-C=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORBLUE;DRAWTEXT(跌停,H+0.3,'跌停'),COLORBLUE;NN:=120;{跳空}
STICKLINE(REF(L,1)>H,H,REF(L,1),5,0),COLORGRAY;STICKLINE(REF(H,1)O,H,L,0,0),COLORRED;STICKLINE(CO,C,O,3,1),COLORRED;{深绿}
STICKLINE(CTYX5ANDCTYX5ANDCTYX5ANDCTYX5ANDCTYX5ANDC>O,H,L,0,0),COLOR00EEFF;STICKLINE(C>TYX5ANDC>O,C,O,3,0),COLOR00AAFF;STICKLINE(C>TYX5ANDC>O,C,O,2,0),COLOR00CCFF;STICKLINE(C>TYX5ANDC>O,C,O,1,0),COLOR00EEFF;{粉红}
STICKLINE(C>TYX4ANDC>O,H,L,0,0),COLORFF66AA;STICKLINE(C>TYX4ANDC>O,C,O,3,0),COLORFF11FF;STICKLINE(C>TYX4ANDC>O,C,O,2,0),COLORFF44FF;STICKLINE(C>TYX4ANDC>O,C,O,1,0),COLORFF66FF;{亮灰}
STICKLINE(C>TYX4ANDCTYX4ANDCTYX4ANDCTYX4ANDCTYX3ANDC>O,H,L,0,0),COLOR0000DD;STICKLINE(C>TYX3ANDC>O,C,O,3,0),COLOR000099;STICKLINE(C>TYX3ANDC>O,C,O,2,0),COLOR0000BB;STICKLINE(C>TYX3ANDC>O,C,O,1,0),COLOR0000DD;{涨跌停K线}
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORWHITE;{突破}
STICKLINE(REF(COUNT(CTYX3ANDC>O,C,O,1,0),COLOR00CCFF;STICKLINE(REF(COUNT(CTYX3ANDC>O,C,O,1,0),COLOR00CCFF;{红绿三角}
A10304:=REF(HIGH,3)=HHV(HIGH,2*3+1);B10304:=FILTER(A10304,3);C10304:=BACKSET(B10304,3+1);D10304:=FILTER(C10304,3);{高点}A20304:=REF(LOW,3)=LLV(LOW,2*3+1);B20304:=FILTER(A20304,3);C20304:=BACKSET(B20304,3+1);D20304:=FILTER(C20304,3);{低点}
E10304:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E20304:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}
H10304:=(D10304ANDNOT(D20304ANDE10304>=E20304))ORBARSTATUS=2ORBARSCOUNT(CLOSE)=1;
L10304:=(D20304ANDNOT(D10304ANDE10304=E20304));X10304:=REF(BARSLAST(H10304),1)+1;F10304:=BACKSET(H10304AND
COUNT(L10304,X10304)>0,LLVBARS(IF(L10304,LOW,10000),X10304));G10304:=F10304>REF(F10304,1);I10304:=BACKSET(G10304,2);
LD0304:=I10304>REF(I10304,1);{过滤后低点}
L20304:=LD0304ORBARSTATUS=2ORBARSCOUNT(CLOSE)=1;X20304:=REF(BARSLAST(L20304),1)+1;F20304:=BACKSET(L20304AND
COUNT(H10304,X20304)>0,HHVBARS(IF(H10304,HIGH,0),X20304));
G20304:=F20304>REF(F20304,1);I20304:=BACKSET(G20304,2);
HD0304:=I20304>REF(I20304,1);{过滤后高点}
UU0304:=BACKSET(BARSTATUS=2,BARSLAST(LD0304)+1);VV0304:=UU0304>REF(UU0304,1);
UU20304:=BACKSET(BARSTATUS=2,BARSLAST(HD0304)+1);VV20304:=UU20304>REF(UU20304,1);{以下语句为三角形部分}
底:REF(L,BARSLAST(VV0304)),COLORYELLOW,LINETHICK0;顶:REF(H,BARSLAST(VV20304)),COLORYELLOW,LINETHICK0;{下跌三角形:绿色三角形画完介入}
STICKLINE(VV0304,顶,底,0,0),COLORGREEN,LINETHICK2;
DRAWLINE(VV20304,H,VV0304,L,0),COLORGREEN,LINETHICK2;{斜}DRAWLINE(VV20304,H,VV0304,顶,0),COLORGREEN,LINETHICK2;{上涨三角形:红色三角形画完出局}
STICKLINE(VV20304,顶,底,0,0),COLORBLUE,LINETHICK2;DRAWLINE(VV0304,L,VV20304,H,0),COLORBLUE,LINETHICK2;{斜}DRAWLINE(VV0304,L,VV20304,底,0),COLORBLUE,LINETHICK2;DRAWICON(CREF(C,1),H,6);{假阴真阳}均价:AMOUNT/VOL/100,NODRAW;假阴0:=O>CAND均价>REF(C,1);
DRAWTEXT(假阴0,L-0.2,'假阴↖'),COLORE8E8E8;STICKLINE(假阴0,O,C,1,0),COLORRED;
VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量}
H_L:=0.1*CONST(HHV(VOL,240));
长阴短柱:=C/REF(C,1)MM+T01ANDH>T1HIGH));T2HIGH:=CONST(REF(HIGH,T02));
T03:=CONST(BARSLAST(CURRBARSCOUNT>MM+T02ANDHIGH>T2HIGH));T3HIGH:=CONST(REF(HIGH,T03));
攻击线:DRAWLINE(CURRBARSCOUNT=T03+1,T3HIGH,ISLASTBAR,
T3HIGH,1),LINETHICK3,COLOR8080FF;
DRAWTEXT(ISLASTBAR,T3HIGH,'必杀攻击线')LINETHICK2,COLORCYAN;
A6A:=REF(HIGH,6)=HHV(HIGH,2*6+1);B6A:=FILTER(A6A,6);C6A:=BACKSET(B6A,6+1);D6A:=FILTER(C6A,6);
A7A:=REF(LOW,6)=LLV(LOW,2*6+1);B7A:=FILTER(A7A,6);C7A:=BACKSET(B7A,6+1);D7A:=FILTER(C7A,6);
E6A:=(REF(LLV(LOW,2*6),1)+REF(HHV(HIGH,2*6),1))/2;E7A:=(HIGH+LOW)/2;
H6A:=(D6AANDNOT(D7AANDE6A>=E7A))ORBARSTATUS=2ORBARSCOUNT(CLOSE)=1;
H7A:=D6AANDNOT(D7AANDE6A>=E7A);L6A:=D7AANDNOT(D6AANDE6A=E7A);X6A:=REF(BARSLAST(H6A),1)+1;
F6A:=BACKSET(H6AANDCOUNT(L6A,X6A)>0,LLVBARS(IF(L6A,LOW,10000),X6A));G6A:=F6A>REF(F6A,1);I6A:=BACKSET(G6A,2);LD2A:=I6A>REF(I6A,1);
L7A:=LD2AORBARSTATUS=2ORBARSCOUNT(CLOSE)=1;X7A:=REF(BARSLAST(L7A),1)+1;
F7A:=BACKSET(L7AANDCOUNT(H7A,X7A)>0,HHVBARS(IF(H7A,HIGH,0),X7A));G7A:=F7A>REF(F7A,1);I7A:=BACKSET(G7A,2);HD2A:=I7A>REF(I7A,1);
UU3A:=BACKSET(BARSTATUS=2,BARSLAST(LD2A)+1);VV3A:=UU3A>REF(UU3A,1);
WW3A:=BACKSET(VV3A,REF(BARSLAST(LD2A),1)+2);XX3A:=WW3A>REF(WW3A,1)
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《S管理与应用技巧》课件
- 《电销培训话术》课件
- 《压力的测量》课件
- 七年级数学课件资源
- 《工业的区位选择sk》课件
- 尊师重教主题教育活动实施方案
- 初中计算机课件
- 《消费者感知》课件
- 硅胶餐盘市场洞察报告
- 六下课件教学课件
- 野生菌订购合同范本
- 代持股权质押协议
- (正式版)QC∕T 625-2024 汽车用涂镀层和化学处理层
- 中国慢性冠脉综合征患者诊断及管理指南2024版解读
- 基于智能巡检机器人与PLC系统联动控制设计
- 改革开放以来苏州变化
- 校企合作存在的问题与对策研究
- 2024年小学生科技素养比赛题库及答案(共180题)
- 车床加工Mastercam9.1数控车床加工教程(非常详细)
- 酒店前厅服务与管理实训总结
- 滑雪国职公共理论知识考试题库及答案
评论
0/150
提交评论