相关简介: 通达信顺势量价指标公式 源码概况:通达信顺势量价指标公式 指标类别:通达信顺势量价指标公式 授权方式:免费版 指标评级:★★★★★ 指标分类:策略 画线方法:副图/主图通达信顺势量价指标公式未来函数检测结果: 暂未发现存在未来函数通达信顺势量价指标公式源码: N:=14;MM:=6; MTR:=EXPMEMA(MAX(MAX(ABS(HIGH-LOW),ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD 0 HD LD,HD,0),N); DMM:=EXPMEMA(IF(LD 0 LD HD,LD,0),N); PDI:=DMP*100/MTR; MDI:=DMM*100/MTR; 多头线:PDI,COLORRED,LINETHICK2; 空头线:MDI,COLORCYAN,LINETHICK1; 顺势线_多或空:EXPMEMA(ABS(PDI-MDI)/(MDI+PDI)*100,MM),DOTLINE; 顺势线M:EXPMEMA(顺势线_多或空,MM),DOTLINE; DRAWTEXT(CURRBARSCOUNT=5,HIGH*1.01, 5日 {DRAWLINE(扣抵5,C,C,ma(C,5),0),COLORWHITE,LINETHICK2;} DRAWTEXT(CURRBARSCOUNT=10,HIGH*1.01, 10日 {DRAWLINE(扣抵10,C,C,MA(C,10),0),COLORYELLOW,LINETHICK2;} DRAWTEXT(CURRBARSCOUNT=20,HIGH*1.01, 20日 {DRAWLINE(扣抵20,C,C,MA(C,20),0),COLORMAGENTA,LINETHICK2;} DRAWTEXT(CURRBARSCOUNT=60,HIGH*1.01, 60日 {DRAWLINE(扣抵60,C,C,MA(C,60),0),COLORRED,LINETHICK2;} DRAWTEXT(CURRBARSCOUNT=120,HIGH*1.01, 120日 {DRAWLINE(扣抵120,C,C,MA(C,120),0),COLORGRAY,LINETHICK2;} DRAWTEXT(CURRBARSCOUNT=250,HIGH*1.01, 250日 {DRAWLINE(扣抵250,C,C,MA(C,250),0),COLORBLUE,LINETHICK2;} {DRAWICON(CURRBARSCOUNT=5,HIGH,14); DRAWICON(CURRBARSCOUNT=10,HIGH,14); DRAWICON(CURRBARSCOUNT=20,HIGH,14); DRAWICON(CURRBARSCOUNT=60,HIGH,14); DRAWICON(CURRBARSCOUNT=120,HIGH,14); DRAWICON(CURRBARSCOUNT=250,HIGH,14);} MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA60:MA(CLOSE,60); MA120:MA(CLOSE,120); MA250:MA(CLOSE,250); DRAwrECTREL(0,0,240,350,RGB(0,0,1)); DRAWTEXT_FIX(C 0,0.04,0.07,1, 当前情况: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.04,0.11,1, 005日扣抵: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.04,0.15,1, 010日扣抵: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.04,0.19,1, 020日扣抵: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.04,0.23,1, 060日扣抵: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.04,0.27,1, 120日扣抵: ),COLORYELLOW; DRAWTEXT_FIX(C 0,0.005,0.090,0, ---------------------------------------------------------------------------------------- ),COLORGRAY; DRAWTEXT_FIX(C 0,0.065,0.03,1, 价(元) ),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC 0,0.065,0.07,1,VAR2stR(C,2)),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4),0.065,0.11,1,VAR2STR(REF(C,4),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,4),0.065,0.11,1,VAR2STR(REF(C,4),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4),0.065,0.11,1,VAR2STR(REF(C,4),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9),0.065,0.15,1,VAR2STR(REF(C,9),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,9),0.065,0.15,1,VAR2STR(REF(C,9),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9),0.065,0.15,1,VAR2STR(REF(C,9),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19),0.065,0.19,1,VAR2STR(REF(C,19),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,19),0.065,0.19,1,VAR2STR(REF(C,19),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19),0.065,0.19,1,VAR2STR(REF(C,19),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59),0.065,0.23,1,VAR2STR(REF(C,59),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,59),0.065,0.23,1,VAR2STR(REF(C,59),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59),0.065,0.23,1,VAR2STR(REF(C,59),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119),0.065,0.27,1,VAR2STR(REF(C,119),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,119),0.065,0.27,1,VAR2STR(REF(C,119),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119),0.065,0.27,1,VAR2STR(REF(C,119),2)),COLORGREEN; VART1:=Abs((C-REF(C,4)))*100/C,NODRAW; VART1_1:=IF(VART1 999,999.9,VART1),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4),0.09,0.11,1,STRCAT(VAR2STR(VART1_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,4),0.09,0.11,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4),0.09,0.11,1,STRCAT(VAR2STR(VART1_1,1), % )),COLORGREEN; VART2:=ABS((C-REF(C,9)))*100/C,NODRAW; VART2_1:=IF(VART2 999,999.9,VART2),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9),0.09,0.15,1,STRCAT(VAR2STR(VART2_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,9),0.09,0.15,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9),0.09,0.15,1,STRCAT(VAR2STR(VART2_1,1), % )),COLORGREEN; VART3:=ABS((C-REF(C,19)))*100/C,NODRAW; VART3_1:=IF(VART3 999,999.9,VART3),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19),0.09,0.19,1,STRCAT(VAR2STR(VART3_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,19),0.09,0.19,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19),0.09,0.19,1,STRCAT(VAR2STR(VART3_1,1), % )),COLORGREEN; VART4:=ABS((C-REF(C,59)))*100/C,NODRAW; VART4_1:=IF(VART4 999,999.9,VART4),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59),0.09,0.23,1,STRCAT(VAR2STR(VART4_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,59),0.09,0.23,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59),0.09,0.23,1,STRCAT(VAR2STR(VART4_1,1), % )),COLORGREEN; VART5:=ABS((C-REF(C,119)))*100/C,NODRAW; VART5_1:=IF(VART5 999,999.9,VART5),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119),0.09,0.27,1,STRCAT(VAR2STR(VART5_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC=REF(C,119),0.09,0.27,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119),0.09,0.27,1,STRCAT(VAR2STR(VART5_1,1), % )),COLORGREEN; DRAWTEXT_FIX(C 0,0.12,0.03,1, 量(万) ),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC 0,0.12,0.07,1,VAR2STR(V/10000,2)),COLORYELLOW; TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),NODRAW; MTIME:=MOD(FROMOPEN,TOTAL),NODRAW; CTIME:=IF(MTIME 0.5,TOTAL,MTIME),NODRAW; Vvol:=IF((CURRBARSCOUNT=1ANDDYNAINFO(8) 1),VOL*(TOTAL+3)/(CTIME+3),0),NODRAW; DRAWTEXT_FIX(C 0,0.18,0.03,1, 虚拟量(万) ),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDVVOL 0,0.18,0.07,1,VAR2STR(VVOL/10000,2)),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,4),0.12,0.11,1,VAR2STR(REF(V/10000,4),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,4),0.12,0.11,1,VAR2STR(REF(V/10000,4),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,4),0.12,0.11,1,VAR2STR(REF(V/10000,4),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,9),0.12,0.15,1,VAR2STR(REF(V/10000,9),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,9),0.12,0.15,1,VAR2STR(REF(V/10000,9),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,9),0.12,0.15,1,VAR2STR(REF(V/10000,9),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,19),0.12,0.19,1,VAR2STR(REF(V/10000,19),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,19),0.12,0.19,1,VAR2STR(REF(V/10000,19),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,19),0.12,0.19,1,VAR2STR(REF(V/10000,19),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,59),0.12,0.23,1,VAR2STR(REF(V/10000,59),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,59),0.12,0.23,1,VAR2STR(REF(V/10000,59),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,59),0.12,0.23,1,VAR2STR(REF(V/10000,59),2)),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,119),0.12,0.27,1,VAR2STR(REF(V/10000,119),2)),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,119),0.12,0.27,1,VAR2STR(REF(V/10000,119),2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,119),0.12,0.27,1,VAR2STR(REF(V/10000,119),2)),COLORGREEN; VART21:=ABS((V-REF(V,4)))*100/V; VART21_1:=IF(VART21 999,999.9,VART21),NODRAW; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,4),0.155,0.11,1,STRCAT(VAR2STR(VART21_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,4),0.155,0.11,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,4),0.155,0.11,1,STRCAT(VAR2STR(VART21_1,1), % )),COLORGREEN; VART22:=ABS((V-REF(V,9)))*100/V; VART22_1:=IF(VART22 999,999.9,VART22); DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,9),0.155,0.15,1,STRCAT(VAR2STR(VART22_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,9),0.155,0.15,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,9),0.155,0.15,1,STRCAT(VAR2STR(VART22_1,1), % )),COLORGREEN; VART23:=ABS((V-REF(V,19)))*100/V; VART23_1:=IF(VART23 999,999.9,VART23); DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,19),0.155,0.19,1,STRCAT(VAR2STR(VART23_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,19),0.155,0.19,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,19),0.155,0.19,1,STRCAT(VAR2STR(VART23_1,1), % )),COLORGREEN; VART24:=ABS((C-REF(C,59)))*100/C; VART24_1:=IF(VART24 999,999.9,VART24); DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,59),0.155,0.23,1,STRCAT(VAR2STR(VART24_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,59),0.155,0.23,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,59),0.155,0.23,1,STRCAT(VAR2STR(VART24_1,1), % )),COLORGREEN; VART25:=ABS((C-REF(C,119)))*100/C; VART25_1:=IF(VART25 999,999.9,VART25); DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,119),0.155,0.27,1,STRCAT(VAR2STR(VART25_1,1), % )),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV=REF(V,119),0.155,0.27,1,VAR2STR(0,2)),COLORWHITE; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDV REF(V,119),0.155,0.27,1,STRCAT(VAR2STR(VART25_1,1), % )),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4)ANDVVOL REF(V,4),0.16,0.11,0, 5日均线助涨 ),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,4)ANDVVOL REF(V,4),0.16,0.11,0, 5日均线领跌 ),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9)ANDVVOL REF(V,9),0.16,0.15,0, 10日均线助涨 ),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,9)ANDVVOL REF(V,9),0.16,0.15,0, 10日均线领跌 ),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19)ANDVVOL REF(V,19),0.16,0.19,0, 20日均线助涨 ),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,19)ANDVVOL REF(V,19),0.16,0.19,0, 20日均线领跌 ),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59)ANDVVOL REF(V,59),0.16,0.23,0, 60日均线助涨 ),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,59)ANDVVOL REF(V,59),0.16,0.23,0, 60日均线领跌 ),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119)ANDVVOL REF(V,119),0.16,0.27,0, 120日均线助涨 ),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1ANDC REF(C,119)ANDVVOL REF(V,119),0.16,0.27,0, 120日均线领跌 ),COLORGREEN;[源码注释]通达信顺势量价指标公式公式解读 N赋值:14 MM赋值:6 MTR赋值:最高价-最低价的绝对值和最高价-1日前的收盘价的绝对值的较大值和1日前的收盘价-最低价的绝对值的较大值的N日指数平滑移动平均 HD赋值:最高价-1日前的最高价 LD赋值:1日前的最低价-最低价 DMP赋值:如果HD ,返回?,否则返回?的?日指数平滑移动平均 LD,HD,0),N) DMM赋值:如果LD ,返回?,否则返回?的?日指数平滑移动平均 HD,LD,0),N) PDI赋值:DMP*100/MTR MDI赋值:DMM*100/MTR 输出多头线:PDI,画红色,线宽为2 输出空头线:MDI,画青色,线宽为1 输出顺势线_多或空:PDI-MDI的绝对值/(MDI+PDI)*100的MM日指数平滑移动平均,DOTLINE 输出顺势线M:顺势线_多或空的MM日指数平滑移动平均,DOTLINE 当满足条件到最后交易的周期=5时,在最高价*1.01位置书写文字 当满足条件到最后交易的周期=10时,在最高价*1.01位置书写文字 当满足条件到最后交易的周期=20时,在最高价*1.01位置书写文字 当满足条件到最后交易的周期=60时,在最高价*1.01位置书写文字 当满足条件到最后交易的周期=120时,在最高价*1.01位置书写文字 当满足条件到最后交易的周期=250时,在最高价*1.01位置书写文字 输出MA5:收盘价的5日简单移动平均 输出MA10:收盘价的10日简单移动平均 输出MA20:收盘价的20日简单移动平均 输出MA60:收盘价的60日简单移动平均 输出MA120:收盘价的120日简单移动平均 输出MA250:收盘价的250日简单移动平均 相对位置上画矩形 当满足条件收盘价 0时,在横轴0.04纵轴0.07位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.04纵轴0.11位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.04纵轴0.15位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.04纵轴0.19位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.04纵轴0.23位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.04纵轴0.27位置书写文字,画黄色 当满足条件收盘价 0时,在横轴0.005纵轴0.090位置书写文字,画深灰色 当满足条件收盘价 0时,在横轴0.065纵轴0.03位置书写文字,画黄色 当满足条件到最后交易的周期=1ANDC 0时,在横轴0.065纵轴0.07位置书写文字,画黄色 当满足条件到最后交易的周期=1ANDC 4日前的收盘价时,在横轴0.065纵轴0.11位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=4日前的收盘价时,在横轴0.065纵轴0.11位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 4日前的收盘价时,在横轴0.065纵轴0.11位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 9日前的收盘价时,在横轴0.065纵轴0.15位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=9日前的收盘价时,在横轴0.065纵轴0.15位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 9日前的收盘价时,在横轴0.065纵轴0.15位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 19日前的收盘价时,在横轴0.065纵轴0.19位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=19日前的收盘价时,在横轴0.065纵轴0.19位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 19日前的收盘价时,在横轴0.065纵轴0.19位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 59日前的收盘价时,在横轴0.065纵轴0.23位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=59日前的收盘价时,在横轴0.065纵轴0.23位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 59日前的收盘价时,在横轴0.065纵轴0.23位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 119日前的收盘价时,在横轴0.065纵轴0.27位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=119日前的收盘价时,在横轴0.065纵轴0.27位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 119日前的收盘价时,在横轴0.065纵轴0.27位置书写文字,画绿色 VART1赋值:(收盘价-4日前的收盘价)的绝对值*100/收盘价,NODRAW VART1_1赋值:如果VART1 999,返回999.9,否则返回VART1,NODRAW 当满足条件到最后交易的周期=1ANDC 4日前的收盘价时,在横轴0.09纵轴0.11位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=4日前的收盘价时,在横轴0.09纵轴0.11位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 4日前的收盘价时,在横轴0.09纵轴0.11位置书写文字,画绿色 VART2赋值:(收盘价-9日前的收盘价)的绝对值*100/收盘价,NODRAW VART2_1赋值:如果VART2 999,返回999.9,否则返回VART2,NODRAW 当满足条件到最后交易的周期=1ANDC 9日前的收盘价时,在横轴0.09纵轴0.15位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=9日前的收盘价时,在横轴0.09纵轴0.15位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 9日前的收盘价时,在横轴0.09纵轴0.15位置书写文字,画绿色 VART3赋值:(收盘价-19日前的收盘价)的绝对值*100/收盘价,NODRAW VART3_1赋值:如果VART3 999,返回999.9,否则返回VART3,NODRAW 当满足条件到最后交易的周期=1ANDC 19日前的收盘价时,在横轴0.09纵轴0.19位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=19日前的收盘价时,在横轴0.09纵轴0.19位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 19日前的收盘价时,在横轴0.09纵轴0.19位置书写文字,画绿色 VART4赋值:(收盘价-59日前的收盘价)的绝对值*100/收盘价,NODRAW VART4_1赋值:如果VART4 999,返回999.9,否则返回VART4,NODRAW 当满足条件到最后交易的周期=1ANDC 59日前的收盘价时,在横轴0.09纵轴0.23位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=59日前的收盘价时,在横轴0.09纵轴0.23位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 59日前的收盘价时,在横轴0.09纵轴0.23位置书写文字,画绿色 VART5赋值:(收盘价-119日前的收盘价)的绝对值*100/收盘价,NODRAW VART5_1赋值:如果VART5 999,返回999.9,否则返回VART5,NODRAW 当满足条件到最后交易的周期=1ANDC 119日前的收盘价时,在横轴0.09纵轴0.27位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC=119日前的收盘价时,在横轴0.09纵轴0.27位置书写文字,画白色 当满足条件到最后交易的周期=1ANDC 119日前的收盘价时,在横轴0.09纵轴0.27位置书写文字,画绿色 当满足条件收盘价 0时,在横轴0.12纵轴0.03位置书写文字,画黄色 当满足条件到最后交易的周期=1ANDC 0时,在横轴0.12纵轴0.07位置书写文字,画黄色 TOTAL赋值:如果周期类型=1,返回5,否则返回如果周期类型=2,返回15,否则返回如果周期类型=3,返回30,否则返回如果周期类型=4,返回60,否则返回如果周期类型=5,返回总分钟数,否则返回1,NODRAW MTIME赋值:当前离开盘分钟数关于TOTAL的模,NODRAW CTIME赋值:如果MTIME 0.5,返回TOTAL,否则返回MTIME,NODRAW VVOL赋值:如果(到最后交易的周期=1ANDDYNAINFO(8) 1),返回成交量(手)*(TOTAL+3)/(CTIME+3),否则返回0,NODRAW 当满足条件收盘价 0时,在横轴0.18纵轴0.03位置书写文字,画黄色 当满足条件到最后交易的周期=1ANDVVOL 0时,在横轴0.18纵轴0.07位置书写文字,画黄色 当满足条件到最后交易的周期=1ANDV 4日前的成交量(手)时,在横轴0.12纵轴0.11位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=4日前的成交量(手)时,在横轴0.12纵轴0.11位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 4日前的成交量(手)时,在横轴0.12纵轴0.11位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDV 9日前的成交量(手)时,在横轴0.12纵轴0.15位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=9日前的成交量(手)时,在横轴0.12纵轴0.15位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 9日前的成交量(手)时,在横轴0.12纵轴0.15位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDV 19日前的成交量(手)时,在横轴0.12纵轴0.19位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=19日前的成交量(手)时,在横轴0.12纵轴0.19位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 19日前的成交量(手)时,在横轴0.12纵轴0.19位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDV 59日前的成交量(手)时,在横轴0.12纵轴0.23位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=59日前的成交量(手)时,在横轴0.12纵轴0.23位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 59日前的成交量(手)时,在横轴0.12纵轴0.23位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDV 119日前的成交量(手)时,在横轴0.12纵轴0.27位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=119日前的成交量(手)时,在横轴0.12纵轴0.27位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 119日前的成交量(手)时,在横轴0.12纵轴0.27位置书写文字,画绿色 VART21赋值:(成交量(手)-4日前的成交量(手))的绝对值*100/成交量(手) VART21_1赋值:如果VART21 999,返回999.9,否则返回VART21,NODRAW 当满足条件到最后交易的周期=1ANDV 4日前的成交量(手)时,在横轴0.155纵轴0.11位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=4日前的成交量(手)时,在横轴0.155纵轴0.11位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 4日前的成交量(手)时,在横轴0.155纵轴0.11位置书写文字,画绿色 VART22赋值:(成交量(手)-9日前的成交量(手))的绝对值*100/成交量(手) VART22_1赋值:如果VART22 999,返回999.9,否则返回VART22 当满足条件到最后交易的周期=1ANDV 9日前的成交量(手)时,在横轴0.155纵轴0.15位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=9日前的成交量(手)时,在横轴0.155纵轴0.15位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 9日前的成交量(手)时,在横轴0.155纵轴0.15位置书写文字,画绿色 VART23赋值:(成交量(手)-19日前的成交量(手))的绝对值*100/成交量(手) VART23_1赋值:如果VART23 999,返回999.9,否则返回VART23 当满足条件到最后交易的周期=1ANDV 19日前的成交量(手)时,在横轴0.155纵轴0.19位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=19日前的成交量(手)时,在横轴0.155纵轴0.19位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 19日前的成交量(手)时,在横轴0.155纵轴0.19位置书写文字,画绿色 VART24赋值:(收盘价-59日前的收盘价)的绝对值*100/收盘价 VART24_1赋值:如果VART24 999,返回999.9,否则返回VART24 当满足条件到最后交易的周期=1ANDV 59日前的成交量(手)时,在横轴0.155纵轴0.23位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=59日前的成交量(手)时,在横轴0.155纵轴0.23位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 59日前的成交量(手)时,在横轴0.155纵轴0.23位置书写文字,画绿色 VART25赋值:(收盘价-119日前的收盘价)的绝对值*100/收盘价 VART25_1赋值:如果VART25 999,返回999.9,否则返回VART25 当满足条件到最后交易的周期=1ANDV 119日前的成交量(手)时,在横轴0.155纵轴0.27位置书写文字,画红色 当满足条件到最后交易的周期=1ANDV=119日前的成交量(手)时,在横轴0.155纵轴0.27位置书写文字,画白色 当满足条件到最后交易的周期=1ANDV 119日前的成交量(手)时,在横轴0.155纵轴0.27位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 4日前的收盘价ANDVVOL 4日前的成交量(手)时,在横轴0.16纵轴0.11位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC 4日前的收盘价ANDVVOL 4日前的成交量(手)时,在横轴0.16纵轴0.11位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 9日前的收盘价ANDVVOL 9日前的成交量(手)时,在横轴0.16纵轴0.15位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC 9日前的收盘价ANDVVOL 9日前的成交量(手)时,在横轴0.16纵轴0.15位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 19日前的收盘价ANDVVOL 19日前的成交量(手)时,在横轴0.16纵轴0.19位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC 19日前的收盘价ANDVVOL 19日前的成交量(手)时,在横轴0.16纵轴0.19位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 59日前的收盘价ANDVVOL 59日前的成交量(手)时,在横轴0.16纵轴0.23位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC 59日前的收盘价ANDVVOL 59日前的成交量(手)时,在横轴0.16纵轴0.23位置书写文字,画绿色 当满足条件到最后交易的周期=1ANDC 119日前的收盘价ANDVVOL 119日前的成交量(手)时,在横轴0.16纵轴0.27位置书写文字,画红色 当满足条件到最后交易的周期=1ANDC 119日前的收盘价ANDVVOL 119日前的成交量(手)时,在横轴0.16纵轴0.27位置书写文字,画绿色