支撑:EMA(REF(LLV(C,30),1),2),LINETHICK2,COLORLIRED;
DS:= MFI.MFI (12,9);
A9:= DATETODAY(DATE);
DS1:=IF(A9 7399{20110324},0,-DS);
AJ2:=A9 146 AND A9
AI2:=A9 696 AND A9
AH2:=A9 1315 AND A9 1365;
AA2:=A9 1854 AND A9 1904;
AL2:=A9 3068 AND A9 3118;
AK2:=A9 4709 AND A9 4759;
AB2:=A9 5280 AND A9 5320;
AC2:=A9 6520 AND A9 6570;
AE2:=A9 6828 AND A9 6878;
AF2:=A9 7132 AND A9 7182;
AG2:=A9 7341 AND A9 7391;
AH1:=A9 786 AND A9
AI1:=A9 520 AND A9
AG1:=A9 1360 AND A9 1410;
AL1:=A9 2333 AND A9 2383;
AA1:=A9 3826 AND A9 3876;
AK1:=A9 4856 AND A9 4906;
AB1:=A9 6142 AND A9 6192;
AC1:=A9 6802 AND A9 6852;
AE1:=A9 6912 AND A9 6962;
AF1:=A9 7264 AND A9 7304;
[img][/img]个股:=5*POW(SMA((C-LLV(L,65))/(HHV(H,65)-LLV(L,65)),6,1),2);
{高卖}Y1:=IF(A9 7398,0.5*(AA1+AB1+AC1+AE1+AF1+AG1+AH1+AI1+AK1+AL1)*14,DS1);
{低买}Y2:=IF(A9 7398,0.5*(AA2+AH2+AB2+AC2+AE2+AF2+AG2+AI2+AJ2+AK2+AL2),DS1);
Y3:=CROSS(Y2,个股);
Y4:=CROSS(Y1,个股) AND 个股
DRAWICON(Y3,L*1.01,3 );
DRAWICON(Y3,L*1.01,1 );
DRAWICON(Y4 ,H*0.99,6 );
DRAWICON(Y4 ,H*0.99,2 );