知博陋室
知博陋室交易系統(tǒng)指標(biāo)公式匯總
知博陋室交易系統(tǒng)指標(biāo)公式匯總【主圖】
主圖指標(biāo)
{布林通道——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(01)}
收盤價(jià)05:MA(CLOSE,5),COLOR0055FF;{棕色 COLOR0055FF 珊瑚紅 COLORFF7F00 中石板藍(lán)色 COLOR7F00FF}
收盤價(jià)10:MA(CLOSE,10),COLORFF7F00;{棕色 COLOR0055FF 珊瑚紅 COLORFF7F00 中石板藍(lán)色 COLOR7F00FF}
K線:DRAWKLINE(H,O,L,C);
M1:=MA(C,1);
收盤價(jià)標(biāo)識(shí):=DRAWTEXT(CURRBARSCOUNT=1,M1,' ★')COLOR0099FF;{海藍(lán) COLOR70DB93};
MA250:=MA(CLOSE,250)COLORRED,LINETHICK3; {中長線指標(biāo)——目前,熊市時(shí)段,暫時(shí)關(guān)閉。}
LY:=10;
BL:=40;
CJQS:=XMA(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
內(nèi)上軌:IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05)LINETHICK2,COLORWHITE;
內(nèi)下軌:IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95)LINETHICK2,COLORYELLOW;
外上軌:IF(CURRBARSCOUNT>BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1)LINETHICK3,COLORRED;{中鮮黃色 COLOREAEAAE 淺木色 COLORE9C2A6}
外下軌:IF(CURRBARSCOUNT>BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9)LINETHICK3,COLORGREEN;
頂:DRAWTEXT(FILTER(EXIST(LONGCROSS(內(nèi)上軌,外上軌,25),10)AND CROSS(REF(內(nèi)上軌,1),REF(內(nèi)上軌,0)),5),內(nèi)上軌+1.2,'逃頂')COLORGREEN;{《小弟超兄》}
底:DRAWTEXT(FILTER(EXIST(LONGCROSS(外下軌,內(nèi)下軌,25),10)AND CROSS(REF(內(nèi)下軌,0),REF(內(nèi)下軌,1)),5),內(nèi)下軌-1.2,'抄底')COLORMAGENTA;
收盤價(jià)超買:DRAWTEXT(CURRBARSCOUNT=1 AND CLOSE>外上軌,M1,' ★')COLORGREEN;{海藍(lán) COLOR70DB93};
收盤價(jià)超賣:DRAWTEXT(CURRBARSCOUNT=1 AND CLOSE<外下軌,M1,' ★')COLORMAGENTA;{海藍(lán) COLOR70DB93};
平衡:EMA(C,10),CIRCLEDOT,COLORWHITE,NODRAW;
上軌:平衡+2*STD(C,10)DOTLINE,LINETHICK1,COLORGREEN;{上軌-綠 色}
下軌:平衡-2*STD(C,10)DOTLINE,LINETHICK1,COLORMAGENTA;{下軌-紫紅色}
中軌多頭:DRAWTEXT((CLOSE >平衡),平衡,'●'),COLOR0000FF;{COLOR0000FF}
中軌空頭:DRAWTEXT((平衡 > CLOSE),平衡,'●'),COLORFF6600;{COLORFF6600}
K線01:=STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
K線02:=STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
K線03:=STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
K線04:=STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
K線05:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.5,0 ),COLORFF7700;
K線06:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF9900;
K線07:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLORFFBB00;
K線08:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFCC00;
K線09:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 ),COLORFFDD00;
K線10:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFEE00;
K線11:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLORFFFF00;
K線12:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0) ,COLOR000055;
K線13:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000066;
K線14:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLOR000077;
K線15:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000099;
K線16:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0) ,COLOR0000BB;
K線17:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;
K線18:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLOR0000FF;
笑臉:DRAWICON(CROSS(REF(內(nèi)下軌,0),REF(平衡,0)),下軌-1,5);
哭臉:DRAWICON(CROSS(REF(平衡,0),REF(內(nèi)下軌,0)),上軌+1,6);
{立樁量}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
圖標(biāo)3:=STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF;
買1跌破內(nèi)下軌:DRAWTEXT(EXIST(CROSS(內(nèi)下軌,REF(CLOSE,0)),2)AND CROSS(REF(CLOSE,0),REF(OPEN,0))AND REF(內(nèi)下軌,0)>REF(內(nèi)下軌,1),REF(LOW,0)-0.1,'①')COLORRED;
買2跌破外下軌:DRAWTEXT(CROSS(外下軌,REF(LOW,0))AND REF(外下軌,0)>REF(外下軌,1),REF(LOW,0)-0.2,'②')COLORLIMAGENTA;
買3跌破雙軌:DRAWTEXT(FILTERX(CROSS(REF(內(nèi)下軌,0),REF(CLOSE,0))AND CROSS(REF(外下軌,0),REF(CLOSE,0)),5),REF(LOW,0)-0.5,'③')COLOR0055FF; {棕色 COLOR0055FF}
賣1雛雞破殼:DRAWTEXT(CROSS(REF(CLOSE,0),REF(內(nèi)上軌,0)),REF(HIGH,0)+0.1,'①')COLORGREEN;
賣2破二重天:DRAWTEXT(CROSS(REF(CLOSE,0),REF(內(nèi)上軌,0))AND CROSS(REF(CLOSE,0),REF(外上軌,0)),外上軌+0.2,'②')COLOR70DB93;{海藍(lán) COLOR70DB93}
賣3白龍回首:DRAWTEXT(LONGCROSS(REF(外上軌,1),REF(外上軌,0),50),外上軌+0.5,'③')COLORLIBLUE;
持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL)POINTDOT;{霓虹籃 COLOR4D4DFF 海軍藍(lán) COLOR23238E}
空倉:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL)POINTDOT;{中春綠 COLOR7FFF00 橙色 COLORFF7F00}
BS:STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
持倉標(biāo)識(shí):=DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20),'*')COLORRED;{海藍(lán) COLOR70DB93};
空倉標(biāo)識(shí):=DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20),'*')COLORGREEN;{海藍(lán) COLOR70DB93};
D1:=1;
AA1:=DRAWGBK(' 選股公式——《薛斯通道》','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.1000.18,0,AA1),COLOR4E2F2F,LINETHICK2;
附加1:=DRAWTEXT_FIX(1,0.8,0.1,0,'所屬板塊:'),COLORFF6000;
附加2:=DRAWTEXT_FIX(1,0.87,0.1,0,HYBLOCK),COLORRED;
附加3:=DRAWTEXT_FIX(1,0.935,0.1,0,DYBLOCK),COLORYELLOW;
停牌:=DYNAINFO(4)>0;
警:=C<40 AND C<外下軌 AND C<內(nèi)下軌 AND 停牌=1 AND 內(nèi)上軌<外上軌
AND ((((外上軌-C)/C)*100/3>8 AND ((內(nèi)上軌-C)/C)*100/3>5)
OR (((外上軌-C)/C)*100/3>7.5 AND ((內(nèi)上軌-C)/C)*100/3>6));
笑臉B:DRAWICON(FILTERX(笑臉,1),外下軌-0.2,1);
哭臉C:DRAWICON(FILTERX(哭臉,1),外上軌+0.2,2);
{系統(tǒng)均線——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(02)}
{參數(shù) M1:1 1000 05 M2:1 1000 10 M3:1 1000 20 M4:1 1000 30 M5:1 1000 60 M6:1 1000 120}
MA05:MA(CLOSE,5)COLORWHITE;
MA10:MA(CLOSE,10)COLORYELLOW;
MA20:MA(CLOSE,20)COLORGREEN,LINETHICK1;
MA30:MA(CLOSE,30)COLORMAGENTA;
MA60:MA(CLOSE,60)COLORRED,DOTLINE;{虛線,DOTLINE};
MA120:MA(CLOSE,120)COLOR4E2F2F;{暗色,COLOR4E2F2F,印度紅};
MA250:MA(CLOSE,250)COLORLICYAN;{暗色,COLOR4E2F2F,印度紅};
持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLORMAGENTA;{霓虹籃 COLOR4D4DFF}
空倉:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLOR7FFF00,{中春綠 COLOR7FFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
持倉標(biāo)識(shí):DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20),'*')COLORRED;{海藍(lán) COLOR70DB93};
空倉標(biāo)識(shí):DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20),'*')COLORGREEN;{海藍(lán) COLOR70DB93};
{神奇 DDE}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR001:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A001:=(EMA(VAR001,3)+EMA(VAR001,6)+EMA(VAR001,12)+EMA(VAR001,24))/4;
A002:=EMA(A001,2);
A003:=EMA(A002,2);
A4:=EMA(A003,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028;
A9:=MA(OPEN,3.2)*1.028;
安全線:=EMA(CLOSE,55),COLORGREEN, POINTDOT,LINETHICK2;
MCST:=DMA((AMOUNT/(VOL*100)),VOL/CAPITAL),COLORRED,POINTDOT,LINETHICK4;
{V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
撐價(jià):REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCDCDCD;
阻價(jià):REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORYELLOW;}
{箱體}{P,3,30,10}
阻力:=PEAK(CLOSE,10,1)*0.98,COLORWHITE;
支撐:=TROUGH(CLOSE,10,1)*1.02,COLORYELLOW;
買入:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)>REF(支撐,1)COLORRED;
賣出:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)>REF(阻力,1)COLORGREEN;
多頭:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)
空頭:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)
牛1:=買入;
牛1圖標(biāo):DRAWTEXT(牛1,LOW-3,'牛耕田')COLOR0099FF;
熊2:=賣出;
熊2圖標(biāo):DRAWTEXT(熊2,HIGH+3,'熊冬眠')COLORLIBLUE;
牛3:=多頭;
牛3圖標(biāo)1:=DRAWICON(牛3,LOW-3,1);
牛3圖標(biāo)2:DRAWTEXT(牛3,LOW-3,'拐點(diǎn)')COLORRED;
熊4:=空頭;
熊4圖標(biāo)1:=DRAWICON(熊4,HIGH+3,2);
熊4圖標(biāo)2:DRAWTEXT(熊4,HIGH+3,'拐點(diǎn)')COLORCYAN;
D1:=1;
AA1:=DRAWGBK(' 通用均線。60均線(虛線),120均線(暗線)','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLOR0099FF,LINETHICK2;
D2:=1;
AA2:=DRAWGBK('【AIT+1鍵】一個(gè)窗口;','.','.','.','.','.');
AA2圖標(biāo):=DRAWTEXT_FIX(D2=1,0,0.0680.18,0,AA2),COLORRED,LINETHICK2;
D3:=1;
AA3:=DRAWGBK('【AIT+N鍵】N 個(gè)窗口;','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.1360.18,0,AA3),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' 指數(shù)趨勢(shì)走勢(shì)分析請(qǐng)用20號(hào)多彩均線指標(biāo)模板','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2100.18,0,AA4),COLORLIBLUE,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' 指數(shù)頂?shù)准夹g(shù)分析請(qǐng)用02號(hào)薛斯通道指標(biāo)模板','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.2880.18,0,AA5),COLORYELLOW,LINETHICK2;
D6:=1;
AA6:=DRAWGBK(' 預(yù)知大盤有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA6圖標(biāo):=DRAWTEXT_FIX(D6=1,0,0.3660.18,0,AA6),COLORLIMAGENTA,LINETHICK2;
D7:=1;
AA7:=DRAWGBK(' 預(yù)知個(gè)股有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA7圖標(biāo):=DRAWTEXT_FIX(D7=1,0,0.4440.18,0,AA7),COLORLICYAN,LINETHICK2;
D8:=1;
AA8:=DRAWGBK(' 選股公式——《主力動(dòng)向》','.','.','.','.','.');
AA8圖標(biāo):=DRAWTEXT_FIX(D8=1,0,0.5220.18,0,AA8),COLOR4E2F2F,LINETHICK2;
{飛龍頂?shù)住┞医灰紫到y(tǒng)主圖私密經(jīng)典指標(biāo)(03)}
攻擊線5:MEMA(C,5);
操盤線10:MEMA(C,10);
生命線21:MEMA(C,21)COLORGREEN,LINETHICK1;
決策線60:MEMA(C,60)COLORMAGENTA,DOTLINE;
年線251:MEMA(C,251)COLORLICYAN,POINTDOT;
N:=20;
M:=30;
P1:=80;
P2:=100;
VAR101:=(C+H+O+L)/4;
高拋線:XMA(VAR101,N)*(1+P1/1000),COLORRED,LINETHICK2;
低吸線:XMA(VAR101,M)*(1-P2/1000),COLORLIBLUE,LINETHICK2;
{將賣出與買入二列中的字母XMA改寫成MA——
即去除掉MA字母前面的X,就可以刪除掉公式中的未來函數(shù)了。
而我則依然愿意保留著它。}
幅度:=100*(高拋線-低吸線)/低吸線,NODRAW;
MA1:=MA(VAR101,3);
STICKLINE(高拋線>LOW AND 高拋線
STICKLINE(高拋線>MIN(C,O) AND 高拋線
STICKLINE(高拋線>LOW AND 高拋線
STICKLINE(高拋線
STICKLINE(高拋線
STICKLINE(低吸線>LOW AND 低吸線
STICKLINE(低吸線>MIN(C,O) AND 低吸線
STICKLINE(低吸線>LOW AND 低吸線
STICKLINE(低吸線>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(低吸線>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
買:=DRAWTEXT(CROSS(LOW,低吸線),LOW*0.95,'買'),COLORRED;
賣:=DRAWTEXT(CROSS(高拋線,HIGH),HIGH*1.02,'賣'),COLORYELLOW;
MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
MA30:=MA(CLOSE,37);
MAP:=MA(CLOSE,8);
AA5:=MA(CLOSE,21);
AA10:=MA(CLOSE,8),COLORFF0000;
AA12:=MA(CLOSE,12),COLORFF0000;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
中期大底:=LLV(LOW,30),;
短期底部0:=LLV(HIGH,30);
短底:=EMA(VAR01,5);
支撐:=HHV(短底,60);
壓力1:=HHV(LOW,20),COLORFAABEC;
壓力:=SMA(LOW,5,1);
中線:=MA(CLOSE,3);
DRAWTEXT(FILTER(((((HIGH > 支撐) AND (CLOSE < 支撐)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'.'),COLORFFFF00;
中軌道:=(MA(HIGH,15) * 1.05);
天:=(MA(LOW,15) * 0.985);
人:=(MA(LOW,15) * 0.96);
地:=(((HIGH + LOW) + CLOSE) / 3);
B1:=HHV(地,(4 * 15));
B6:=LLV(地,(4 * 15));
B7:=(B1 - B6);
B8:=(MA(((地 - B6) / B7),2) * 80);
VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200);
飛龍頂?shù)拙€1:=SMA(VAR1,3,1);
VAR2:=SMA(飛龍頂?shù)拙€1,3,1);
VAR3:=((3 * 飛龍頂?shù)拙€1) - (2 * VAR2));
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,5);
VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);
VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);
VAR8:=((3 * VAR6) - (2 * VAR7));
VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));
VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));
VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));
VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);
VARD:=((SMA(VARC,3,1) * 1.5) - 100);
VARE:=SMA(VARD,3,1);
VARF:=((3 * VARD) - (2 * VARE));
VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);
VAR11:=EMA(VAR10,13);
VAR12:=STD(VAR10,13);
VAR13:=(((VAR10 - VAR11) * 100) / VAR12);
VAR14:=EMA(VAR13,5);
VAR15:=EMA(VAR14,13);
VAR16:=((EMA(VAR14,13) + 200) - 100);
VAR17:=EMA(VAR16,10);
VAR18:=((3 * VAR16) - (2 * VAR17));
VAR19:=(((飛龍頂?shù)拙€1 + VAR6) + VARD) + VAR16);
VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);
VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);
VAR1C:=(((HIGH + LOW) + CLOSE) / 3);
VAR1D:=((AMOUNT / VOL) / 100);
VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);
VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));
VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);
VAR22:=EMA(VAR21,24);
VAR23:=STD(VAR21,24);
VAR24:=(((VAR21 - VAR22) / VAR23) * 100);
VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));
VAR26:=EMA(VAR24,5);
VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));
VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));
VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);
VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);
VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);
VAR2C:=VAR2B;
短線:=MA(VAR2C,26);
MID:=(短線 + (2 * STD(VAR2C,26)));
UPPER:=(短線 - (2 * STD(VAR2C,26)));
LOWER:=IF((VAR2C > 短線),短線,VAR2C);
XY:=MA(CLOSE,5);
M80:=MA(CLOSE,80);
短期底部:=(LLV(HIGH,30) * 0.93);
MA80:=LLV(HIGH,30);
短期底部2:=SMA(CLOSE,2,1);
趨勢(shì):=(MA(LOW,10) * 0.96);
趨:=(EMA(OPEN,107) * 0.897);
超跌位2:=MA(CLOSE,15);
GF:=MA(CLOSE,10);
MAN:=(SMA(HIGH,21,2) * 1.05);
上1:=(HHV(短底,60) * 0.92);
壓力2:=(SMA(HIGH,21,2) * 1.035);
阻擋線:=(SMA(LOW,21,2) * 0.96);
下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RSV:=SMA(下檔線,3,1);
K:=SMA(RSV,3,1);
D:=((3 * RSV) - (2 * K));
J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);
VAR5P:=MA(VAR4P,3);
VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
RSV12:=SMA(VAR6P,3,1);
K12:=SMA(RSV12,3,1);
D12:=((3 * RSV12) - (2 * K12));
J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(J12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));
壓力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D))));
支撐位:=IF((CLOSE >= MA(CLOSE,20)),80,50);
U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
L2L:=IF(((D < 支撐位) AND (REF(D,1) >= 支撐位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撐位) AND (REF(D,1) < 支撐位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撐位) AND (REF(D,1) < 支撐位))) - 1)),BARSLAST(((D < 支撐位) AND REF(D,1)))));
RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));
RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));
RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D < D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D < D24)))));
RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1)))));
RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));
RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));
RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D > D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24)))));
長期底部:=LLV(HIGH,30);
DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 長期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'.'),COLOR0EABFF;
RL5:=(SMA(HIGH,5,2) * 1.05);
上:=(SMA(LOW,5,2) * 0.96);
下:=SMA(LOW,2,1);
中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X1:=EMA(中,10);
X2:=REF(X1,1);
X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X5:=REF(CLOSE,1);
X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);
X7:=CROSS(79,X6);
X8:=FILTER(X7,4);
X9:=MA(CLOSE,115);
VAR001:=EMA(CLOSE,8);
飛龍頂?shù)拙€:=EMA(VAR001,20);
VAR002:=CROSS(VAR001,飛龍頂?shù)拙€);
VAR003:=(VAR001 < MA(CLOSE,20));
VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR005:=SMA(VAR004,5,1);
VAR006:=SMA(VAR005,8,1);
VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));
VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007);
VAR009:=IF((CLOSE > 1000),VAR007,VAR008);
VAR00F:=CROSS(X1,X2);
MA115:=VAR00F;
低買:=(VAR002 AND VAR003);
逃遁:=(SMA(HIGH,21,2) * 1.05);
阻擋:=(SMA(LOW,21,2) * 0.94);
持倉:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED,{COLOR0099FF};
空倉:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORCYAN,{COLORDDFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
D1:=1;
AA1:=DRAWGBK(' K 線翻綠——準(zhǔn)備拋頂','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLORGREEN;
D2:=1;
AA2:=DRAWGBK(' K 線翻紅——準(zhǔn)備抄底','.','.','.','.','.');
AA2圖標(biāo):DRAWTEXT_FIX(D2=1,0,0.0710.18,0,AA2),COLORRED;
D3:=1;
AA3:=DRAWGBK(' 主圖副圖——配合使用','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.1410.18,0,AA3),COLORLIBLUE;
D4:=1;
AA4:=DRAWGBK(' 慢進(jìn)快出——穩(wěn)健操盤','.','.','.','.','.');
AA4圖標(biāo):DRAWTEXT_FIX(D4=1,0,0.2110.18,0,AA4),COLOR0099FF;
D8:=1;
AA8:=DRAWGBK(' 附:選股公式——《飛龍頂?shù)住贰?,'.','.','.','.','.');
AA8圖標(biāo):DRAWTEXT_FIX(D8=1,0,0.3010.18,0,AA8),COLOR4E2F2F;
{天堂孤影——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(04)}
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);
{主升柱}
孤影圖示01:STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;
VARD:=CLOSE
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);
{主跌柱}
孤影圖示02:STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,1),COLORLIBLUE;
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;
孤影圖示03:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;
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;
{藍(lán)頂外框}
孤影圖示04:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00;
孤影圖示05:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;
孤影圖示06:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;
孤影圖示07:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;
{黃金底}
孤影圖示08:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;
{藍(lán)頂}
孤影圖示09:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE;
{藍(lán)頂中心線}
孤影圖示10:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;
{升跌過渡}
孤影走勢(shì):MA(C,5),COLORLIGRAY,LINETHICK2;
{上升線}
萬籌朝孤:IF(孤影走勢(shì)>REF(孤影走勢(shì),1),孤影走勢(shì),DRAWNULL),COLORFF00FF,LINETHICK2;
{下跌線}
孤影棄籌:IF(孤影走勢(shì)
X:=(3*C+L+O+H)/6;
{上升點(diǎn)線} {天堂孤影絕殺專用}
天堂之路:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLOR77AAFF,LINETHICK2;
DD:=天堂之路
{下跌點(diǎn)線}
地獄之門:IF(DD,天堂之路,DRAWNULL),COLORWHITE,LINETHICK2,POINTDOT,LINETHICK5;
{天堂孤影絕殺專用}
A:=(孤影走勢(shì)>天堂之路);
{上升點(diǎn)}
天堂孤影:IF(A,天堂之路,DRAWNULL),COLORRED,POINTDOT,LINETHICK5;
持倉:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORMAGENTA;{霓虹籃 COLOR4D4DFF}
空倉:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLOR7FFF00,{中春綠 COLOR7FFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
D1:=1;
AA1:=DRAWGBK(' 附:選股公式——《天堂孤影》。','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.0180.18,0,AA1),COLOR4E2F2F,LINETHICK2;
{臺(tái)灣力道——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(05)}
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN
C1:=IF(XOPEN
{K線}
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0,0 ),COLORCYAN;
STICKLINE(XOPEN>=XCLOSE,C1,O1,4,0 ),COLOR990000;
STICKLINE(XOPEN>=XCLOSE,C1,O1,3,0 ),COLORCC0000;
STICKLINE(XOPEN>=XCLOSE,C1,O1,2.5,0 ),COLORFF4400;
STICKLINE(XOPEN>=XCLOSE,C1,O1,1.5,0 ),COLORFF8800;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.9,0 ),COLORFFCC00;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.3,0 ),COLORCYAN;
STICKLINE(XOPEN
STICKLINE(XOPEN
STICKLINE(XOPEN
STICKLINE(XOPEN
STICKLINE(XOPEN
STICKLINE(XOPEN
STICKLINE(XOPEN
HH:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+REF(H,5))/21;
LL:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+REF(L,5))/21;
A1:=IF(C>REF(EXPMEMA(H,6),1),1,0);
A2:=IF(C
A3:=A1+A2;
A4:=IF(A3=0,REF(A3,BARSLAST(NOT(A3=0))),A3);
轉(zhuǎn)折線:IF(A4=-1,MA(HIGH,6),MA(LOW,6))LINETHICK2,COLORFFFFFF;
持倉:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),
DRAWNULL),CIRCLEDOT,COLORMAGENTA,{COLOR9955FF};
空倉:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),
DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
D1:=1;
AA1:=DRAWGBK(' 選股公式——《臺(tái)灣力道》','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.0500.18,0,AA1),COLOR4E2F2F;
{大盤均線——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(06)}
{參數(shù) M1:1 1000 05 M2:1 1000 10 M3:1 1000 20 M4:1 1000 30 M5:1 1000 60 M6:1 1000 120}
MA05:MA(CLOSE,5)COLORWHITE;
MA10:MA(CLOSE,10)COLORYELLOW;
MA20:=MA(CLOSE,20)COLORGREEN,LINETHICK1;
MA30:=MA(CLOSE,30)COLORMAGENTA;
MA60:=MA(CLOSE,60)COLORRED,DOTLINE;{虛線,DOTLINE};
MA120:=MA(CLOSE,120)COLOR4E2F2F;{暗色,COLOR4E2F2F,印度紅};
MA250:=MA(CLOSE,250)COLORLICYAN;{暗色,COLOR4E2F2F,印度紅};
持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLORMAGENTA;{霓虹籃 COLOR4D4DFF}
空倉:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLOR7FFF00,{中春綠 COLOR7FFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
持倉標(biāo)識(shí):DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20),'*')COLORRED;{海藍(lán) COLOR70DB93};
空倉標(biāo)識(shí):DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20),'*')COLORGREEN;{海藍(lán) COLOR70DB93};
{神奇 DDE}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR001:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A001:=(EMA(VAR001,3)+EMA(VAR001,6)+EMA(VAR001,12)+EMA(VAR001,24))/4;
A002:=EMA(A001,2);
A003:=EMA(A002,2);
A4:=EMA(A003,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028;
A9:=MA(OPEN,3.2)*1.028;
安全線:=EMA(CLOSE,55),COLORGREEN, POINTDOT,LINETHICK2;
MCST:=DMA((AMOUNT/(VOL*100)),VOL/CAPITAL),COLORRED,POINTDOT,LINETHICK4;
{V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
撐價(jià):REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCDCDCD;
阻價(jià):REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORYELLOW;}
{箱體}{P,3,30,10}
阻力:=PEAK(CLOSE,10,1)*0.98,COLORWHITE;
支撐:=TROUGH(CLOSE,10,1)*1.02,COLORYELLOW;
買入:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)>REF(支撐,1)COLORRED;
賣出:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)>REF(阻力,1)COLORGREEN;
多頭:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)
空頭:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)
牛1:=買入;
牛1圖標(biāo):DRAWTEXT(牛1,LOW-80,'牛耕田')COLOR0099FF;
熊2:=賣出;
熊2圖標(biāo):DRAWTEXT(熊2,HIGH+80,'熊冬眠')COLORLIBLUE;
牛3:=多頭;
牛3圖標(biāo)1:=DRAWICON(牛3,LOW-80,1);
牛3圖標(biāo)2:DRAWTEXT(牛3,LOW-80,'拐點(diǎn)')COLORRED;
熊4:=空頭;
熊4圖標(biāo)1:=DRAWICON(熊4,HIGH+80,2);
熊4圖標(biāo)2:DRAWTEXT(熊4,HIGH+80,'拐點(diǎn)')COLORCYAN;
D1:=1;
AA1:=DRAWGBK(' 通用均線。60均線(虛線),120均線(暗線)','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLOR0099FF,LINETHICK2;
D2:=1;
AA2:=DRAWGBK('【AIT+1鍵】一個(gè)窗口;','.','.','.','.','.');
AA2圖標(biāo):=DRAWTEXT_FIX(D2=1,0,0.0680.18,0,AA2),COLORRED,LINETHICK2;
D3:=1;
AA3:=DRAWGBK('【AIT+N鍵】N 個(gè)窗口;','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.1360.18,0,AA3),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' 指數(shù)趨勢(shì)走勢(shì)分析請(qǐng)用20號(hào)多彩均線指標(biāo)模板','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2100.18,0,AA4),COLORLIBLUE,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' 指數(shù)頂?shù)准夹g(shù)分析請(qǐng)用02號(hào)薛斯通道指標(biāo)模板','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.2880.18,0,AA5),COLORYELLOW,LINETHICK2;
D6:=1;
AA6:=DRAWGBK(' 預(yù)知大盤有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA6圖標(biāo):=DRAWTEXT_FIX(D6=1,0,0.3660.18,0,AA6),COLORLIMAGENTA,LINETHICK2;
D7:=1;
AA7:=DRAWGBK(' 預(yù)知個(gè)股有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA7圖標(biāo):=DRAWTEXT_FIX(D7=1,0,0.4440.18,0,AA7),COLORLICYAN,LINETHICK2;
D8:=1;
AA8:=DRAWGBK(' 選股公式——《主力動(dòng)向》','.','.','.','.','.');
AA8圖標(biāo):=DRAWTEXT_FIX(D8=1,0,0.5220.18,0,AA8),COLOR4E2F2F,LINETHICK2;
{個(gè)股均線——知博陋室交易系統(tǒng)主圖私密經(jīng)典指標(biāo)(07)}
{參數(shù) M1:1 1000 05 M2:1 1000 10 M3:1 1000 20 M4:1 1000 30 M5:1 1000 60 M6:1 1000 120}
MA05:MA(CLOSE,5)COLORWHITE;
MA10:MA(CLOSE,10)COLORYELLOW;
MA20:=MA(CLOSE,20)COLORGREEN,LINETHICK1;
MA30:=MA(CLOSE,30)COLORMAGENTA;
MA60:=MA(CLOSE,60)COLORRED,DOTLINE;{虛線,DOTLINE};
MA120:=MA(CLOSE,120)COLOR4E2F2F;{暗色,COLOR4E2F2F,印度紅};
MA250:=MA(CLOSE,250)COLORLICYAN;{暗色,COLOR4E2F2F,印度紅};
持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLORMAGENTA;{霓虹籃 COLOR4D4DFF}
空倉:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),POINTDOT,COLOR7FFF00,{中春綠 COLOR7FFF00};
STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
持倉標(biāo)識(shí):DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20),'*')COLORRED;{海藍(lán) COLOR70DB93};
空倉標(biāo)識(shí):DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20),'*')COLORGREEN;{海藍(lán) COLOR70DB93};
{神奇 DDE}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR001:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A001:=(EMA(VAR001,3)+EMA(VAR001,6)+EMA(VAR001,12)+EMA(VAR001,24))/4;
A002:=EMA(A001,2);
A003:=EMA(A002,2);
A4:=EMA(A003,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028;
A9:=MA(OPEN,3.2)*1.028;
安全線:=EMA(CLOSE,55),COLORGREEN, POINTDOT,LINETHICK2;
MCST:=DMA((AMOUNT/(VOL*100)),VOL/CAPITAL),COLORRED,POINTDOT,LINETHICK4;
{V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
撐價(jià):REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCDCDCD;
阻價(jià):REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORYELLOW;}
{箱體}{P,3,30,10}
阻力:=PEAK(CLOSE,10,1)*0.98,COLORWHITE;
支撐:=TROUGH(CLOSE,10,1)*1.02,COLORYELLOW;
買入:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)>REF(支撐,1)COLORRED;
賣出:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)>REF(阻力,1)COLORGREEN;
多頭:=EXIST(REF(支撐,1)=REF(支撐,2),1) AND REF(支撐,0)
空頭:=EXIST(REF(阻力,1)=REF(阻力,2),1) AND REF(阻力,0)
牛1:=買入;
牛1圖標(biāo):DRAWTEXT(牛1,LOW-1,'牛耕田')COLOR0099FF;
熊2:=賣出;
熊2圖標(biāo):DRAWTEXT(熊2,HIGH+1,'熊冬眠')COLORLIBLUE;
牛3:=多頭;
牛3圖標(biāo)1:=DRAWICON(牛3,LOW-1,1);
牛3圖標(biāo)2:DRAWTEXT(牛3,LOW-1,'拐點(diǎn)')COLORRED;
熊4:=空頭;
熊4圖標(biāo)1:=DRAWICON(熊4,HIGH+1,2);
熊4圖標(biāo)2:DRAWTEXT(熊4,HIGH+1,'拐點(diǎn)')COLORCYAN;
D1:=1;
AA1:=DRAWGBK(' 通用均線。60均線(虛線),120均線(暗線)','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLOR0099FF,LINETHICK2;
D2:=1;
AA2:=DRAWGBK('【AIT+1鍵】一個(gè)窗口;','.','.','.','.','.');
AA2圖標(biāo):=DRAWTEXT_FIX(D2=1,0,0.0680.18,0,AA2),COLORRED,LINETHICK2;
D3:=1;
AA3:=DRAWGBK('【AIT+N鍵】N 個(gè)窗口;','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.1360.18,0,AA3),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' 指數(shù)趨勢(shì)走勢(shì)分析請(qǐng)用20號(hào)多彩均線指標(biāo)模板','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2100.18,0,AA4),COLORLIBLUE,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' 指數(shù)頂?shù)准夹g(shù)分析請(qǐng)用02號(hào)薛斯通道指標(biāo)模板','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.2880.18,0,AA5),COLORYELLOW,LINETHICK2;
D6:=1;
AA6:=DRAWGBK(' 預(yù)知大盤有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA6圖標(biāo):=DRAWTEXT_FIX(D6=1,0,0.3660.18,0,AA6),COLORLIMAGENTA,LINETHICK2;
D7:=1;
AA7:=DRAWGBK(' 預(yù)知個(gè)股有無行情請(qǐng)用15號(hào)莊影頂?shù)字笜?biāo)模板','.','.','.','.','.');
AA7圖標(biāo):=DRAWTEXT_FIX(D7=1,0,0.4440.18,0,AA7),COLORLICYAN,LINETHICK2;
D8:=1;
AA8:=DRAWGBK(' 選股公式——《主力動(dòng)向》','.','.','.','.','.');
AA8圖標(biāo):=DRAWTEXT_FIX(D8=1,0,0.5220.18,0,AA8),COLOR4E2F2F,LINETHICK2;
{濟(jì)安分時(shí)——知博陋室交易系統(tǒng)分時(shí)主圖指標(biāo)(08)}
C,COLORWHITE,LINETHICK;
DE:=CONST(LLV(L,90));
JI:=CONST(HHV(H,90))-DE;
DE_K:=DE+JI/3*2;
JI_K:=JI/2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DE_A:=CONST(LLV(RSV,90));
DD_A:=CONST(HHV(RSV,90))-DE_A;
R:=(RSV-DE_A)/DD_A;
RSV1:=R*JI_K+DE_K;
DE_M:=DE+JI/3;
JI_M:=JI/2;
KDL:=CONST(LLV(EMA(C,26),90));
KDH:=CONST(HHV(EMA(C,26),90))-KDL;
R_K1:=(EMA(C,12)-KDL)/KDH;
R_K2:=(EMA(C,26)-KDL)/KDH;
DIF~:(R_K1-R_K2)*JI*1.5+DE_M,LINETHICK1,COLORRED;
DEA~:EMA(DIF~,9),LINETHICK1,COLORLIGREEN;
MACD~:=(DIF~-DEA~)*2+DE_M;
STICKLINE(MACD~>=DE_M,MACD~,DE_M,0,0),COLORRED,LINETHICK2;
D_1:=MACD~>H AND H>=DE_M AND DE_M>=L;
D_2:=MACD~>H AND H>=L AND L>DE_M;
D_3:=H>MACD~ AND MACD~>=L AND L>DE_M;
D_4:=H>MACD~ AND MACD~>DE_M AND DE_M>=L;
STICKLINE(D_1>0,H,DE_M,0,0),COLORYELLOW;
STICKLINE(D_2,H,L,0,0),COLORYELLOW;
STICKLINE(D_3,MACD~,L,0,0),COLORYELLOW;
STICKLINE(D_4,MACD~,DE_M,0,0),COLORYELLOW;
D_5:=MACD~<=DE_M AND DE_M<=H;
D_6:=MACD~
D_7:=L<=H AND H
D_8:=L<=H;
STICKLINE(MACD~
STICKLINE(D_5,DE_M,L,0,0),COLORYELLOW;
STICKLINE(D_6,H,L,0,0),COLORYELLOW;
STICKLINE(D_7,H,MACD~,0,0),COLORYELLOW;
STICKLINE(D_8,DE_M,MACD~,0,0),COLORYELLOW;
均線:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
知博陋室交易系統(tǒng)指標(biāo)公式匯總【副圖】
副圖指標(biāo)
{飛龍量能——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(01)}
AT:=IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
階段地量:=AT
STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL)COLORLIBLUE,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLORLIBLUE;
量:VOL,VOLSTICK,COLORLIBLUE;{成交量};
A:=(啟動(dòng) CROSS 洗盤);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
DD:=VAR8>5;
買入:=IF((COUNT(DD,2)=2),-20,0);
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力進(jìn)場(chǎng):=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLORRED;
STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,4,1 ),COLORRED;
震倉:=IF(VAR5S
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動(dòng)買:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE
買:主動(dòng)買/10000,COLORRED,LINETHICK1;
主動(dòng)賣:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
賣:-主動(dòng)賣/10000,COLORGREEN,LINETHICK1;
參與度:買/(買+賣),COLORLIBLUE;{參與度}
盤比:(買/賣),COLOR0099FF;{盤比}
量比:DYNAINFO(17),COLORRED;{量比};
啟動(dòng)_05:MEMA(量,5)COLORWHITE;{啟動(dòng)}
均衡_10:MEMA(量,10)COLORYELLOW;{均衡}
洗盤_35:MEMA(量,35)COLORGREEN;{洗盤}
異動(dòng)_135:MEMA(量,135)COLORMAGENTA;{異動(dòng)};
WW:=VOL/REF(VOL,1)>2;
GG:=C>O;
STICKLINE (WW AND GG,0,VOL,0.01225,0),COLORGREEN;
QQ:=C
STICKLINE (WW AND QQ,0,VOL*0.989,0.01225,0),COLORRED;
底量:IF((CROSS(震倉,主力進(jìn)場(chǎng))AND 買入=-20),100,0),STICK,COLORMAGENTA,LINETHICK1;
STICKLINE(底量,0,HHV(V,15),2.23,1),COLORMAGENTA;
STICKLINE(底量,0,HHV(V,15),0.21,1),COLORMAGENTA;
底線:0,LINETHICK1,COLORRED;
D1:=1;
AA1:=DRAWGBK(' 綠色空心柱,為階段地量。','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLOR0099FF,LINETHICK2;
D2:=1;
AA2:=DRAWGBK(' 紅柱包綠柱,股價(jià)多上漲。','.','.','.','.','.');
AA2圖標(biāo):=DRAWTEXT_FIX(D2=1,0,0.0910.18,0,AA2),COLORRED,LINETHICK2;
D3:=1;
AA3:=DRAWGBK(' 藍(lán)柱包紅柱,股價(jià)多下跌。','.','.','.','.','.');
AA3圖標(biāo):=DRAWTEXT_FIX(D3=1,0,0.1810.18,0,AA3),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' 紫紅量柱是個(gè)股底部標(biāo)識(shí)。','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2710.18,0,AA4),COLORMAGENTA,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' 參與度大于0.5當(dāng)日上漲概率高;反之則下跌概率高。','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.3610.18,0,AA5),COLORLIBLUE,LINETHICK2;
D6:=1;
AA6:=DRAWGBK(' 選股公式——《地量見底》','.','.','.','.','.');
AA6圖標(biāo):=DRAWTEXT_FIX(D6=1,0,0.4610.18,0,AA6),COLOR4E2F2F,LINETHICK2;
{單雙MACD——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(02)}
HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,21);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
NP:=(HSNP7-HSNP);
NL:=(HSNP-HSNP7);
圖示01:=STICKLINE(NL<0,0,-NL,1,0),COLORRED;
圖示02:=STICKLINE(NP<0,0,NP,1,0),COLORGREEN;
JJ:=(C*2+H+L)/4;
SK:= EMA(JJ,13) - EMA(JJ,21);
A11:=EMA(CLOSE,14)-EMA(CLOSE,34);
B11:=EMA((0.668*REF(A11,1)+0.333*A11),1);
短1:IF(A11>=B11,A11,B11),LINETHICK1,COLORRED;
短2:IF(B11-A11,B11,A11),LINETHICK1,COLORGREEN;
SD:= EMA(SK,3);
SP:= EMA(SK,10);
長1:IF(SD>=SP,SD,SP),LINETHICK1,COLORMAGENTA;
長2:IF(SP-SD,SP,SD),LINETHICK1,COLORLIBLUE;
短多:=CROSS(REF((B11-A11,B11,A11),0),REF((A11>=B11,A11,B11),0))COLORRED;
短空:=CROSS(REF((A11>=B11,A11,B11),0),REF((B11-A11,B11,A11),0))COLORGREEN;
長多:=CROSS(REF((SP-SD,SP,SD),0),REF((SD>=SP,SD,SP),0))COLORYELLOW;
長空:=CROSS(REF((SD>=SP,SD,SP),0),REF((SP-SD,SP,SD),0))COLORLIBLUE;
短多標(biāo)識(shí)A11:DRAWTEXT(FILTERX(短多,20),短多,'●')COLORRED;
短空標(biāo)識(shí)B11:DRAWTEXT(FILTERX(短空,20),短空,'●')COLORGREEN;
長多標(biāo)識(shí)C1:DRAWTEXT(FILTERX(長多,50),長多,'●')COLORYELLOW;
長空標(biāo)識(shí)D1:DRAWTEXT(FILTERX(長空,50),長空,'●')COLORLIBLUE;
短多標(biāo)識(shí)A2:STICKLINE(FILTERX(短多,20),短多,(B11-A11,B11,A11),0,-1)COLORRED;
短空標(biāo)識(shí)B2:STICKLINE(FILTERX(短空,20),短空,(B11-A11,B11,A11),0,-1)COLORGREEN;
長多標(biāo)識(shí)C2:STICKLINE(FILTERX(長多,50),長多,(SP-SD,SP,SD),0,-1)COLORYELLOW;
長空標(biāo)識(shí)D2:STICKLINE(FILTERX(長空,50),長空,(SP-SD,SP,SD),0,-1)COLORLIBLUE;
{引入超強(qiáng)MACD}
DIFF:=EMA(CLOSE,7)-EMA(CLOSE,19);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
M底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
K底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
R底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
M頂背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
K頂背:IF(D2>0,0.1,0),COLORFF7F00,POINTDOT;{珊瑚紅 COLORFF7F00}
R頂背:IF(D3>0,0.1,0),COLOR215E21,POINTDOT;{獵人綠 COLOR215E21}
標(biāo)識(shí)01:STICKLINE(B1>0,-0.1,0,3,0),COLORRED;
標(biāo)識(shí)02:STICKLINE(B2>0,-0.1,0,3,0),COLORFF00FF;
標(biāo)識(shí)03:STICKLINE(B3>0,-0.1,0,3,0),COLORYELLOW;
標(biāo)識(shí)04:STICKLINE(D1>0,0.1,0,3,0),COLOR00FF00;
標(biāo)識(shí)05:STICKLINE(D2>0,0.1,0,3,0),COLORFF7F00;
標(biāo)識(shí)06:STICKLINE(D3>0,0.1,0,3,0),COLOR215E21;
標(biāo)識(shí)07:STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORRED;
標(biāo)識(shí)08:STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORYELLOW;
標(biāo)識(shí)09:STICKLINE(MACD<0,0,MACD,0.1,0),COLORCYAN;
標(biāo)識(shí)10:STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0.1,0),COLORGREEN;
標(biāo)識(shí)11:STICKLINE(C>0,0,0,50,1),COLORBLUE;
DIFF,NODRAW,COLORGREEN;
DEA,NODRAW,COLORYELLOW;
強(qiáng):=IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;
弱:=IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
多多金叉:DRAWICON(CROSS(REF(短1,0),REF(長1,0)),長1-0.8,5);
{經(jīng)典MACD——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(03)}
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
MACD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORWHITE;
STICKLINE(MACD1
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF:DIF1,COLOR33FF33;
DEA:DEA1,COLORYELLOW;
MACD:MACD1,NODRAW,COLORMAGENTA;
牛熊分界線:0,COLORWHITE;
強(qiáng):IF(DIF1>=DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2;
弱:IF(DIF1<=DEA1,DIF1,DRAWNULL),COLORGREEN,LINETHICK2;
轉(zhuǎn)強(qiáng)標(biāo)識(shí):=DRAWTEXT(CROSS(REF(DIF,0),REF(DEA,0))AND DIF<0,DIF+0.2,'●')COLORYELLOW;
轉(zhuǎn)弱標(biāo)識(shí):=DRAWTEXT(CROSS(REF(DEA,0),REF(DIF,0))AND DIF>0,DIF+0.2,'●')COLORGREEN;
超強(qiáng)標(biāo)識(shí):=DRAWTEXT(CROSS(REF(DIF,0),REF(DEA,0))AND DIF>0,DIF-0.2,'▲')COLORMAGENTA;
超弱標(biāo)識(shí):=DRAWTEXT(CROSS(REF(DEA,0),REF(DIF,0))AND DIF<0,DIF-0.2,'▼')COLORLIBLUE;
D1:=1;
AA1:=DRAWGBK(' 0 軸為多空分水嶺,牛熊分界線。','.','.','.','.','.');
AA1圖標(biāo):=DRAWTEXT_FIX(D1=1,0,0.0010.18,0,AA1),COLOR0099FF;
D2:=1;
AA2:=DRAWGBK(' 0 軸之上金叉多為趨勢(shì)反轉(zhuǎn)信號(hào)。','.','.','.','.','.');
AA2圖標(biāo):=DRAWTEXT_FIX(D2=1,0,0.0830.18,0,AA2),COLORRED;
D3:=1;
AA3:=DRAWGBK(' 0 軸之下金叉多為短線反彈信號(hào)。','.','.','.','.','.');
AA3圖標(biāo):=DRAWTEXT_FIX(D3=1,0,0.1660.18,0,AA3),COLORGREEN;
D4:=1;
AA4:=DRAWGBK(' MACD之“頂背離”和“底背離”是個(gè)股在轉(zhuǎn)勢(shì)前的“預(yù)警”信號(hào)。','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2490.18,0,AA4),COLOR4E2F2F;
{超強(qiáng)MACD——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(04)}
DIFF:EMA(CLOSE,7) - EMA(CLOSE,19);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
MACD頂背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
KDJ頂背:IF(D2>0,0.1,0),COLORFF7F00,POINTDOT;{珊瑚紅 COLORFF7F00}
RSI頂背:IF(D3>0,0.1,0),COLOR215E21,POINTDOT;{獵人綠 COLOR215E21}
STICKLINE(B1>0,-0.1,0,2,0),COLORRED;
STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;
STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;
STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;
STICKLINE(D2>0,0.1,0,2,0),COLORFF7F00;
STICKLINE(D3>0,0.1,0,2,0),COLOR215E21;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORRED;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORYELLOW;
STICKLINE(MACD<0,0,MACD,0.1,0),COLORCYAN;
STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0.1,0),COLORGREEN;
STICKLINE(C>0,0,0,50,1),COLORBLUE;
DIFF,COLORGREEN;
DEA,COLORYELLOW;強(qiáng):IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;
弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
D10:=1;
AA10:=DRAWGBK(' 0 軸為多空分水嶺,牛熊分界線。','.','.','.','.','.');
AA10圖標(biāo):=DRAWTEXT_FIX(D10=1,0,0.0010.18,0,AA10),COLOR0099FF,LINETHICK2;
D20:=1;
AA20:=DRAWGBK(' 0 軸之上金叉多為趨勢(shì)反轉(zhuǎn)信號(hào)。','.','.','.','.','.');
AA20圖標(biāo):=DRAWTEXT_FIX(D20=1,0,0.0830.18,0,AA20),COLORRED,LINETHICK2;
D30:=1;
AA30:=DRAWGBK(' 0 軸之下金叉多為短線反彈信號(hào)。','.','.','.','.','.');
AA30圖標(biāo):=DRAWTEXT_FIX(D30=1,0,0.1660.18,0,AA30),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' MACD之DIF上0 軸為個(gè)股走牛信號(hào)。','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2490.18,0,AA4),COLORMAGENTA,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' MACD之DIF下0 軸為個(gè)股走熊信號(hào)。','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.3380.18,0,AA5),COLORLIBLUE,LINETHICK2;
{莊影頂?shù)住┞医灰紫到y(tǒng)副圖私密經(jīng)典指標(biāo)(05)}
VAR01:=1;
VAR02:=1/WINNER(CLOSE);
VAR03:=MA(CLOSE,13);
VAR04:=100-ABS((CLOSE-VAR03)/VAR03*100);
VAR05:=LLV(LOW,75);VAR06:=HHV(HIGH,75);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VAR09:=SMA((OPEN-VAR05)/VAR07,20,1);
VAR10:=REF(LOW,1);
VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MAX(LOW-VAR10,0),3,1)*100;
VAR12:=EMA(IF(CLOSE*1.2,VAR11*10,VAR11/10),3);
VAR13:=LLV(LOW,38);
VAR14:=HHV(VAR12,38);
VAR15:=IF(LLV(LOW,90),1,0);
VAR16:=EMA(IF(LOW<=VAR13,(VAR12+VAR14*2)/2,0),3)/618*VAR15;
VARA:=3*VAR08-2*SMA(VAR08,15,1);
VARB:=3*VAR09-2*SMA(VAR09,15,1);
VARC:=100-VARB;
有莊的影子:STICKLINE(VAR16,0,VAR16,1,1),COLORLIRED;
莊影:VAR16,NODRAW,COLORLIRED;
新莊:(100-IF(VAR02>5,IF(VAR02<100,VAR02,VAR04-10),0))*VAR01,COLORWHITE,POINTDOT;{COLOR4E2F2F}
新莊圖標(biāo):STICKLINE(1,新莊,100,1,1),COLORWHITE;
短線:=MA(WINNER(CLOSE*0.95)*100,3)*VAR01,COLORWHITE,DOTLINE;
主力中線籌碼:=(100-VARA)*VAR01,COLOR0099FF,DOTLINE;
中線籌碼:=(REVERSE(主力中線籌碼)+100)COLORWHITE,DOTLINE;
籌碼:MEMA(中線籌碼,2)COLOR8C7853,COLORRED;{COLOR8C7853 青銅色}
收盤:=MEMA((0+VARA)*VAR01,2),COLORRED,LINETHICK1;
開盤:=MEMA((0+VARB)*VAR01,3),COLORGREEN,LINETHICK1;
趨勢(shì)線:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORRED;
VARD:=短線>VAR04;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;
VAR17:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR18:=EMA(VAR17,30);
VAR19:=CLOSE-REF(CLOSE,1);
VAR20:=MAX(VAR12,0);
VAR21:=ABS(VAR12);
VAR22:=SMA(VAR20,7,1)/SMA(VAR21,7,1)*100;
VAR23:=SMA(VAR20,13,1)/SMA(VAR21,13,1)*100;
VAR24:=BARSCOUNT(CLOSE);
VAR25:=SMA(MAX(VAR19,0),6,1)/SMA(ABS(VAR19),6,1)*100;
VAR26:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR27:=VAR25<=25 AND VAR26<-95 AND VAR1F>20 AND VAR1B<-30
AND VAR1E<30 AND VAR25-CLOSE>=-0.25 AND VAR22<22
AND VAR23<28 AND VAR24>50;
RSV91:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
中線:=SMA(RSV91,5,1),COLORLIMAGENTA,LINETHICK2;
VARD圖標(biāo):=STICKLINE(VARD,VAR04,短線,2.5,0),COLORGREEN;
中線走勢(shì):=收盤<=(15)AND LONGCROSS(REF(收盤,0),REF(開盤,0),30);
中線多頭:DRAWTEXT(FILTERX(中線走勢(shì),30),6.58,'★中線多頭')COLOR0099FF;
VAR1控盤:=EMA(EMA(CLOSE,13),13);
控盤:=(VAR1控盤-REF(VAR1控盤,1))/REF(VAR1控盤,1)*1000;
控1:=STICKLINE(控盤<0,控盤,0,1,1),COLOR00FF00;
控2:=STICKLINE(控盤>REF(控盤,1) AND 控盤<0,控盤,0,1,1),COLORFF00FF;
無莊控盤:=控盤<0;
控3:=STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1),COLOR0000FF;
有莊控盤:=控盤>REF(控盤,1) AND 控盤>0;
VAR2控盤:=100*WINNER(CLOSE*0.95);
控4:=STICKLINE(控盤0,控盤,0,1,1),COLORFFFF00;
主力出貨:=控盤0;
控5:=STICKLINE(VAR2控盤>50 AND COST(85)0,控盤,0,1,1),COLOR00FFFF;
高度控盤:=VAR2控盤>50 AND COST(85)0,COLORMAGENTA,LINETHICK2;
A101:=CROSS(控盤,0);
控盤B:=FILTER(IF(A101,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M11:=3;
財(cái):=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
神:=EMA(財(cái),M11),COLORGREEN,LINETHICK1;
控6:=DRAWBAND(財(cái),RGB(255,0,0),神,RGB(0,100,50));
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盤0.5;
STJ02:=控盤>0;
BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2;
BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ;
BTJ3:=CROSS(財(cái),神) AND 財(cái)<-0.3;
BTJ32:=CROSS(財(cái),神) AND 財(cái)<-0.1;
STJ31:=CROSS(神,財(cái));
STJ32:=CROSS(神,財(cái)) AND 財(cái)>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
控7:=DRAWTEXT(BTJ81,神,'↑買底'),COLORRED;
控8:=DRAWTEXT(BTJ811,神*1.2,'↑有莊'),COLORWHITE;
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
控9:=DRAWTEXT(STJ83,神,'↓賣'),COLOR00FF00;
DIFF值:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED;
DEA值:=EMA(DIFF值,3),COLORGREEN;
莊:=BTJ11 AND BTJ2 AND BTJ3;
莊底:=FILTER(莊,55),COLORWHITE;
買底:DRAWTEXT(FILTERX(BTJ811 AND BTJ81 AND 收盤<=(15),30),-6.58,' 莊底'),COLORLIMAGENTA;
賣頂:DRAWTEXT(STJ81 AND STJ82 AND 收盤>=(85),105.58,' 莊頂'),COLORLIBLUE;
莊底柱標(biāo)1:=STICKLINE(買底,-12,-0.18,0.0001,1),COLORLIMAGENTA;
莊頂柱標(biāo)1:=STICKLINE(賣頂,112,100.18,0.001,1),COLORLIBLUE;
莊底圖標(biāo)2:DRAWICON(買底,-6.58,17),COLORLIMAGENTA;
莊頂圖標(biāo)2:DRAWICON(賣頂,105.58,17),COLORLIBLUE;
成交量:=VOL,VOLSTICK,COLORLIBLUE;
啟動(dòng)量05:=MA(成交量,05)COLORWHITE;
洗盤量10:=MA(成交量,10)COLORYELLOW;
異動(dòng)量35:=MA(成交量,35)COLORMAGENTA;
多頭量1:DRAWTEXT(FILTERX(CROSS(REF(啟動(dòng)量05,0),REF(洗盤量10,1))AND 籌碼<(0),18),-18,'●量金叉')COLORRED;
多頭量2:DRAWTEXT(FILTERX(CROSS(REF(洗盤量10,0),REF(異動(dòng)量35,1))AND 籌碼<(5),10),-18,'●量金叉')COLORYELLOW;
空頭量1:DRAWTEXT(FILTERX(CROSS(REF(洗盤量10,1),REF(啟動(dòng)量05,0))AND 籌碼>(100),18),-18,'●量死叉')COLORLIBLUE;
AT:=IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
階段地量:=AT
地量1:=STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
地量2:=STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL)COLORWHITE,NODRAW;
VVOL柱標(biāo):=STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLORLIBLUE;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
DD:=VAR8>5;
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力進(jìn)場(chǎng):=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLORRED;
進(jìn)場(chǎng)柱標(biāo):=STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,1.80,1),COLORRED;
震倉:=IF(VAR5S
A:=(啟動(dòng) CROSS 洗盤);
AB:=(啟動(dòng) CROSS 洗盤);
BB2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動(dòng)買:=IF(CLOSE>OPEN,BB2*(HIGH-LOW),IF(CLOSE
主買:主動(dòng)買/10000,COLORRED,LINETHICK1,NODRAW;
主動(dòng)賣:=IF(CLOSE>OPEN,0-BB2*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
主賣:-主動(dòng)賣/10000,COLORGREEN,LINETHICK1,NODRAW;
參與:主買/(主買+主賣),NODRAW,COLORLIBLUE;
盤比:(主買/主賣),NODRAW,COLORYELLOW;
量比:DYNAINFO(17),NODRAW,COLORRED;
買入:=IF((COUNT(DD,2)=2),-20,0)COLORBLACK;
底:IF((CROSS(震倉,主力進(jìn)場(chǎng))AND 買入=-20),100,0),STICK,COLORMAGENTA,LINETHICK1;
V1:=(C*3+H+L)/5*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);VB:=(V9-VA)/2;
主力動(dòng)向:=EMA(V4,2),COLORRED;
機(jī)構(gòu)動(dòng)向:=EMA(VB,2),COLORMAGENTA;
主力動(dòng)向1:=(SLOPE(主力動(dòng)向,2)>0 AND SLOPE(機(jī)構(gòu)動(dòng)向,2)>0,主力動(dòng)向),COLORRED,LINETHICK1;
主力動(dòng)向2:=(SLOPE(主力動(dòng)向,2)<0,主力動(dòng)向),COLORGREEN,LINETHICK1;
機(jī)構(gòu)動(dòng)向1:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)>0 AND SLOPE(主力動(dòng)向,2)>0,機(jī)構(gòu)動(dòng)向),COLORMAGENTA,LINETHICK1;
機(jī)構(gòu)動(dòng)向2:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)<0,機(jī)構(gòu)動(dòng)向),COLORWHITE,LINETHICK1;
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=ZZLKP-ZZLJJ;
AAA:=EMA(ZJLRQD,1);BBB:=EMA(AAA,5);CCC:=AAA-BBB;
CCC柱標(biāo)1:=STICKLINE(CCC
CCC柱標(biāo)2:=STICKLINE(CCC>REF(CCC,2),CCC,0,2,1), COLORRED;
主力資金試盤:=IF(CROSS(AAA,BBB),3,0),STICK,LINETHICK4,COLOR0080FF;
主力對(duì)倒出貨:=IF(CROSS(BBB,AAA),-3,0),STICK,LINETHICK4,COLOR00FF00;
VAR881:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR82:=SMA(ABS(LOW-VAR881),13,1)/SMA(MAX(LOW-VAR881,0),10,1);
VAR83:=EMA(VAR82,10);
VAR84:=LLV(LOW,33);
VAR85:=EMA(IF(LOW<=VAR84,VAR83,0),5);
慘跌柱標(biāo):STICKLINE(VAR85>REF(VAR85,1),0,VAR85,1,0),COLORGREEN;
洗盤陰柱標(biāo):STICKLINE(VAR85
主力拉升柱標(biāo):STICKLINE(VAR85
莊出沒:=慘跌柱標(biāo)+洗盤陰柱標(biāo)+主力拉升柱標(biāo);{主力動(dòng)向之莊出沒}
{引入有莊控盤之金手指}
VAR1G:=EMA(EMA(CLOSE,9),9);
主力控盤:=(VAR1G-REF(VAR1G,1))/REF(VAR1G,1)*100;
無莊:IF(主力控盤<0,主力控盤,0),COLORLIBLUE,NODRAW;
無莊柱標(biāo):STICKLINE(主力控盤<0,主力控盤+100,100,1,1),COLORLIBLUE;
A10:=CROSS(主力控盤,0);
有莊:IF(A10,5,0),LINETHICK1,COLORMAGENTA;
有莊圖標(biāo):DRAWICON(A10 AND 籌碼<(20),-6.5,11);{金手指出現(xiàn)}
初控:IF(主力控盤>REF(主力控盤,1) AND 主力控盤>0,主力控盤,0),COLOR0099FF,NODRAW;
初控柱標(biāo):STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤>0,主力控盤,0,1,1),COLOR0099FF;
VAR2G:=100*WINNER(CLOSE*0.95);
高控:IF(VAR2G>50 AND COST(85)0,主力控盤,1),COLORRED,NODRAW;
高控柱標(biāo):STICKLINE(VAR2G>50 AND COST(85)0,主力控盤,0,1,1),COLORRED;
出貨:IF(主力控盤0,主力控盤,0),COLORGREEN,NODRAW;
出貨柱標(biāo):STICKLINE(出貨,(-出貨+100),100,1,1),COLORGREEN;
RSV999:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1999:=SMA(RSV999,3,1);
D1999:=SMA(K1999,3,1);
KK999:=INTPART(K1999);
DD999:=INTPART(D1999);
風(fēng)險(xiǎn)系數(shù):=KK999+DD999;{變異KD風(fēng)險(xiǎn)系數(shù)TFXXS}
乖離系數(shù):=(風(fēng)險(xiǎn)系數(shù)-REF(風(fēng)險(xiǎn)系數(shù),1));{變異KD乖離系數(shù)TGLXS:資金流向}
主力籌碼:=EMA(WINNER(CLOSE)*70,3);{主力籌碼估算ZLCM}
散戶籌碼:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散戶籌碼估算SHCM}
散戶套牢:=散戶籌碼/(主力籌碼+散戶籌碼)*100;{散戶套牢籌碼系數(shù)ZSHTL}
主力布控:=主力籌碼/(主力籌碼+散戶籌碼)*100;{主力控盤籌碼系數(shù)ZZLKP}
散戶警戒:=EMA(散戶套牢,55);{散戶警戒ZSHJJ}
主力警戒:=EMA(主力布控,55);{主力警戒ZZLJJ}
散兵坑:=IF(主力布控<=10,主力布控,主力布控),COLORMAGENTA,NODRAW;
散兵坑柱標(biāo):STICKLINE(主力布控<=10,-3,-0.08,1,0),{COLORDD00DD}COLOR0099FF;
散兵坑過濾:=FILTERX(主力布控<=10,18)AND 籌碼<(10);
散兵坑字標(biāo):DRAWTEXT(散兵坑過濾,105.58,'“散兵坑”')COLOR0099FF;
高山:112.98,COLOR4E2F2F;
地界:-25.00,COLOR4E2F2F;
零軸:0,COLOR4E2F2F;
高點(diǎn)線:=80,COLORGREEN,DOTLINE;
低點(diǎn)線:=20,COLORRED,DOTLINE;
界軸:100,COLOR4E2F2F;
輔助線1:=-10,COLORLICYAN;
中軸:=50,DOTLINE,COLOR4E2F2F;
D1:=1;
AA1:=DRAWGBK(' “莊底” 買股,','.','.','.','.','.');
AA1字標(biāo):DRAWTEXT_FIX(D1=1,0,0.1350.18,0,AA1),COLORLIMAGENTA;
D2:=1;
AA2:=DRAWGBK(' “莊頂” 賣股。','.','.','.','.','.');
AA2字標(biāo):DRAWTEXT_FIX(D2=1,0,0.1350.18,0,AA2),COLORLIBLUE;
D3:=1;
AA3:=DRAWGBK(' 選股公式——《莊影頂?shù)住?,'.','.','.','.','.');
AA3字標(biāo):DRAWTEXT_FIX(D3=1,0,0.39990.18,0,AA3),COLOR4E2F2F,LINETHICK2;
{跟莊武器——知博陋室交易系統(tǒng)副圖私秘經(jīng)典指標(biāo)(06)}
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1)*100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
VAR100:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR200:=EMA(VAR100,8);
VAR300:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢(shì):=EMA(VAR300,5)-10,COLORCYAN;
趨勢(shì)上穿0:DRAWICON(FILTERX(CROSS(趨勢(shì),0),15),15,1);
趨勢(shì)線1:EMA(VAR300,3)-10,COLORLIMAGENTA;{COLORA68064 中木色_細(xì)立柱}{COLOR00009C 新深藏青色}
趨勢(shì)線1字標(biāo):DRAWTEXT(FILTERX(LONGCROSS(趨勢(shì)線1,趨勢(shì),3),10)AND 趨勢(shì)<=(20),-25,'▲')COLOR0099FF;
VAR400:=(趨勢(shì)-REF(趨勢(shì),1))/REF(趨勢(shì),1)*100;
趨勢(shì)線2:趨勢(shì),COLORFF7F00; {COLORD9D9F3 石英色}
趨勢(shì)低于負(fù)5柱標(biāo):STICKLINE(趨勢(shì)<=-5,112,116,1,1),COLOR4E2F2F;{印度紅_頂部空心立柱};
趨勢(shì)低于負(fù)5字標(biāo):DRAWTEXT(FILTERX(趨勢(shì)<=-5,25),35,'準(zhǔn)備'),COLORA68064;{中木色底部文字};
VAR500:=FILTER((趨勢(shì)>=90 AND VAR400),10);{趨勢(shì)高位,加速趕頂。}
趨勢(shì)預(yù)警柱標(biāo):STICKLINE(趨勢(shì)>=90 AND VAR400,130,125,1,1),COLORWHITE;{白色_頂部實(shí)心立柱};
趨勢(shì)預(yù)警字標(biāo):DRAWTEXT(VAR500,115,'清倉'),COLORGRAY;{深灰色};
VAR600:=LLV(LOW,30);
VAR700:=HHV(HIGH,30);
VAR800:=EMA((CLOSE-VAR600)/(VAR700-VAR600)*4,4)*25;
VAR800柱標(biāo):STICKLINE(VAR800>90,102,106,1,1),COLORRED; {紅色_頂部空心立柱};
VAR9000:=(VAR800-LLV(VAR800,4))/(HHV(VAR800,4)-LLV(VAR800,4))*100;
數(shù)錢:DRAWICON(FILTERX(CROSS(90,VAR800),25),95,9);{數(shù)錢圖標(biāo)};
VAR1000:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
VAR1100:=HHV(VAR1000,30)*8;
五指山:EMA(IF(LOW<=VAR600 AND 趨勢(shì)<40,(VAR1000+VAR1100),0),3)/618,COLORRED,POINTDOT;
五指山柱標(biāo)10:STICKLINE(五指山>0,0 ,五指山,2,1 ),COLORRED;
VAR1200:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
VAR1300:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
VAR1400:=MAX(EMA(VAR1200,2)-EMA(VAR1300,5),0)*200;
VAR1500:=EMA(VAR1400,5)/4;
分水嶺:VAR1500,STICK,COLORA68064;{中木色_細(xì)立柱}
分水嶺加注柱標(biāo):STICKLINE(VAR1500
VAR1600:=MA(趨勢(shì)線2,8);
分水嶺多頭:DRAWICON(FILTERX(CROSS(REF(分水嶺,0),REF(分水嶺,1)),25)AND 趨勢(shì)<(35),-11.88,15){跑步進(jìn)場(chǎng)};
五指山多頭:DRAWICON(FILTERX(CROSS(REF(五指山,1),REF(五指山,0)),25)AND 趨勢(shì)<(35), -11.88,5){咧嘴笑臉};
分水嶺空頭:DRAWICON(FILTERX(CROSS(REF(分水嶺,1),REF(分水嶺,0)),18)AND 趨勢(shì)>(75),113,15){跑步離場(chǎng)};
分水嶺空頭字標(biāo):DRAWTEXT(分水嶺空頭,113,' 跑路')COLOREAEAAE;{中鮮黃色};
分水嶺警戒:DRAWTEXT(FILTER(分水嶺>=(118),5),80,'警戒118')COLORWHITE;
五指山警戒:DRAWTEXT(FILTER(五指山>=(100),5),80,'關(guān)注100')COLORA68064;{中木色_細(xì)立柱}
{有莊控盤}
VAR1G:=EMA(EMA(CLOSE,9),9);
控盤:=(VAR1G-REF(VAR1G,1))/REF(VAR1G,1)*1000;
無莊:IF(控盤<0,控盤,0),COLORLIBLUE,NODRAW;
無莊柱標(biāo):=STICKLINE(控盤<0,控盤,0,1,1),COLORLIBLUE;
A10:=CROSS(控盤,0);
有莊:IF(A10,5,0),LINETHICK1,COLORMAGENTA;
有莊圖標(biāo):=DRAWICON(A10,A10-12.50,7);{金手指出現(xiàn)}
初控:IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLOR0099FF,NODRAW;
初控柱標(biāo):=STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1),COLOR0099FF;
VAR2G:=100*WINNER(CLOSE*0.95);
高控:IF(VAR2G>50 AND COST(85)0,控盤,1),COLORRED,NODRAW;
高控柱標(biāo):=STICKLINE(VAR2G>50 AND COST(85)0,控盤,0,1,1),COLORRED;
出貨:IF(控盤0,控盤,0),COLORGREEN,NODRAW;
出貨柱標(biāo):=STICKLINE(控盤0,控盤,0,1,1),COLORGREEN;
如影隨形:=MEMA(分水嶺*1.5,1),COLOR4E2F2F;
波段高點(diǎn):DRAWTEXT(FILTERX(LONGCROSS(REF(如影隨形,1),REF(如影隨形,0),8),30)AND 趨勢(shì)線1>=(75),80,'*')COLORLIBLUE;
{頂?shù)紫戎獇
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
極弱:=-80;
強(qiáng)勢(shì):=60;
風(fēng)險(xiǎn):=80;
弱勢(shì):=-60;
先知:=YJD,COLORSTICK;
機(jī)會(huì)到:DRAWTEXT(FILTERX(CROSS(REF(先知,0),極弱),35),50,'㊣')COLORRED;
風(fēng)險(xiǎn)至:DRAWTEXT(FILTERX(CROSS(風(fēng)險(xiǎn),REF(先知,0)),35),50,'㊣')COLORGREEN;
{KDJ 金叉}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VARK:=K,COLORWHITE;
上升K:=IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED;
走平K:=IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORYELLOW;
下降K:=IF(VARK
VARD:=D,COLORYELLOW;
上升D:=IF(VARD>REF(VARD,1),VARD,DRAWNULL),COLORRED;
走平D:=IF(VARD=REF(VARD,1),VARD,DRAWNULL),COLORYELLOW;
下降D:=IF(VARD
VARJ:=J,COLORMAGENTA;
上升J:=IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:=IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORYELLOW;
下降J:=IF(VARJ
N:=9;
M1:=3;
M2:=3;
漲:=CROSS(K>D,K);
跌:=CROSS(K
上:=CROSS(J>D,J);
下:=CROSS(J
周K:=MA("KDJ.K#WEEK"(N,M1,M2),5);
周D:=MA("KDJ.D#WEEK"(N,M1,M2),5);
周J:=MA("KDJ.J#WEEK"(N,M1,M2),5);
周金叉:=DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),-20,'★周金叉')COLORRED;
周死叉:=DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),115,'★周死叉')COLORGREEN;
月金叉:=DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),-20,'★月金叉')COLOR0099FF;
月死叉:=DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),115,'★月死叉')COLORLIBLUE;
周金叉標(biāo)識(shí):DRAWTEXT(FILTERX(周金叉,12),-25,'★周金叉')COLORRED;
周死叉標(biāo)識(shí):DRAWTEXT(FILTERX(周死叉,12),125,'★周死叉')COLORGREEN;
月金叉標(biāo)識(shí):DRAWTEXT(FILTERX(月金叉,12),-25,'★月金叉')COLOR0099FF;
月死叉標(biāo)識(shí):DRAWTEXT(FILTERX(月死叉,12),125,'★月死叉')COLORLIBLUE;
頂標(biāo)記1:132,COLOR4E2F2F;{印度紅}
頂標(biāo)記2:=130,COLOR4E2F2F;{印度紅}
底標(biāo)記1:=-30,COLOR4E2F2F;{印度紅};
底標(biāo)記2:-32,COLOR4E2F2F;{印度紅};
D1:=1;
AA1:=DRAWGBK(' 遇見紅色箭頭多頭共振跑步進(jìn)場(chǎng)。','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.1480.18,0,AA1),COLORRED,LINETHICK2;
D2:=1;
AA2:=DRAWGBK(' 遇見跑路文字不要戀戰(zhàn)快速離場(chǎng)。','.','.','.','.','.');
AA2圖標(biāo):DRAWTEXT_FIX(D2=1,0,0.2280.18,0,AA2),COLOREAEAAE,LINETHICK2;
D3:=1;
AA3:=DRAWGBK(' 選股公式——《跟莊武器》','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.3080.18,0,AA3),COLOR4E2F2F,LINETHICK2;
{KDJ 金叉——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(07)}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
VARK:K,COLORWHITE;
上升K:IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED;
走平K:IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORYELLOW;
下降K:IF(VARK
VARD:D,COLORYELLOW;
上升D:IF(VARD>REF(VARD,1),VARD,DRAWNULL),COLORRED;
走平D:IF(VARD=REF(VARD,1),VARD,DRAWNULL),COLORYELLOW;
下降D:IF(VARD
VARJ:J,COLORMAGENTA;
上升J:IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORYELLOW;
下降J:IF(VARJ
N:=9;
M1:=3;
M2:=3;
漲:CROSS(K>D,K);
跌:CROSS(K
上:CROSS(J>D,J);
下:CROSS(J
周K:=MA("KDJ.K#WEEK"(N,M1,M2),5);
周D:=MA("KDJ.D#WEEK"(N,M1,M2),5);
周J:=MA("KDJ.J#WEEK"(N,M1,M2),5);
周金叉:DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),-8,'●')COLORRED;
周死叉:DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),98,'●')COLORGREEN;
月金叉:DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),-8,'●')COLOR0099FF;
月死叉:DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),98,'●')COLORLIBLUE;
周金叉標(biāo)識(shí):DRAWTEXT(周金叉,-18,'周金叉')COLORRED;
周死叉標(biāo)識(shí):DRAWTEXT(周死叉,108,'周死叉')COLORGREEN;
月金叉標(biāo)識(shí):DRAWTEXT(月金叉,-18,'月金叉')COLOR0099FF;
月死叉標(biāo)識(shí):DRAWTEXT(月死叉,108,'月死叉')COLORLIBLUE;
125,COLORRED;
0,COLORRED;
-25,COLORRED,POINTDOT;
D1:=1;
AA1:=DRAWGBK(' 選股公式——《KDJ 金叉》','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.1280.18,0,AA1),COLOR4E2F2F,LINETHICK2;
{多空密碼——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(08)}
{參數(shù):N1=5; N2=60; M=13;}
Z:0,COLORWHITE;
A:=EMA((CLOSE-REF(C,1))/REF(C,1)*10-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5),
NODRAW,COLORRED;
AA:=STICKLINE(A>0,0,A,1,2),COLORRED;
AB:=STICKLINE(A<0,0,A,1,2),COLORGREEN;
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:IF(A1>=B1,A1,B1),LINETHICK1,COLORRED;
做空:IF(B1-A1,B1,A1),LINETHICK1,COLORGREEN;
DKMM:=做多>做空;
HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,21);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
NP:=(HSNP7-HSNP),COLORGRAY,NODRAW;
NL:=(HSNP-HSNP7),COLORMAGENTA;
圖標(biāo)01:=STICKLINE(NL<0,0,NL,1,2),COLOR0B0B77;
圖標(biāo)02:=STICKLINE(NP<0,0,NP,1,2),COLOR666666;
M日低點(diǎn):=NL>REF(LLV(NL,M),1);
TJHX:=REF(NL,BARSLAST(M日低點(diǎn)));
圖標(biāo)03:=STICKLINE(C,TJHX,TJHX,3,1),COLORGREEN;
{T1:=BARSLAST(NL=LLV(NL,M));
高點(diǎn)2:DRAWLINE(T1=0,NL,REF(T1=0,1),REF(NL,1),1),COLORLIBLUE;
M1:MA(VOL,N1),COLORYELLOW;
T2:=BARSLAST(M1=HHV(M1,250));
高點(diǎn)2:DRAWLINE(T2=0,M2,REF(T2=0,1),REF(M1,1),1),COLORGREEN;};
{量價(jià)趨勢(shì)——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(09)}
VAR1:=SMA(AMOUNT,10,1)/1000000;
VAR2:=REF(VAR1,1);
VAR3:=MA(REF(CLOSE,1),5);
收盤:VAR1*CLOSE/VAR3*1/10,COLOR009900,LINETHICK,POINTDOT,STICK;
開盤:VAR1*OPEN/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:VAR1*HIGH/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:VAR1*LOW/VAR3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命線:EMA(收盤,12),COLORRED;
收盤線:MEMA(收盤,11)COLORGREEN;
信號(hào)燈1:=DRAWTEXT(LONGCROSS(生命線,收盤線,3),收盤線,'金叉')COLORRED;
信號(hào)燈2:=DRAWTEXT(LONGCROSS(收盤線,生命線,3),收盤線,'死叉')COLORGREEN;
昨收盤:=REF(收盤,1),POINTDOT,COLOR009900,LINETHICK0;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
柱標(biāo)01:STICKLINE(收盤>開盤,收盤,開盤,5,0),COLORRED;
柱標(biāo)02:STICKLINE(收盤>開盤,最高,MAX(收盤,開盤),0,1),COLORRED;
柱標(biāo)03:STICKLINE(收盤>開盤,MIN(收盤,開盤),最低,0,1),COLORRED;
柱標(biāo)04:STICKLINE(收盤<開盤,收盤,開盤,5,0),COLORGREEN;
柱標(biāo)05:STICKLINE(收盤<開盤,最高,MAX(收盤,開盤),0,1),COLORGREEN;
柱標(biāo)06:STICKLINE(收盤<開盤,MIN(收盤,開盤),最低,0,1),COLORGREEN;
{寶塔 K線——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(10)}
{通達(dá)信寶塔線副圖}
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);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA
OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.58,1),COLORRED;
VARD:=CLOSE
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);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2.58,0),COLORFFFF00;
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;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.58,0),COLORFFFF00;
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,REF(CLOSE,1),REF(CLOSE,2),2.58,1),COLORRED;
三平底:=VAR19,COLORLIMAGENTA,NODRAW;
三平頂:=VAR1A,COLORLIBLUE,NODRAW;
零軸:0,COLOR0099FF,NODRAW;
{KDJ 金叉}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VARK:=K,COLORWHITE;
上升K:=IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED;
走平K:=IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORYELLOW;
下降K:=IF(VARK
VARD2:=D,COLORYELLOW;
上升D:=IF(VARD2>REF(VARD2,1),VARD2,DRAWNULL),COLORRED;
走平D:=IF(VARD2=REF(VARD2,1),VARD2,DRAWNULL),COLORYELLOW;
下降D:=IF(VARD2
VARJ:=J,COLORMAGENTA;
上升J:=IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:=IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORYELLOW;
下降J:=IF(VARJ
N:=9;
M1:=3;
M2:=3;
漲:=CROSS(K>D,K);
跌:=CROSS(K
上:=CROSS(J>D,J);
下:=CROSS(J
周K:=MA("KDJ.K#WEEK"(N,M1,M2),5);
周D:=MA("KDJ.D#WEEK"(N,M1,M2),5);
周J:=MA("KDJ.J#WEEK"(N,M1,M2),5);
周金叉:=DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),-20,'★周金叉')COLORRED;
周死叉:=DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),115,'★周死叉')COLORGREEN;
月金叉:=DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),-20,'★月金叉')COLOR0099FF;
月死叉:=DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),115,'★月死叉')COLORLIBLUE;
周金叉標(biāo)識(shí):DRAWTEXT(FILTERX(周金叉,12),0.98,'●周金叉')COLORRED;
周死叉標(biāo)識(shí):DRAWTEXT(FILTERX(周死叉,12),0.98,'●周死叉')COLORGREEN;
月金叉標(biāo)識(shí):DRAWTEXT(FILTERX(月金叉,12),0.98,'○月金叉')COLOR0099FF;
月死叉標(biāo)識(shí):DRAWTEXT(FILTERX(月死叉,12),0.98,'○月死叉')COLORLIBLUE;
{跟莊武器}
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1)*100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
VAR100:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR200:=EMA(VAR100,8);
VAR300:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢(shì):=EMA(VAR300,3)-10;
標(biāo)記1:=(趨勢(shì)>80);{};
趨勢(shì)標(biāo)識(shí)01:=DRAWICON(CROSS(趨勢(shì),0),-5,1);
標(biāo)記2:=((A09 > 0 AND (趨勢(shì)<20 OR 趨勢(shì)>REF(趨勢(shì),1)AND 趨勢(shì)<50))),COLORFFFF00;{不顯}
大莊建倉區(qū):=0,COLOR4E2F2F;{不顯}
VAR400:=(趨勢(shì)-REF(趨勢(shì),1))/REF(趨勢(shì),1)*100;
趨勢(shì)標(biāo)識(shí)02:=STICKLINE(趨勢(shì)<=13,110,120,1,1),COLOR4E2F2F;{印度紅}
趨勢(shì)標(biāo)識(shí)03:=DRAWTEXT(FILTER(趨勢(shì)<=13,15),35,'準(zhǔn)備'),COLORA68064;{中木色細(xì)立柱}
趨勢(shì)標(biāo)識(shí)04:=STICKLINE(趨勢(shì)<=13 AND VAR400>13,0,20,0,1),COLOR0099FF;{亮土黃色}
VAR500:=FILTER((趨勢(shì)<=13 AND VAR400>13),10);
趨勢(shì)標(biāo)識(shí)05:=DRAWTEXT(VAR500,25,'建倉'),COLOR0099FF;{亮土黃色};
趨勢(shì)標(biāo)識(shí)06:=STICKLINE(趨勢(shì)>=90 AND VAR400,110,120,1,1),COLOR4E2F2F;{印度紅}
VAR600:=FILTER((趨勢(shì)>=90 AND VAR400),10);
趨勢(shì)標(biāo)識(shí)07:=DRAWTEXT(VAR600,115,'清倉'),COLORGRAY;{深灰色}
VAR700:=LLV(LOW,30);
VAR800:=HHV(HIGH,30);
VAR900:=EMA((CLOSE-VAR700)/(VAR800-VAR700)*4,4)*25;
趨勢(shì)標(biāo)識(shí)08:=STICKLINE(VAR900>90,100,110,0,1),COLORRED; {COLORRED}{紅色};
VAR1000:=(VAR900-LLV(VAR900,4))/(HHV(VAR900,4)-LLV(VAR900,4))*100;
趨勢(shì)標(biāo)識(shí)09:=DRAWICON(CROSS(90,VAR900),95,9);{數(shù)錢圖標(biāo)};
VAR1100:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
VAR1200:=HHV(VAR1100,30)*8;
五指山:=EMA(IF(LOW<=VAR700 AND 趨勢(shì)<40,(VAR1100+VAR1200),0),3)/618,COLORRED,LINETHICK2;
趨勢(shì)標(biāo)識(shí)10:=STICKLINE(五指山>0,0 ,五指山*1.2,2,1 ),COLORRED;
VAR1300:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
VAR1400:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
趨勢(shì)線:=趨勢(shì),COLORFF0000;
VAR1600:=MAX(EMA(VAR1300,2)-EMA(VAR1400,5),0)*200;
VAR1700:=EMA(VAR1600,5)/4;
分水嶺:=VAR1700,STICK,COLORA68064;{中木色細(xì)立柱}
趨勢(shì)標(biāo)識(shí)11:=STICKLINE(VAR1700
VAR1800:=MA(趨勢(shì)線,8);
分水嶺多頭線:=DRAWICON(CROSS(REF(分水嶺,0),REF(分水嶺,1))AND 趨勢(shì)<(35), -8,15);
五指山多頭線:=DRAWICON(CROSS(REF(五指山,1),REF(五指山,0))AND 趨勢(shì)<(35), -8,1);
分水嶺空頭線:=DRAWICON(FILTERX(CROSS(REF(分水嶺,1),REF(分水嶺,0)),18)AND 趨勢(shì)>(75),115,15);
分水嶺多頭:=DRAWTEXT(分水嶺多頭線, -18,'進(jìn)')COLORRED;
五指山多頭:=DRAWTEXT(五指山多頭線, -18,'買')COLORRED;
分水嶺空頭:=DRAWTEXT(分水嶺空頭線,115,'...跑路')COLOREAEAAE;{中鮮黃色}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
極弱:=-80;
強(qiáng)勢(shì):=60;
風(fēng)險(xiǎn):=80;
弱勢(shì):=-60;
先知:=YJD,COLORSTICK;
機(jī)會(huì)到:=STICKLINE(FILTERX(CROSS(REF(先知,0),極弱),10),50,52,1,1)COLORRED;
風(fēng)險(xiǎn)至:=STICKLINE(FILTERX(CROSS(風(fēng)險(xiǎn),REF(先知,0)),10),50,52,1,1)COLORGREEN;
三平底標(biāo)識(shí):DRAWICON(三平底 AND 分水嶺多頭線 AND 機(jī)會(huì)到,REF(LOW,0),11);
三平頂標(biāo)識(shí):DRAWICON(三平頂 AND 分水嶺空頭線 AND 風(fēng)險(xiǎn)至,REF(HIGH,0),12);
D1:=1;
AA1:=DRAWGBK(' 寶塔線之長處——適用于趨勢(shì)跟隨。','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.0001.18,0,AA1),COLOR0099FF,LINETHICK2;
D2:=1;
AA2:=DRAWGBK(' 寶塔線之短處——忌諱于橫盤整理。','.','.','.','.','.');
AA2圖標(biāo):DRAWTEXT_FIX(D2=1,0,0.0880.18,0,AA2),COLORRED,LINETHICK2;
D3:=1;
AA3:=DRAWGBK(' 上漲看量,底部放量跟進(jìn)。','.','.','.','.','.');
AA3圖標(biāo):=DRAWTEXT_FIX(D3=1,0,0.1360.18,0,AA3),COLORGREEN,LINETHICK2;
D4:=1;
AA4:=DRAWGBK(' 下跌看量,頂部巨量退出。','.','.','.','.','.');
AA4圖標(biāo):=DRAWTEXT_FIX(D4=1,0,0.2100.18,0,AA4),COLORLIBLUE,LINETHICK2;
D5:=1;
AA5:=DRAWGBK(' 按上下鍵可以將畫面放大、縮小。','.','.','.','.','.');
AA5圖標(biāo):=DRAWTEXT_FIX(D5=1,0,0.2800.18,0,AA5),COLORWHITE,LINETHICK2;
D6:=1;
AA6:=DRAWGBK(' 選股公式——《寶塔 K線》','.','.','.','.','.');
AA6圖標(biāo):=DRAWTEXT_FIX(D6=1,0,0.3610.18,0,AA6),COLOR4E2F2F,LINETHICK2;
{資金趨勢(shì)——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(11)}
資金趨勢(shì):MA(MA(C,2),1),LINETHICK1,COLORYELLOW;
機(jī)構(gòu)持倉:STICKLINE(MA(C,20)>=REF(MA(C,20),1),REF(MA(C,20),4),MA(C,20),2,0),COLORRED;
機(jī)構(gòu)棄籌:STICKLINE(MA(C,20)
{頂?shù)咨襻槨┞医灰紫到y(tǒng)副圖私密經(jīng)典指標(biāo)(12)}
VAR01:=1;
VAR02:=1/WINNER(CLOSE);
VAR03:=MA(CLOSE,13);
VAR04:=100-ABS((CLOSE-VAR03)/VAR03*100);
VAR05:=LLV(LOW,75);VAR06:=HHV(HIGH,75);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VAR09:=SMA((OPEN-VAR05)/VAR07,20,1);
VARA:=3*VAR08-2*SMA(VAR08,15,1);
VARB:=3*VAR09-2*SMA(VAR09,15,1);
VARC:=100-VARB;
主力中線籌碼:=(100-VARA)*VAR01,COLOR0099FF,DOTLINE;
中線籌碼:=(REVERSE(主力中線籌碼)+100)COLORWHITE,DOTLINE;
籌碼:=MEMA(中線籌碼,2)COLORRED,NODRAW;{COLOR8C7853 青銅色}
籌碼線:籌碼,DOTLINE,COLORRED;
獲利盤比例:=WINNER(CLOSE)*100,LINETHICK0;
比例差:=獲利盤比例-REF(獲利盤比例,1)NODRAW,COLOR4D4DFF;
比例均線1:=MA(獲利盤比例*1.5,7),COLOREBC79E;
比例均線2:=MA(獲利盤比例*1.5,11),COLOR0099FF;
多頭探底神針:籌碼<(40) AND CROSS(REF(比例均線1,0),REF(比例均線1,1)),COLORRED;
空頭探頂神針:籌碼>(60) AND CROSS(REF(比例均線1,1),REF(比例均線1,0)),COLORGREEN;
多頭柱標(biāo)1:STICKLINE(FILTERX(多頭探底神針,50),50,55,0.01,0),COLORRED;
多頭柱標(biāo)2:DRAWICON(FILTERX(多頭探底神針,50),58,1);
空頭柱標(biāo)1:STICKLINE(FILTERX(空頭探頂神針,50),50,45,0.01,0),COLORGREEN;
空頭柱標(biāo)2:DRAWICON(FILTERX(空頭探頂神針,50),40,2);
WINN:=比例差*2;
獲利盤圖標(biāo)01:STICKLINE(獲利盤比例>50,53,50,2,1),COLORRED;{中石板藍(lán)色 COLOR7F00FF 印度紅 COLOR4E2F2F 新深藏青色 COLOR00009C}
獲利盤圖標(biāo)02:STICKLINE(獲利盤比例<50,47,50,2,1),COLOREBC79E;{霓虹籃 COLOR4D4DFF 巧克力色 COLOR5C3317 新棕褐色 COLOREBC79E}
RSV:=SUM(比例差,3);
K:=SMA(RSV,5,1);
D:=SMA(K,9,1);
VAR10:=3*K-2*D;
LLJX:=VAR10;
軸:=50,POINTDOT,COLORWHITE;
B1:=SUM(LLJX,1),COLORBLUE,LINETHICK2;
B10:=SUM(LLJX,10),COLOR0099FF,LINETHICK2;
獲利盤圖標(biāo)03:=IF(B1>REF(B1,1),B1,DRAWNULL),COLORMAGENTA,LINETHICK2;
獲利盤圖標(biāo)04:=IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED,LINETHICK2;
AA:=FILTER(CROSS(REF(B10,1),B10),5);
獲利盤圖標(biāo)05:=DRAWICON(籌碼>(85) AND 空頭探頂神針,空頭探頂神針-13.5,2);
ASDF:=STRCAT(STRCAT('■現(xiàn)實(shí)獲利盤比例: ',CON2STR(WINNER(CLOSE)*100,2)),'%');
獲利盤圖標(biāo)06:=DRAWICON(籌碼<(15) AND 多頭探底神針,多頭探底神針+8,1);
{牛熊輪回——知博陋室交易系統(tǒng)副圖私密經(jīng)典指標(biāo)(13)}
VAR01:=1;
VAR02:=1/WINNER(CLOSE);
VAR03:=MA(CLOSE,13);
VAR04:=100-ABS((CLOSE-VAR03)/VAR03*100);
VAR05:=LLV(LOW,75);VAR06:=HHV(HIGH,75);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VAR09:=SMA((OPEN-VAR05)/VAR07,20,1);
VAR10:=REF(LOW,1);
VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MAX(LOW-VAR10,0),3,1)*100;
VAR12:=EMA(IF(CLOSE*1.2,VAR11*10,VAR11/10),3);
VAR13:=LLV(LOW,38);
VAR14:=HHV(VAR12,38);
VAR15:=IF(LLV(LOW,90),1,0);
VAR16:=EMA(IF(LOW<=VAR13,(VAR12+VAR14*2)/2,0),3)/618*VAR15;
VARA:=3*VAR08-2*SMA(VAR08,15,1);
VARB:=3*VAR09-2*SMA(VAR09,15,1);
VARC:=100-VARB;
有莊的影子:STICKLINE(VAR16,0,VAR16,1,1),COLORLIRED;
莊影:VAR16,NODRAW,COLORLIRED;
新莊:(100-IF(VAR02>5,IF(VAR02<100,VAR02,VAR04-10),0))*VAR01,COLOR4E2F2F,POINTDOT;
新莊圖標(biāo):STICKLINE(1,新莊,100,1,1),COLOR4E2F2F;
短線:=MA(WINNER(CLOSE*0.95)*100,3)*VAR01,COLORWHITE,DOTLINE;
中線主力籌碼:=(100-VARA)*VAR01,COLOR0099FF,DOTLINE;
籌碼:(REVERSE(中線主力籌碼)+100)COLORWHITE,DOTLINE;
收盤:MEMA((0+VARA)*VAR01,2),COLORRED,LINETHICK1;
開盤:MEMA((0+VARB)*VAR01,3),COLORYELLOW,LINETHICK1;
趨勢(shì)線:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORRED;
VARD:=短線>VAR04;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;
VAR17:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR18:=EMA(VAR17,30);
VAR19:=CLOSE-REF(CLOSE,1);
VAR20:=MAX(VAR12,0);
VAR21:=ABS(VAR12);
VAR22:=SMA(VAR20,7,1)/SMA(VAR21,7,1)*100;
VAR23:=SMA(VAR20,13,1)/SMA(VAR21,13,1)*100;
VAR24:=BARSCOUNT(CLOSE);
VAR25:=SMA(MAX(VAR19,0),6,1)/SMA(ABS(VAR19),6,1)*100;
VAR26:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR27:=VAR25<=25 AND VAR26<-95 AND VAR1F>20 AND VAR1B<-30
AND VAR1E<30 AND VAR25-CLOSE>=-0.25 AND VAR22<22
AND VAR23<28 AND VAR24>50;
RSV91:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
中線:=SMA(RSV91,5,1),COLORLIMAGENTA,LINETHICK2;
VARD圖標(biāo):=STICKLINE(VARD,VAR04,短線,2.5,0),COLORGREEN;
中線走勢(shì):=收盤<=(15)AND LONGCROSS(REF(收盤,0),REF(開盤,0),30);
中線多頭:DRAWTEXT(FILTERX(中線走勢(shì),30),31.98,'★')COLOR0099FF;
VAR1控盤:=EMA(EMA(CLOSE,13),13);
控盤:=(VAR1控盤-REF(VAR1控盤,1))/REF(VAR1控盤,1)*1000;
控1:=STICKLINE(控盤<0,控盤,0,1,1),COLOR00FF00;
控2:=STICKLINE(控盤>REF(控盤,1) AND 控盤<0,控盤,0,1,1),COLORFF00FF;
無莊控盤:=控盤<0;
控3:=STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1),COLOR0000FF;
有莊控盤:=控盤>REF(控盤,1) AND 控盤>0;
VAR2控盤:=100*WINNER(CLOSE*0.95);
控4:=STICKLINE(控盤0,控盤,0,1,1),COLORFFFF00;
主力出貨:=控盤0;
控5:=STICKLINE(VAR2控盤>50 AND COST(85)0,控盤,0,1,1),COLOR00FFFF;
高度控盤:=VAR2控盤>50 AND COST(85)0,COLOR00FFFF,LINETHICK2;
A101:=CROSS(控盤,0);
控盤B:=FILTER(IF(A101,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M11:=3;
財(cái):=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
神:=EMA(財(cái),M11),COLORGREEN,LINETHICK1;
控6:=DRAWBAND(財(cái),RGB(255,0,0),神,RGB(0,100,50));
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盤0.5;
STJ02:=控盤>0;
BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2;
BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ;
BTJ3:=CROSS(財(cái),神) AND 財(cái)<-0.3;
BTJ32:=CROSS(財(cái),神) AND 財(cái)<-0.1;
STJ31:=CROSS(神,財(cái));
STJ32:=CROSS(神,財(cái)) AND 財(cái)>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
控7:=DRAWTEXT(BTJ81,神,'↑買底'),COLORRED;
控8:=DRAWTEXT(BTJ811,神*1.2,'↑有莊'),COLORWHITE;
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
控9:=DRAWTEXT(STJ83,神,'↓賣'),COLOR00FF00;
DIFF值:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED;
DEA值:=EMA(DIFF值,3),COLORGREEN;
莊:=BTJ11 AND BTJ2 AND BTJ3;
莊底:=FILTER(莊,55),COLORWHITE;
買底:DRAWTEXT(FILTERX(BTJ811 AND BTJ81 AND 收盤<=(15),30),105.18,'莊底'),COLORLIMAGENTA;
賣頂:DRAWTEXT(STJ81 AND STJ82 AND 收盤>=(85),105.18,'莊頂'),COLORLIBLUE;
AT:=IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
階段地量:=AT
地量1:=STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
地量2:=STICKLINE(階段地量,0,HHV(V,15),2.21,1),COLORGREEN;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL)COLORWHITE,NODRAW;
VVOL圖標(biāo):=STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLORLIBLUE;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
DD:=VAR8>5;
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力進(jìn)場(chǎng):=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLORRED;
進(jìn)場(chǎng)圖標(biāo):=STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,1.80,1 ),COLORRED;
震倉:=IF(VAR5S
A:=(啟動(dòng) CROSS 洗盤);
AB:=(啟動(dòng) CROSS 洗盤);
BB2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動(dòng)買:=IF(CLOSE>OPEN,BB2*(HIGH-LOW),IF(CLOSE
主買:主動(dòng)買/10000,COLORRED,LINETHICK1,NODRAW;
主動(dòng)賣:=IF(CLOSE>OPEN,0-BB2*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
主賣:-主動(dòng)賣/10000,COLORGREEN,LINETHICK1,NODRAW;
參與:主買/(主買+主賣),NODRAW,COLORLIBLUE;
盤比:(主買/主賣),NODRAW,COLORYELLOW;
量比:DYNAINFO(17),NODRAW,COLORRED;
買入:=IF((COUNT(DD,2)=2),-20,0)COLORBLACK;
底:IF((CROSS(震倉,主力進(jìn)場(chǎng))AND 買入=-20),100,0),STICK,COLORMAGENTA,LINETHICK1;
成交量:=VOL,VOLSTICK,COLORLIBLUE;
啟5日量:=MA(成交量,5)COLORWHITE;
洗10日量:=MA(成交量,10)COLORYELLOW;
異35日量:=MA(成交量,35)COLORMAGENTA;
多頭量1:=CROSS(REF(啟5日量,0),REF(洗10日量,0))COLORRED;
空頭量:=CROSS(REF(洗10日量,0),REF(啟5日量,0))COLORLIBLUE;
多頭量2:=CROSS(REF(洗10日量,0),REF(異35日量,0))COLORYELLOW;
多量1:DRAWTEXT(FILTER(多頭量1,15)AND 收盤<(20),-3.5,'▲')COLORRED;
空量:DRAWTEXT(FILTER(空頭量,15)AND 收盤>(80),-4,'▼')COLORLIBLUE;
多量2:DRAWTEXT(FILTER(多頭量2,15)AND 收盤<(50),-3.5,'▲')COLORYELLOW;
V1:=(C*3+H+L)/5*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);VB:=(V9-VA)/2;
主力動(dòng)向:=EMA(V4,2),COLORRED;
機(jī)構(gòu)動(dòng)向:=EMA(VB,2),COLORMAGENTA;
主力動(dòng)向1:=(SLOPE(主力動(dòng)向,2)>0 AND SLOPE(機(jī)構(gòu)動(dòng)向,2)>0,主力動(dòng)向),COLORRED,LINETHICK1;
主力動(dòng)向2:=(SLOPE(主力動(dòng)向,2)<0,主力動(dòng)向),COLORGREEN,LINETHICK1;
機(jī)構(gòu)動(dòng)向1:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)>0 AND SLOPE(主力動(dòng)向,2)>0,機(jī)構(gòu)動(dòng)向),COLORMAGENTA,LINETHICK1;
機(jī)構(gòu)動(dòng)向2:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)<0,機(jī)構(gòu)動(dòng)向),COLORWHITE,LINETHICK1;
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=ZZLKP-ZZLJJ;
AAA:=EMA(ZJLRQD,1);BBB:=EMA(AAA,5);CCC:=AAA-BBB;
CCC圖標(biāo)1:=STICKLINE(CCC
CCC圖標(biāo)2:=STICKLINE(CCC>REF(CCC,2),CCC,0,2,1), COLORRED;
主力資金試盤:=IF(CROSS(AAA,BBB),3,0),STICK,LINETHICK4,COLOR0080FF;
主力對(duì)倒出貨:=IF(CROSS(BBB,AAA),-3,0),STICK,LINETHICK4,COLOR00FF00;
VAR881:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR82:=SMA(ABS(LOW-VAR881),13,1)/SMA(MAX(LOW-VAR881,0),10,1);
VAR83:=EMA(VAR82,10);
VAR84:=LLV(LOW,33);
VAR85:=EMA(IF(LOW<=VAR84,VAR83,0),5);
慘跌:=STICKLINE(VAR85>REF(VAR85,1),0,VAR85,1,0),COLORGREEN;
洗盤陰:=STICKLINE(VAR85
主力拉升:=STICKLINE(VAR85
跌:STICKLINE(VAR85>REF(VAR85,1),0,VAR85,1,0),COLORGREEN;
洗:STICKLINE(VAR85
拉:STICKLINE(VAR85
莊出沒:=慘跌+洗盤陰+主力拉升;{主力動(dòng)向之莊出沒}
有莊:DRAWTEXT(FILTER(主力進(jìn)場(chǎng) AND 莊出沒 AND 收盤<=(20),15),-20.18,'△')COLORGREEN;
莊銀1:=新莊<(90); 莊銀2:=新莊>(96.80);
莊銀3:=莊影>(7.02); 莊銀4:=莊影<(1.98);
莊銀5:=CROSS(REF(莊銀2,0),REF(莊銀1,0));{新莊}莊銀6:=CROSS(REF(莊銀4,0),REF(莊銀3,0));{莊影}
莊銀5圖標(biāo):DRAWTEXT(FILTERX(莊銀5,10),-20.18,'△')COLORRED;
莊銀6圖標(biāo):DRAWTEXT(FILTERX(莊銀6,10),-20.18,'△')COLORLIRED;
有莊出沒:=莊銀5 OR 莊出沒 OR 莊銀6;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D101:=REF(C,C1+1)DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D20:=REF(C,C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D30:=REF(C,C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
MACD底背離:=IF(B1>0,-0.1,0),COLORRED;
KDJ底背離:=IF(B2>0,-0.1,0),COLORFF00FF;
RSI底背離:=IF(B3>0,-0.1,0),COLORYELLOW;
MACD頂背離:=IF(D101>0,0.1,0),COLOR00FF00;
KDJ頂背離:=IF(D20>0,0.1,0),COLORFFCC66;
RSI頂背離:=IF(D30>0,0.1,0),COLORWHITE;
圖示01:DRAWTEXT(B1>0,40,'M底背離'),COLORRED;
圖示02:DRAWTEXT(B2>0,32,'K底背離'),COLORFF00FF;
圖示03:DRAWTEXT(B3>0,24,'R底背離'),COLORYELLOW;
圖示04:DRAWTEXT(D101>0,74,'M頂背離'),COLOR00FF00;
圖示05:DRAWTEXT(D20>0,66,'K頂背離'),COLORBROWN;
圖示06:DRAWTEXT(D30>0,58,'R頂背離'),COLORCYAN;
圖示07:=STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORRED;
圖示08:=STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORYELLOW;
圖示09:=STICKLINE(MACD<0,0,MACD,0,0),COLORCYAN;
圖示10:=STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORMAGENTA;
圖示11:=STICKLINE(C>0,0,0,50,1),COLORBLUE;
圖示12:=DIFF,COLORGREEN;
圖示13:=DEA,COLORYELLOW;
強(qiáng):=IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;
弱:=IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
MACD多頭:=LONGCROSS(DIFF,0,10);
MACD空頭:=LONGCROSS(0,DIFF,10);
MACD金叉:=CROSS(REF(DIFF,0),REF(DEA,1))AND 收盤<(20);
MACD死叉:=CROSS(REF(DEA,0),REF(DIFF,0))AND 收盤>(80);
MACD空頭圖標(biāo):DRAWTEXT(FILTER(MACD空頭,16),90,'M空頭')COLORLIBLUE;
MACD死叉圖標(biāo):DRAWTEXT(FILTER(MACD死叉,16),-11.68,'M死叉')COLORGREEN;
MACD多頭圖標(biāo):DRAWTEXT(FILTER(MACD多頭,16),8,'M多頭')COLORYELLOW;
MACD金叉圖標(biāo):DRAWTEXT(FILTER(MACD金叉,16),-11.68,'M金叉')COLORRED;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORRED;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORMAGENTA,LINETHICK;
VARK:=K,COLORRED;
上升K:=IF(VARK>REF(VARK,1),VARK,DRAWNULL),COLORRED;
走平K:=IF(VARK=REF(VARK,1),VARK,DRAWNULL),COLORYELLOW;
下降K:=IF(VARK
VARD1:=D,COLORGREEN;
上升D:=IF(VARD1>REF(VARD1,1),VARD1,DRAWNULL),COLORRED;
走平D:=IF(VARD1=REF(VARD1,1),VARD1,DRAWNULL),COLORYELLOW;
下降D:=IF(VARD1
VARJ:=J,COLORMAGENTA;
上升J:=IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL),COLORRED;
走平J:=IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL),COLORYELLOW;
下降J:=IF(VARJ
N:=9;M1:=3;M2:=3;
周金叉KDJ線:=CROSS(K>D,K),COLORMAGENTA;
周死叉KDJ線:=CROSS(K
月金叉KDJ線:=CROSS(J>D,J),COLORRED,LINETHICK1;
月死叉KDJ線:=CROSS(J
周K:=MA("KDJ.K#WEEK"(N,M1,M2),5),POINTDOT,LINETHICK4,COLORWHITE;
周D:=MA("KDJ.D#WEEK"(N,M1,M2),5),POINTDOT,LINETHICK4,COLORGREEN;
周J:=MA("KDJ.J#WEEK"(N,M1,M2),5),POINTDOT,LINETHICK4,COLORRED;
周金叉1:DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),16,'K周金叉'),COLORRED;
周死叉1:DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),82,'K周死叉'),COLORGREEN;
月金叉1:DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),8,'K月金叉'),COLOR0099FF;
月死叉1:DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),90,'K月死叉'),COLORLIBLUE;
周金叉2:=DRAWICON(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),16,1),COLORRED;
周死叉2:=DRAWICON(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),82,2),COLORGREEN;
月金叉2:=DRAWICON(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),8,1),COLOR0099FF;
月死叉2:=DRAWICON(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),90,2),COLORBLUE;
RSV999:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1999:=SMA(RSV999,3,1);
D1999:=SMA(K1999,3,1);
KK999:=INTPART(K1999);
DD999:=INTPART(D1999);
風(fēng)險(xiǎn)系數(shù):=KK999+DD999;{變異KD風(fēng)險(xiǎn)系數(shù)TFXXS}
乖離系數(shù):=(風(fēng)險(xiǎn)系數(shù)-REF(風(fēng)險(xiǎn)系數(shù),1));{變異KD乖離系數(shù)TGLXS:資金流向}
紅1:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR0000AA;
紅2:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR0022CC;
紅3:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR0055FF;
粉1:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORAA00BB;
粉2:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORCC22BB;
粉3:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)>REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORFF55BB;
黃1:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR00AAFF;
黃2:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR00CCFF;
黃3:=STICKLINE(乖離系數(shù)>0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLOR00FFFF;
藍(lán)1:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORFF7700;
藍(lán)2:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORFFAA22;
藍(lán)3:=STICKLINE(乖離系數(shù)<0 AND 乖離系數(shù)<=REF(乖離系數(shù),1),100,乖離系數(shù)+100,1,0),COLORFFFF55;
藍(lán)4:=STICKLINE(乖離系數(shù)=0 AND REF(乖離系數(shù),1)>=0,100,乖離系數(shù)+100,8,0),COLORBROWN;
藍(lán)5:=STICKLINE(乖離系數(shù)=0 AND REF(乖離系數(shù),1)<0,100,乖離系數(shù)+100,8,0),COLORWHITE;
主力籌碼:=EMA(WINNER(CLOSE)*70,3);{主力籌碼估算ZLCM}
散戶籌碼:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散戶籌碼估算SHCM}
散戶套牢:=散戶籌碼/(主力籌碼+散戶籌碼)*100;{散戶套牢籌碼系數(shù)ZSHTL}
主力控盤:=主力籌碼/(主力籌碼+散戶籌碼)*100;{主力控盤籌碼系數(shù)ZZLKP}
散戶警戒:=EMA(散戶套牢,55);{散戶警戒ZSHJJ}
主力警戒:=EMA(主力控盤,55);{主力警戒ZZLJJ}
{散戶套牢籌碼}
套牢籌碼:=STICKLINE(C>0,散戶套牢,主力控盤,0.5,0),COLOR808080;
{散戶籌碼警戒}
散戶籌碼警戒:=STICKLINE(散戶警戒>REF(散戶警戒,1),散戶套牢,散戶警戒,1,0),COLORC0C0C0;
{主力控盤籌碼}
主力控盤1粉:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLORAA00BB;
主力控盤2粉:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLORCC22BB;
主力控盤3粉:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLOREE44BB;
主力控盤1藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLORFF7700;
主力控盤2藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLORFFAA22;
主力控盤3藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤>20,主力控盤,20,1,0 ),COLORFFFF55;
主力控盤1亮紅:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1,0 ),COLOR131FFD;
主力控盤2亮紅:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1,0 ),COLOR5050FF;
主力控盤3亮紅:=STICKLINE(主力控盤>REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1,0 ),COLOR7E7EFF;
主力控盤1深藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1,0 ),COLORAA0000;
主力控盤2深藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1,0 ),COLORCC0000;
主力控盤3深藍(lán):=STICKLINE(主力控盤<=REF(主力控盤,1) AND 主力控盤<20,主力控盤,0,1 ,0 ),COLORFF0000;
{主力籌碼警戒}
主力警戒1黃:=STICKLINE(主力警戒>REF(主力警戒,1),主力控盤,主力警戒,1,0 ),COLOR00AAFF;
主力警戒2黃:=STICKLINE(主力警戒>REF(主力警戒,1),主力控盤,主力警戒,1,0 ),COLOR00CCFF;
主力警戒3黃:=STICKLINE(主力警戒>REF(主力警戒,1),主力控盤,主力警戒,1,0 ),COLOR00FFFF;
主力警戒1紅:=STICKLINE(主力控盤>主力警戒 AND 主力警戒>50,主力控盤,主力警戒,1,0 ),COLOR0000AA;
主力警戒2紅:=STICKLINE(主力控盤>主力警戒 AND 主力警戒>50,主力控盤,主力警戒,1,0 ),COLOR0022CC;
主力警戒3紅:=STICKLINE(主力控盤>主力警戒 AND 主力警戒>50,主力控盤,主力警戒,1 ,0 ),COLOR0055FF;
主力控盤紅1圖標(biāo):=STICKLINE(主力控盤>主力警戒 AND 主力警戒<50 AND 主力控盤>50
AND 主力警戒>REF(主力警戒,1),主力控盤,50,1,0 ),COLOR0000AA;
主力控盤紅2圖標(biāo):=STICKLINE(主力控盤>主力警戒 AND 主力警戒<50 AND 主力控盤>50
AND 主力警戒>REF(主力警戒,1),主力控盤,50,1,0 ),COLOR0022CC;
主力控盤紅3圖標(biāo):=STICKLINE(主力控盤>主力警戒 AND 主力警戒<50 AND 主力控盤>50
AND 主力警戒>REF(主力警戒,1),主力控盤,50,1,0 ),COLOR0055FF;
{鑄頂風(fēng)險(xiǎn)區(qū)}
主力控盤綠1圖標(biāo):=STICKLINE(主力控盤>80,主力控盤,主力控盤-(主力控盤-80)/2,1,0),COLOR00AA00;
主力控盤綠2圖標(biāo):=STICKLINE(主力控盤>80,主力控盤,主力控盤-(主力控盤-80)/2,1,0),COLOR00CC00;
主力控盤綠3圖標(biāo):=STICKLINE(主力控盤>80,主力控盤,主力控盤-(主力控盤-80)/2,1,0),COLOR00FF00;
散兵坑:=IF(主力控盤<=10,主力控盤,主力控盤),COLORMAGENTA,NODRAW;
{散兵坑}
散兵坑圖標(biāo):STICKLINE(主力控盤<=10,-5,-0.38,1,0),{COLORDD00DD}COLOR0099FF;
{莊 獲 利}
設(shè):=STICKLINE(C>0,0,0,10,0),COLORGRAY;
BC:=((H*0.5+L*0.5)*0.382+(O*0.382+C*0.618)*0.618);
LJ:=IF(INDEXC=C,BC,(BC+AMOUNT/(V*100))/2),COLORGRAY;
WQFS:=IF(INDEXC=C,48,SUMBARS(VOL,CAPITAL));
FSH:=MA(HHV(BC,WQFS),WQFS);
FSL:=MA(LLV(BC,WQFS),WQFS);
潮:=(LJ-FSL)/(FSH-FSL)*10,COLOR6600FF,LINETHICK2;
XP0:=BARSLAST(CROSS(潮,0));
乾坤線:=MA(LJ,XP0+1);
E:=LLV(L,XP0+1)=L;{完全換手最低價(jià)的位置}
E1:=BARSLAST(E);{求得完全換手最低價(jià)的位置到現(xiàn)在的周期}
建倉成本:=REF(LJ,BARSLAST(E)),COLORWHITE;
拉升成本:=REF(LJ,BARSLAST(CROSS(LJ,乾坤線)));
成本中樞:=EMA((建倉成本+拉升成本)/2,1);
莊獲利:=(LJ-成本中樞)/成本中樞*100,COLORRED,DOTLINE;
進(jìn)出線:=REF(HHV(莊獲利,XP0+1),1),COLORGREEN;
底倉線:=REF(LLV(莊獲利,XP0+1),1),COLORMAGENTA,DOTLINE;
盈虧線:=(進(jìn)出線+底倉線)/2,COLORWHITE,DOTLINE;
趨勢(shì)拐點(diǎn):=EXIST(REF(底倉線,0)<=(REF(底倉線,1)),15) AND CROSS(REF(底倉線,0),REF(底倉線,1));
莊獲利拐點(diǎn):DRAWTEXT(趨勢(shì)拐點(diǎn) AND 收盤<=(10),50,'▲莊獲利')COLORRED;
平均成本均線:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL)LINETHICK1;
平均成本K線:=DRAWKLINE(H,O,L,C);
多頭成本:=LONGCROSS(REF(平均成本K線,0),平均成本均線,10);
空頭成本:=LONGCROSS(平均成本均線,REF(平均成本K線,0),10);
多頭成本趨勢(shì):DRAWTEXT(多頭成本,50,'成本多頭')COLORRED;
空頭成本趨勢(shì):DRAWTEXT(空頭成本,50,'成本空頭')COLORGREEN;
多頭建倉加倉:=買底;
空頭減倉清倉:=賣頂;
建倉加倉標(biāo)識(shí):=DRAWTEXT(FILTERX(多頭建倉加倉,20),3,'多頭★建倉加倉')COLORLIMAGENTA;
減倉清倉標(biāo)識(shí):=DRAWTEXT(FILTERX(空頭減倉清倉,30),97,'空頭★減倉清倉')COLORBROWN;
高山:112,COLOR4E2F2F;
地界:-26,COLOR4E2F2F;
零軸:0,COLOR4E2F2F;
高點(diǎn)線:=80,COLORGREEN,DOTLINE;
低點(diǎn)線:=20,COLORRED,DOTLINE;
界軸:100,COLOR4E2F2F;
輔助線1:=-8,COLORLICYAN;
輔助線2:=-16,COLORLICYAN;
輔助線3:=-24,COLORLICYAN;
中軸:50,DOTLINE,COLOR4E2F2F;
{個(gè)股短線交易,當(dāng)使用多日濟(jì)安分時(shí)主圖并極品分時(shí)副圖,同時(shí),參考5分鐘K線或15分鐘K線走勢(shì)進(jìn)行操盤比較穩(wěn)妥。}
D1:=1;
AA1:=DRAWGBK(' 莊底買股,莊頂賣股。','.','.','.','.','.');
AA1圖標(biāo):DRAWTEXT_FIX(D1=1,0,0.0150.18,0,AA1),COLOR0099FF;
D2:=1;
AA2:=DRAWGBK(' 選股公式——《牛熊輪回》','.','.','.','.','.');
AA2圖標(biāo):DRAWTEXT_FIX(D2=1,0,0.2900.18,0,AA2),COLOR4E2F2F;
D3:=1;
AA3:=DRAWGBK(' 選股公式——《主力動(dòng)向》','.','.','.','.','.');
AA3圖標(biāo):DRAWTEXT_FIX(D3=1,0,0.3700.18,0,AA3),COLOR4E2F2F;
知博陋室交易系統(tǒng)指標(biāo)公式匯總【分時(shí)】
分時(shí)指標(biāo)
{濟(jì)安分時(shí)——知博陋室交易系統(tǒng)分時(shí)主圖指標(biāo)(08)}
C,COLORWHITE,LINETHICK;
DE:=CONST(LLV(L,90));
JI:=CONST(HHV(H,90))-DE;
DE_K:=DE+JI/3*2;
JI_K:=JI/2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DE_A:=CONST(LLV(RSV,90));
DD_A:=CONST(HHV(RSV,90))-DE_A;
R:=(RSV-DE_A)/DD_A;
RSV1:=R*JI_K+DE_K;
DE_M:=DE+JI/3;
JI_M:=JI/2;
KDL:=CONST(LLV(EMA(C,26),90));
KDH:=CONST(HHV(EMA(C,26),90))-KDL;
R_K1:=(EMA(C,12)-KDL)/KDH;
R_K2:=(EMA(C,26)-KDL)/KDH;
DIF~:(R_K1-R_K2)*JI*1.5+DE_M,LINETHICK1,COLORRED;
DEA~:EMA(DIF~,9),LINETHICK1,COLORLIGREEN;
MACD~:=(DIF~-DEA~)*2+DE_M;
STICKLINE(MACD~>=DE_M,MACD~,DE_M,0,0),COLORRED,LINETHICK2;
D_1:=MACD~>H AND H>=DE_M AND DE_M>=L;
D_2:=MACD~>H AND H>=L AND L>DE_M;
D_3:=H>MACD~ AND MACD~>=L AND L>DE_M;
D_4:=H>MACD~ AND MACD~>DE_M AND DE_M>=L;
STICKLINE(D_1>0,H,DE_M,0,0),COLORYELLOW;
STICKLINE(D_2,H,L,0,0),COLORYELLOW;
STICKLINE(D_3,MACD~,L,0,0),COLORYELLOW;
STICKLINE(D_4,MACD~,DE_M,0,0),COLORYELLOW;
D_5:=MACD~<=DE_M AND DE_M<=H;
D_6:=MACD~
D_7:=L<=H AND H
D_8:=L<=H;
STICKLINE(MACD~
STICKLINE(D_5,DE_M,L,0,0),COLORYELLOW;
STICKLINE(D_6,H,L,0,0),COLORYELLOW;
STICKLINE(D_7,H,MACD~,0,0),COLORYELLOW;
STICKLINE(D_8,DE_M,MACD~,0,0),COLORYELLOW;
均線:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
{強(qiáng)弱分時(shí)——知博陋室交易系統(tǒng)分時(shí)副圖指標(biāo)(01)}
MA30:=EMA(CLOSE,30);
強(qiáng)弱:EMA(CLOSE,900)COLORBLUE,LINETHICK2;
標(biāo)識(shí)1:STICKLINE((MA30>強(qiáng)弱),MA30,強(qiáng)弱,1,0),COLORRED;
標(biāo)識(shí)2:STICKLINE((MA30<強(qiáng)弱),MA30,強(qiáng)弱,1,0),COLORGREEN;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORLICYAN;
支撐:L1+P1*0.5/8,COLORBROWN;
現(xiàn)價(jià):CLOSE,COLORWHITE;
均價(jià):SUM(V*C,0)/SUM(V,0),COLORYELLOW;
標(biāo)識(shí)3:=STICKLINE(CROSS(支撐,現(xiàn)價(jià)),支撐,阻力,1,0),COLORYELLOW;
標(biāo)識(shí)4:DRAWTEXT(LONGCROSS(支撐,現(xiàn)價(jià),2),支撐*1.001,'●'),COLORYELLOW;{吸}
標(biāo)識(shí)5:DRAWTEXT(LONGCROSS(現(xiàn)價(jià),阻力,2),現(xiàn)價(jià),'●'),COLORRED;{拋};
標(biāo)識(shí)6:DRAWTEXT(LONGCROSS(現(xiàn)價(jià),強(qiáng)弱,120),強(qiáng)弱,'▲'),COLORMAGENTA;{吸}
標(biāo)識(shí)7:DRAWTEXT(LONGCROSS(強(qiáng)弱,現(xiàn)價(jià),120),強(qiáng)弱,'▼'),COLORBLUE;{拋};
標(biāo)識(shí)8:STICKLINE(標(biāo)識(shí)6,現(xiàn)價(jià),阻力,1,1),COLORMAGENTA;
標(biāo)識(shí)9:DRAWICON(標(biāo)識(shí)6,阻力,5);
知博陋室交易系統(tǒng)指標(biāo)公式匯總【選股】
選股公式
{☆ 莊影頂?shù)字芯€底部選股}
VAR01:=1;
VAR02:=1/WINNER(CLOSE);
VAR03:=MA(CLOSE,13);
VAR04:=100-ABS((CLOSE-VAR03)/VAR03*100);
VAR05:=LLV(LOW,75);VAR06:=HHV(HIGH,75);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VAR09:=SMA((OPEN-VAR05)/VAR07,20,1);
VAR10:=REF(LOW,1);
VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MAX(LOW-VAR10,0),3,1)*100;
VAR12:=EMA(IF(CLOSE*1.2,VAR11*10,VAR11/10),3);
VAR13:=LLV(LOW,38);
VAR14:=HHV(VAR12,38);
VAR15:=IF(LLV(LOW,90),1,0);
VAR16:=EMA(IF(LOW<=VAR13,(VAR12+VAR14*2)/2,0),3)/618*VAR15;
VARA:=3*VAR08-2*SMA(VAR08,15,1);
VARB:=3*VAR09-2*SMA(VAR09,15,1);
VARC:=100-VARB;
有莊的影子:=STICKLINE(VAR16,0,VAR16,1,1);
莊影:=VAR16;
新莊:=(100-IF(VAR02>5,IF(VAR02<100,VAR02,VAR04-10),0))*VAR01;
新莊圖標(biāo):=STICKLINE(1,新莊,100,1,1);
短線:=MA(WINNER(CLOSE*0.95)*100,3)*VAR01;
主力中線籌碼:=(100-VARA)*VAR01;
中線籌碼:=(REVERSE(主力中線籌碼)+100);
籌碼:=MEMA(中線籌碼,2);
收盤:=MEMA((0+VARA)*VAR01,2);
開盤:=MEMA((0+VARB)*VAR01,3);
趨勢(shì)線:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
VARD:=短線>VAR04;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;
VAR17:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR18:=EMA(VAR17,30);
VAR19:=CLOSE-REF(CLOSE,1);
VAR20:=MAX(VAR12,0);
VAR21:=ABS(VAR12);
VAR22:=SMA(VAR20,7,1)/SMA(VAR21,7,1)*100;
VAR23:=SMA(VAR20,13,1)/SMA(VAR21,13,1)*100;
VAR24:=BARSCOUNT(CLOSE);
VAR25:=SMA(MAX(VAR19,0),6,1)/SMA(ABS(VAR19),6,1)*100;
VAR26:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR27:=VAR25<=25 AND VAR26<-95 AND VAR1F>20 AND VAR1B<-30
AND VAR1E<30 AND VAR25-CLOSE>=-0.25 AND VAR22<22
AND VAR23<28 AND VAR24>50;
RSV91:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
中線:=SMA(RSV91,5,1);
VARD圖標(biāo):=STICKLINE(VARD,VAR04,短線,2.5,0);
中線走勢(shì):=收盤<=(15)AND LONGCROSS(REF(收盤,0),REF(開盤,0),30);
中線多頭:=DRAWTEXT(FILTERX(中線走勢(shì),30),6.58,'★中線多頭');
VAR1控盤:=EMA(EMA(CLOSE,13),13);
控盤:=(VAR1控盤-REF(VAR1控盤,1))/REF(VAR1控盤,1)*1000;
控1:=STICKLINE(控盤<0,控盤,0,1,1);
控2:=STICKLINE(控盤>REF(控盤,1) AND 控盤<0,控盤,0,1,1);
無莊控盤:=控盤<0;
控3:=STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1);
有莊控盤:=控盤>REF(控盤,1) AND 控盤>0;
VAR2控盤:=100*WINNER(CLOSE*0.95);
控4:=STICKLINE(控盤0,控盤,0,1,1);
主力出貨:=控盤0;
控5:=STICKLINE(VAR2控盤>50 AND COST(85)0,控盤,0,1,1);
高度控盤:=VAR2控盤>50 AND COST(85)0;
A101:=CROSS(控盤,0);
控盤B:=FILTER(IF(A101,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M11:=3;
財(cái):=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
神:=EMA(財(cái),M11);
控6:=DRAWBAND(財(cái),RGB(255,0,0),神,RGB(0,100,50));
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盤0.5;
STJ02:=控盤>0;
BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2;
BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ;
BTJ3:=CROSS(財(cái),神) AND 財(cái)<-0.3;
BTJ32:=CROSS(財(cái),神) AND 財(cái)<-0.1;
STJ31:=CROSS(神,財(cái));
STJ32:=CROSS(神,財(cái)) AND 財(cái)>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
控7:=DRAWTEXT(BTJ81,神,'↑買底');
控8:=DRAWTEXT(BTJ811,神*1.2,'↑有莊');
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
控9:=DRAWTEXT(STJ83,神,'↓賣');
DIFF值:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10;
DEA值:=EMA(DIFF值,3);
莊:=BTJ11 AND BTJ2 AND BTJ3;
莊底:=FILTER(莊,55),COLORWHITE;
買底:=DRAWTEXT(FILTERX(BTJ811 AND BTJ81 AND 收盤<=(15),30),-6.58,'莊底');
賣頂:=DRAWTEXT(STJ81 AND STJ82 AND 收盤>=(85),105.58,'莊頂');
莊底柱標(biāo)1:=STICKLINE(買底,-12,-0.18,0.0001,1);
莊頂柱標(biāo)1:=STICKLINE(賣頂,112,100.18,0.001,1);
莊底圖標(biāo)2:=DRAWICON(買底,-6.58,17);
莊頂圖標(biāo)2:=DRAWICON(賣頂,105.58,17);
成交量:=VOL;
啟動(dòng)量05:=MA(成交量,05);
洗盤量10:=MA(成交量,10);
異動(dòng)量35:=MA(成交量,35);
多頭量1:=DRAWTEXT(FILTERX(CROSS(REF(啟動(dòng)量05,0),REF(洗盤量10,1))AND 籌碼<(0),18),-18,'●量金叉');
多頭量2:=DRAWTEXT(FILTERX(CROSS(REF(洗盤量10,0),REF(異動(dòng)量35,1))AND 籌碼<(5),10),-18,'●量金叉');
空頭量1:=DRAWTEXT(FILTERX(CROSS(REF(洗盤量10,1),REF(啟動(dòng)量05,0))AND 籌碼>(100),18),-18,'●量死叉');
AT:=IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
階段地量:=AT
地量1:=STICKLINE(階段地量,0,HHV(V,15),2.21,1);
地量2:=STICKLINE(階段地量,0,HHV(V,15),2.21,1);
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
VVOL柱標(biāo):=STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
DD:=VAR8>5;
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力進(jìn)場(chǎng):=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1;
進(jìn)場(chǎng)柱標(biāo):=STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,1.80,1);
震倉:=IF(VAR5S
A:=(啟動(dòng) CROSS 洗盤);
AB:=(啟動(dòng) CROSS 洗盤);
BB2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動(dòng)買:=IF(CLOSE>OPEN,BB2*(HIGH-LOW),IF(CLOSE
主買:=主動(dòng)買/10000;
主動(dòng)賣:=IF(CLOSE>OPEN,0-BB2*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
主賣:=-主動(dòng)賣/10000;
參與:=主買/(主買+主賣);
盤比:=(主買/主賣);
量比:=DYNAINFO(17);
買入:=IF((COUNT(DD,2)=2),-20,0);
底:=IF((CROSS(震倉,主力進(jìn)場(chǎng))AND 買入=-20),100,0);
V1:=(C*3+H+L)/5*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);VB:=(V9-VA)/2;
主力動(dòng)向:=EMA(V4,2);
機(jī)構(gòu)動(dòng)向:=EMA(VB,2);
主力動(dòng)向1:=(SLOPE(主力動(dòng)向,2)>0 AND SLOPE(機(jī)構(gòu)動(dòng)向,2)>0,主力動(dòng)向);
主力動(dòng)向2:=(SLOPE(主力動(dòng)向,2)<0,主力動(dòng)向);
機(jī)構(gòu)動(dòng)向1:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)>0 AND SLOPE(主力動(dòng)向,2)>0,機(jī)構(gòu)動(dòng)向);
機(jī)構(gòu)動(dòng)向2:=(SLOPE(機(jī)構(gòu)動(dòng)向,2)<0,機(jī)構(gòu)動(dòng)向);
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=ZZLKP-ZZLJJ;
AAA:=EMA(ZJLRQD,1);BBB:=EMA(AAA,5);CCC:=AAA-BBB;
CCC柱標(biāo)1:=STICKLINE(CCC
CCC柱標(biāo)2:=STICKLINE(CCC>REF(CCC,2),CCC,0,2,1);
主力資金試盤:=IF(CROSS(AAA,BBB),3,0);
主力對(duì)倒出貨:=IF(CROSS(BBB,AAA),-3,0);
VAR881:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR82:=SMA(ABS(LOW-VAR881),13,1)/SMA(MAX(LOW-VAR881,0),10,1);
VAR83:=EMA(VAR82,10);
VAR84:=LLV(LOW,33);
VAR85:=EMA(IF(LOW<=VAR84,VAR83,0),5);
慘跌柱標(biāo):=STICKLINE(VAR85>REF(VAR85,1),0,VAR85,1,0);
洗盤陰柱標(biāo):=STICKLINE(VAR85
主力拉升柱標(biāo):=STICKLINE(VAR85
莊出沒:=慘跌柱標(biāo)+洗盤陰柱標(biāo)+主力拉升柱標(biāo);
停牌:=DYNAINFO(4)>0;{表示停牌股}
選股:EXIST(莊出沒,1) AND 籌碼<15 AND 停牌;
{☆ 薛斯通道之底部超跌選股}
LY:=10;
BL:=40;
CJQS:=XMA(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
外上軌:=IF(CURRBARSCOUNT>BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);
外下軌:=IF(CURRBARSCOUNT>BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);
內(nèi)上軌:=IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);
內(nèi)下軌:=IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95);
頂:=DRAWTEXT(FILTER(EXIST(LONGCROSS(內(nèi)上軌,外上軌,25),10)AND CROSS(REF(內(nèi)上軌,1),REF(內(nèi)上軌,0)),5),REF(HIGH,0)+0.5,'★頂');
底:=DRAWTEXT(FILTER(EXIST(LONGCROSS(外下軌,內(nèi)下軌,25),10)AND CROSS(REF(內(nèi)下軌,0),REF(內(nèi)下軌,1)),5),REF(LOW,0)-0.5,'★底');
{立樁量}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
圖標(biāo)3:=STICKLINE(TJ,C,O+(C-O)/2,1,0);
跌破內(nèi)軌:=DRAWTEXT(EXIST(CROSS(內(nèi)下軌,REF(CLOSE,0)),2)AND CROSS(REF(CLOSE,0),REF(OPEN,0))AND REF(內(nèi)下軌,0)>REF(內(nèi)下軌,1),REF(LOW,0)-0.5,'壹');
跌破外軌:=DRAWTEXT(CROSS(外下軌,REF(LOW,0))AND REF(外下軌,0)>REF(外下軌,1),REF(LOW,0)-0.5,'貳')COLORLIMAGENTA;
跌破雙軌:=DRAWTEXT(FILTERX(CROSS(REF(內(nèi)下軌,0),REF(CLOSE,0))AND CROSS(REF(外下軌,0),REF(CLOSE,0)),5),REF(LOW,0)-0.5,'叁');
停牌:=DYNAINFO(4)>0;{表示停牌股}
選股:停牌 AND 跌破雙軌;
{☆ 飛龍頂?shù)字畟€(gè)股超跌選股}
攻擊線5:=MA(C,5);
操盤線10:=MA(C,10);
生命線21:=MA(C,21);
決策線60:=MA(C,60);
年線251:=MA(C,251);
N:=20;
M:=30;
P1:=80;
P2:=100;
VAR101:=(C+H+O+L)/4;
高拋線:=XMA(VAR101,N)*(1+P1/1000);
低吸線:=XMA(VAR101,M)*(1-P2/1000);
賣出:=XMA(VAR101,N)*(1+P1/1000);
買入:=XMA(VAR101,M)*(1-P2/1000);
{將賣出與買入二列中的字母XMA改寫成MA——
即去除掉MA字母前面的X,就可以刪除掉公式中的未來函數(shù)了。
而我則依然愿意保留著它。}
幅度:=100*(賣出-買入)/買入;
MA1:=MA(VAR101,3);
飛龍標(biāo)識(shí)01:=STICKLINE(賣出>LOW AND 賣出
飛龍標(biāo)識(shí)02:=STICKLINE(賣出>MIN(C,O) AND 賣出
飛龍標(biāo)識(shí)03:=STICKLINE(賣出>LOW AND 賣出
飛龍標(biāo)識(shí)04:=STICKLINE(賣出
飛龍標(biāo)識(shí)05:=STICKLINE(賣出
飛龍標(biāo)識(shí)06:=STICKLINE(買入>LOW AND 買入
飛龍標(biāo)識(shí)07:=STICKLINE(買入>MIN(C,O) AND 買入
飛龍標(biāo)識(shí)08:=STICKLINE(買入>LOW AND 買入
飛龍標(biāo)識(shí)09:=STICKLINE(買入>HIGH,OPEN,CLOSE,3,0);
飛龍標(biāo)識(shí)10:=STICKLINE(買入>HIGH,HIGH,LOW,0,0);
買:=DRAWTEXT(CROSS(LOW,買入),LOW*0.95,'買');
賣:=DRAWTEXT(CROSS(賣出,HIGH),HIGH*1.02,'賣');
MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
MA30:=MA(CLOSE,37);
MAP:=MA(CLOSE,8);
AA5:=MA(CLOSE,21);
AA10:=MA(CLOSE,8),COLORFF0000;
AA12:=MA(CLOSE,12),COLORFF0000;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
中期大底:=LLV(LOW,30),;
短期底部0:=LLV(HIGH,30);
短底:=EMA(VAR01,5);
支撐:=HHV(短底,60);
壓力1:=HHV(LOW,20),COLORFAABEC;
壓力:=SMA(LOW,5,1);
中線:=MA(CLOSE,3);
飛龍標(biāo)識(shí)11:=DRAWTEXT(FILTER(((((HIGH > 支撐) AND (CLOSE < 支撐)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'.'),COLORFFFF00;
中軌道:=(MA(HIGH,15) * 1.05);
天:=(MA(LOW,15) * 0.985);
人:=(MA(LOW,15) * 0.96);
地:=(((HIGH + LOW) + CLOSE) / 3);
B1:=HHV(地,(4 * 15));
B6:=LLV(地,(4 * 15));
B7:=(B1 - B6);
B8:=(MA(((地 - B6) / B7),2) * 80);
VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200);
飛龍頂?shù)拙€1:=SMA(VAR1,3,1);
VAR2:=SMA(飛龍頂?shù)拙€1,3,1);
VAR3:=((3 * 飛龍頂?shù)拙€1) - (2 * VAR2));
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,5);
VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);
VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);
VAR8:=((3 * VAR6) - (2 * VAR7));
VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));
VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));
VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));
VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);
VARD:=((SMA(VARC,3,1) * 1.5) - 100);
VARE:=SMA(VARD,3,1);
VARF:=((3 * VARD) - (2 * VARE));
VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);
VAR11:=EMA(VAR10,13);
VAR12:=STD(VAR10,13);
VAR13:=(((VAR10 - VAR11) * 100) / VAR12);
VAR14:=EMA(VAR13,5);
VAR15:=EMA(VAR14,13);
VAR16:=((EMA(VAR14,13) + 200) - 100);
VAR17:=EMA(VAR16,10);
VAR18:=((3 * VAR16) - (2 * VAR17));
VAR19:=(((飛龍頂?shù)拙€1 + VAR6) + VARD) + VAR16);
VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);
VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);
VAR1C:=(((HIGH + LOW) + CLOSE) / 3);
VAR1D:=((AMOUNT / VOL) / 100);
VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);
VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));
VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);
VAR22:=EMA(VAR21,24);
VAR23:=STD(VAR21,24);
VAR24:=(((VAR21 - VAR22) / VAR23) * 100);
VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));
VAR26:=EMA(VAR24,5);
VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));
VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));
VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);
VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);
VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);
VAR2C:=VAR2B;
短線:=MA(VAR2C,26);
MID:=(短線 + (2 * STD(VAR2C,26)));
UPPER:=(短線 - (2 * STD(VAR2C,26)));
LOWER:=IF((VAR2C > 短線),短線,VAR2C);
XY:=MA(CLOSE,5);
M80:=MA(CLOSE,80);
短期底部:=(LLV(HIGH,30) * 0.93);
MA80:=LLV(HIGH,30);
短期底部2:=SMA(CLOSE,2,1);
趨勢(shì):=(MA(LOW,10) * 0.96);
趨:=(EMA(OPEN,107) * 0.897);
超跌位2:=MA(CLOSE,15);
GF:=MA(CLOSE,10);
MAN:=(SMA(HIGH,21,2) * 1.05);
上1:=(HHV(短底,60) * 0.92);
壓力2:=(SMA(HIGH,21,2) * 1.035);
阻擋線:=(SMA(LOW,21,2) * 0.96);
下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RSV:=SMA(下檔線,3,1);
K:=SMA(RSV,3,1);
D:=((3 * RSV) - (2 * K));
J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);
VAR5P:=MA(VAR4P,3);
VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
RSV12:=SMA(VAR6P,3,1);
K12:=SMA(RSV12,3,1);
D12:=((3 * RSV12) - (2 * K12));
J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(J12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));
壓力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D))));
支撐位:=IF((CLOSE >= MA(CLOSE,20)),80,50);
U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
L2L:=IF(((D < 支撐位) AND (REF(D,1) >= 支撐位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撐位) AND (REF(D,1) < 支撐位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撐位) AND (REF(D,1) < 支撐位))) - 1)),BARSLAST(((D < 支撐位) AND REF(D,1)))));
RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));
RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));
RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D < D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D < D24)))));
RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1)))));
RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));
RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));
RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D > D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24)))));
長期底部:=LLV(HIGH,30);
飛龍標(biāo)識(shí)12:=DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 長期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'.'),COLOR0EABFF;
RL5:=(SMA(HIGH,5,2) * 1.05);
上:=(SMA(LOW,5,2) * 0.96);
下:=SMA(LOW,2,1);
中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X1:=EMA(中,10);
X2:=REF(X1,1);
X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X5:=REF(CLOSE,1);
X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);
X7:=CROSS(79,X6);
X8:=FILTER(X7,4);
X9:=MA(CLOSE,115);
VAR001:=EMA(CLOSE,8);
飛龍頂?shù)拙€:=EMA(VAR001,20);
VAR002:=CROSS(VAR001,飛龍頂?shù)拙€);
VAR003:=(VAR001 < MA(CLOSE,20));
VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR005:=SMA(VAR004,5,1);
VAR006:=SMA(VAR005,8,1);
VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));
VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007);
VAR009:=IF((CLOSE > 1000),VAR007,VAR008);
VAR00F:=CROSS(X1,X2);
MA115:=VAR00F;
低買:=(VAR002 AND VAR003);
逃遁:=(SMA(HIGH,21,2) * 1.05);
阻擋:=(SMA(LOW,21,2) * 0.94);
持倉:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL);
空倉:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL);
飛龍標(biāo)識(shí)13:=STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0);
停牌:=DYNAINFO(4)>0;{表示停牌股}
選股:CROSS(REF(低吸線,0),REF(CLOSE,1)) AND 停牌;
{☆ KDJ之周金叉月金叉選股}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VARK:=K,COLORWHITE;
上升K:=IF(VARK>REF(VARK,1),VARK,DRAWNULL);
走平K:=IF(VARK=REF(VARK,1),VARK,DRAWNULL);
下降K:=IF(VARK
VARD:=D,COLORYELLOW;
上升D:=IF(VARD>REF(VARD,1),VARD,DRAWNULL);
走平D:=IF(VARD=REF(VARD,1),VARD,DRAWNULL);
下降D:=IF(VARD
VARJ:=J,COLORMAGENTA;
上升J:=IF(VARJ>REF(VARJ,1),VARJ,DRAWNULL);
走平J:=IF(VARJ=REF(VARJ,1),VARJ,DRAWNULL);
下降J:=IF(VARJ
N:=9;
M1:=3;
M2:=3;
漲:=CROSS(K>D,K);
跌:=CROSS(K
上:=CROSS(J>D,J);
下:=CROSS(J
周K:=MA("KDJ.K#WEEK"(N,M1,M2),5);
周D:=MA("KDJ.D#WEEK"(N,M1,M2),5);
周J:=MA("KDJ.J#WEEK"(N,M1,M2),5);
周金叉:=DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)),-8,'●');
周死叉:=DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)),108,'●');
月金叉:=DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)),-8,'●');
月死叉:=DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)),108,'●');
停牌:=DYNAINFO(4)>0;{表示停牌股}
選股:周金叉 AND 停牌 OR 月金叉 AND 停牌;
{☆ 布林通道之短線預(yù)警選股}
收盤價(jià)05:=MA(CLOSE,5);{棕色 COLOR0055FF 珊瑚紅 COLORFF7F00 中石板藍(lán)色 COLOR7F00FF}
收盤價(jià)10:=MA(CLOSE,10);{棕色 COLOR0055FF 珊瑚紅 COLORFF7F00 中石板藍(lán)色 COLOR7F00FF}
K線:=DRAWKLINE(H,O,L,C);
M1:=MA(C,1);
收盤價(jià)標(biāo)識(shí):=DRAWTEXT(CURRBARSCOUNT=1,M1,' ★');{海藍(lán) COLOR70DB93};
LY:=10;
BL:=40;
CJQS:=XMA(CLOSE,LY);
JBQS:=XMA(CLOSE,BL);
N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);
M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);
內(nèi)上軌:=IF(CURRBARSCOUNT>LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*1.05);
內(nèi)下軌:=IF(CURRBARSCOUNT>LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CURRBARSCOUNT)*0.95);
外上軌:=IF(CURRBARSCOUNT>BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);{中鮮黃色 COLOREAEAAE 淺木色 COLORE9C2A6}
外下軌:=IF(CURRBARSCOUNT>BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);
頂:=DRAWTEXT(FILTER(EXIST(LONGCROSS(內(nèi)上軌,外上軌,25),10)AND CROSS(REF(內(nèi)上軌,1),REF(內(nèi)上軌,0)),5),內(nèi)上軌+1.2,'★頂');{《小弟超兄》}
底:=DRAWTEXT(FILTER(EXIST(LONGCROSS(外下軌,內(nèi)下軌,25),10)AND CROSS(REF(內(nèi)下軌,0),REF(內(nèi)下軌,1)),5),內(nèi)下軌-1.2,'★底');
收盤價(jià)超買:=DRAWTEXT(CURRBARSCOUNT=1 AND CLOSE>外上軌,M1,' ★');{海藍(lán) COLOR70DB93};
收盤價(jià)超賣:=DRAWTEXT(CURRBARSCOUNT=1 AND CLOSE<外下軌,M1,' ★');{海藍(lán) COLOR70DB93};
平衡:=EMA(C,10);
上軌:=平衡+2*STD(C,10);{上軌-綠 色}
下軌:=平衡-2*STD(C,10);{下軌-紫紅色}
中軌多頭:=DRAWTEXT((CLOSE >平衡),平衡,'●');{COLOR0000FF}
中軌空頭:=DRAWTEXT((平衡 > CLOSE),平衡,'●');{COLORFF6600}
K線01:=STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 );
K線02:=STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 );
K線03:=STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 );
K線04:=STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 );
K線05:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.5,0 );
K線06:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 );
K線07:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 );
K線08:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 );
K線09:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 );
K線10:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 );
K線11:=STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 );
K線12:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0);
K線13:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0);
K線14:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0);
K線15:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0);
K線16:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0);
K線17:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0);
K線18:=STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0);
笑臉:=DRAWICON(CROSS(REF(內(nèi)下軌,0),REF(平衡,0)),下軌-1,5);
哭臉:=DRAWICON(CROSS(REF(平衡,0),REF(內(nèi)下軌,0)),上軌+1,6);
預(yù)警:笑臉;
{☆ 牛熊輪回之中線波段選股}
VAR01:=1;
VAR02:=1/WINNER(CLOSE);
VAR03:=MA(CLOSE,13);
VAR04:=100-ABS((CLOSE-VAR03)/VAR03*100);
VAR05:=LLV(LOW,75);VAR06:=HHV(HIGH,75);
VAR07:=(VAR06-VAR05)/100;
VAR08:=SMA((CLOSE-VAR05)/VAR07,20,1);
VAR09:=SMA((OPEN-VAR05)/VAR07,20,1);
VAR10:=REF(LOW,1);
VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MAX(LOW-VAR10,0),3,1)*100;
VAR12:=EMA(IF(CLOSE*1.2,VAR11*10,VAR11/10),3);
VAR13:=LLV(LOW,38);
VAR14:=HHV(VAR12,38);
VAR15:=IF(LLV(LOW,90),1,0);
VAR16:=EMA(IF(LOW<=VAR13,(VAR12+VAR14*2)/2,0),3)/618*VAR15;
VARA:=3*VAR08-2*SMA(VAR08,15,1);
VARB:=3*VAR09-2*SMA(VAR09,15,1);
VARC:=100-VARB;
有莊的影子:=STICKLINE(VAR16,0,VAR16,1,1);
莊影:=VAR16;
新莊:=(100-IF(VAR02>5,IF(VAR02<100,VAR02,VAR04-10),0))*VAR01;
新莊圖標(biāo):=STICKLINE(1,新莊,100,1,1);
短線:=MA(WINNER(CLOSE*0.95)*100,3)*VAR01;
中線主力籌碼:=(100-VARA)*VAR01;
籌碼:=(REVERSE(中線主力籌碼)+100);
收盤:=MEMA((0+VARA)*VAR01,2);
開盤:=MEMA((0+VARB)*VAR01,3);
趨勢(shì)線:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
VARD:=短線>VAR04;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;
VAR17:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR18:=EMA(VAR17,30);
VAR19:=CLOSE-REF(CLOSE,1);
VAR20:=MAX(VAR12,0);
VAR21:=ABS(VAR12);
VAR22:=SMA(VAR20,7,1)/SMA(VAR21,7,1)*100;
VAR23:=SMA(VAR20,13,1)/SMA(VAR21,13,1)*100;
VAR24:=BARSCOUNT(CLOSE);
VAR25:=SMA(MAX(VAR19,0),6,1)/SMA(ABS(VAR19),6,1)*100;
VAR26:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR27:=VAR25<=25 AND VAR26<-95 AND VAR1F>20 AND VAR1B<-30
AND VAR1E<30 AND VAR25-CLOSE>=-0.25 AND VAR22<22
AND VAR23<28 AND VAR24>50;
RSV91:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
中線:=SMA(RSV91,5,1);
VARD圖標(biāo):=STICKLINE(VARD,VAR04,短線,2.5,0);
中線走勢(shì):=收盤<=(15)AND LONGCROSS(REF(收盤,0),REF(開盤,0),30);
中線多頭:=DRAWTEXT(FILTERX(中線走勢(shì),30),31.98,'★');
VAR1控盤:=EMA(EMA(CLOSE,13),13);
控盤:=(VAR1控盤-REF(VAR1控盤,1))/REF(VAR1控盤,1)*1000;
控1:=STICKLINE(控盤<0,控盤,0,1,1),COLOR00FF00;
控2:=STICKLINE(控盤>REF(控盤,1) AND 控盤<0,控盤,0,1,1);
無莊控盤:=控盤<0;
控3:=STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,1);
有莊控盤:=控盤>REF(控盤,1) AND 控盤>0;
VAR2控盤:=100*WINNER(CLOSE*0.95);
控4:=STICKLINE(控盤0,控盤,0,1,1);
主力出貨:=控盤0;
控5:=STICKLINE(VAR2控盤>50 AND COST(85)0,控盤,0,1,1);
高度控盤:=VAR2控盤>50 AND COST(85)0;
A101:=CROSS(控盤,0);
控盤B:=FILTER(IF(A101,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M11:=3;
財(cái):=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
神:=EMA(財(cái),M11);
控6:=DRAWBAND(財(cái),RGB(255,0,0),神,RGB(0,100,50));
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盤0.5;
STJ02:=控盤>0;
BTJ2:=控盤>REF(控盤,1) AND 控盤<-0.2;
BTJ22:=控盤>REF(控盤,1) AND 控盤<0 ;
BTJ3:=CROSS(財(cái),神) AND 財(cái)<-0.3;
BTJ32:=CROSS(財(cái),神) AND 財(cái)<-0.1;
STJ31:=CROSS(神,財(cái));
STJ32:=CROSS(神,財(cái)) AND 財(cái)>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
控7:=DRAWTEXT(BTJ81,神,'↑買底');
控8:=DRAWTEXT(BTJ811,神*1.2,'↑有莊');
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
控9:=DRAWTEXT(STJ83,神,'↓賣');
DIFF值:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10;
DEA值:=EMA(DIFF值,3);
莊:=BTJ11 AND BTJ2 AND BTJ3;
莊底:=FILTER(莊,55);
買底:=DRAWTEXT(FILTERX(BTJ811 AND BTJ81 AND 收盤<=(15),30),105.18,'莊底');
賣頂:=DRAWTEXT(STJ81 AND STJ82 AND 收盤>=(85),105.18,'莊頂');
選股:莊底;
{☆ 分時(shí)預(yù)警之強(qiáng)弱互換選股}
MA30:=EMA(CLOSE,30);
強(qiáng)弱:=EMA(CLOSE,900);
標(biāo)識(shí)1:=STICKLINE((MA30>強(qiáng)弱),MA30,強(qiáng)弱,1,0);
標(biāo)識(shí)2:=STICKLINE((MA30<強(qiáng)弱),MA30,強(qiáng)弱,1,0);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撐:=L1+P1*0.5/8;
現(xiàn)價(jià):=CLOSE;
均價(jià):=SUM(V*C,0)/SUM(V,0);
標(biāo)識(shí)3:=STICKLINE(CROSS(支撐,現(xiàn)價(jià)),支撐,阻力,1,0);
標(biāo)識(shí)4:=DRAWTEXT(LONGCROSS(支撐,現(xiàn)價(jià),2),支撐*1.001,'●');{吸}
標(biāo)識(shí)5:=DRAWTEXT(LONGCROSS(現(xiàn)價(jià),阻力,2),現(xiàn)價(jià),'●');{拋};
標(biāo)識(shí)6:=DRAWTEXT(LONGCROSS(現(xiàn)價(jià),強(qiáng)弱,120),強(qiáng)弱,'▲');{吸}
標(biāo)識(shí)7:=DRAWTEXT(LONGCROSS(強(qiáng)弱,現(xiàn)價(jià),120),強(qiáng)弱,'▼');{拋};
標(biāo)識(shí)8:=STICKLINE(標(biāo)識(shí)6,現(xiàn)價(jià),阻力,1,1);
標(biāo)識(shí)9:=DRAWICON(標(biāo)識(shí)6,阻力,5);
選股:標(biāo)識(shí)6;
聯(lián)系客服