通达信金量柱,成交量类,源码 副图

 

{金量柱
参数1: 均线, 最小: 0, 最大: 2, 缺省: 1
参数2: 画虚拟量, 最小: 0, 最大: 1, 缺省: 1
参数3: 平量误差, 最小: 1, 最大: 10, 缺省: 5
参数4: 换手周期画线, 最小: 0, 最大: 1, 缺省: 0
}
VAR1:=DATE<=117010199;
VAR2:=CURRBARSCOUNT;
VAR3:=CURRBARSCOUNT-1;
VAR4:=1-平量误差/100;
VAR5:=1+平量误差/100;
VAR6:=PERIOD=5;
VAR7:=CLOSE/REF(CLOSE,1)>=1.099 AND CLOSE=HIGH;
VAR8:=CLOSE/REF(CLOSE,1)<=0.901 AND LOW=CLOSE;
VAR9:=VOL/REF(VOL,1)>=1.9;
VAR10:=VOL=HHV(VOL,60);
VAR11:=VOL=LLV(VOL,60);
VAR12:=VOL=HHV(VOL,20);
VAR13:=VOL=LLV(VOL,20);
VAR14:=BETWEEN(VOL/REF(VOL,1),VAR4,VAR5) OR REFX(BETWEEN(VOL/REF(VOL,1),VAR4,VAR5),1);
VAR15:=IF(VAR1,VOL/10000,DRAWNULL);
VAR16:=MA(VOL,5);
VAR17:=MA(VOL,30);
VAR18:=MA(VOL,120);
VAR19:=VOL<VAR18 AND VOL<VAR17 AND VAR16<VAR18 AND (VOL<VAR16 OR IF(VAR16<VAR17*0.75,VOL<VAR16*1.1,0));
VAR20:=MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE)>=1.03;
VAR21:=CLOSE<=REF(CLOSE,1)*0.95 AND VAR19 AND VAR20;
VAR22:=CLOSE>=REF(CLOSE,1)*1.05 AND VAR19 AND VAR20;
VAR23:=CLOSE<=REF(CLOSE,1)*0.95 AND VAR19 AND VAR20 AND NOT(VAR8);
长阴次涨:REFX(COUNT(REF(VAR23,1) AND CLOSE>REF(CLOSE,1),250)/COUNT(VAR23,250)*100,VAR3),NODRAW,COLORYELLOW;
VAR24:=(CLOSE-LLV(LOW,250))/LLV(LOW,250)*100;

VAR25:=SMA(VAR24,3,1);
VAR26:=SMA(VAR25,3,1);
年KDJ:REFX(VAR26,VAR3),NODRAW,COLORWHITE;
VAR27:=CLOSE>1000;
VAR28:=REF(CLOSE,1)/REF(CLOSE,2)>=1.099 AND REF(CLOSE,1)=REF(HIGH,1) AND REF(LOW,1)!=REF(HIGH,1);
VAR29:=VAR28 AND CLOSE>REF(CLOSE,1);
VAR30:=REFX(COUNT(VAR28,250),VAR3);
年涨停:VAR30,NODRAW,COLORMAGENTA;
次涨:REFX(COUNT(VAR29,250),VAR3),NODRAW,COLORLIMAGENTA;
概率:IF(VAR27,DRAWNULL,次涨/VAR30*100),NODRAW,COLORYELLOW;
VAR31:=VAR15*2/3;
VAR32:=VAR15/2;
VAR33:=VAR15<VAR31;
VAR34:=VAR15<VAR32;
VAR35:=均线=1 OR 均线=2;
VAR36:=均线=2;
五:IF(VAR36,MA(VAR15,5),DRAWNULL),NODRAW,COLORWHITE;
三十:IF(VAR36,MA(VAR15,30),DRAWNULL),NODRAW,COLORMAGENTA;
均120:IF(VAR35,MA(VAR15,120),DRAWNULL),NODRAW,COLORLIBLUE;
万手:VAR15,NODRAW,COLORWHITE;
亿:AMOUNT/100000000,NODRAW,COLORYELLOW;
倍:VOL/REF(VOL,1),NODRAW,COLORWHITE;
VAR37:=SSRP;
今换:REFX(VAR37,VAR3),NODRAW,COLORGREEN;
十:REFX(SUM(VAR37,10),VAR3),NODRAW,COLORWHITE;
五十:REFX(SUM(VAR37,50),VAR3),NODRAW,COLORCYAN;
低:REFX(LOW,VAR3),NODRAW,COLORGREEN;
高:REFX(HIGH,VAR3),NODRAW,COLORMAGENTA;
开:REFX(OPEN,VAR3),NODRAW,COLORWHITE;
收:REFX(CLOSE,VAR3),NODRAW,COLORYELLOW;
幅:REFX((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,VAR3),NODRAW,COLORRED;
上量:REFX(VAR15>=均120,VAR3),NODRAW,COLORWHITE;
上线:REFX(CLOSE>MA(CLOSE,20),VAR3),NODRAW,COLORMAGENTA;
VAR38:=VAR15>=均120;
VAR39:=VAR15<均120;
VAR40:=COUNT(VAR39,3)=3;
VAR41:=COUNT(VAR38,3)=3;
VAR42:=VAR40 OR REFX(VAR40,1) OR REFX(VAR40,2);
VAR43:=BARSLAST(VAR41)<BARSLAST(VAR40);
VAR44:=BARSNEXT(VAR40)-2;
VAR45:=BARSNEXT(VAR41)-2;
VAR46:=VAR41 OR REFX(VAR41,1) OR REFX(VAR41,2) OR IF(VAR43,VAR44=DRAWNULL OR NOT(VAR42) OR VAR45<VAR44,0);
VAR47:=CLOSE>REF(CLOSE,1);
VAR48:=CLOSE<=REF(CLOSE,1);
VAR49:=(-1);
VAR50:=0;
VAR51:=1;
VAR52:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
VAR53:=MOD(FROMOPEN,VAR52);
VAR54:=IF(VAR53<0.5,VAR52,VAR53);
VAR55:=IF(CURRBARSCOUNT=1 AND 画虚拟量,VAR15*VAR52/VAR54,DRAWNULL);
STICKLINE(画虚拟量 AND CURRBARSCOUNT=1 AND (SETCODE=0 OR SETCODE=1),VAR55,0,VAR49,(-1)),COLORLIGRAY;
VAR56:=VAR15*6/7;
STICKLINE(VAR47,0,VAR15,VAR49,VAR51),COLORRED;
STICKLINE(VAR47 AND VAR9,VAR32,VAR15,VAR49,VAR50),COLOR0000CC;
STICKLINE(VAR47 AND VAR12,VAR56,VAR15,VAR49,VAR50),COLORRED;
STICKLINE(VAR47 AND VAR13,0,VAR15,VAR49,VAR50),COLORRED;
STICKLINE(VAR47 AND VAR10,VAR56,VAR15,VAR49,VAR50),COLORMAGENTA;
STICKLINE(VAR47 AND VAR11,0,VAR15,VAR49,VAR50),COLORMAGENTA;
STICKLINE(VAR48,0,VAR15,VAR49,VAR50),COLORLIGREEN;
STICKLINE(VAR48 AND VAR9,0,VAR15,VAR49,VAR51),COLORLIGREEN;
STICKLINE(VAR48 AND VAR9,VAR32,VAR15,VAR49,VAR50),COLORLIGREEN;
STICKLINE(VAR48 AND VAR12,VAR56,VAR15,VAR49,VAR50),COLORCYAN;
STICKLINE(VAR48 AND VAR13,0,VAR15,VAR49,VAR50),COLORCYAN;
STICKLINE(VAR48 AND VAR10,VAR56,VAR15,VAR49,VAR50),COLORGREEN;
STICKLINE(VAR48 AND VAR11,0,VAR15,VAR49,VAR50),COLORGREEN;
STICKLINE(VAR21,0,VAR32,0.1,0),COLORBLUE;
STICKLINE(VAR22,0,VAR32,0.1,0),COLORRED;
VAR57:=ABS((WINNER(REF(CLOSE,1))-WINNER(CLOSE))*100)>=18 AND VOL/CAPITAL*100<=3;
STICKLINE(VAR57 AND CLOSE>REF(CLOSE,1),VAR32,VAR15,0.1,0),COLORRED;
STICKLINE(VAR57 AND CLOSE<REF(CLOSE,1),VAR32,VAR15,0.1,0),COLORBLUE;
VAR58:=3;
VAR59:=VAR58-1;
VAR60:=REF(CLOSE,VAR59)<=REF(CLOSE,VAR58) AND REF(VOL,VAR59)<REF(VOL,VAR58) OR (REF(CLOSE,VAR59)<=REF(CLOSE,VAR58) AND REF(VOL,VAR59)>REF(VOL,VAR58) AND REF(CLOSE,VAR58)>REF(CLOSE,VAR58+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE<=REF(CLOSE,1),VAR59)=VAR59;
DRAWTEXT(VAR60,VAR15,VAR2STR(VAR58,0)),COLORYELLOW,LINETHICK9;
VAR61:=4;
VAR62:=VAR61-1;
VAR63:=REF(CLOSE,VAR62)<=REF(CLOSE,VAR61) AND REF(VOL,VAR62)<REF(VOL,VAR61) OR (REF(CLOSE,VAR62)<=REF(CLOSE,VAR61) AND REF(VOL,VAR62)>REF(VOL,VAR61) AND REF(CLOSE,VAR61)>REF(CLOSE,VAR61+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE<=REF(CLOSE,1),VAR62)=VAR62;
DRAWTEXT(VAR63,VAR15,VAR2STR(VAR61,0)),COLORYELLOW,LINETHICK9;
VAR64:=3;
VAR65:=VAR64-1;
VAR66:=REF(CLOSE,VAR65)>REF(CLOSE,VAR64) AND REF(VOL,VAR65)<REF(VOL,VAR64) OR (REF(CLOSE,VAR65)>REF(CLOSE,VAR64) AND REF(VOL,VAR65)>REF(VOL,VAR64) AND REF(CLOSE,VAR64)<=REF(CLOSE,VAR64+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR65)=VAR65;
DRAWTEXT(VAR66,VAR15,VAR2STR(VAR64,0)),COLORYELLOW,LINETHICK9;
VAR67:=REF(REF(CLOSE,VAR65)>REF(CLOSE,VAR64) AND REF(VOL,VAR65)<REF(VOL,VAR64) OR (REF(CLOSE,VAR65)>REF(CLOSE,VAR64) AND REF(VOL,VAR65)>REF(VOL,VAR64) AND REF(CLOSE,VAR64)<=REF(CLOSE,VAR64+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR65)=VAR65,1);
DRAWTEXT(VAR67 AND VOL<REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR15,VAR2STR(VAR64+1,0)),COLORGREEN,LINETHICK9;
VAR68:=4;
VAR69:=VAR68-1;
VAR70:=REF(CLOSE,VAR69)>REF(CLOSE,VAR68) AND REF(VOL,VAR69)<REF(VOL,VAR68) OR (REF(CLOSE,VAR69)>REF(CLOSE,VAR68) AND REF(VOL,VAR69)>REF(VOL,VAR68) AND REF(CLOSE,VAR68)<=REF(CLOSE,VAR68+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR69)=VAR69;
DRAWTEXT(VAR70,VAR15,VAR2STR(VAR68,0)),COLORYELLOW,LINETHICK9;
VAR71:=5;
VAR72:=VAR71-1;
VAR73:=REF(CLOSE,VAR72)>REF(CLOSE,VAR71) AND REF(VOL,VAR72)<REF(VOL,VAR71) OR (REF(CLOSE,VAR72)>REF(CLOSE,VAR71) AND REF(VOL,VAR72)>REF(VOL,VAR71) AND REF(CLOSE,VAR71)<=REF(CLOSE,VAR71+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR72)=VAR72;
DRAWTEXT(VAR73,VAR15,VAR2STR(VAR71,0)),COLORYELLOW,LINETHICK9;
VAR74:=6;
VAR75:=VAR74-1;
VAR76:=REF(CLOSE,VAR75)>REF(CLOSE,VAR74) AND REF(VOL,VAR75)<REF(VOL,VAR74) OR (REF(CLOSE,VAR75)>REF(CLOSE,VAR74) AND REF(VOL,VAR75)>REF(VOL,VAR74) AND REF(CLOSE,VAR74)<=REF(CLOSE,VAR74+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR75)=VAR75;
DRAWTEXT(VAR76,VAR15,VAR2STR(VAR74,0)),COLORYELLOW,LINETHICK9;
VAR77:=7;
VAR78:=VAR77-1;
VAR79:=REF(CLOSE,VAR78)>REF(CLOSE,VAR77) AND REF(VOL,VAR78)<REF(VOL,VAR77) OR (REF(CLOSE,VAR78)>REF(CLOSE,VAR77) AND REF(VOL,VAR78)>REF(VOL,VAR77) AND REF(CLOSE,VAR77)<=REF(CLOSE,VAR77+1)) AND COUNT(VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1),VAR78)=VAR78;
DRAWTEXT(VAR79,VAR15,VAR2STR(VAR77,0)),COLORYELLOW,LINETHICK9;
STICKLINE(VAR14,0,VAR15/50,VAR49,VAR50),COLORYELLOW;
VAR80:=SUMBARS(VAR37,100);
VAR81:=SUMBARS(VAR37,200);
VAR82:=SUMBARS(VAR37,300);
VAR83:=SUMBARS(VAR37,400);
VAR84:=SUMBARS(VAR37,500);
VAR85:=REFX(VAR80,VAR3);
VAR86:=REFX(VAR81,VAR3);
VAR87:=REFX(VAR82,VAR3);
VAR88:=REFX(VAR83,VAR3);
VAR89:=REFX(VAR84,VAR3);
VAR90:=REF(VAR15,VAR85-VAR2);
VAR91:=REF(VAR15,VAR86-VAR2);
VAR92:=REF(VAR15,VAR87-VAR2);
VAR93:=REF(VAR15,VAR88-VAR2);
VAR94:=REF(VAR15,VAR89-VAR2);
NOTEXT11:IF(VAR2<=VAR85 AND 换手周期画线,VAR90,DRAWNULL),COLORGREEN;
NOTEXT12:IF(VAR2>VAR85 AND 换手周期画线 AND VAR2<=VAR86,VAR91,DRAWNULL),COLORCYAN;
NOTEXT13:IF(VAR2>VAR86 AND 换手周期画线 AND VAR2<=VAR87,VAR92,DRAWNULL),COLORYELLOW;
NOTEXT14:IF(VAR2>VAR87 AND 换手周期画线 AND VAR2<=VAR88,VAR93,DRAWNULL),COLORGREEN;
NOTEXT15:IF(VAR2>VAR88 AND 换手周期画线 AND VAR2<=VAR89,VAR94,DRAWNULL),COLORCYAN;
VAR95:=ISLASTBAR AND 换手周期画线;
DRAWTEXT_FIX(VAR95,0.6,0,0,VAR2STR(VAR89-VAR88,0)),COLORCYAN;
DRAWTEXT_FIX(VAR95,0.65,0,0,VAR2STR(VAR88-VAR87,0)),COLORGREEN;
DRAWTEXT_FIX(VAR95,0.7,0,0,VAR2STR(VAR87-VAR86,0)),COLORYELLOW;
DRAWTEXT_FIX(VAR95,0.75,0,0,VAR2STR(VAR86-VAR85,0)),COLORCYAN;
DRAWTEXT_FIX(VAR95,0.8,0,0,VAR2STR(VAR85,0)),COLORGREEN;
VAR96:=3;
VAR97:=VAR96-1;
VAR98:=VAR96+1;
VAR99:=REF(CLOSE,VAR96)<REF(CLOSE,VAR98) AND REF(CLOSE,VAR98)<REF(CLOSE,VAR98+1) AND COUNT(CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1),VAR96)=VAR96;
DRAWTEXT(VAR99,VAR15,VAR2STR(VAR96,0)),COLORGREEN,LINETHICK9;
VAR100:=4;
VAR101:=VAR100-1;
VAR102:=VAR100+1;
VAR103:=REF(CLOSE,VAR100)<REF(CLOSE,VAR102) AND REF(CLOSE,VAR102)<REF(CLOSE,VAR102+1) AND COUNT(CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1),VAR100)=VAR100;
DRAWTEXT(VAR103,VAR15,VAR2STR(VAR100,0)),COLORGREEN,LINETHICK9;
VAR104:=5;
VAR105:=VAR104-1;
VAR106:=VAR104+1;
VAR107:=REF(CLOSE,VAR104)<REF(CLOSE,VAR106) AND REF(CLOSE,VAR106)<REF(CLOSE,VAR106+1) AND COUNT(CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1),VAR104)=VAR104;
DRAWTEXT(VAR107,VAR15,VAR2STR(VAR104,0)),COLORGREEN,LINETHICK9;
VAR108:=6;
VAR109:=VAR108-1;
VAR110:=VAR108+1;
VAR111:=REF(CLOSE,VAR108)<REF(CLOSE,VAR110) AND REF(CLOSE,VAR110)<REF(CLOSE,VAR110+1) AND COUNT(CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1),VAR108)=VAR108;
DRAWTEXT(VAR111,VAR15,VAR2STR(VAR108,0)),COLORGREEN,LINETHICK9;
VAR112:=7;
VAR113:=VAR112-1;
VAR114:=VAR112+1;
VAR115:=REF(CLOSE,VAR112)<REF(CLOSE,VAR114) AND REF(CLOSE,VAR114)<REF(CLOSE,VAR114+1) AND COUNT(CLOSE>REF(CLOSE,1) AND VOL<REF(VOL,1),VAR112)=VAR112;
DRAWTEXT(VAR115,VAR15,VAR2STR(VAR112,0)),COLORGREEN,LINETHICK9;
VAR116:=3;
VAR117:=VAR116-1;
VAR118:=VAR116+1;
VAR119:=REF(CLOSE,VAR116)>REF(CLOSE,VAR118) OR REF(VOL,VAR116)>REF(VOL,VAR118) AND COUNT(CLOSE<REF(CLOSE,1) AND VOL<REF(VOL,1),VAR116)=VAR116;
DRAWTEXT(VAR119,VAR15,VAR2STR(VAR116,0)),COLORGREEN,LINETHICK9;
VAR120:=4;
VAR121:=VAR120-1;
VAR122:=VAR120+1;
VAR123:=REF(CLOSE,VAR120)>REF(CLOSE,VAR122) OR REF(VOL,VAR120)>REF(VOL,VAR122) AND COUNT(CLOSE<=REF(CLOSE,1) AND VOL<REF(VOL,1),VAR120)=VAR120;
DRAWTEXT(VAR123,VAR15,VAR2STR(VAR120,0)),COLORGREEN,LINETHICK9;
VAR124:=5;
VAR125:=VAR124-1;
VAR126:=VAR124+1;
VAR127:=REF(CLOSE,VAR124)>REF(CLOSE,VAR126) OR REF(VOL,VAR124)>REF(VOL,VAR126) AND COUNT(CLOSE<=REF(CLOSE,1) AND VOL<REF(VOL,1),VAR124)=VAR124;
DRAWTEXT(VAR127,VAR15,VAR2STR(VAR124,0)),COLORGREEN,LINETHICK9;
VAR128:=6;
VAR129:=VAR128-1;
VAR130:=VAR128+1;
VAR131:=REF(CLOSE,VAR128)>REF(CLOSE,VAR130) OR REF(VOL,VAR128)>REF(VOL,VAR130) AND COUNT(CLOSE<=REF(CLOSE,1) AND VOL<REF(VOL,1),VAR128)=VAR128;
DRAWTEXT(VAR131,VAR15,VAR2STR(VAR128,0)),COLORGREEN,LINETHICK9;
VAR132:=7;
VAR133:=VAR132-1;
VAR134:=VAR132+1;
VAR135:=REF(CLOSE,VAR132)>REF(CLOSE,VAR134) OR REF(VOL,VAR132)>REF(VOL,VAR134) AND COUNT(CLOSE<=REF(CLOSE,1) AND VOL<REF(VOL,1),VAR132)=VAR132;
DRAWTEXT(VAR135,VAR15,VAR2STR(VAR132,0)),COLORGREEN,LINETHICK9;
VAR136:=CURRBARSCOUNT=120;
VAR137:=IF(VAR136,MA(VAR15,120),DRAWNULL);
DRAWTEXT(VAR136,IF(VAR15>VAR137,VAR15,VAR137),VAR2STR(120,0)),COLORWHITE,LINETHICK9;
VAR138:=VAR31>=REF(VAR15,1) AND NOT(VAR9);
VAR139:=REFX(VAR15,1)<VAR31;
VAR140:=REFX(VAR15,1)<VAR32;
STICKLINE(VAR138,VAR31,VAR31,(-1),0),COLORCYAN;
STICKLINE(VAR139,VAR31,VAR31,VAR49,VAR50),COLORWHITE;
STICKLINE(VAR140,VAR32,VAR32,VAR49,VAR50),COLORWHITE;
NOTEXT5:IF(VAR36,五,DRAWNULL),COLORWHITE;
NOTEXT30:IF(VAR36,三十,DRAWNULL),COLORMAGENTA;
NOTEXT120:IF(VAR35,均120,DRAWNULL),COLORLIBLUE;
NOTEXT上量:IF(VAR35 AND VAR46,均120,DRAWNULL),COLORYELLOW;




来函数检测结果如下
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
该公式包含未来函数:BARSNEXT
该公式包含未来函数:REFX

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

VAR1赋值:日期<=117010199
VAR2赋值:到最后交易的周期
VAR3赋值:到最后交易的周期-1
VAR4赋值:1-平量误差/100
VAR5赋值:1+平量误差/100
VAR6赋值:周期类型=5
VAR7赋值:收盘价/1日前的收盘价>=1.099 AND 收盘价=最高价
VAR8赋值:收盘价/1日前的收盘价<=0.901 AND 最低价=收盘价
VAR9赋值:成交量(手)/1日前的成交量(手)>=1.9
VAR10赋值:成交量(手)=60日内成交量(手)的最高值
VAR11赋值:成交量(手)=60日内成交量(手)的最低值
VAR12赋值:成交量(手)=20日内成交量(手)的最高值
VAR13赋值:成交量(手)=20日内成交量(手)的最低值
VAR14赋值:成交量(手)/1日前的成交量(手)位于VAR4和VAR5之间 OR 1日后的成交量(手)/1日前的成交量(手)位于VAR4和VAR5之间
VAR15赋值:如果VAR1,返回成交量(手)/10000,否则返回无效数
VAR16赋值:成交量(手)的5日简单移动平均
VAR17赋值:成交量(手)的30日简单移动平均
VAR18赋值:成交量(手)的120日简单移动平均
VAR19赋值:成交量(手)VAR20赋值:开盘价和收盘价的较大值/开盘价和收盘价的较小值>=1.03
VAR21赋值:收盘价<=1日前的收盘价*0.95 AND VAR19 AND VAR20
VAR22赋值:收盘价>=1日前的收盘价*1.05 AND VAR19 AND VAR20
VAR23赋值:收盘价<=1日前的收盘价*0.95 AND VAR19 AND VAR20 AND 取反
输出长阴次涨:VAR3日后的统计250日中满足1日前的VAR23ANDCLOSE>1日前的收盘价的天数/统计250日中满足VAR23的天数*100,NODRAW,画黄色
VAR24赋值:(收盘价-250日内最低价的最低值)/250日内最低价的最低值*100
VAR25赋值:VAR24的3日[1日权重]移动平均
VAR26赋值:VAR25的3日[1日权重]移动平均
输出年KDJ:VAR3日后的VAR26,NODRAW,画白色
VAR27赋值:收盘价>1000
VAR28赋值:1日前的收盘价/2日前的收盘价>=1.099 AND 1日前的收盘价=1日前的最高价 AND 1日前的最低价不等于1日前的最高价
VAR29赋值:VAR28 AND 收盘价>1日前的收盘价
VAR30赋值:VAR3日后的统计250日中满足VAR28的天数
输出年涨停:VAR30,NODRAW,画洋红色
输出次涨:VAR3日后的统计250日中满足VAR29的天数,NODRAW,画淡洋红色
输出概率:如果VAR27,返回无效数,否则返回次涨/VAR30*100,NODRAW,画黄色
VAR31赋值:VAR15*2/3
VAR32赋值:VAR15/2
VAR33赋值:VAR15VAR34赋值:VAR15VAR35赋值:均线=1 OR 均线=2
VAR36赋值:均线=2
输出五:如果VAR36,返回VAR15的5日简单移动平均,否则返回无效数,NODRAW,画白色
输出三十:如果VAR36,返回VAR15的30日简单移动平均,否则返回无效数,NODRAW,画洋红色
输出均120:如果VAR35,返回VAR15的120日简单移动平均,否则返回无效数,NODRAW,画淡蓝色
输出万手:VAR15,NODRAW,画白色
输出亿:成交额(元)/100000000,NODRAW,画黄色
输出倍:成交量(手)/1日前的成交量(手),NODRAW,画白色
VAR37赋值:筹码峰
输出今换:VAR3日后的VAR37,NODRAW,画绿色
输出十:VAR3日后的VAR37的10日累和,NODRAW,画白色
输出五十:VAR3日后的VAR37的50日累和,NODRAW,画青色
输出低:VAR3日后的最低价,NODRAW,画绿色
输出高:VAR3日后的最高价,NODRAW,画洋红色
输出开:VAR3日后的开盘价,NODRAW,画白色
输出收:VAR3日后的收盘价,NODRAW,画黄色
输出幅:VAR3日后的(收盘价-1日前的收盘价)/1日前的收盘价*100,NODRAW,画红色
输出上量:VAR3日后的VAR15>=均120,NODRAW,画白色
输出上线:VAR3日后的收盘价>收盘价的20日简单移动平均,NODRAW,画洋红色
VAR38赋值:VAR15>=均120
VAR39赋值:VAR15<均120
VAR40赋值:统计3日中满足VAR39的天数=3
VAR41赋值:统计3日中满足VAR38的天数=3
VAR42赋值:VAR40 OR 1日后的VAR40 OR 2日后的VAR40
VAR43赋值:上次VAR41距今天数<上次VAR40距今天数
VAR44赋值:下次VAR40距今天数-2
VAR45赋值:下次VAR41距今天数-2
VAR46赋值:VAR41 OR 1日后的VAR41 OR 2日后的VAR41 OR 如果VAR43,返回VAR44=DRAWNULLORNOT(VAR42)ORVAR45VAR47赋值:收盘价>1日前的收盘价
VAR48赋值:收盘价<=1日前的收盘价
VAR49赋值:(-1)
VAR50赋值:0
VAR51赋值:1
VAR52赋值:如果周期类型=1,返回5,否则返回如果周期类型=2,返回15,否则返回如果周期类型=3,返回30,否则返回如果周期类型=4,返回60,否则返回如果周期类型=5,返回240,否则返回1
VAR53赋值:当前离开盘分钟数关于VAR52的模
VAR54赋值:如果VAR53<0.5,返回VAR52,否则返回VAR53
VAR55赋值:如果到最后交易的周期=1AND画虚拟量,返回VAR15*VAR52/VAR54,否则返回无效数
当满足条件画虚拟量ANDCURR有效数据周期数=1AND(市场类型=0ORSETCODE=1)时,在VAR55和0位置之间画柱状线,宽度为VAR49,(-1)不为0则画空心柱.,画淡灰色
VAR56赋值:VAR15*6/7
当满足条件VAR47时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR51不为0则画空心柱.,画红色
当满足条件VAR47ANDVAR9时,在VAR32和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,COLOR0000CC
当满足条件VAR47ANDVAR12时,在VAR56和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画红色
当满足条件VAR47ANDVAR13时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画红色
当满足条件VAR47ANDVAR10时,在VAR56和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画洋红色
当满足条件VAR47ANDVAR11时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画洋红色
当满足条件VAR48时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画淡绿色
当满足条件VAR48ANDVAR9时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR51不为0则画空心柱.,画淡绿色
当满足条件VAR48ANDVAR9时,在VAR32和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画淡绿色
当满足条件VAR48ANDVAR12时,在VAR56和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画青色
当满足条件VAR48ANDVAR13时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画青色
当满足条件VAR48ANDVAR10时,在VAR56和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画绿色
当满足条件VAR48ANDVAR11时,在0和VAR15位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画绿色
当满足条件VAR21时,在0和VAR32位置之间画柱状线,宽度为0.1,0不为0则画空心柱.,画蓝色
当满足条件VAR22时,在0和VAR32位置之间画柱状线,宽度为0.1,0不为0则画空心柱.,画红色
VAR57赋值:(以1日前的收盘价元价格计算的获利盘比例-以收盘价计算的获利盘比例)*100的绝对值>=18 AND 成交量(手)/当前流通股本(手)*100<=3
当满足条件VAR57ANDCLOSE>1日前的收盘价时,在VAR32和VAR15位置之间画柱状线,宽度为0.1,0不为0则画空心柱.,画红色
当满足条件VAR57ANDCLOSE<1日前的收盘价时,在VAR32和VAR15位置之间画柱状线,宽度为0.1,0不为0则画空心柱.,画蓝色
VAR58赋值:3
VAR59赋值:VAR58-1
VAR60赋值:VAR59日前的收盘价<=VAR58日前的收盘价 AND VAR59日前的成交量(手)VAR58日前的成交量(手) AND VAR58日前的收盘价>VAR58+1日前的收盘价) AND 统计VAR59日中满足成交量(手)>1日前的成交量(手)ANDCLOSE<=1日前的收盘价的天数=VAR59
当满足条件VAR60时,在VAR15位置书写文字,画黄色,线宽为9
VAR61赋值:4
VAR62赋值:VAR61-1
VAR63赋值:VAR62日前的收盘价<=VAR61日前的收盘价 AND VAR62日前的成交量(手)VAR61日前的成交量(手) AND VAR61日前的收盘价>VAR61+1日前的收盘价) AND 统计VAR62日中满足成交量(手)>1日前的成交量(手)ANDCLOSE<=1日前的收盘价的天数=VAR62
当满足条件VAR63时,在VAR15位置书写文字,画黄色,线宽为9
VAR64赋值:3
VAR65赋值:VAR64-1
VAR66赋值:VAR65日前的收盘价>VAR64日前的收盘价 AND VAR65日前的成交量(手)VAR64日前的收盘价 AND VAR65日前的成交量(手)>VAR64日前的成交量(手) AND VAR64日前的收盘价<=VAR64+1日前的收盘价) AND 统计VAR65日中满足成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价的天数=VAR65
当满足条件VAR66时,在VAR15位置书写文字,画黄色,线宽为9
VAR67赋值:OSE,VAR64+1))ANDCOUNT(成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价,VAR65)=VAR65日前的VAR65日前的收盘价>VAR64日前的收盘价ANDREF(成交量(手),VAR65)VAR64日前的收盘价ANDREF(成交量(手),VAR65)>VAR64日前的成交量(手)ANDREF(收盘价,VAR64)<=?日前的收盘价
当满足条件VAR67ANDVOL<1日前的成交量(手)ANDCLOSE>1日前的收盘价时,在VAR15位置书写文字,画绿色,线宽为9
VAR68赋值:4
VAR69赋值:VAR68-1
VAR70赋值:VAR69日前的收盘价>VAR68日前的收盘价 AND VAR69日前的成交量(手)VAR68日前的收盘价 AND VAR69日前的成交量(手)>VAR68日前的成交量(手) AND VAR68日前的收盘价<=VAR68+1日前的收盘价) AND 统计VAR69日中满足成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价的天数=VAR69
当满足条件VAR70时,在VAR15位置书写文字,画黄色,线宽为9
VAR71赋值:5
VAR72赋值:VAR71-1
VAR73赋值:VAR72日前的收盘价>VAR71日前的收盘价 AND VAR72日前的成交量(手)VAR71日前的收盘价 AND VAR72日前的成交量(手)>VAR71日前的成交量(手) AND VAR71日前的收盘价<=VAR71+1日前的收盘价) AND 统计VAR72日中满足成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价的天数=VAR72
当满足条件VAR73时,在VAR15位置书写文字,画黄色,线宽为9
VAR74赋值:6
VAR75赋值:VAR74-1
VAR76赋值:VAR75日前的收盘价>VAR74日前的收盘价 AND VAR75日前的成交量(手)VAR74日前的收盘价 AND VAR75日前的成交量(手)>VAR74日前的成交量(手) AND VAR74日前的收盘价<=VAR74+1日前的收盘价) AND 统计VAR75日中满足成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价的天数=VAR75
当满足条件VAR76时,在VAR15位置书写文字,画黄色,线宽为9
VAR77赋值:7
VAR78赋值:VAR77-1
VAR79赋值:VAR78日前的收盘价>VAR77日前的收盘价 AND VAR78日前的成交量(手)VAR77日前的收盘价 AND VAR78日前的成交量(手)>VAR77日前的成交量(手) AND VAR77日前的收盘价<=VAR77+1日前的收盘价) AND 统计VAR78日中满足成交量(手)>1日前的成交量(手)ANDCLOSE>1日前的收盘价的天数=VAR78
当满足条件VAR79时,在VAR15位置书写文字,画黄色,线宽为9
当满足条件VAR14时,在0和VAR15/50位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画黄色
VAR80赋值:VAR37累加至100的天数
VAR81赋值:VAR37累加至200的天数
VAR82赋值:VAR37累加至300的天数
VAR83赋值:VAR37累加至400的天数
VAR84赋值:VAR37累加至500的天数
VAR85赋值:VAR3日后的VAR80
VAR86赋值:VAR3日后的VAR81
VAR87赋值:VAR3日后的VAR82
VAR88赋值:VAR3日后的VAR83
VAR89赋值:VAR3日后的VAR84
VAR90赋值:VAR85-VAR2日前的VAR15
VAR91赋值:VAR86-VAR2日前的VAR15
VAR92赋值:VAR87-VAR2日前的VAR15
VAR93赋值:VAR88-VAR2日前的VAR15
VAR94赋值:VAR89-VAR2日前的VAR15
输出NOTEXT11:如果VAR2<=VAR85AND换手周期画线,返回VAR90,否则返回无效数,画绿色
输出NOTEXT12:如果VAR2>VAR85AND换手周期画线ANDVAR2<=VAR86,返回VAR91,否则返回无效数,画青色
输出NOTEXT13:如果VAR2>VAR86AND换手周期画线ANDVAR2<=VAR87,返回VAR92,否则返回无效数,画黄色
输出NOTEXT14:如果VAR2>VAR87AND换手周期画线ANDVAR2<=VAR88,返回VAR93,否则返回无效数,画绿色
输出NOTEXT15:如果VAR2>VAR88AND换手周期画线ANDVAR2<=VAR89,返回VAR94,否则返回无效数,画青色
VAR95赋值:是否最后一个周期 AND 换手周期画线
当满足条件VAR95时,在横轴0.6纵轴0位置书写文字,画青色
当满足条件VAR95时,在横轴0.65纵轴0位置书写文字,画绿色
当满足条件VAR95时,在横轴0.7纵轴0位置书写文字,画黄色
当满足条件VAR95时,在横轴0.75纵轴0位置书写文字,画青色
当满足条件VAR95时,在横轴0.8纵轴0位置书写文字,画绿色
VAR96赋值:3
VAR97赋值:VAR96-1
VAR98赋值:VAR96+1
VAR99赋值:VAR96日前的收盘价1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR96
当满足条件VAR99时,在VAR15位置书写文字,画绿色,线宽为9
VAR100赋值:4
VAR101赋值:VAR100-1
VAR102赋值:VAR100+1
VAR103赋值:VAR100日前的收盘价1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR100
当满足条件VAR103时,在VAR15位置书写文字,画绿色,线宽为9
VAR104赋值:5
VAR105赋值:VAR104-1
VAR106赋值:VAR104+1
VAR107赋值:VAR104日前的收盘价1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR104
当满足条件VAR107时,在VAR15位置书写文字,画绿色,线宽为9
VAR108赋值:6
VAR109赋值:VAR108-1
VAR110赋值:VAR108+1
VAR111赋值:VAR108日前的收盘价1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR108
当满足条件VAR111时,在VAR15位置书写文字,画绿色,线宽为9
VAR112赋值:7
VAR113赋值:VAR112-1
VAR114赋值:VAR112+1
VAR115赋值:VAR112日前的收盘价1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR112
当满足条件VAR115时,在VAR15位置书写文字,画绿色,线宽为9
VAR116赋值:3
VAR117赋值:VAR116-1
VAR118赋值:VAR116+1
VAR119赋值:VAR116日前的收盘价>VAR118日前的收盘价 OR VAR116日前的成交量(手)>VAR118日前的成交量(手) AND 统计VAR116日中满足收盘价<1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR116
当满足条件VAR119时,在VAR15位置书写文字,画绿色,线宽为9
VAR120赋值:4
VAR121赋值:VAR120-1
VAR122赋值:VAR120+1
VAR123赋值:VAR120日前的收盘价>VAR122日前的收盘价 OR VAR120日前的成交量(手)>VAR122日前的成交量(手) AND 统计VAR120日中满足收盘价<=1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR120
当满足条件VAR123时,在VAR15位置书写文字,画绿色,线宽为9
VAR124赋值:5
VAR125赋值:VAR124-1
VAR126赋值:VAR124+1
VAR127赋值:VAR124日前的收盘价>VAR126日前的收盘价 OR VAR124日前的成交量(手)>VAR126日前的成交量(手) AND 统计VAR124日中满足收盘价<=1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR124
当满足条件VAR127时,在VAR15位置书写文字,画绿色,线宽为9
VAR128赋值:6
VAR129赋值:VAR128-1
VAR130赋值:VAR128+1
VAR131赋值:VAR128日前的收盘价>VAR130日前的收盘价 OR VAR128日前的成交量(手)>VAR130日前的成交量(手) AND 统计VAR128日中满足收盘价<=1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR128
当满足条件VAR131时,在VAR15位置书写文字,画绿色,线宽为9
VAR132赋值:7
VAR133赋值:VAR132-1
VAR134赋值:VAR132+1
VAR135赋值:VAR132日前的收盘价>VAR134日前的收盘价 OR VAR132日前的成交量(手)>VAR134日前的成交量(手) AND 统计VAR132日中满足收盘价<=1日前的收盘价ANDVOL<1日前的成交量(手)的天数=VAR132
当满足条件VAR135时,在VAR15位置书写文字,画绿色,线宽为9
VAR136赋值:到最后交易的周期=120
VAR137赋值:如果VAR136,返回VAR15的120日简单移动平均,否则返回无效数
当满足条件VAR136时,在如果VAR15>VAR137,返回VAR15,否则返回VAR137位置书写文字,画白色,线宽为9
VAR138赋值:VAR31>=1日前的VAR15 AND 取反
VAR139赋值:1日后的VAR15VAR140赋值:1日后的VAR15当满足条件VAR138时,在VAR31和VAR31位置之间画柱状线,宽度为(-1),0不为0则画空心柱.,画青色
当满足条件VAR139时,在VAR31和VAR31位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画白色
当满足条件VAR140时,在VAR32和VAR32位置之间画柱状线,宽度为VAR49,VAR50不为0则画空心柱.,画白色
输出NOTEXT5:如果VAR36,返回五,否则返回无效数,画白色
输出NOTEXT30:如果VAR36,返回三十,否则返回无效数,画洋红色
输出NOTEXT120:如果VAR35,返回均120,否则返回无效数,画淡蓝色
输出NOTEXT上量:如果VAR35ANDVAR46,返回均120,否则返回无效数,画黄色

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图