通达信大盘个股突破源码、选股、预警、说明
大盘个股突破
个股:=EMA(100*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),3);
大盘:=EMA(100*(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9)),3);
大个:=CROSS(个股,大盘);
A:=(((REF(C,4)+REF(O,4))/2+(REF(C,3)+REF(O,3))/2+(REF(C,2)+REF(O,2))/2+(REF(C,1)+REF(O,1))/2)/4)*0.98;
B:=((REF(C,4)+REF(O,4))/2>(REF(C,3)+REF(O,3))/2 AND (REF(C,3)+REF(O,3))/2>(REF(C,2)+REF(O,2))/2 AND (REF(C,3)+REF(O,3))/2>(REF(C,1)+REF(O,1))/2);
突破:=CROSS(C,A) AND B;
XG:突破 AND 大个;