版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、通达信指标公式凝码大""标准化小组ifhhmhgn#【通达信】魔鬼操盘(主图)-指标公式源码均 5:MA(CLOSE, 5)COLORYELLOW;均 10:MA(CLOSE, 10)COLORGREEN;均 30:MA(CLOSE, 30)COLORMAGENTA;均 60:MA(CLOSE, 60)C0L0RREDP0INTD0TLINETHICK3;均 250:MA(CLOSE, 250)C0L0RBLUELINETHICK2;魔鬼通道上:均 30+2*STD (CLOSE, 60) COLORYELLO%POINTDOTLINETHICK2;魔鬼通道下:均 30-2
2、*STD (CLOSE, 60) C0L0RYELL01AP0INTD0TLINETHICK2;VARI: = (CLOSE-LLV(LOW, 9)/(HHV(HIGH, 9)-LLV(LOW, 9)*100;VAR2:=SMA(VAR1,3, 1);VAR3: =SMA (VAR2, 3,1);VAR4:=VAR1*;VAR5:=MA(CLOSE, 5);VAR6: = (HHV(HIGH, 36)-CLOSE)/(HHV(HIGH, 36)-LLV(LOW, 36)*100;VAR7:=SMA(VAR6, 5,1);VAR8:=VOL>REF(VOL, 1);VAR9:=MA(V0L
3、/CAPITAL, 30)*MA(VOL, 60)/10000+MA(CLOSE, 30);【通达信】平均价格(主图)-指标公式源码A:=(3*C+H+L+O)/6;XJ: = (A+*REF(A, 1) +*REF(A, 2) +*REF(A, 3) +*REF(A, 4)/;YCZXH: = (MA(HHV(A, 2), 5)+MA(HHV(A, 2), 13) +MA(HHV(A, 2),21)+MA(HHV(A, 2), 32)/4;YCZXL: = (MA(LLV(A, 2), 5)+MA(LLV(A, 2), 13)+MA(LLV(A, 2),21)+MA(LLV(A, 2), 3
4、2)/4;SMH:EMA(YCZXH, 21), C0L0R004000;SML:EMA(YCZXL, 21), C0L0R004000;SMJ:(SML+SMH)/2, C0L0R004000;PJ: = (10*A+9*REF(A, 1)+8*REF(A, 2)+7*REF(A, 3)+6*REF (A, 4)+5*REF (A, 5)+4*REF(A, 6) +3*REF (A, 7) +2*REF (A, 8) +REF (A, 9) )/55;Al:=EMA(PJ, 3), C0L0R004000;A2:=EMA(PJ, 5), C0L0R004000;A3:=EMA(PJ, 7),
5、 C0L0R004000;A4:二EMA(PJ, 9), C0L0R004000;A5:=EMA(PJ, 11), C0L0R004000;LX:=REF(XJ, 1);ZD: = (SMA(MAX(XJ-LX, 0),5, D/SMA(ABS(XJ-LX),5, 1)*100;KX1:=(CLOSE>=OPEN)ANDZD>=50;KX2:=(CLOSE<OPEN)ANDZD>=50;KX3:=(CLOSE>=OPEN)ANDZD<50;KX4:=(CLOSE<OPEN)ANDZD<50;IF(A5<REF(A5, 1), A5, DRA
6、WNULL), C0L0R820000, LINETHICK2 IF(A5>REF(A5, 1),A5, DRAWLL), C0L0R00005B, LINETHICK2 IF(A4<REF(A4, 1), A4, DRAWLL), C0L0R8C0000, LINETHICK1 IF(A4>REF(A4, 1), A4, DRAWNULL), C0L0R000055, LINETHICK1 IF(A3<REF(A3, 1), A3, DRAWLL), C0L0R9B0000, LINETHICK1 IF(A3>REF(A3, 1), A3, DRAWNULL),
7、 C0L0R00006C, LINETHICK1 IF(A2<REF(A2, 1),A2, DRAWLL), COLORBBOOOO, LINETHICK1 IF(A2>REF(A2, 1), A2, DRAWLL), C0L0R00007D, LINETHICK1 IF(AKREF(Al, 1),A1, DRAWLL), COLORCCOOOO, LINETHICK1 IF(A1>REF(A1, 1), Al, DRAWLL), C0L0R00009B, LINETHICK1 STICKLINE(KX1, C, 0, 4, 1), C0L0R4440FF;STICKLINE
8、(KX1, C, H, 1), C0L0R4440FF;STICKLINE(KX1, 0, L, 1), C0L0R4440FF;STICKLINE(KX2, C, 0, 4, 0), C0L0R4440FF;STICKLINE(KX2, 0, H, 0), C0L0R4440FF;STICKLINE(KX2,C, L, 0), C0L0R4440FF;STICKLINE(KX3, C, 0, 4, 1), C0L0RFFFF33;STICKLINE(KX3, C, H, 1), C0L0RFFFF33;STICKLINE(KX3, 0, L, 1), C0L0RFFFF33;STICKLIN
9、E(KX4, C, 0, 4, 0), C0L0RFFFF33;STICKLINE(KX4, 0, H, 0), C0L0RFFFF33;STICKLINE(KX4, C, L, 0), C0L0RFFFF33;【通达信】牛劲十足(副图)-指标公式源码VAR1:=VOL/(HIGH-LOW)*2-ABS(CLOSE-OPEN);ZM:=IF(CLOSE>OPEN, VARI*(HIGH-LOW), IF(CLOSE<OPEN, VARI*(HIGH-OPEN) + (CLOSE-LOW) ),VOL/2), COLORRED, POINTDOT;ZM1:=IF(CLOSE>O
10、PEN, O-VAR1*(HIGH-CLOSE) + (OPEN-LOW), IF(CLOSE<OPEN, O-VARI*(HIGH-LOW) ,O-VOL/2), COLOROOFFOO, POINTDOT;MMB: = (SUM(ZM, 3O)+SUM(ZM1, 30) )/10, COLORYELLOW;SG:=MMB>OANDREF(MMB, 1)<MMB;上攻周期:COUNT (SG, 5), LINESTICK, COLORWHITE;JSC:二上攻周期1;DBQD:二FILTER(COUNT(JSC, 5)>3ANDN0T(JSC), 10);DRAWIC
11、ON(DBQD, 2, 1);DRAWBAND(上攻周期,RGB(255,120,120),3, RGB(O, 0, 0);DRAWBAND (JSC, RGB (0, 0, 255), RGB(O, 0,0);STICKLINE (COUNT (上攻周期>3, 5) >=3ANDSG, 0,上攻周期,0), COLORRED;XG: COUNT (COUNT (上攻周期>3, 5) >=3ANDSG, 20) >4;【通达信】魔鬼K线(副图)-指标公式源码VAR1:=REF(OPEN, 1);VAR2:=SMA (MAX (OPEN-VAR1, 0), 6, D
12、/SMA (ABS (OPEN-VAR1), 6, 1) *100;VAR3:=REF(CLOSE, 1);VAR4:=SMA(MAX(CL0SE-VAR3, 0), 6, 1)/SMA(ABS(CL0SE-VAR3), 6, 1)*100;VAR5:=REF(HIGH, 1);VAR6:=SMA(MAX(HIGH-VAR5, 0), 6, 1)/SMA(ABS(HIGH-VAR5), 6, 1)*100;VAR7:=REF(LOW, 1);VAR8:=SMA(MAX(L0W-VAR7, 0),6, D/SMA(ABS(L0W-VAR7),6, 1)*100;STICKLINE(VAR4<
13、;VAR2, VAR2, VAR4, 5, 0), COLORGREEN,;STICKLINE(VAR4>VAR2, VAR2, VAR4, 5, 0), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR8>VAR4, VAR4, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR8<VAR4, VAR4, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6<VAR8ANDVAR6>V
14、AR4, VAR4, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR6<VAR2, VAR2, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6>VAR8ANDVAR6>VAR2, VAR2, VAR8, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6<VAR8ANDVAR8<VAR2, VAR2, VAR6, 1), COLORRED,;STICKLINE(VAR4>VAR2ANDVAR6
15、<VAR8ANDVAR8>VAR2, VAR2, VAR6, 1), COLORRED,;STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6<VAR4, VAR4, VAR8, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8<VAR4, VAR4, VAR6, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR6>VAR4, VAR4, VAR8, 1), COLORGREEN,;
16、STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6<VAR4, VAR2, VAR8, 1), COLORGREEN,;STICKLINE(VAR4<VAR2ANDVAR6>VAR8ANDVAR6>VAR4, VAR2, VAR8, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8<VAR2, VAR2, VAR6, 1), COLORGREEN,; STICKLINE(VAR4<VAR2ANDVAR6<VAR8ANDVAR8>VAR2
17、, VAR2, VAR6, 1), COLORGREEN,;【通达信】牛熊分界(立桩量、中线)-指标公式源码AAA: = (3*C+H+L+0)/6;VAR1: = (8*AAA+7*REF(AAA, 1)+6*REF(AAA, 2)+5*REF(AAA, 3)+4*REF(AA A, 4)+3*REF(AAA, 5)+2*REF(AAA, 6)+REF(AAA, 8)/36;VAR2: = (HHV(VARI, 5)+HHV(VARI, 10)+H HV (VARI, 20) )/3; VAR3: = (LLV(VAR1, 5)+LLV(VARl, 10)+LLV(VARI, 20) )/3
18、; VAR4: = (HHV (VAR2, 5)+HHV(VAR2, 10)+HHV(VAR2, 20)/3;VAR5: = (LLV(VAR3, 5)+LLV(VAR3, 10)+LLV(VAR3, 20)/3 ;VAR6: = (LLV(VARI, 2)+LLV(VAR1, 4)+LLV(VARI, 6)/3;DRAWBAND(VARI, RGB(155, 50, 50), VAR 6, RGB(250, 250, 0);短线:VARI, COLORWHITE;中线:VAR6, COLORYELLOW;金义:短线)中线 ANDREF(短线,1)=REF(中线,1), NODRAW;下跌:I
19、F(VARI二VAR6, VAR6, DRAWNULL), COLORGREEN;TJI:二VOL=HHV(VOL, 10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;立桩量:=FILTER (TJ1, 5) ;TJ2:=IF(BARSLAST (立桩量)=1ANDCLOSE>REF(HIGH, 1), 1, IF(BARSLAST(立桩量)=2ANDCL0SE>REF (HIGH, 2), 1, IF (BARSLAST (立桩量)=3ANDCL0SE>REF (HIGH, 3), 1, 0);突 破:TJ2=1, NODRAW; STIC
20、KLINE (CLOSE, REF (HIGH, BARSLAST (立桩量),REF (HIGH, BARSLAST (立 桩量),1,0), COLORCYAN; STICKLINE (CLOSE, REF (LOW, BARSLAST (立桩量),REF (LOW, BARSLAST (立桩量),1, 0), COLORYELLOW;STICKLINE(0=0, C, 0, 3, 0), C0L0R000045;STICKLINE(0=0, C, 0, 0 ),C0L0R000065; STICKLINE (0=0, C, 0, 2, 0), C0L0R000085; STICKLINE
21、 (0=0, C, 0, 0), COLORO 000A5; STICKLINE (0=0, C, 0, 1,0), C0L0R0000C5; STICKLINE (0=0, C, 0, 0), C0L0R0000E5 ;ST ICKLINE (0=0, H, L, 0, 0), C0L0R0000F5; STICKLINE (C<0, C, 0, 3, 0), C0L0R353500; STICKLINE ( C<0, C, 0, 0), C0L0R454500; STICKLINE (C<0, C, 0, 2, 0), C0L0R555500; STICKLINE (C&
22、lt;0, C, 0, 0 ),C0L0R656500;STICKLINE(C<0, C, 0, 1,0), C0L0R757500;STICKLINE(C<0, C, 0, 0), C0L0R858 500;STICKLINE(C<0, H, L, 0, 0), C0L0R959500;ZRR: = (YEAR-1992)*365+INTPART(YEAR-1989)/4)+IF (MONTH二2, DAY+(MONTH-1)*31, DAY+INTPART(13*(MONTH+1)/5)-7+(MONTH-1)*28+IF(INTPART(YEAR/4)=YEAR/4,
23、1,0), NODRAW;!:=BARSLAST(ZRR-REF(ZRR, 1)>WEEKDAY-REF(WEEKDAY, 1)+1,NODRAW;T1:=REF(T, T)+T,NODRAW;T2:二REF(T, T1)+T1,NODRAW;T3:二REF( T, T2)+T2, NODRAW;T4:=REF(T, T3)+T3, NODRAW;T5:=REF(T, T4)+T4, NODRAW;T6:=REF(T, T5) +T5, NODRAW;T7:二REF(T, T6)+T6, NODRAW;T8:二REF(T, T7)+T7, NODRAW;周10:(REF(CLOSE, T
24、)+REF(CLOSE, H)+REF(CLOSE, T2)+REF(CLOSE, T3)+REF(CLOSE, T4)+REF(CL OSE, T5) +REF (CLOSE, T6) +REF (CLOSE, T7) +REF (CLOSE, T8) KLOSE) /IO, LINETHICK2;【通达信】牛准反弹(快线、慢线)-指标公式源码N:二9;Ml:=3;M2:=3;P:=9;快线:=(CLOSE-LLV (LOW, N) / (HHV (HIGH, N) -LLV (LOW, N) )*100;慢线:二SMA (快线,ELI 空:二SMA (慢线,M2, 1);ELI 牛股:=I
25、F (BARSLAST (CROSS (慢线,ELI 空)PANDCROSS (慢线,ELI 空)AND 慢线<20, 90, 0);LC:=REF(CLOSE, 1);RSI: =SMA (MAX (CLOSE-LC, 0), D/SMA (ABS (CLOSE-LC), 1)*100;牛准反弹:=CROSS (RSI, 11)*80;XG:牛准反弹ORELI牛股;【通达信】启动提示(平台线、启动线)-指标公式源码启动线:SUM (EMA (C+L) /2, 2), 5) /, COLORRED; 平衡线:LLV (SUM (EMA (C+L) /2, 2), 5)/, 4), COL
26、ORFFOOFF;平台线:LLV (SUM (EMA(C+D/2, 2), 5)/, 10), COLORFFFFFF;强弱线:EMA(启动线,21), COLORYELLOW;STICKLINE (平价线启动线,启动线,平台线,,0), COLORFFCCAA;STICKLINE (平衡线启动线,启动线,平衡线,,0), COLORRED;VAR1:=2*MA(LLV(C+L)/2, 8)*, 13)-EMA(C+L)/2, 3)-(C+L)/2)*;VAR2: =IF(EMA(C+L)/2, 3)-VARl)*5>0, POW(EMA(C+L)/2, 3)-VARI)*5, 2)/10,- 1*POW(EMA(C+L)/2, 3)-VARI)*5, 2)/10);VAR3:=IF(VAR2>0, VAR2-0, 0);STICKLINE(VAR3>0ANDREF(VAR3, 1)=0AND(C+L)/2>MA(C+L)/2, 8), 强弱线,强弱线+, 4, 0), COLORFFAACC;DRAWTEXT(VAR3>0ANDREF(VAR3, 1)二OAND(C+L)/2>MA(C+L)/2, 8), 强弱线+,'注意控制'),LINETHICK3, COLORFFAACC;【通达信】
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 南京工业大学浦江学院《思想道德与法治》2023-2024学年第一学期期末试卷
- 安金丽苑安装工程施工组织设计
- 飞天凌空说课稿
- 队会课说课稿
- 【初中化学】化学反应的定量关系单元复习题-2024-2025学年九年级化学人教版上册
- 简易面料加工合同范本(2篇)
- 南京工业大学《文献检索》2023-2024学年第一学期期末试卷
- 医疗质量课件教学课件
- 青少年课件教学课件
- 建立4-5岁幼儿成长档案跟踪教育效果
- 肋板施工方案1
- 金属材料试样制作规范
- 110KV变电所竣工初步验收方案
- 统编语文一上《江南》课例点评
- 《一元二次方程》(复习课)说课稿
- 律师事务所金融业务部法律服务方案
- 施工人员计划配置表(共1页)
- 装修工程施工进度计划表excel模板
- 发电机组自动控制器
- 宿舍管理流程图
- 骨科复试问答题
评论
0/150
提交评论