1.{小散之家引用副圖} ZTJ:IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)) AND C=H,1,0); ZT1:IF((REF(C,1)-REF(C,2))*100/REF(C,2)>=(10-0.01*100/REF(C,2)) AND REF(C,1)=REF(H,1),1,0); ZT2:IF((REF(C,2)-REF(C,3))*100/REF(C,3)>=(10-0.01*100/REF(C,3)) AND REF(C,2)=REF(H,2),1,0); ZT3:IF((REF(C,3)-REF(C,4))*100/REF(C,4)>=(10-0.01*100/REF(C,4)) AND REF(C,3)=REF(H,3),1,0); DTJ:IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)) AND C=L,1,0); DT1:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); DT2:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); DT3:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); HJ:HIGH; LJ:LOW; OJ:OPEN; CJ:CLOSE; ZS:REF(CLOSE,1); H0:REF(HIGH,1); L0:REF(LOW,1); O0:REF(OPEN,1); C0:REF(CLOSE,1); O1:REF(OPEN,1); C1:REF(CLOSE,1); H1:REF(HIGH,1); L1:REF(LOW,1); O2:REF(OPEN,2); C2:REF(CLOSE,2); H2:REF(HIGH,2); L2:REF(LOW,2); O3:REF(OPEN,3); C3:REF(CLOSE,3); H3:REF(HIGH,3); L3:REF(LOW,3); 宗MA3:MA(C,3),COLOR00005C; 紅MA5:MA(C,5),COLOR0000FF; 橙MA7:MA(C,7),COLOR0060FF; 黃MA13:MA(C,13),COLOR00FFFF; 2.{小散之家分時主圖} H0:=REF(HIGH,1); L0:=REF(LOW,1); O0:=REF(OPEN,1); C0:=REF(CLOSE,1); OJ:="SS.OJ#DAY"; CJ:="SS.CJ#DAY"; HJ:="SS.HJ#DAY"; LJ:="SS.LJ#DAY"; O1:="SS.O1#DAY"; C1:="SS.C1#DAY"; H1:="SS.H1#DAY"; L1:="SS.L1#DAY"; O2:="SS.O2#DAY"; C2:="SS.C2#DAY"; H2:="SS.H2#DAY"; L2:="SS.L2#DAY"; O3:="SS.O3#DAY"; C3:="SS.C3#DAY"; H3:="SS.H3#DAY"; L3:="SS.L3#DAY"; ZTJ:="SS.ZTJ#DAY"; ZT1:="SS.ZT1#DAY"; ZT2:="SS.ZT2#DAY"; ZT3:="SS.ZT3#DAY"; DTJ:="SS.DTJ#DAY"; DT1:="SS.DT1#DAY"; DT2:="SS.DT2#DAY"; DT3:="SS.DT3#DAY"; {均線間彩帶} EEF3:=IF(BETWEEN(TIME,093100,150000),"SS.宗MA3#DAY",DRAWNULL); EEF5:=IF(BETWEEN(TIME,093100,150000),"SS.紅MA5#DAY",DRAWNULL); EEF7:=IF(BETWEEN(TIME,093100,150000),"SS.橙MA7#DAY",DRAWNULL); EEF13:=IF(BETWEEN(TIME,093100,150000),"SS.黃MA13#DAY",DRAWNULL); ZGD:=(HJ+H1+H2+H3)/4; DRAWBAND(EEF3,RGB(40,40,250),EEF13,RGB(40,40,250)); DRAWBAND(EEF5,RGB(40,40,250),EEF13,RGB(40,40,250)); DRAWBAND(EEF7,RGB(40,40,250),EEF13,RGB(40,40,250)); {彩色框} DRAWTEXT_FIX(1,0.05,0.26,0,'跌停K線白色'),COLORFFFFFF; DRAWTEXT_FIX(1,0.13,0.26,0,'漲停K線粉色'),COLORFF00FF; DRAWRECTREL(230,250,340,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.235,0.26,0,STRCAT(STRCAT('宗色3日線',CON2STR(EEF3,2)),'元')),COLOR000000; DRAWRECTREL(355,250,465,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.360,0.26,0,STRCAT(STRCAT('紅色5日線',CON2STR(EEF5,2)),'元')),COLOR000000; DRAWRECTREL(480,250,590,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.485,0.26,0,STRCAT(STRCAT('橙色7日線',CON2STR(EEF7,2)),'元')),COLOR000000; DRAWRECTREL(605,250,725,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.610,0.26,0,STRCAT(STRCAT('黃色13日線',CON2STR(EEF13,2)),'元')),COLOR000000; DRAWRECTREL(740,250,860,330,RGB(150,10,200)); DRAWTEXT_FIX(1,0.745,0.26,0,STRCAT(STRCAT('綠色昨最低',CON2STR("SS.L0#DAY",2)),'元')),COLOR000000; DRAWRECTREL(865,250,985,330,RGB(150,10,200)); DRAWTEXT_FIX(1,0.870,0.26,0,STRCAT(STRCAT('綠色昨最高',CON2STR("SS.H0#DAY",2)),'元')),COLOR000000; 回調(diào)昨日:=C<="SS.L0#DAY"; 超昨低點:=CROSS(回調(diào)昨日,0.01); 昨低點:"SS.L0#DAY",COLOR00FF00; 昨高點:"SS.H0#DAY",COLOR00FF00; E14:=IF(BETWEEN(TIME,094500,094500),OJ,DRAWNULL); E24:=IF(BETWEEN(TIME,094500,094500),CJ,DRAWNULL); E1:=IF(BETWEEN(TIME,094000,094000),O1,DRAWNULL); E2:=IF(BETWEEN(TIME,094000,094000),C1,DRAWNULL); E12:=IF(BETWEEN(TIME,093600,093600),O2,DRAWNULL); E22:=IF(BETWEEN(TIME,093600,093600),C2,DRAWNULL); E13:=IF(BETWEEN(TIME,093200,093200),O3,DRAWNULL); E23:=IF(BETWEEN(TIME,093200,0932000),C3,DRAWNULL); {均線支撐} EE3:IF(BETWEEN(TIME,93100,200000),"SS.宗MA3#DAY",DRAWNULL),COLOR0052A3,LINETHICK4; EE5:IF(BETWEEN(TIME,93100,200000),"SS.紅MA5#DAY",DRAWNULL),COLOR0000FF,LINETHICK4; EE7:IF(BETWEEN(TIME,93100,200000),"SS.橙MA7#DAY",DRAWNULL),COLOR0060FF,LINETHICK4; EE13:IF(BETWEEN(TIME,93100,200000),"SS.黃MA13#DAY",DRAWNULL),COLOR00FFFF,LINETHICK4; {K線最高與最低} STICKLINE(TIME=093800 AND CJ>OJ,HJ,LJ,0,0),COLOR0000CC; STICKLINE(TIME=093800 AND CJ>OJ,OJ,CJ,8,0),COLOR0000CC; STICKLINE(TIME=093800 AND ZTJ,HJ,LJ,0,0),COLORFF00FF; STICKLINE(TIME=093800 AND ZTJ,OJ,CJ,8,0),COLORFF00FF; STICKLINE(TIME=093800 AND CJ<OJ,HJ,LJ,0,0),COLORFFFF54; STICKLINE(TIME=093800 AND CJ<OJ,OJ,CJ,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DTJ,OJ,CJ,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DTJ,HJ,LJ,0,0),COLORFFFFFF; STICKLINE(TIME=093800 AND CJ=OJ,HJ,LJ,0,0),COLORWHITE; STICKLINE(TIME=093800 AND CJ=OJ,OJ+0.005,CJ,8,0),COLORWHITE; DRAWBAND(IF(CJ>OJ,E24,DRAWNULL),RGB(204,0,0),E14,RGB(204,0,0)); DRAWBAND(IF(CJ<OJ,E24,DRAWNULL),RGB(84,255,255),E14,RGB(84,255,255)); DRAWBAND(IF(CJ=OJ,E24,DRAWNULL),RGB(255,255,255),E14,RGB(255,255,255)); {昨前天最高與最低} STICKLINE(TIME=093600 AND C1>O1,H1,L1,0,0),COLOR0000CC; STICKLINE(TIME=093600 AND C1>O1,C1,O1,8,0),COLOR0000CC; STICKLINE(TIME=093600 AND ZT1,H1,L1,0,0),COLORFF00FF; STICKLINE(TIME=093600 AND ZT1,O1,C1,8,0),COLORFF00FF; STICKLINE(TIME=093600 AND C1<O1,H1,L1,0,0),COLORFFFF54; STICKLINE(TIME=093600 AND C1<O1,C1,O1,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT1,O1,C1,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT1,H1,L1,0,0),COLORFFFFFF; STICKLINE(TIME=093600 AND C1=O1,H1,L1,0,0),COLORWHITE; STICKLINE(TIME=093600 AND C1=O1,C1+0.005,O1,8,0),COLORWHITE; DRAWBAND(IF(C1>O1,E2,DRAWNULL),RGB(204,0,0),E1,RGB(204,0,0)); DRAWBAND(IF(C1<O1,E2,DRAWNULL),RGB(84,255,255),E1,RGB(84,255,255)); DRAWBAND(IF(C1=O1,E2,DRAWNULL),RGB(255,255,255),E1,RGB(255,255,255)); {前天最高與最低} STICKLINE(TIME=093400 AND C2>O2,H2,L2,0,0),COLOR0000CC; STICKLINE(TIME=093400 AND C2>O2,C2,O2,8,0),COLOR0000CC; STICKLINE(TIME=093400 AND ZT2,H2,L2,0,0),COLORFF00FF; STICKLINE(TIME=093400 AND ZT2,O2,C2,8,0),COLORFF00FF; STICKLINE(TIME=093400 AND C2<O2,H2,L2,0,0),COLORFFFF54; STICKLINE(TIME=093400 AND C2<O2,C2,O2,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT2,O2,C2,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT2,H2,L2,0,0),COLORFFFFFF; STICKLINE(TIME=093400 AND C2=O2,H2,L2,0,0),COLORWHITE; STICKLINE(TIME=093400 AND C2=O2,C2+0.005,O2,8,0),COLORWHITE; DRAWBAND(IF(C2>O2,E22,DRAWNULL),RGB(204,0,0),E12,RGB(204,0,0)); DRAWBAND(IF(C2<O2,E22,DRAWNULL),RGB(84,255,255),E12,RGB(84,255,255)); DRAWBAND(IF(C2=O2,E22,DRAWNULL),RGB(255,255,255),E12,RGB(255,255,255)); {大前天最高與最低} STICKLINE(TIME=093200 AND C3>O3,H3,L3,0,0),COLOR0000CC; STICKLINE(TIME=093200 AND C3>O3,C3,O3,8,0),COLOR0000CC; STICKLINE(TIME=093200 AND ZT3,H3,L3,0,0),COLORFF00FF; STICKLINE(TIME=093200 AND ZT3,O3,C3,8,0),COLORFF00FF; STICKLINE(TIME=093200 AND C3<O3,H3,L3,0,0),COLORFFFF54; STICKLINE(TIME=093200 AND C3<O3,C3,O3,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT3,O3,C3,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT3,H3,L3,0,0),COLORFFFFFF; STICKLINE(TIME=093200 AND C3=O3,H3,L3,0,0),COLORWHITE; STICKLINE(TIME=093200 AND C3=O3,C3+0.005,O3,8,0),COLORWHITE; DRAWBAND(IF(C3>O3,E23,DRAWNULL),RGB(204,0,0),E13,RGB(204,0,0)); DRAWBAND(IF(C3<O3,E23,DRAWNULL),RGB(84,255,255),E13,RGB(84,255,255)); DRAWBAND(IF(C3=O3,E23,DRAWNULL),RGB(255,255,255),E13,RGB(255,255,255)); {時間窗} HA:=MAX(DYNAINFO(3),DYNAINFO(5)); LA:=MIN(DYNAINFO(3),DYNAINFO(6)); PA:=HA-LA; 阻力:=LA+PA*7/8,COLOR00DD00; 支撐:=LA+PA*0.5/8,COLOR00DD00; STICKLINE(超昨低點,"SS.L0#DAY"*0.995,"SS.L0#DAY"*1.005,0,0),COLOR00FF00; {DRAWICON(超昨低點,阻力*0.997,2);} DRAWTEXT(超昨低點,"SS.L0#DAY"*1.01,'昨'),COLOR00FF00; DRAWTEXT(超昨低點,"SS.L0#DAY"*1.006,'低'),COLOR00FF00; 時間:=TIME=100100; N:=BARSLAST(時間); CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))); CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))); A10點線:STICKLINE(時間=1,CS1,CS2,-1,0),COLORGREEN; 均價:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A10點線,阻力,'10:00'),COLORRED; 時間R:=TIME=103100; NR:=BARSLAST(時間R); CS1R:=CONST(IF(NR,HHV(H,0),REF(HHV(H,0),NR))); CS2R:=CONST(IF(NR,LLV(L,0),REF(LLV(L,0),NR))); A10點30線:STICKLINE(時間R=1,CS1R,CS2R,-1,0),COLORGREEN; 均價R:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A10點30線,阻力,'10:30'),COLORRED; 時間T:=TIME=110100; NT:=BARSLAST(時間T); CS1T:=CONST(IF(NT,HHV(H,0),REF(HHV(H,0),NT))); CS2T:=CONST(IF(NT,LLV(L,0),REF(LLV(L,0),NT))); A11點線:STICKLINE(時間T=1,CS1T,CS2T,-1,0),COLORGREEN; 均價T:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A11點線,阻力,'11:00'),COLORRED; 時間T1:=TIME=130100; NT1:=BARSLAST(時間T1); CS1T1:=CONST(IF(NT1,HHV(H,0),REF(HHV(H,0),NT1))); CS2T1:=CONST(IF(NT1,LLV(L,0),REF(LLV(L,0),NT1))); A11點30線:STICKLINE(時間T1=1,CS1T1,CS2T1,-1,0),COLORGREEN; 均價T1:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A11點30線,阻力,'13:00'),COLORRED; 時間T2:=TIME=133100; NT2:=BARSLAST(時間T2); CS1T2:=CONST(IF(NT2,HHV(H,0),REF(HHV(H,0),NT2))); CS2T2:=CONST(IF(NT2,LLV(L,0),REF(LLV(L,0),NT2))); A1點30線:STICKLINE(時間T2=1,CS1T2,CS2T2,-1,0),COLORGREEN; 均價T2:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A1點30線,阻力,'13:30'),COLORRED; 時間T3:=TIME=140100; NT3:=BARSLAST(時間T3); CS1T3:=CONST(IF(NT3,HHV(H,0),REF(HHV(H,0),NT3))); CS2T3:=CONST(IF(NT3,LLV(L,0),REF(LLV(L,0),NT3))); A2點線:STICKLINE(時間T3=1,CS1T3,CS2T3,-1,0),COLORGREEN; 均價T3:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A2點線,阻力,'14:00'),COLORRED; 時間T4:=TIME=143100; NT4:=BARSLAST(時間T4); CS1T4:=CONST(IF(NT4,HHV(H,0),REF(HHV(H,0),NT4))); CS2T4:=CONST(IF(NT4,LLV(L,0),REF(LLV(L,0),NT4))); A2點30線:STICKLINE(時間T4=1,CS1T4,CS2T4,-1,0),COLORGREEN; 均價T4:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A2點30線,阻力,'14:30'),COLORRED; {分時線} 現(xiàn)價A:CLOSE,COLORFFFFFF,LINETHICK2; 3.{小散之家分時副圖} 現(xiàn)價:CLOSE; MA30:=EMA(CLOSE,30),NODRAW; 強弱:=EMA(CLOSE,900),NODRAW; STICKLINE((MA30>強弱),MA30,強弱,1,0),COLOR0000FF; STICKLINE((MA30<強弱),MA30,強弱,1,0),COLOR00FF00; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00DD00; 支撐:L1+P1*0.5/8,COLOR00DD00; 低買:IF(CROSS(支撐,CLOSE),支撐*0.99,支撐)COLOR0000FF,LINETHICK1; 高賣:IF(CROSS(現(xiàn)價,阻力),阻力*1.01,阻力),COLORFF00FF,LINETHICK1; DRAWICON(CROSS(現(xiàn)價,引用.ZH#DAY),現(xiàn)價,13); RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1; JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1; MA1:=REF(C,JY); MA2:=REF(MA1,JY); MA3:=REF(MA2,JY); MA4:=REF(MA3,JY); MA5:=REF(MA4,JY); MA6:=REF(MA5,JY); MA7:=REF(MA6,JY); MA8:=REF(MA7,JY); MA9:=REF(MA8,JY); CK:=REFDATE((C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10,DATE),COLORAC59FF,CIRCLEDOT; {DRAWTEXT(ISLASTBAR,CK,' 參考線'),COLOR0000FF;} DRAWTEXT(ISLASTBAR,引用.ZH#DAY-0.001,' 昨高'),COLORGREEN; DRAWTEXT(ISLASTBAR,引用.ZL#DAY+0.001,' 昨低'),COLORGREEN; 昨高:引用.ZH#DAY,COLORGREEN; 昨低:引用.ZL#DAY,COLORGREEN; 黑線:昨低*0.995,COLOR000000; 現(xiàn)價A:CLOSE,COLORFFFFFF,LINETHICK2; 時間:=TIME=100100; N:=BARSLAST(時間); 常數(shù):=CONST(IF(N=0,C,REF(C,N))),COLORGREEN,DOTLINE; CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))); CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))); A10點線:STICKLINE(時間=1,CS1,CS2,-1,0),COLORGREEN; 均價:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A10點線,阻力*1.01,'10:00'),COLORRED; 時間R:=TIME=103100; NR:=BARSLAST(時間R); 常數(shù)R:=CONST(IF(NR=0,C,REF(C,NR))),COLORGREEN,DOTLINE; CS1R:=CONST(IF(NR,HHV(H,0),REF(HHV(H,0),NR))); CS2R:=CONST(IF(NR,LLV(L,0),REF(LLV(L,0),NR))); A10點30線:STICKLINE(時間R=1,CS1R,CS2R,-1,0),COLORGREEN; 均價R:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A10點30線,阻力*1.01,'10:30'),COLORRED; 時間T:=TIME=110100; NT:=BARSLAST(時間T); 常數(shù)T:=CONST(IF(NT=0,C,REF(C,NT))),COLORGREEN,DOTLINE; CS1T:=CONST(IF(NT,HHV(H,0),REF(HHV(H,0),NT))); CS2T:=CONST(IF(NT,LLV(L,0),REF(LLV(L,0),NT))); A11點線:STICKLINE(時間T=1,CS1T,CS2T,-1,0),COLORGREEN; 均價T:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A11點線,阻力*1.01,'11:00'),COLORRED; 時間T1:=TIME=130100; NT1:=BARSLAST(時間T1); 常數(shù)T1:=CONST(IF(NT1=0,C,REF(C,NT1))),COLORGREEN,DOTLINE; CS1T1:=CONST(IF(NT1,HHV(H,0),REF(HHV(H,0),NT1))); CS2T1:=CONST(IF(NT1,LLV(L,0),REF(LLV(L,0),NT1))); A11點30線:STICKLINE(時間T1=1,CS1T1,CS2T1,-1,0),COLORGREEN; 均價T1:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A11點30線,阻力*1.01,'13:00'),COLORRED; 時間T2:=TIME=133100; NT2:=BARSLAST(時間T2); 常數(shù)T2:=CONST(IF(NT2=0,C,REF(C,NT2))),COLORGREEN,DOTLINE; CS1T2:=CONST(IF(NT2,HHV(H,0),REF(HHV(H,0),NT2))); CS2T2:=CONST(IF(NT2,LLV(L,0),REF(LLV(L,0),NT2))); A1點30線:STICKLINE(時間T2=1,CS1T2,CS2T2,-1,0),COLORGREEN; 均價T2:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A1點30線,阻力*1.01,'13:30'),COLORRED; 時間T3:=TIME=140100; NT3:=BARSLAST(時間T3); 常數(shù)T3:=CONST(IF(NT3=0,C,REF(C,NT3))),COLORGREEN,DOTLINE; CS1T3:=CONST(IF(NT3,HHV(H,0),REF(HHV(H,0),NT3))); CS2T3:=CONST(IF(NT3,LLV(L,0),REF(LLV(L,0),NT3))); A2點線:STICKLINE(時間T3=1,CS1T3,CS2T3,-1,0),COLORGREEN; 均價T3:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A2點線,阻力*1.01,'14:00'),COLORRED; 時間T4:=TIME=143100; NT4:=BARSLAST(時間T4); 常數(shù)T4:=CONST(IF(NT4=0,C,REF(C,NT4))),COLORGREEN,DOTLINE; CS1T4:=CONST(IF(NT4,HHV(H,0),REF(HHV(H,0),NT4))); CS2T4:=CONST(IF(NT4,LLV(L,0),REF(LLV(L,0),NT4))); A2點30線:STICKLINE(時間T4=1,CS1T4,CS2T4,-1,0),COLORGREEN; 均價T4:=SUM(V*C,0)/SUM(V,0),COLORYELLOW; DRAWTEXT(A2點30線,阻力*1.01,'14:30'),COLORRED; 今日開盤線:=DYNAINFO(4),COLORMAGENTA; 今日最高價:=DYNAINFO(5),COLORBLUE; 今日最低價:=DYNAINFO(6),COLORGREEN; 今日均價線:=DYNAINFO(11),COLORYELLOW; DRAWTEXT(C=DYNAINFO(6) AND DYNAINFO(11)>=DYNAINFO(4)*1.01,C*0.99,'買'),COLORRED; DRAWTEXT(C=DYNAINFO(5) AND DYNAINFO(11)>=DYNAINFO(4)*1.01,C*1.01,'賣'),COLORGREEN; DRAWICON(C=DYNAINFO(6) AND DYNAINFO(11)>=DYNAINFO(4)*1.01,L*0.995,1); DRAWICON(C=DYNAINFO(5) AND DYNAINFO(11)>=DYNAINFO(4)*1.01,L*1.005,2); 阻力*1.018,COLOR000000; 支撐*0.984,COLOR000000; |
|