以下是通达信买入点实战价值高的经典公式(无源码的请下载附件导入)
VANNNR1:=REF(CLOSE,1);
VANNNR2:=SMA(MAX(CLOSE-VANNNR1,0),7,1)/SMA(ABS(CLOSE-VANNNR1),7,1)*100;
SS1:=FILTER(REF(VANNNR2,1)<20 AND VANNNR2>REF(VANNNR2,1),5);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100
&&SM06>REF(SM06,1);
AA:=STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
买点:=SM07,COLORRED,LINETHICK3;
选点:30*(SS1 AND 买点),COLORLIMAGENTA;
719233269.jpg
|