真正顶底指标:=EMA(HHV(HIGH,500),21);
通达信:=EMA(HHV(HIGH,250),21);
ewssdd3:=EMA(HHV(HIGH,90),21);
ewssdd4:=EMA(LLV(LOW,500),21);
ewssdd5:=EMA(LLV(LOW,250),21);
ewssdd6:=EMA(LLV(LOW,90),21);{通达信指标公式www.gs6699.com}
ewssdd7:=EMA((ewssdd4*0.96+ewssdd5*0.96+ewssdd6*0.96+真正顶底指标*0.558+通达信*0.558+ewssdd3*0.558)/6,21);
ewssdd8:=EMA((ewssdd4*1.25+ewssdd5*1.23+ewssdd6*1.2+真正顶底指标*0.55+通达信*0.55+ewssdd3*0.65)/6,21);
ewssdd9:=EMA((ewssdd4*1.3+ewssdd5*1.3+ewssdd6*1.3+真正顶底指标*0.68+通达信*0.68+ewssdd3*0.68)/6,21);
ewssddA:=EMA((ewssdd7*3+ewssdd8*2+ewssdd9)/6*1.738,21);
ewssddB:=REF(LOW,1);
ewssddC:=SMA(ABS(LOW-ewssddB),3,1)/SMA(MAX(LOW-ewssddB,0),3,1)*100;
ewssddD:=EMA(IF(CLOSE*1.35<=ewssddA,ewssddC*10,ewssddC/10),3);
ewssddE:=LLV(LOW,30);
ewssddF:=HHV(ewssddD,30);
ewssdd10:=IF(MA(CLOSE,58),1,0);
vseww1:=( EMA(IF(LOW<=ewssddE,(ewssddD+ewssddF*2)/2,0),3)/618*ewssdd10) ;
BB:=vseww1>REF(HHV(vseww1,60),1);
CC:=HHV(vseww1,60);
vseww2:=FILTER(vseww1>10 ,1) ;
vseww3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
vseww4:=IF(CLOSE>OPEN,vseww3*(HIGH-LOW),IF(CLOSE<OPEN,vseww3*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
vseww5:=IF(CLOSE>OPEN,0-vseww3*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-vseww3*(HIGH-LOW),0-VOL/2));
vseww8:=(vseww4-(-vseww5))/vseww4;
STICKLINE(vseww2>0 AND C<O ,0,CC,4,0),COLORYELLOW;