一、通达信小大底指标公式
小底:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,5,0),1),COLORYELLOW;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100;
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
大底:(A<15 AND REF(A,1)<15 AND D<18 AND B>REF(B,1) AND CROSS(B,A) AND B>D
AND (REF(B,1)<5 OR REF(B,2)<5 ) AND (D>=A OR REF( B,1)<1 ));
STICKLINE( 大底,0,10,1,0 ),COLORRED;
DRAWTEXT(大底,6,'大底'),COLORFF00FF;
二、通达信新款MACD指标公式
CLEARPCT:(C/MA(C,15) -1) * 100;
CLEARPCTSUM: MA(IF(C>MA(C,5),SUM(CLEARPCT,50)/50,0),5),COLORRED;
CLEARPCTAVG:MA(IF(C>MA(C,5) ,0-MA(CLEARPCT,5),IF(CLEARPCT>0,CLEARPCT,0)),5),COLORGREEN;
CLEARTAKE:IF(C>MA(C,15),(CLEARPCT-SUM(CLEARPCT,50)/50),0),COLORLIBLUE;
0,COLORYELLOW,DOTLINE;