无未来准确率高的通达信指标公式 通达信红强绿弱副图指标(2)
VAR36:=(VAR30-VAR16)/VAR30;
VAR37:=(VAR30-VAR17)/VAR30;
压力5:IF(RANGE(VAR21,0,VAR19)=1 OR RANGE(VAR31,0,VAR29)=1,VAR11,DRAWNULL),COLORGREEN;
支撑5:IF(RANGE(VAR21,VAR18,0)=1 OR RANGE(VAR31,VAR28,0)=1,VAR11,DRAWNULL),COLORMAGENTA;
压力10:IF(RANGE(VAR22,0,VAR19)=1 OR RANGE(VAR32,0,VAR29)=1,VAR12,DRAWNULL),COLORGREEN;
支撑10:IF(RANGE(VAR22,VAR18,0)=1 OR RANGE(VAR32,VAR28,0)=1,VAR12,DRAWNULL),COLORMAGENTA;
压力20:IF(RANGE(VAR23,0,VAR19)=1 OR RANGE(VAR33,0,VAR29)=1,VAR13,DRAWNULL),COLORGREEN;
支撑20:IF(RANGE(VAR23,VAR18,0)=1 OR RANGE(VAR33,VAR28,0)=1,VAR13,DRAWNULL),COLORMAGENTA;
压力30:IF(RANGE(VAR24,0,VAR19)=1 OR RANGE(VAR34,0,VAR29)=1,VAR14,DRAWNULL),COLORGREEN;
支撑30:IF(RANGE(VAR24,VAR18,0)=1 OR RANGE(VAR34,VAR28,0)=1,VAR14,DRAWNULL),COLORMAGENTA;
压力60:IF(RANGE(VAR25,0,VAR19)=1 OR RANGE(VAR35,0,VAR29)=1,VAR15,DRAWNULL),COLORGREEN;
支撑60:IF(RANGE(VAR25,VAR18,0)=1 OR RANGE(VAR35,VAR28,0)=1,VAR15,DRAWNULL),COLORMAGENTA;
压力120:IF(RANGE(VAR26,0,VAR19)=1 OR RANGE(VAR36,0,VAR29)=1,VAR16,DRAWNULL),COLORGREEN;
支撑120:IF(RANGE(VAR26,VAR18,0)=1 OR RANGE(VAR36,VAR28,0)=1,VAR16,DRAWNULL),COLORMAGENTA;
压力250:IF(RANGE(VAR27,0,VAR19)=1 OR RANGE(VAR37,0,VAR29)=1,VAR17,DRAWNULL),COLORGREEN;
支撑250:IF(RANGE(VAR27,VAR18,0)=1 OR RANGE(VAR37,VAR28,0)=1,VAR17,DRAWNULL),COLORMAGENTA;
VAR38:=CONST(MA2.MA1#WEEK);
VAR39:=CONST(MA2.MA2#WEEK);
VAR40:=CONST(MA2.MA3#WEEK);
VAR41:=CONST(MA2.MA4#WEEK);
VAR42:=CONST(MA2.MA5#WEEK);
VAR43:=CONST(MA2.MA6#WEEK);
VAR44:=CONST(MA2.MA7#WEEK);
VAR45:=(VAR30-VAR38)/VAR30;
VAR46:=(VAR30-VAR39)/VAR30;
VAR47:=(VAR30-VAR40)/VAR30;
VAR48:=(VAR30-VAR41)/VAR30;
VAR49:=(VAR30-VAR42)/VAR30;
VAR50:=(VAR30-VAR43)/VAR30;
VAR51:=(VAR30-VAR44)/VAR30;
VAR52:=(VAR20-VAR38)/VAR20;
VAR53:=(VAR20-VAR39)/VAR20;
VAR54:=(VAR20-VAR40)/VAR20;
VAR55:=(VAR20-VAR41)/VAR20;
VAR56:=(VAR20-VAR42)/VAR20;
VAR57:=(VAR20-VAR43)/VAR20;
VAR58:=(VAR20-VAR44)/VAR20;
压力250Z:IF(RANGE(VAR58,0,VAR19)=1 OR RANGE(VAR51,0,VAR29)=1,VAR44,DRAWNULL),COLORWHITE;
支撑250Z:IF(RANGE(VAR58,VAR18,0)=1 OR RANGE(VAR51,VAR28,0)=1,VAR44,DRAWNULL),COLORYELLOW;
压力120Z:IF(RANGE(VAR57,0,VAR19)=1 OR RANGE(VAR50,0,VAR29)=1,VAR43,DRAWNULL),COLORWHITE;
支撑120Z:IF(RANGE(VAR57,VAR18,0)=1 OR RANGE(VAR50,VAR28,0)=1,VAR43,DRAWNULL),COLORYELLOW;
压力60Z:IF(RANGE(VAR56,0,VAR19)=1 OR RANGE(VAR49,0,VAR29)=1,VAR42,DRAWNULL),COLORWHITE;
支撑60Z:IF(RANGE(VAR56,VAR18,0)=1 OR RANGE(VAR49,VAR28,0)=1,VAR42,DRAWNULL),COLORYELLOW;
压力30Z:IF(RANGE(VAR55,0,VAR19)=1 OR RANGE(VAR48,0,VAR29)=1,VAR41,DRAWNULL),COLORWHITE;
支撑30Z:IF(RANGE(VAR55,VAR18,0)=1 OR RANGE(VAR48,VAR28,0)=1,VAR41,DRAWNULL),COLORYELLOW;
压力20Z:IF(RANGE(VAR54,0,VAR19)=1 OR RANGE(VAR47,0,VAR29)=1,VAR40,DRAWNULL),COLORWHITE;
支撑20Z:IF(RANGE(VAR54,VAR18,0)=1 OR RANGE(VAR47,VAR28,0)=1,VAR40,DRAWNULL),COLORYELLOW;
压力10Z:IF(RANGE(VAR53,0,VAR19)=1 OR RANGE(VAR46,0,VAR29)=1,VAR39,DRAWNULL),COLORWHITE;
支撑10Z:IF(RANGE(VAR53,VAR18,0)=1 OR RANGE(VAR46,VAR28,0)=1,VAR39,DRAWNULL),COLORYELLOW;
压力5Z:IF(RANGE(VAR52,0,VAR19)=1 OR RANGE(VAR45,0,VAR29)=1,VAR38,DRAWNULL),COLORWHITE;
支撑5Z:IF(RANGE(VAR52,VAR18,0)=1 OR RANGE(VAR45,VAR28,0)=1,VAR38,DRAWNULL),COLORYELLOW;
VAR59:=CONST(DYNAINFO(3));
DIF:5*(EMA(CLOSE,12)-EMA(CLOSE,26))+VAR59,DOTLINE,COLORMAGENTA;
DEA:EMA(DIF,9),DOTLINE,COLORLIBLUE;
VAR60:=MACD.MACD;
VAR61:=VAR60>0 AND VAR60<REF(VAR60,1);
VAR62:=VAR60<0 AND VAR60>REF(VAR60,1);
VAR63:=SUM(CLOSE*VOL,240)/SUM(VOL,240);
VAR64:=(CLOSE-VAR63)/VAR63;(股票知识网zhishi.southmoney.com)