快速狙击短线牛股,快进快出。需要的股友研究一下,谢谢光顾。
ZRR:=(YEAR-1992)*365+INTPART((YEAR-1989)/4)+IF(MONTH =2,DAY+(MONTH-1)*31,DAY+
INTPART(13*(MONTH+1)/5)-7+(MONTH-1)*28+IF(INTPART(YEAR/4)=YEAR/4,1,0));
T:=BARSLAST(ZRR-REF(ZRR,1) WEEKDAY-REF(WEEKDAY,1))+1;
T1:=REF(T,T)+T;
T2:=REF(T,T1)+T1;
T3:=REF(T,T2)+T2;
三周:=(REF(CLOSE,T)+REF(CLOSE,T1)+CLOSE)/3;
五周:=(REF(CLOSE,T)+REF(CLOSE,T1)+REF(CLOSE,T2)+REF(CLOSE,T3)+CLOSE)/5;
XG1:CROSS(三周,五周);