通达信仙人指路B副图指标

2016-06-20 09:48:00来源:本站整理浏览:684

通达信仙人指路B副图指标

源码

ZX买入:=40;DQHL1:=10;ZX卖出:=80;
{ZX买入(40)DQHL1(10)ZX卖出(80)}
VAR1:=EMA(WINNER((LOW+HIGH)/2), 10)*100;
VAR2:=EMA(WINNER(CLOSE), 21)*100;
VAR3:=EMA(WINNER(CLOSE), 34)*100;
VAR4:=MA(WINNER(CLOSE), 1)*100;
VAR5:=VAR1>80 AND VAR2>80 AND VAR3>80;
VAR6:=CROSS(VAR1, VAR4);
VAR7:=VAR5 AND VAR6;
VAR8:=CROSS(90, VAR4);
VAR9:=VAR1>80;
VAR10:=VAR8 AND VAR9;
VAR11:=VAR1>80 AND VAR2>80;
VAR12:=CROSS(90, VAR4);
VAR13:=VAR11 AND VAR12;
VAR14:=(CLOSE-LLV(LOW, 100))/(HHV(HIGH, 100)-LLV(LOW, 100))*200;
VAR15:=SMA(VAR14, 3, 1);
VAR16:=SMA(VAR15, 3, 1);
VAR17:=3*VAR15-2*VAR16;
VAR18:=LLV(LOW, 5);
VAR19:=HHV(HIGH, 5);
VAR20:=EMA((CLOSE-VAR18)/(VAR19-VAR18)*100, 4)*2;
VAR21:=EMA(0.667*REF(VAR20, 1)+0.333*VAR20, 2);
VAR22:=3*VAR20-2*VAR21;
VAR23:=POW(MA(CLOSE, 5), 2)+MA(CLOSE, 5);
VAR24:=POW(MA(LOW, 5), 2)+MA(LOW, 5);
VAR25:=POW(MA(HIGH, 5), 2)+MA(HIGH, 5);
VAR26:=(VAR23-LLV(VAR24, 64))/(HHV(VAR25, 64)-LLV(VAR24, 64))*150+65-10;
VAR27:=SMA(VAR26, 3, 1)*1.5-100;
VAR28:=SMA(VAR27, 3, 1);
VAR29:=3*VAR27-2*VAR28;
VAR30:=(HIGH+LOW+CLOSE*2)/4;
VAR31:=EMA(VAR30, 13);
VAR32:=STD(VAR30, 13);
VAR33:=(VAR30-VAR31)*100/VAR32;
VAR34:=EMA(VAR33, 5);
VAR35:=EMA(VAR34, 13);
VAR36:=EMA(VAR34, 13)+200-100;
VAR37:=EMA(VAR36, 10);
VAR38:=3*VAR36-2*VAR37;
VAR39:=VAR15+VAR20+VAR27+VAR36;
VAR40:=VAR16+VAR21+VAR28+VAR37;
VAR41:=VAR17+VAR22+VAR29+VAR38;
VAR42:=(HIGH+LOW+CLOSE)/3;
VAR43:=AMOUNT/VOL/100;
VAR44:=SUM(AMOUNT, 5)/SUM(VOL, 5)/100;
VAR45:=(VAR42-MA(VAR42, 34))/(0.015*AVEDEV(VAR42, 34));
VAR46:=DMA(AMOUNT/VOL/100, VOL/CAPITAL);
VAR47:=(HIGH+LOW+CLOSE+VAR42)/4;
VAR48:=EMA(VAR47, 24);
VAR49:=STD(VAR47, 24);
VAR50:=(VAR47-VAR48)/VAR49*100;
VAR51:=(VAR42-MA(VAR42, 24))/(0.015*AVEDEV(VAR42, 24));
VAR52:=EMA(VAR50, 5);
VAR53:=(VAR43-MA(VAR43, 21))/(0.015*AVEDEV(VAR43, 21));
VAR54:=(VAR44-MA(VAR44, 90))/(0.015*AVEDEV(VAR44, 90));
VAR55:=((VAR54+VAR53+VAR52+VAR51+VAR45)/5+165)/4;
VAR56:=(EMA(EMA(EMA(VAR55, 15), 10), 5)-25)*2+VAR46;
VAR57:=(VAR39+VAR40+VAR41*30)/32/5-15;
VAR58:=EMA(VAR57, 13);
VAR59:=(VAR55+VAR57)/2/1.100;
DX:VAR59, COLORMAGENTA;
ZX:=(VAR56+VAR58)/2;
ZX-0, COLORSTICK;
VAR60:=EMA(EMA(EMA(CLOSE, 13), 13), 13);
VAR61:=((VAR60-REF(VAR60, 1))/REF(VAR60, 1)*100+0.450)*50;
VAR62:=MA(VAR61, 21);
VAR63:=((HHV(HIGH, 15)-CLOSE)/(HHV(HIGH, 15)-LLV(LOW, 15))*(-1)+0.960)*106;
VAR64:=((HHV(HIGH, 100)-CLOSE)/(HHV(HIGH, 100)-LLV(LOW, 100))*(-1)+0.960)*106;
VAR65:=(HIGH+LOW+CLOSE)/3;
VAR66:=((VAR65-MA(VAR65, 14))/(0.015*AVEDEV(VAR65, 14))+200)/4;
VAR67:=(HIGH+LOW+CLOSE*2)/4;
VAR68:=EMA(VAR67, 13);
VAR69:=STD(VAR67, 13);
VAR70:=(VAR67-VAR68)*100/VAR69;
VAR71:=EMA(VAR70, 5);
VAR72:=EMA(VAR71, 13);
VAR73:=(EMA(VAR71, 13)+100)/2-5;
VAR74:=EMA(VAR73, 10);
VAR75:=EMA(VOL/CAPITAL, 21)*13;
VAR76:=(92-100/(1+VAR75))*2.380;
VAR77:=REF(CLOSE, 1);
VAR78:=WINNER(CLOSE)*100;
VAR79:=WINNER(REF(CLOSE, 1))*100;
VAR80:=REF(INDEXC, 1);
VAR81:=(CLOSE-VAR77)/VAR77;
VAR82:=(INDEXC-VAR80)/VAR80;
VAR83:=VAR81-VAR82;
VAR84:=SMA(MAX(CLOSE-VAR77, 0), 4, 1)/SMA(ABS(CLOSE-VAR77), 4, 1)*100;
VAR85:=SMA(MAX(CLOSE-VAR77, 0), 8, 1)/SMA(ABS(CLOSE-VAR77), 8, 1)*100;
VAR86:=SMA(MAX(CLOSE-VAR77, 0), 12, 1)/SMA(ABS(CLOSE-VAR77), 12, 1)*100;
VAR87:=SMA(MAX(CLOSE-VAR77, 0)*(1+VOL/CAPITAL), 12, 1)/SMA(ABS(CLOSE-VAR77)*(1+VOL/CAPITAL), 12, 1)*100;
VAR88:=SMA(MAX(VAR78-VAR79, 0), 12, 1)/SMA(ABS(VAR78-VAR79), 12, 1)*100;
VAR89:=SMA(MAX(VAR83, 0), 12, 1)/SMA(ABS(VAR83), 12, 1)*100;
VAR90:=(VAR84+VAR85+VAR86)/3;
VAR91:=(VAR87+VAR88+VAR89+VAR90)/4;
VAR92:=(VAR91-31)*2.300;
VAR93:=(EMA(EMA(EMA(EMA(VAR92, 4), 3), 2), 1)-10)*1.430;
VAR94:=(HIGH+LOW+CLOSE*2)/4;
VAR95:=EMA(VAR94, 13);
VAR96:=STD(VAR94, 13);
VAR97:=(VAR94-VAR95)*100/VAR96;
VAR98:=EMA(VAR97, 5);
VAR99:=EMA(VAR98, 13);
VAR100:=(EMA(VAR99, 13)+100)/2-5;
VAR101:=EMA(VAR100, 10);
VAR102:=3*VAR100-2*VAR101;
VAR103:=(CLOSE-LLV(LOW, 90))/(HHV(HIGH, 90)-LLV(LOW, 90))*100;
VAR104:=SMA(VAR103, 7, 1);
VAR105:=SMA(VAR104, 10, 1);
VAR106:=3*VAR104-2*VAR105;
VAR107:=POW(MA(CLOSE, 5), 2)+MA(CLOSE, 5);
VAR108:=POW(MA(LOW, 5), 2)+MA(LOW, 5);
VAR109:=POW(MA(HIGH, 5), 2)+MA(HIGH, 5);
VAR110:=(VAR107-LLV(VAR108, 100))/(HHV(VAR109, 100)-LLV(VAR108, 100))*100-15;
VAR111:=SMA(VAR110, 21, 1)*1.5;
VAR112:=SMA(VAR111, 3, 1);
VAR113:=3*VAR111-2*VAR112;
VAR114:=POW(MA(CLOSE, 5), 2)+MA(CLOSE, 5);
VAR115:=POW(MA(LOW, 5), 2)+MA(LOW, 5);
VAR116:=POW(MA(HIGH, 5), 2)+MA(HIGH, 5);
VAR117:=(VAR114-LLV(VAR115, 64))/(HHV(VAR116, 64)-LLV(VAR115, 64))*100;
VAR118:=SMA(VAR117, 2, 1);
VAR119:=SMA(VAR118, 2, 1);
VAR120:=3*VAR118-2*VAR119;

[1] [2]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式