线上主升
{@线上主升}VAR0 := MA(REF(HHV(C,26),1),2);
VAR1 := MA(C,26);
VAR2 := POW(C - VAR1,2);
VAR3 := MA(VAR2,13);
VAR4 := SQRT(VAR3);
VAR5 := VAR1 + (2 * VAR4);
VAR6 := REF(VAR5,1);
VAR7 := ((CROSS(C,VAR0) AND (HIGH > REF(VAR5,1))) OR ((C > VAR0) AND CROSS(C,REF(VAR5,1)))) AND ((C / OPEN) > 0.998);
VAR8 := MACD.MACD;
VAR9 := KD.K;
VAR10 := KD.D;
VAR11 := RSI.RSI1;
VAR12 := RSI.RSI3;
VAR13 := C - REF(C,1);
VAR14 := IF(VAR13 >= 0,VAR13,0);
VAR15 := IF(VAR13 < 0,-1 * VAR13,0);
VAR16 := MEMA(VAR14,10);
VAR17 := MEMA(VAR15,10);
VAR18 := MEMA(VAR14,6);
VAR19 := MEMA(VAR15,6);
VAR20 := MA((100 * VAR16) / (VAR16 + VAR17),10);
VAR21 := MA((100 * VAR18) / (VAR18 + VAR19),6);
VAR22 := (VOL / REF(VOL,1)) > 1.9;
VAR23 := VOL = HHV(VOL,10);
VAR24 := VOL = LLV(VOL,10);
VAR25 := ((VOL > REF(VOL,1)) AND (REF(VOL,1) > REF(VOL,2))) AND (REF(VOL,2) > REF(VOL,3));
VAR26 := (VAR22 OR VAR23) OR VAR25;
VAR27 := ((((MA(C,5) > MA(C,10)) AND (MA(C,10) >= MA(C,20))) AND (MA(C,20) > MA(C,60))) AND (REF((COUNT(((MA(C,10) / MA(C,20)) < 1.005) OR ((MA(C,5) / MA(C,10)) < 1.005),4)) >= 1,1))) AND ((MA(C,20) / MA(C,60)) < 1.0995);
线上主升 : IF(((((((VAR7 AND (VAR27 > 0)) AND (VOL > REF(VOL,1))) AND (COUNT(VAR26,2) >= 1)) AND ((((CROSS(VAR21,VAR20) OR CROSS(VAR8,0)) OR (REF((((COUNT(CROSS(VAR8,0),3) = 1) AND (VAR8 < 0.15)) AND ((C / OPEN) > 0.989)) AND ((C / REF(C,1)) < 1.03),1))) OR CROSS(VAR9,VAR10)) OR CROSS(VAR11,VAR12))) AND (REF(((C / OPEN) > 0.989) AND ((C > OPEN) OR ((HIGH / LOW) < 1.043)),1))) AND ((HIGH / C) < 1.013)) AND ((C / OPEN) > 1.05),100,0),COLORGREEN,LINETHICK3;
谢谢分享 这个是主图还是附图指标
页:
[1]