明CC:=(3*(SUM(C,7))-8*(SUM(C,2)))/5;
买入:=CROSS(BB,AA);
DRAWICON(买入,L*0.999,4);
DRAWTEXT_FIX(CLOSE 1158,0,0,0,STRCAT(STRCAT('今日临界:',CON2STR(CC,2)),'点')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1688,0,0.08,0,STRCAT(STRCAT('明日临界:',CON2STR(明CC,2)),'点')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1558,0,0.16,0,STRCAT(STRCAT('今日关键:',CON2STR((REF(C,1)+REF(C,2))/2,2)),'点')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1558,0,0.24,0,STRCAT(STRCAT('明日关键:',CON2STR((REF(C,1)+C)/2,2)),' 点')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1158,0,0.32,0,STRCAT(STRCAT('今日临界:',CON2STR(CC,2)),'元')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1888,0,0.4,0,STRCAT(STRCAT('明日临界:',CON2STR(明CC,2)),'元')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1558,0,0.48,0,STRCAT(STRCAT('今日关键:',CON2STR((REF(C,1)+REF(C,2))/2,2)),'元')),COLORYELLOW;
DRAWTEXT_FIX(CLOSE 1558,0,0.56,0,STRCAT(STRCAT('明日关键:',CON2STR((REF(C,1)+C)/2,2)),' 元')),COLORYELLOW;
STICKLINE(ISLASTBAR,(REF(C,1)+C)/2,(REF(C,1)+C)/2,18,0),COLORYELLOW;