通达信东方量能突破备钱出击线时源码,选股预警公式
A1:=REF(V,1);
A2:=DVOL;{通达信DVOL,大智慧如要使用,须去掉前面的D}
A3:=A2/A1;
东方量能星:A3-REF(A3,1),COLORRED,LINETHICK2;
备钱出击线:500,DOTLINE,COLORYELLOW;{500和-500,大智慧如想使用,要改为2和-2}
获利了结线:-500,DOTLINE,COLORCYAN;
DRAWICON(CROSS(东方量能星,备钱出击线),备钱出击线*1.18,1);
{DRAWICON(CROSS(获利了结线,东方量能星),获利了结线*1.18,2);};
{东方启明星,选股}
A1:=REF(C,1);
A2:=DCLOSE;
A3:=(A2-A1)/A1*100;
AA1:=(A3-REF(A3,1));
AA2:=9.8;
选股1:=CROSS(AA1,AA2);
{东方量能星}
A11:=REF(V,1);
A12:=DVOL;
A13:=A12/A11;
AA3:=(A13-REF(A13,1));
AA4:=500;
选股2:=CROSS(AA3,AA4);
东方量能启明:选股1 AND 选股2;
110399425.jpg
|