通达信自用的指数抄底副图
自己用的指数抄底的公式,对于上证指数尤其适用。对于创业板和中小板也有很好的效果,对于个股需要大家自行摸索
源码
趋向:=(1.06*(3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1)-50)+50),;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,89);
VAR4:=HHV(HIGH,89);
SK:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13);
SD:EMA(SK,3);
MM1:=IF(CROSS(趋向,6.5),60,19);
DRAWTEXT(MM1=60,65,'买');
STICKLINE(CROSS(MM1,20),0,60,3,-1),COLORRED;
DRAWLINE(C 0,100,O 0,100,0),COLORYELLOW;