創(chuàng)幻論壇 里有人顯耀過(guò)了戰(zhàn)無(wú)不勝專(zhuān)業(yè)版公式,是以圖片來(lái)發(fā)的,廣大創(chuàng)幻論壇 朋友沒(méi)有辦法下,我抽今天周末破解了一些戰(zhàn)無(wú)不勝專(zhuān)業(yè)版公式源碼發(fā)了——供大家下載,希望大家多賺錢(qián),我盡力幫助大家,能幫一點(diǎn)是一點(diǎn)。 ●背景機(jī)會(huì)● {n 18} CHECK1:=CHECKUSER(1); VAR1:=INDEXA*INDEXC; VAR2:=EMA(VAR1,5)/EMA(INDEXA,5); BJ:=(INDEXC-VAR2)/VAR2*100; VAR3:=BJ<=-2.33 AND BJ>-100; 大盤(pán)機(jī)會(huì):(SUM(VAR3>0,N))/(SUM(VAR3=0,N))*100,colorFF00; VAR4:=CROSS(MA(INDEXV,31),MA(INDEXV,2)); LO:=LLV(INDEXL,60); 大盤(pán)風(fēng)險(xiǎn):IF(INDEXC>LO*(1+0.15),VAR4*10,10),colorFF; ●大盤(pán)疊加● {n 25;m 1} CHECK1:=CHECKUSER(1); VAR1:=COUNT(CLOSE,0)=1; VAR2:=BACKSET(ISLASTBAR,N+1); VAR3:=VAR2>REF(VAR2,1); VAR4:=IF(M=1,VAR3,VAR1); VAR5:=BARSLAST(VAR4); VAR6:=REF(INDEXC,VAR5)/REF(CLOSE,VAR5); D1:=INDEXO/VAR6; D2:=INDEXH/VAR6; D3:=INDEXL/VAR6; D4:=INDEXC/VAR6; STICKLINE(D4>=REF(D4,1),D3,D1,0.1,0),colorFF66FF; STICKLINE(D4>=REF(D4,1),D4,D2,0.1,0),colorFF66FF; STICKLINE(D4>=REF(D4,1),D1,D4,7,1),colorFF66FF; STICKLINE(D4<REF(D4,1),D3,D2,0.1,0),color99FF33; STICKLINE(D4<REF(D4,1),D4,D1,7,1),color99FF33; ●順勢(shì)而為● CHECK1:=CHECKUSER(1); 均價(jià):=(HIGH+4*LOW+OPEN+CLOSE)/7; 均價(jià)差:=EMA(均價(jià),13)-EMA(均價(jià),34); 移動(dòng)均價(jià):=EMA(均價(jià)差,5); 差:=(均價(jià)差-移動(dòng)均價(jià))*5; A:=IF(差>=1000,1000,IF(差<=均價(jià),均價(jià),差)); B:=FORCAST(FORCAST(A,31),10); 上漲:IF(A>B,A,B),colorFF; 下跌:IF(A<B,A,B),colorFF00; 分水嶺:B,LINETHICK2,colorFFFF; ●短線精靈● CHECK1:=CHECKUSER(1); EXPLAINICON(CLOSE>0,'zwbsdnjp'),ALIGN1; EXPLAINICON(CLOSE>0,'sfcb'),ALIGN1; EXPLAINICON(CLOSE>0,'dpjsbj'),ALIGN1; QQQ:=(INDEXH+INDEXL)/2; DD:=FFT(QQQ,26); DDD:=FFT((HIGH+LOW)/2,26); EXPLAIN(DD>=REF(DD,1),'解盤(pán):大盤(pán)多頭攻擊、獲利機(jī)會(huì)出現(xiàn)、尋機(jī)買(mǎi)進(jìn)!'),colorFF; EXPLAIN(DD<=REF(DD,1),'解盤(pán):大盤(pán)空頭攻擊、無(wú)明顯操作機(jī)會(huì)、堅(jiān)決出局!'),colorFF00; VK:=VOL/CAPITAL*100; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF00FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,VK+3,1),colorFF00FF; STICKLINE(CLOSE<OPEN,HIGH,LOW,0,1),colorFF00; STICKLINE(CLOSE<OPEN,CLOSE,OPEN,VK+3,0),colorFF00; PARTLINE(DDD>REF(DDD,1),DDD),LINETHICK1,colorFF; PARTLINE(DDD<REF(DDD,1),DDD),LINETHICK1,colorFFFF60; BJ:=CLOSE/INDEXC*1000; QS:=BJ>REF(BJ,1); RS:=BJ<=REF(BJ,1); EXPLAIN(QS,'解盤(pán):個(gè)股走勢(shì):強(qiáng)于大盤(pán)'),colorFF; EXPLAIN(RS,'解盤(pán):個(gè)股走勢(shì):弱于大盤(pán)'),colorFF00; EXPLAINICON(CLOSE>0,'ggjszt'),ALIGN1; 日K:="KDJ.K#day"(20,5,5); 日D:="KDJ.D#day"(20,5,5); 周K:="KDJ.K#week"(9,3,3); 周D:="KDJ.D#week"(9,3,3); EXPLAINEX(日K>0,'解盤(pán):日K=',日K,2,0),colorFF0000; EXPLAIN(日K<=20,'解盤(pán):日線KD指標(biāo)位置:低位'),colorFF; EXPLAIN(日K>20 AND 日K<50,'解盤(pán):日線KD指標(biāo)位置:中低'),colorFF; EXPLAIN(日K>50 AND 日K<80,'解盤(pán):日線KD指標(biāo)位置:中高'),colorFF00; EXPLAIN(日K>=80,'解盤(pán):日線KD指標(biāo)位置:高位'),colorFF00; EXPLAINEX(周K>0,'解盤(pán):周K=',周K,2,0),colorFF; EXPLAIN(周K<=20,'解盤(pán):周線KD指標(biāo)位置:低位'),colorFF; EXPLAIN(周K>20 AND 周K<50,'解盤(pán):周線KD指標(biāo)位置:中低'),colorFF; EXPLAIN(周K>50 AND 周K<80,'解盤(pán):周線KD指標(biāo)位置:中高'),colorFF00; EXPLAIN(周K>=80,'解盤(pán):周線KD指標(biāo)位置:高位'); EXPLAIN(CROSS(日K,日D),'解盤(pán):日K與日D今日金叉'),colorFF; EXPLAIN(CROSS(日D,日K),'解盤(pán):日K與日D今日死叉'),colorFF00; EXPLAIN(CROSS(周K,周D),'解盤(pán):周K與周D今日金叉'),colorFF; EXPLAIN(CROSS(周D,周K),'解盤(pán):周K與周D今日死叉'),colorFF00; EXPLAINICON(CLOSE>0,'szczzy'),ALIGN1; R:=REF(CLOSE,1)/CLOSE; QY:=VOL; QTT:=QY*R; TL:=FILTER(VOL=HHV(VOL,20),20); DL:=FILTER(VOL=LLV(VOL,20),20); XD:=FILTER(LOW=LLV(LOW,20),20); XG:=FILTER(HIGH=HHV(HIGH,20),20); AQ標(biāo)準(zhǔn)攻擊量:=QTT*1.15; HQ危險(xiǎn)成交量:=QTT*1.5; LQ防守量:=QTT*0.75; AHQ平均高量:=(AQ標(biāo)準(zhǔn)攻擊量+HQ危險(xiǎn)成交量)/2; ALQ平均低量:=(AQ標(biāo)準(zhǔn)攻擊量+LQ防守量)/2; 市場(chǎng)實(shí)際量能:=QY; EXPLAINEX(HQ危險(xiǎn)成交量,'解盤(pán):次日攻擊危險(xiǎn)量=',HQ危險(xiǎn)成交量,0,0),colorFF; EXPLAINEX(AQ標(biāo)準(zhǔn)攻擊量,'解盤(pán):次日攻擊標(biāo)準(zhǔn)量=',AQ標(biāo)準(zhǔn)攻擊量,0,0),colorFF0000; EXPLAINEX(LQ防守量,'解盤(pán):次日攻擊防守量=',LQ防守量,0,0),colorFF00; EXPLAINEX(TL,'解盤(pán):今日為20日最大量=',VOL,0,0),colorFF; EXPLAINEX(DL,'解盤(pán):今日為20日最小量=',VOL,0,0),colorFF00; EXPLAINEX(XD,'解盤(pán):今日為20日最低價(jià)格=',LOW,2,0),colorFF00; EXPLAINEX(XG,'解盤(pán):今日為20日最高價(jià)格=',LOW,2,0),colorFF; PT:=REF(HIGH,1)-REF(LOW,1); CDP:=(HIGH+LOW+2*CLOSE)/4; AH:=CDP+PT; AL:=CDP-PT; NH敏感阻力:=2*CDP-LOW; NL:=2*CDP-HIGH; EXPLAINEX(AH,'解盤(pán):次日重大阻力價(jià)位=',AH,2,0),colorFF00; EXPLAINEX(NH敏感阻力,'解盤(pán):次日敏感阻力區(qū)域=',NH敏感阻力,2,0),colorFFFF; EXPLAINEX(CDP,'解盤(pán):次日關(guān)鍵均衡價(jià)位=',CDP,2,0),colorFFFFFF; EXPLAINEX(NL,'解盤(pán):次日重要支撐區(qū)域=',NL,2,0),colorFF0000; EXPLAINEX(AL,'解盤(pán):次日關(guān)鍵支撐價(jià)位=',AL,2,0),colorFF; EXPLAINICON(CLOSE>0,'szczxh'),ALIGN1; VAR0:=REF(CLOSE,1)-REF(OPEN,1); VAR1:=REF(OPEN,1); VAR2:=CLOSE>=VAR1*1.05; VAR3:=CLOSE>=2*VAR0/3+VAR1 AND CLOSE<=VAR1*1.05; VAR4:=CLOSE<VAR0*2/3+VAR1; EXPLAINEX(VAR2,'解盤(pán):個(gè)股目前態(tài)勢(shì):超級(jí)強(qiáng)勢(shì)。漲幅 %f %',(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,1,0),colorFF00FF; EXPLAINEX(VAR3,'解盤(pán):個(gè)股目前態(tài)勢(shì):強(qiáng)勢(shì)。漲幅 %f %',(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,1,0),colorFF; EXPLAINEX(VAR4,'解盤(pán):個(gè)股目前態(tài)勢(shì):弱勢(shì)。漲幅 %f %',(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,1,0),colorFF00; B1:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100<-12; B3:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100>15; B:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100; EXPLAINEX(B<-18 AND CLOSE/OPEN>1.06,'解盤(pán):搶反彈!負(fù)乖離偏大,小單進(jìn)場(chǎng)。此刻30日乖離率=',B,2,1),colorFF; EXPLAINEX(B>40 AND CLOSE/REF(CLOSE,1)<1.08,'解盤(pán):高拋!正乖離偏大,按照短線技術(shù)系統(tǒng)高拋:',B,2,0),colorFF00; EXPLAINEX(NOT(B<-18 AND CLOSE/OPEN>1.06) OR NOT(B>40 AND CLOSE/REF(CLOSE,1)<1.08),'解盤(pán):此刻30日乖離率=',B,2,0),colorFFFF; ●波動(dòng)力度● CHECK1:=CHECKUSER(1); 均衡值:0,colorFF0000; 正門(mén)閥:20,colorFF; 負(fù)門(mén)閥:-20,colorFF00; B1:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100<-15; B3:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100>15; 波動(dòng)力度:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100; STICKLINE(波動(dòng)力度>=0,0,波動(dòng)力度*1,4,0),colorFF; STICKLINE(波動(dòng)力度>=0,0,波動(dòng)力度*0.8,4,0),color66FF; STICKLINE(波動(dòng)力度>=0,0,波動(dòng)力度*0.6,4,0),color99FF; STICKLINE(波動(dòng)力度>=0,0,波動(dòng)力度*0.4,4,0),colorCCFF; STICKLINE(波動(dòng)力度>=0,0,波動(dòng)力度*0.2,4,0),colorFFFF; STICKLINE(波動(dòng)力度<=0,0,波動(dòng)力度*1,4,0),colorFF00; STICKLINE(波動(dòng)力度<=0,0,波動(dòng)力度*0.8,4,0),color33CC00; STICKLINE(波動(dòng)力度<=0,0,波動(dòng)力度*0.6,4,0),color339900; STICKLINE(波動(dòng)力度<=0,0,波動(dòng)力度*0.4,4,0),color337700; STICKLINE(波動(dòng)力度<=0,0,波動(dòng)力度*0.2,4,0),color5500; STICKLINE(波動(dòng)力度<=-20,-20,波動(dòng)力度,4,0),colorFF00FF; STICKLINE(波動(dòng)力度<=-25,-25,波動(dòng)力度,4,0),colorFF; STICKLINE(波動(dòng)力度>=20,20,波動(dòng)力度,4,0),colorFF00FF; STICKLINE(波動(dòng)力度>=25,25,波動(dòng)力度,4,0),colorFF00; ●成本指示● CHECK1:=CHECKUSER(1); A:=MA(CLOSE,28); B:=MA(CLOSE,66); VAR2:=AMOUNT/VOL/100; VAR3:=SUMBARS(VOL,CAPITAL*1.618); VAR4:=IF(VAR3>100,1.033,IF(VAR3<=100 AND VAR3>33,1.039,1.05)); 運(yùn)作成本:IF(STKTYPE=0,INDEXC,MA(VAR2,10)),LINETHICK2; 中線成本:IF(STKTYPE=0,INDEXC,EMA(VAR2,34)*VAR4),LINETHICK2; 總體成本:IF(STKTYPE=0,INDEXC,DMA(中線成本,VOL/CAPITAL)),LINETHICK2; ●風(fēng)險(xiǎn)程度● CHECK1:=CHECKUSER(1); RSV:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100; K:=SMA(RSV,3,1); D:=SMA(K,18,1); J:=3*K-2*D; A:=ABS(1/1-D); 中線風(fēng)險(xiǎn)度:ABS(1/1-"KDJ.D#MONTH"(7,2,2)),LINETHICK0; 波段風(fēng)險(xiǎn)度:ABS(1/1-"KDJ.D#week"),LINETHICK1,colorFF0000; 短線風(fēng)險(xiǎn)度:A,LINETHICK2,colorFF; PARTLINE(A<REF(A,1),A),LINETHICK2,colorFF00; 風(fēng)險(xiǎn)線:78,LINETHICK3,colorFF; 安全線:18,LINETHICK3,colorFF00; 平衡線:50; ●高低指示● CHECK1:=CHECKUSER(1); RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,M1,1); D:=SMA(K,M2,1); J:=3*K-2*D; DRAWGBK(K,COLORRGB(255,0,0),COLORRGB(255,255,0),1); FILLRGN(K<20 AND CROSS(K,D) AND K>D,0,20),colorFF; FILLRGN(K>60 AND CROSS(D,K) AND K<D,100,80),colorFF00; D,colorFF0000; 80; 20; ●區(qū)域背離● CHECK1:=CHECKUSER(1); POLYLINE(1,"KDJ.D"),colorFFFF00; 短高:IF(BETWEEN("KDJ.K",100,80),88,100),PRECISION0; 短低:IF(BETWEEN("KDJ.K",20,0),12,0),PRECISION0; 波低:IF(BETWEEN("KDJ.K#week",10,0),30,0),PRECISION0; 波高:IF(BETWEEN("KDJ.K#week",100,90),70,100),PRECISION0; 中低:IF(BETWEEN("KDJ.K#MONTH",20,0),30,0),PRECISION0,colorFF; 中高:IF(BETWEEN("KDJ.K#MONTH",100,75),70,100),PRECISION0; POLYLINE(1,0),colorFFFF; A1:=BARSLAST(REF(CROSS("MACD.DIFF","MACD.DEA"),1)); B1:=REF(CLOSE,A1+1)>CLOSE AND REF("MACD.DIFF",A1+1)<"MACD.DIFF" AND CROSS("MACD.DIFF","MACD.DEA"); MACD底背離:STICKLINE(FILTER(B1>0,5),0,25,3,0),colorFF00; DRAWTEXT(FILTER(B1>0,5),25,'MACD底背'),colorFF00; A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1)); B2:=REF(CLOSE,A2+1)>CLOSE AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D"); KDJ底背離:STICKLINE(FILTER(B2>0,5),0,25,3,0),colorFFFF; DRAWTEXT(FILTER(B2>0,5),25,'KDJ底背'),colorFFFF; A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1)); B3:=REF(CLOSE,A3+1)>CLOSE AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2"); RSI底背離:STICKLINE(FILTER(B3>0,5),0,25,3,0),colorFFFF00; DRAWTEXT(FILTER(B3>0,5),25,'RSI底背'),colorFFFF00; POLYLINE(1,100),colorFF; C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIFF"),1)); D1:=REF(CLOSE,C1+1)<CLOSE AND REF("MACD.DIFF",C1+1)>"MACD.DIFF" AND CROSS("MACD.DEA","MACD.DIFF"); MACD頂背離:STICKLINE(FILTER(D1>0,5),100,75,3,0),color66FF; DRAWTEXT(FILTER(D1>0,5),75,'MACD頂背'),color66FF; C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1)); D2:=REF(CLOSE,C2+1)<CLOSE AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K"); KDJ頂背離:STICKLINE(FILTER(D2>0,5),100,75,3,0),colorFF; DRAWTEXT(FILTER(D2>0,5),75,'KDJ頂背'),colorFF; C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1)); D3:=REF(CLOSE,C3+1)<CLOSE AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1"); RSI頂背離:STICKLINE(FILTER(D3>0,5),100,75,3,0),colorFF00FF; DRAWTEXT(FILTER(D3>0,5),75,'RSI頂背'),colorFF00FF; ●大單之差● {n 100; n1 100} CHECK1:=CHECKUSER(1); 大單之差:(SUM(IF(BUYVOL>=N,VOL,0),0))-(SUM(IF(SELLVOL>=N1,VOL,0),0)); ●內(nèi)外盤(pán)比● CHECK1:=CHECKUSER(1); 內(nèi)外盤(pán)比率:SUM(BUYVOL,0)/SUM(SELLVOL,0); ●牛熊排隊(duì)● {n 15; p 5} CHECK1:=CHECKUSER(1); VAR1:=BUYVOL*100/FINANCE(7); VAR2:=SELLVOL*100/FINANCE(7); VAR3:=IF(VAR1>1.5,BUYVOL,0); VAR4:=IF(VAR2>1.5,SELLVOL,0); 牛熊排隊(duì):(SUM(VAR3,0)-SUM(VAR4,0))*(IF(BARSCOUNT(CLOSE)>50,1,0))/FINANCE(7); ●牛熊先鋒● 100*DYNAINFO(14)*VOL/MA(VOL,5); ●增倉(cāng)減倉(cāng)● CHECK1:=CHECKUSER(1); VAR1:=BUYVOL*100/FINANCE(7); VAR2:=SELLVOL*100/FINANCE(7); VAR3:=IF(VAR1>1.5,BUYVOL,0); VAR4:=IF(VAR2>1.5,SELLVOL,0); 倉(cāng)位增減:(SUM(VAR3,0)-SUM(VAR4,0))*(IF(BARSCOUNT(CLOSE)>100,1,0))/100; ●指數(shù)貢獻(xiàn)● CHECK1:=CHECKUSER(1); 指數(shù)貢獻(xiàn):(CLOSE-MA(CLOSE,5))*FINANCE(1)/1000,colorFF00FF; ●財(cái)務(wù)數(shù)據(jù)● {m1 5; m2 10} CHECK1:=CHECKUSER(1); 當(dāng)日成交量:VOL,VOLSTICK,PRECISION0; 流通股:CAPITAL/100,PRECISION0; 凈資產(chǎn):FINANCE(34),LINETHICK0,PRECISION2; 公積金:FINANCE(18),LINETHICK0,PRECISION2; 每股收益:FINANCE(33),LINETHICK0,PRECISION2; 5日均量:MA(VOL,M1),PRECISION0; 10日均量:MA(VOL,M2),PRECISION0; ●大盤(pán)映射● {n 30; m 3} CHECK1:=CHECKUSER(1); 收盤(pán):INDEXC,LINETHICK0,PRECISION2; 開(kāi)盤(pán):INDEXO,LINETHICK0,PRECISION2; 最高:INDEXH,LINETHICK0,PRECISION2; 最低:INDEXL,LINETHICK0,PRECISION2; 昨收盤(pán):=REF(收盤(pán),1); 漲跌:(收盤(pán)-REF(收盤(pán),1))/REF(收盤(pán),1)*100,LINETHICK0,PRECISION2; 成交金額:INDEXA/100000000,LINETHICK0,PRECISION2,colorCC99FF; STICKLINE(收盤(pán)>=開(kāi)盤(pán),收盤(pán),開(kāi)盤(pán),6,1),colorFF00FF; STICKLINE(收盤(pán)>=開(kāi)盤(pán),最高,MAX(收盤(pán),開(kāi)盤(pán)),0,1),colorFF00FF; STICKLINE(收盤(pán)>=開(kāi)盤(pán),MIN(收盤(pán),開(kāi)盤(pán)),最低,0,1),colorFF00FF; STICKLINE(收盤(pán)<開(kāi)盤(pán),收盤(pán),開(kāi)盤(pán),6,1),color99FF33; STICKLINE(收盤(pán)<開(kāi)盤(pán),最高,MAX(收盤(pán),開(kāi)盤(pán)),0,1),color99FF33; STICKLINE(收盤(pán)<開(kāi)盤(pán),MIN(收盤(pán),開(kāi)盤(pán)),最低,0,1),color99FF33; MA1:MA(INDEXC,M),LINETHICK1,PRECISION2,colorFFFF; MA2:MA(INDEXC,N),LINETHICK1,PRECISION2,colorFF6633; ●分筆量比● CHECK1:=CHECKUSER(1); TI:=TIME/100; T1:=TI-930; T2:=TI-1000+30; T3:=TI-1100+90; T4:=(1300-TI)/5+80/5; T5:=TI-1300+120; T6:=TI-1400+180; T7:=240; TIM:=IF(TI<1000,T1,IF(TI<1100,T2,IF(TI<1200,T3,IF(TI>1300 AND TI<1400,T5,IF(TI<1500,T6,T7))))); LB0:=SUM(VOL,TIM)/TIM*240/"VOL.MA1#day"; 量比:IF(LB0>0,LB0,0); VERTLINE(TI=1500); VERTLINE(TI=1130),POINTDOT; ●分筆量比● CHECK1:=CHECKUSER(1); TI:=TIME/100; T1:=TI-930; T2:=TI-1000+30; T3:=TI-1100+90; T4:=(1300-TI)/5+80/5; T5:=TI-1300+120; T6:=TI-1400+180; T7:=240; TIM:=IF(TI<1000,T1,IF(TI<1100,T2,IF(TI<1200,T3,IF(TI>1300 AND TI<1400,T5,IF(TI<1500,T6,T7))))); LB0:=SUM(VOL,TIM)/TIM*240/"VOL.MA1#day"; 量比:IF(LB0>0,LB0,0); VERTLINE(TI=1500); VERTLINE(TI=1130),POINTDOT; ●空間關(guān)鍵● {n 12} CHECK1:=CHECKUSER(1); TYP:=(HIGH+LOW+CLOSE)/3; LL:=LLV(LOW,N); HH:=HHV(HIGH,N); A:=(CLOSE+REF(CLOSE,1))/2; 關(guān)鍵價(jià)位:IF(ISUP,A,REF(A,1)),SHIFT1; 第一壓力:TYP+TYP-LL,LINETHICK0,PRECISION2; 第二壓力:TYP+HH-LL,LINETHICK0,PRECISION2; 第三壓力:2*HH-LL,LINETHICK1,PRECISION2; 第一支撐:TYP-(HH-TYP),LINETHICK0,PRECISION2; 第二支撐:TYP-(HH-LL),LINETHICK0,PRECISION2; 第三支撐:2*LL-HH,PRECISION2; DRAWNUMBER(ISLASTBAR,HIGH,關(guān)鍵價(jià)位,2),SHIFT1,colorFFFF; 收盤(pán):=CLOSE; 開(kāi)盤(pán):=OPEN; 最高:=HIGH; 最低:=LOW; 昨收盤(pán):=REF(收盤(pán),1); 漲跌:=(收盤(pán)-REF(收盤(pán),1))/REF(收盤(pán),1)*100; STICKLINE(收盤(pán)>=開(kāi)盤(pán),收盤(pán),開(kāi)盤(pán),6,1),colorFF; STICKLINE(收盤(pán)>=開(kāi)盤(pán),最高,MAX(收盤(pán),開(kāi)盤(pán)),0,1),colorFF; STICKLINE(收盤(pán)>=開(kāi)盤(pán),MIN(收盤(pán),開(kāi)盤(pán)),最低,0,1),colorFF; STICKLINE(收盤(pán)<開(kāi)盤(pán),收盤(pán),開(kāi)盤(pán),6,1),color99FF33; STICKLINE(收盤(pán)<開(kāi)盤(pán),最高,MAX(收盤(pán),開(kāi)盤(pán)),0,1),color99FF33; STICKLINE(收盤(pán)<開(kāi)盤(pán),MIN(收盤(pán),開(kāi)盤(pán)),最低,0,1),color99FF33; ●量?jī)r(jià)重心● {n 30} CHECK1:=CHECKUSER(1); MA30:MA(CLOSE,N),LINETHICK3,colorFF; 量?jī)r(jià)重心A:INTPART(CLOSE/1.826)*1.826,POINTDOT,LINETHICK2,colorFF00; 量?jī)r(jià)重心A+1.826,POINTDOT,LINETHICK2,colorFF00; 價(jià)量重心B:INTPART(CLOSE/0.913)*0.913,POINTDOT,LINETHICK2,colorFF00FF; 價(jià)量重心B+0.913,POINTDOT,LINETHICK2,colorFF00FF; PARTLINE(MA30<REF(MA30,1),MA30),LINETHICK3,colorFF00; ●跳空開(kāi)盤(pán)● { n 3; m 2} CHECK1:=CHECKUSER(1); VAR1:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100; VAR2:=VAR1>N; VAR3:=VAR1<-M; 跳空高開(kāi):DRAWICON(VAR2,LOW*0.995,8),ALIGN0,colorFF; 跳空低開(kāi):DRAWICON(VAR3,HIGH,9),ALIGN0,colorFF00; ●N日 漲幅● {n 5} CHECK1:=CHECKUSER(1); N日漲幅:(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100,colorFF; PARTLINE(0>N日漲幅,N日漲幅),colorFF00; [ 本帖最后由 fwh3358 于 2009-3-15 23:00 編輯 ] |
|