VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);
VAR9:=CROSS(N2,VAR8);
VARA:=(FILTER(VAR9,4))*(T1);
DRAWTEXT(VARA,(HIGH)*(1.04),''),COLORGREEN;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE REF(CLOSE,1)),8))/(8) 0.6) AND (VOL =(1.5)*(MA(VOL,5))) AND COUNT((VARE =VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'买1'),COLORYELLOW;
DRAWTEXT(IF(((COUNT((CLOSE REF(CLOSE,1)),13))/(13) 0.6) AND COUNT((VARE VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE =OPEN),4) AND REF((CLOSE OPEN),3) AND REF((CLOSE OPEN),2) AND REF((OPEN CLOSE),1) AND (OPEN REF(CLOSE,1)),1,0),LOW,'进'),COLORYELLOW;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE VAR10) AND ((VOL)/(240) (MA(VOL,5))/(240)) AND (CLOSE (REF(CLOSE,1))*(1.08)) AND (CLOSE (MA(CLOSE,13))*(1.3)),1,0),LOW,'买2'),COLORYELLOW;
公式模块:
MA8:MA(CLOSE,8),NODRAW;
MA13:MA(CLOSE,13),COLORYELLOW,NODRAW;
MA22:MA(CLOSE,22),COLORMAGENTA,NODRAW;
MA60:MA(CLOSE,60),NODRAW;
MA120:MA(CLOSE,120),POINTDOT,NODRAW;
VAR1:=EMA(MA13,60);
参数自己填
买1选股
T1:=1;
MA13:=MA(CLOSE,13);
VAR1:=EMA(MA13,60);
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE REF(CLOSE,1)),8))/(8) 0.6) AND (VOL =(1.5)*(MA(VOL,5))) AND COUNT((VARE =VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'买1');
买2选股
T1:=1;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE VAR10) AND ((VOL)/(240) (MA(VOL,5))/(240)) AND (CLOSE (REF(CLOSE,1))*(1.08)) AND (CLOSE (MA(CLOSE,13))*(1.3)),1,0),LOW,'买2');