同花順機(jī)構(gòu)利器指標(biāo)公式
基本概況:
- 指標(biāo)類別: 同花順指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-13 00:00:00
內(nèi)容介紹:
同花順機(jī)構(gòu)利器指標(biāo)公式:////主力動(dòng)向+主力趨勢雷達(dá)///
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;
MA5:=MA(r0,5);
//超買:3.2,coloryellow;//讓位趨勢決策線
//超賣:0.5,coloryellow;//讓位花神線
最小值:=LLV(LOW,10);
最大值:=HHV(HIGH,25);
波動(dòng)線:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4);
平均線:EMA(波動(dòng)線,3);
主力攻擊:=r0-(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)>0 AND 平均線>=REF(平均線,1) AND REF(平均線,1)<REF(平均線,2);
主力撤退:=-((r0+(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)<0) AND 平均線<=REF(平均線,1) AND REF(平均線,1)>REF(平均線,2));
DRAWTEXT(主力攻擊>0,1.5,"主進(jìn)"),colorred;
DRAWTEXT(主力撤退<0,2.8,"主退"),colorgreen;
信息:=平均線>=REF(平均線,1);
走強(qiáng):=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);
走弱:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);
量:=VOL>MA(VOL,5);
STICKLINE(平均線>=REF(平均線,1),波動(dòng)線,REF(波動(dòng)線,1),5,0),colorred;
STICKLINE(平均線<REF(平均線,1),波動(dòng)線 ,REF(波動(dòng)線,1),5,0),colorgreen;
d:=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 平均線<0.5;
s:=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 走強(qiáng)=1 AND REF(走強(qiáng),1)=0 AND 量=1;
dd:=平均線>2 AND (信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2);
tz:=(信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2) AND MA5<0 AND 走弱=1 AND 平均線>1;
DRAWTEXT(d=1,1.75,'極底'),colorred;
DRAWTEXT(s=1,平均線,'升');
DRAWTEXT(dd=1,平均線,'頂');
DRAWTEXT(tz=1,平均線,'下');
PARTLINE(平均線,平均線>=REF(平均線,1),colorred,平均線<REF(平均線,1),colorgreen);
////機(jī)構(gòu)建倉////
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
Zcjl:=(RSI5 - WR10);
最佳買入:=(AV + Zcjl);
最佳買入選股:=IF(CROSS(最佳買入,0),1,0);
VAR5:=SMA(最佳買入選股,3,1);
VAR6:=SMA(VAR5,3,1);
VAR7:=SMA(VAR6,3,1);
建倉買點(diǎn):=IF(CROSS(VAR6,VAR7) AND (VAR6<40),5,0);
DRAWTEXT(建倉買點(diǎn),0.75,'建倉'),colorred;
////機(jī)構(gòu)利器////
VAR8:=REF(CLOSE,2);
會(huì)員:=SMA(MAX(CLOSE-VAR8,0),7,1)/SMA(ABS(CLOSE-VAR8),7,1)*100;
逃亡:=IF(會(huì)員< REF(會(huì)員,1) AND 會(huì)員>79,會(huì)員,0);
DRAWTEXT(逃亡,3.1,'逃'),coloryellow;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C<REF(O,1)AND C/O>=1.01,1,'見底'),colorlired;
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),1,'絕底'),colorred;
///主力吸貨////
VAR11:=REF(LOW,1);
VAR12:=SMA(ABS(LOW-VAR11),3,1)/SMA(MAX(LOW-VAR11,0),3,1)*100;
VAR13:=EMA(IF(CLOSE*1.2,VAR12*10,VAR12/10),3);
VAR14:=LLV(LOW,38);
VAR15:=HHV(VAR13,38);