通達(dá)信綜合解盤(pán)主圖指標(biāo)公式
M1:=5;M2:=13;M3:=34;M4:=55;M5:=89;M6:=144;M7:=233; 漲停:STICKLINE(C>REF(C,1)*1.099,C,O,3,0),COLORCC00CC; 跌停:STICKLINE(REF(C,1)*0.909>C,C,O,3,0),COLORGREEN; EMA5:EMA(C,M1); EMA13:EMA(C,M2); EMA21:EMA(C,M5),COLOR5CADAD; EMA34:EMA(C,M3); EMA55:EMA(C,M4),COLORRED,LINETHICK2; EMA144:EMA(C,M6),COLOR20BA22; EMA233:EMA(C,M7),COLORBLUE; X1:=EMA(EMA(CLOSE,9),9); X2:=(X1-REF(X1,1))/REF(X1,1); DRAWICON(CROSS(X2,0),L*0.97,1); DRAWNUMBER(ISLASTBAR,LOW,BARSLAST(NOT(EMA(C,M1)<REF(EMA(C,M1),1)))); IF(EMA55<REF(EMA55,1),EMA55,DRAWNULL),COLORGREEN,LINETHICK2; 倍量:=VOL>=REF(V,1)*1.91 AND C>O; 縮量:=REF(V,1)>=VOL*1.91 AND C<O; STICKLINE(倍量,OPEN,(C+O)*0.5,0.3,0),COLORRED; STICKLINE(縮量,OPEN,(C+O)*0.5,0.3,0),COLORBLUE; 上跳:STICKLINE(LOW>REF(C,1) ,L*0.996,L*0.9925,2,0),COLORRED; 下跳:STICKLINE(H<REF(C,1) ,H*1.002,H*1.006,2,0),COLORBLUE; 雙線持幣:HHV(MA(HIGH,(3)),2),LINETHICK1,COLOR00FF00; 單線持股:LLV(MA(HIGH,(3)),1),LINETHICK1,COLOR0000FF; VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD; STICKLINE(VAR1A,H*1.010,H*1.006,1,0),COLORGREEN; STICKLINE(VAR19,L*0.994,L*0.99,1,0),COLORYELLOW; AAA:=CONST(HHV(H,90)); TT:=240/FROMOPEN; 比:=TT; J12:=(HIGH - ((HIGH - LOW) / 3)); J23:=(LOW + ((HIGH - LOW) / 3)); D1:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0)); D2:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0)); D3:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0)); D4:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0)); D5:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0)); D6:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1) > REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0)); D7:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0)); D8:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0)); D9:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0)); D10:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0)); D11:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0)); D12:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0)); D13:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0)); D14:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0)); D15:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND CLOSE=OPEN AND CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1) ,REF(OPEN,1))),1,0)); D16:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0)); D17:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1) -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0)); D18:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0)); D19:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0)); D20:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98),1,0)); D21:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2) -REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1) <=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0)); D22:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN),1,0)); D23:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30) >1.2 AND C/REF(C,1)>1.049)),1,0)); D24:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3) <REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4) <REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF (CLOSE,4)),1,0)); D25:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3) >REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4) <REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF (HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4)),1,0)); D26:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0)); D27:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1) <REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1)),1,0)); D28:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0)); D29:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0)); D30:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0)); D31:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); D32:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0)); D33:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0)); D34:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0)); D35:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1)) /CLOSE<0.002)),1,0)); D36:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0)); D37:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); D38:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); D39:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1)); D40:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1)); D41:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF ((CLOSE <= J23),1,0)) > 1)); D42:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1))); D43:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1))); KS1:=IF(D1=1,0+0.03,0); KS2:=IF(D2=1,KS1+0.03,KS1); KS3:=IF(D3=1,KS2+0.03,KS2); KS4:=IF(D4=1,KS3+0.03,KS3); KS5:=IF(D5=1,KS4+0.03,KS4); KS6:=IF(D6=1,KS5+0.03,KS5); KS7:=IF(D7=1,KS6+0.03,KS6); KS8:=IF(D8=1,KS7+0.03,KS7); KS9:=IF(D9=1,KS8+0.03,KS8); KS10:=IF(D10=1,KS9+0.03,KS9); KS11:=IF(D11=1,KS10+0.03,KS10); KS12:=IF(D12=1,KS11+0.03,KS11); KS13:=IF(D13=1,KS12+0.03,KS12); KS14:=IF(D14=1,KS13+0.03,KS13); KS15:=IF(D15=1,KS14+0.03,KS14); KS16:=IF(D16=1,KS15+0.03,KS15); KS17:=IF(D17=1,KS16+0.03,KS16); KS18:=IF(D18=1,KS17+0.03,KS17); KS19:=IF(D19=1,KS18+0.03,KS18); KS20:=IF(D20=1,KS19+0.03,KS19); KS21:=IF(D21=1,KS20+0.03,KS20); KS22:=IF(D22=1,KS21+0.03,KS21); KS23:=IF(D23=1,KS22+0.03,KS22); KS24:=IF(D24=1,KS23+0.03,KS23); KS25:=IF(D25=1,KS24+0.03,KS24); KS26:=IF(D26=1,KS25+0.03,KS25); KS27:=IF(D27=1,KS26+0.03,KS26); KS28:=IF(D28=1,KS27+0.03,KS27); KS29:=IF(D29=1,KS28+0.03,KS28); KS30:=IF(D30=1,KS29+0.03,KS29); KS31:=IF(D31=1,KS30+0.03,KS30); KS32:=IF(D32=1,KS31+0.03,KS31); KS33:=IF(D33=1,KS32+0.03,KS32); KS34:=IF(D34=1,KS33+0.03,KS33); KS35:=IF(D35=1,KS34+0.03,KS34); KS36:=IF(D36=1,KS35+0.03,KS35); KS37:=IF(D37=1,KS36+0.03,KS36); KS38:=IF(D38=1,KS37+0.03,KS37); KS39:=IF(D39=1,KS38+0.03,KS38); KS40:=IF(D40=1,KS39+0.03,KS39); KS41:=IF(D41=1,KS40+0.03,KS40); KS42:=IF(D42=1,KS41+0.03,KS41); KS43:=IF(D43=1,KS42+0.03,KS42); DRAWTEXT_FIX(D1=1,0.26,0.05,0,早晨之星,見(jiàn)底回升。),COLORFF00FF ; DRAWTEXT_FIX(D2=1,0.26,0.05,0,黃昏之星,見(jiàn)頂回落。),COLORFFFF00 ; DRAWTEXT_FIX(D3=1,0.26,0.05,0,長(zhǎng)十字,重要的警告信號(hào),原趨勢(shì)停頓或反轉(zhuǎn)。),COLOR00FFFF ; DRAWTEXT_FIX(D4=1,0.26,0.05,0,垂死十字,下跌信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D5=1,0.26,0.05,0,早晨十字星,上漲信號(hào),見(jiàn)底回升。),COLORFF00FF ; DRAWTEXT_FIX(D6=1,0.26,0.05,0,黃昏十字星,趨勢(shì)停頓或反轉(zhuǎn),下跌或,見(jiàn)頂回落。),COLORFFFF00 ; DRAWTEXT_FIX(D7=1,0.26,0.05,0,射擊之星,市場(chǎng)頂部就在眼前,可能見(jiàn)頂回落,可靠性低。),COLORFFFF00 ; DRAWTEXT_FIX(D8=1,0.26,0,0.05,倒轉(zhuǎn)錘頭構(gòu)成一個(gè)看漲信號(hào),可能見(jiàn)底回升。),COLORFF00FF ; DRAWTEXT_FIX(D9=1,0.26,0.05,0,錘頭,可能見(jiàn)底回升,如有量配合,信號(hào)強(qiáng)烈。),COLOR0000FF ; DRAWTEXT_FIX(D10=1,0.26,0.05,0,吊頸,上升行情中見(jiàn)頂回落,頂部出現(xiàn),見(jiàn)頂信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D11=1,0.26,0.05,0,穿頭破腳,頂部出現(xiàn),見(jiàn)頂回落信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D12=1,0.26,0.05,0,烏云蓋頂,見(jiàn)頂回落信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D13=1,0.23,0.15,0,曙光初現(xiàn),將演化為V型反轉(zhuǎn)或橫盤(pán),后市見(jiàn)底回升。),COLORFF00FF ; DRAWTEXT_FIX(D14=1,0.23,0.15,0,身懷六甲,底部,是見(jiàn)底回升,頂部,是見(jiàn)頂回落信號(hào)。),COLOR00FFFF ; DRAWTEXT_FIX(D15=1,0.26,0.20,0,十字胎。),COLOR00FFFF; DRAWTEXT_FIX(D16=1,0.23,0.10,0,平頂,行情見(jiàn)頂,股價(jià)將反轉(zhuǎn),但下跌力度較小。),COLORFFFFFF ; DRAWTEXT_FIX(D17=1,0.26,0.05,0,平底,行情探低見(jiàn)底,股價(jià)行將反轉(zhuǎn)上升,但力度較小。),COLORFFFFFF ; DRAWTEXT_FIX(D18=1,0.23,0.20,0,大陽(yáng)燭,上升中,劇烈地向上攀升。下行中,劇烈地向上反彈。),COLOR0000FF ; DRAWTEXT_FIX(D19=1,0.26,0.05,0,三個(gè)白武士,每日收盤(pán)價(jià)上移,表示可能見(jiàn)底回升。),COLORFFFFFF ; DRAWTEXT_FIX(D20=1,0.23,0.10,0,雙飛烏鴉,行情開(kāi)始疲軟將見(jiàn)頂回落。),COLORFF0000 ; DRAWTEXT_FIX(D21=1,0.26,0,0,孕育線,注意股價(jià)位置。),COLOR00FFFF ; DRAWTEXT_FIX(D22=1,0.26,0.05,0,多方炮,底部可能上漲,中間上漲中繼,頂部見(jiàn)頂信號(hào)。),COLOR00FFFF ; DRAWTEXT_FIX(D23=1,0.26,0.05,0,出水芙蓉,陽(yáng)線穿過(guò)20、40、60日均線,上攻勢(shì)頭初現(xiàn)。),COLORFF00FF ; DRAWTEXT_FIX(D24=1,0.26,0,0,上升三部曲,上漲信號(hào)。),COLORFF00FF ; DRAWTEXT_FIX(D25=1,0.26,0,0,下跌三部曲,下跌信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D26=1,0.26,0.15,0,跳空缺口,突破盤(pán)整,向上漲、向下跌開(kāi)始。),COLOR00FFFF ; DRAWTEXT_FIX(D27=1,0.26,0.05,0,三只烏鴉站枝頭,可能見(jiàn)頂回落。),COLORFFFF00 ; DRAWTEXT_FIX(D28=1,0.23,0.10,0,光腳陰線,下跌信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D29=1,0.26,0.15,0,光頭陽(yáng)線,多方積極上攻態(tài)勢(shì),后市看漲。),COLOR0000FF ; DRAWTEXT_FIX(D30=1,0.26,0.05,0,分離,注意看漲分離和看跌分離。),COLOR00FFFF ; DRAWTEXT_FIX(D31=1,0.20,0.15,0,長(zhǎng)下影,有可能止跌回升,升勢(shì)末期,須小心。),COLOR00FFFF ; DRAWTEXT_FIX(D32=1,0.23,0.10,0,長(zhǎng)上影,表明行情上檔壓力沉重,升勢(shì)受阻。),COLORFFFF00 ; DRAWTEXT_FIX(D33=1,0.20,0.20,0,十字星,重要的警告信號(hào),原趨勢(shì)停頓或反轉(zhuǎn)。),COLOR00FFFF ; DRAWTEXT_FIX(D34=1,0.26,0.05,0,大陰燭,后市向淡,發(fā)生逆轉(zhuǎn)。),COLORFF0000 ; DRAWTEXT_FIX(D35=1,0.23,0.15,0,好友反攻,跌勢(shì)已盡,要展開(kāi)一段反彈行情。),COLORFF00FF ; DRAWTEXT_FIX(D36=1,0.23,0.10,0,傾盆大雨,見(jiàn)頂信號(hào)。),COLORFFFF00 ; DRAWTEXT_FIX(D37=1,0.26,0,0,今日成交量大于昨日,且有繼續(xù)增大趨勢(shì)。),COLORYELLOW ; DRAWTEXT_FIX(D38=1,0.26,0,0,今日成交量小于昨日,但有放大跡象。),COLORFFFF00 ; DRAWTEXT_FIX(D39=1,0.26,0,0,今日成交量大于昨日,但有縮小跡象。); DRAWTEXT_FIX(D40=1,0.26,0,0,今日成交量小于昨日,且有縮小跡象。); DRAWTEXT_FIX(D41=1,0.20,0.25,0,極端行情,在未來(lái)的幾日內(nèi)有85%的機(jī)會(huì)變更方向。); DRAWTEXT_FIX(D42=1,0.20,0.15,0,上漲趨勢(shì)。); DRAWTEXT_FIX(D43=1,0.20,0.15,0,下跌趨勢(shì)。); AY2:=EMA(CLOSE,12)-EMA(CLOSE,26); AZ2:=EMA(AY2,9); LT2:=(AY2-AZ2); L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT; ZGD:=HHV(H,80)*0.99; ZGD2:=CONST(ZGD); ZDD:=LLV(L211,80); ZDD2:=CONST(ZDD); YYA4:=MA(CLOSE,20); YYA5:=(CLOSE > MA(CLOSE,5)); YYA6:=(MA(CLOSE,5) > MA(CLOSE,10)); YYA7:=(CLOSE > MA(CLOSE,10)); YYA8:=(MA(CLOSE,5) > MA(CLOSE,20)); YYA9:=(CLOSE > MA(CLOSE,20)); YYA10:=REF(YYA4,1); YYA11:=(YYA4 > YYA10); YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10))); DSLX:=(CLOSE / INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); YYV1:=MA(VOL,5); YYV2:=MA(VOL,10); J1:=CONST(IF( YYAVX > 0,200,100)); J2:=CONST(IF( YYAVX > 0,00,100)); J3:=CONST(IF( YYAVX > 0,100,100)); ZGD3:=ZGD2; ZDD3:=ZDD2; ZGD4:=ZGD2; 情況1:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW; 情況2:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況3:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0)); 情況4:=CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0)); 情況5:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況6:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況7:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)); 情況8:=CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)); 情況9:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況10:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況11:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)),NODRAW; 情況12:=CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)); 情況13:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況14:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)); 情況15:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)); 情況16:=CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)); 大盤(pán)1:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0)); 大盤(pán)2:=CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0)); 大盤(pán)3:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0)); 大盤(pán)4:=CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0)); 大盤(pán)5:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0)); 大盤(pán)6:=CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0)); 大盤(pán)7:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0)); 大盤(pán)8:=CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0)); MFI:=(HIGH-LOW)*1000000/(VOL*比); 綠燈:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1); MMM1:=CONST(綠燈); 衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1); MMM2:=CONST(衰退); 偽裝:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1); MMM3:=CONST(偽裝); 蟄伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1); MMM4:=CONST(蟄伏); WJ:=(H+L+C)/3; V1:=IF(H=L,1,H-MAX(O,C)); V2:=IF(H=L,1,MAX(C,O)-WJ); V3:=IF(H=L,1,MIN(O,C)-L); V4:=IF(H=L,1,WJ-MIN(C,O)); V5:=VOL/IF(H=L,4,H-L); V6:=(V1*V5); V7:=(V2*V5); V8:=(V3*V5); V9:=(V4*V5); 買(mǎi)盤(pán)1:=DYNAINFO(23)*比; 賣(mài)盤(pán)1:=DYNAINFO(22)*比; 買(mǎi)盤(pán)2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8)); 賣(mài)盤(pán)2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7)); 買(mǎi)盤(pán):=IF(ISLASTBAR AND PERIOD=5 AND C<300,買(mǎi)盤(pán)1,買(mǎi)盤(pán)2); 賣(mài)盤(pán):=IF(ISLASTBAR AND PERIOD=5 AND C<300,賣(mài)盤(pán)1,賣(mài)盤(pán)2); 量大:=(賣(mài)盤(pán)+買(mǎi)盤(pán))/REF(VOL,1)>2; MMM5:=CONST(量大); 量縮:=REF(VOL,1)/(賣(mài)盤(pán)+買(mǎi)盤(pán))>1.5; MMM6:=CONST(量縮); 賣(mài)量大:=(賣(mài)盤(pán)-買(mǎi)盤(pán))/買(mǎi)盤(pán)>0.4; MMM7:=CONST(賣(mài)量大); 買(mǎi)量大:=(買(mǎi)盤(pán)-賣(mài)盤(pán))/賣(mài)盤(pán)>0.4; MMM8:=CONST(買(mǎi)量大); TS1:=IF(情況1=1,0.06+0.06,0.06); TS2:=IF(情況2=1,TS1+0.06,TS1); TS3:=IF(情況3=1,TS2+0.06,TS2); TS4:=IF(情況4=1,TS3+0.06,TS3); TS5:=IF(情況5=1,TS4+0.06,TS4); TS6:=IF(情況6=1,TS5+0.06,TS5); TS7:=IF(情況7=1,TS6+0.06,TS6); TS8:=IF(情況8=1,TS7+0.06,TS7); TS9:=IF(情況9=1,TS8+0.06,TS8); TS10:=IF(情況10=1,TS9+0.06,TS9); TS11:=IF(情況11=1,TS10+0.06,TS10); TS12:=IF(情況12=1,TS11+0.06,TS11); TS13:=IF(情況13=1,TS12+0.06,TS12); TS14:=IF(情況14=1,TS13+0.06,TS13); TS15:=IF(情況15=1,TS14+0.06,TS14); TS16:=IF(情況16=1,TS15+0.06,TS15); TS17:=IF(大盤(pán)1=1,TS16+0.06,TS16); TS18:=IF(大盤(pán)2=1,TS17+0.06,TS17); TS19:=IF(大盤(pán)3=1,TS18+0.06,TS18); TS20:=IF(大盤(pán)4=1,TS19+0.06,TS19); TS21:=IF(大盤(pán)5=1,TS20+0.06,TS20); TS22:=IF(大盤(pán)6=1,TS21+0.06,TS21); TS23:=IF(大盤(pán)7=1,TS22+0.06,TS22); TS24:=IF(大盤(pán)8=1,TS23+0.06,TS23); TS25:=IF(MMM1=1,TS24+0.06,TS24); TS26:=IF(MMM2=1,TS25+0.06,TS25); TS27:=IF(MMM3=1,TS26+0.06,TS26); TS28:=IF(MMM4=1,TS27+0.06,TS27); TS29:=IF(MMM5=1,TS28+0.03,TS28); TS30:=IF(MMM6=1,TS29+0.03,TS29); TS31:=IF(MMM7=1,TS30+0.03,TS30); TS32:=IF(MMM8=1,TS31+0.03,TS31); DRAWTEXT_FIX(情況1=1 ,0.02,0,0,量能理想,明顯走強(qiáng),中線參與,倉(cāng)位控制在70%左右。),COLORFF00FF; DRAWTEXT_FIX(情況2=1 ,0.02,0,0,走勢(shì)趨強(qiáng),量能不足,短線進(jìn)場(chǎng),倉(cāng)位控制在50%左右。),COLORFF00FF; DRAWTEXT_FIX(情況3=1 ,0.02,0,0,量?jī)r(jià)良好,并無(wú)明顯走強(qiáng),短線可進(jìn)場(chǎng),倉(cāng)位50%左右。),COLORFF00FF; DRAWTEXT_FIX(情況4=1 ,0.02,0,0,形態(tài)尚可,量能不足,未全走強(qiáng),短入,倉(cāng)位30%左右。),COLORFF00FF; DRAWTEXT_FIX(情況5=1 ,0.02,0,0,形態(tài)已變壞,走勢(shì)尚可,重倉(cāng)者減大半,清倉(cāng)者%觀望。),COLOR00FFFF; DRAWTEXT_FIX(情況6=1 ,0.02,0,0,隨大盤(pán)下跌,明顯縮量,考慮大盤(pán)風(fēng)險(xiǎn),減持或清倉(cāng)。),COLOR00FFFF; DRAWTEXT_FIX(情況7=1 ,0.02,0,0,該股放量下跌,走勢(shì)明顯偏弱,不搶反彈,離場(chǎng)觀望。),COLORFFFFFF; DRAWTEXT_FIX(情況8=1 ,0.02,0,0,該股縮量下跌,走勢(shì)偏弱無(wú)力,人氣散失,離場(chǎng)觀望。),COLORFFFF00; DRAWTEXT_FIX(情況9=1 ,0.02,0,0,該股形態(tài)良好,強(qiáng)勢(shì)明顯,量能充足,可以繼續(xù)持有。),COLOR00FFFF; DRAWTEXT_FIX(情況10=1,0.02,0,0,上行趨勢(shì)不變,強(qiáng)勢(shì)依然,量能開(kāi)始轉(zhuǎn)弱,注意風(fēng)險(xiǎn)。),COLOR00FFFF; DRAWTEXT_FIX(情況11=1,0.02,0,0,該股仍然具備上漲潛力,但股性偏弱,可以考慮減倉(cāng)。),COLORFFFFFF; DRAWTEXT_FIX(情況12=1,0.02,0,0,該股走勢(shì)趨弱,量能明顯不足,減大部分籌碼或空倉(cāng)。),COLORFFFF00; DRAWTEXT_FIX(情況13=1,0.02,0,0,該股形態(tài)不佳,注意成交量變化,但目前不適合參與。),COLORFFFF00; DRAWTEXT_FIX(情況14=1,0.02,0,0,該股趨勢(shì)不明,股價(jià)偏弱,注意量能變化,暫不參與。),COLORFFFF00; DRAWTEXT_FIX(情況15=1,0.02,0,0,有走強(qiáng)跡象,但量能不足,趨勢(shì)不明朗,不適合操作。),COLORFFFF00; DRAWTEXT_FIX(情況16=1,0.02,0,0,該股走勢(shì)太弱,主動(dòng)性買(mǎi)盤(pán)弱,沒(méi)有太大的參與價(jià)值。),COLORFFFFFF; DRAWTEXT_FIX(大盤(pán)1,0.02,0.05,0,總勢(shì)量能理想,70%倉(cāng)位, 若最佳買(mǎi)點(diǎn),否則謹(jǐn)慎介入。),COLOR00FF00; DRAWTEXT_FIX(大盤(pán)2,0.02,0.05,0,總勢(shì)趨強(qiáng),量不足,若前輪下跌,短進(jìn)50%,量大加倉(cāng)。),COLORFF00FF; DRAWTEXT_FIX(大盤(pán)3,0.02,0.05,0,總勢(shì)形態(tài)走壞,重倉(cāng)者可減去大部分倉(cāng)位或放空籌碼。),COLORAAAAAA; DRAWTEXT_FIX(大盤(pán)4,0.02,0.05,0,總勢(shì)縮量調(diào)整,注意大盤(pán)系統(tǒng)風(fēng)險(xiǎn),短線可清倉(cāng)觀望。),COLORFFFFFF; DRAWTEXT_FIX(大盤(pán)5,0.02,0.05,0,總勢(shì)走勢(shì)良好,量能理想,可繼續(xù)持有或加倉(cāng)強(qiáng)勢(shì)股。),COLOR00FFFF; DRAWTEXT_FIX(大盤(pán)6,0.02,0.05,0,總勢(shì)形態(tài)良好,但量能稍顯不足,隨時(shí)準(zhǔn)備減倉(cāng)調(diào)倉(cāng)。),COLOR00FF00; DRAWTEXT_FIX(大盤(pán)7,0.02,0.05,0,總勢(shì)趨勢(shì)不明,注意成交量變化,目前暫不適宜進(jìn)場(chǎng)。),COLORFFFFFF; DRAWTEXT_FIX(大盤(pán)8,0.02,0.05,0,總勢(shì)趨勢(shì)向下,量能萎縮,短線可殺跌,不適合進(jìn)場(chǎng)。),COLORFFFFFF; DRAWTEXT_FIX(MMM1,0.02,0.10,0,[綠燈]實(shí)計(jì)交易量增加。MFI促進(jìn)指數(shù)增加。),COLORFFFFFF; DRAWTEXT_FIX(MMM2,0.02,0.10,0,[衰退]實(shí)計(jì)交易量減少。MFI促進(jìn)指數(shù)減少。),COLORGREEN; DRAWTEXT_FIX(MMM3,0.02,0.10,0,[偽裝]實(shí)計(jì)交易量減少。MFI促進(jìn)指數(shù)增加。),COLORGREEN; DRAWTEXT_FIX(MMM4,0.02,0.10,0,[蟄伏]實(shí)計(jì)交易量增加。MFI促進(jìn)指數(shù)減少。),COLORYELLOW; DRAWTEXT_FIX(MMM5,0.02,0.15,0,★今天比昨天的成交量放大一倍以上。),COLORGREEN; DRAWTEXT_FIX(MMM6,0.02,0.15,0,★今天比昨天的成交量縮量一半以上。),COLORYELLOW; DRAWTEXT_FIX(MMM7,0.02,0.20,0,☆該股今天賣(mài)出量大于買(mǎi)入量40%以上。),COLORGREEN; DRAWTEXT_FIX(MMM8,0.02,0.20,0,☆該股今天買(mǎi)入量大于賣(mài)出量40%以上。),COLORYELLOW;
|