盖亚精品指标公式 财神之眼看牛势启动信号 内附源码
<h1 class="pgc-h-arrow-right">大家好,本期依旧是盖亚之前整理出来的指标,今天这组指标,主图可以看机构的信号,每支标的都有不同的提示,两个副图会给出及时的信号提示,我们废话不多说,看图。</h1><p class="pgc-img-caption"></p><h1 class="pgc-h-arrow-right">指标用法</h1><p>大家可以从图中看出来,在左上方主图是给出了【机构入驻】的信号,然后这支标的虽然有涨有跌但是整体趋势是往上攀升的,就算回落也是没有跌破支撑价位的,这也侧面反映确实是有机构在进行持仓,而我们结合上副图【财神之眼】,我们就可以很轻易的在趋势中找到介入点位,不管是我们的中长线的介入点还是我们做短线的介入点,都可以通过我们的两个副图及时的进行操作,最后把源码分享给大家。</p><h1 class="pgc-h-arrow-right">源码</h1><p>MMM:=1;</p><p>SVOL:=INTPART(SUM(V,0)/CAPITAL);</p><p>TJ0:=SVOL>REF(SVOL,1) OR BARSSINCE(CLOSE)=0;</p><p>SF1:=BARSLAST(TJ0)+1;</p><p>TJJ2:=SF1<REF(SF1,1);</p><p>S2:=IF(TJJ2,REF(SF1,1)+1,SF1);</p><p>S3:=SUM(TJJ2,0);</p><p>ZK1:="KD.K#WEEK"(9,3,3);</p><p>ZD2:="KD.D#WEEK"(9,3,3);</p><p>ZF1:="MACD.DIF#WEEK"(5,34,5);</p><p>ZA2:="MACD.DEA#WEEK"(5,34,5);</p><p>换手:=V/CAPITAL*100,LINETHICK0;</p><p>JCD:=CROSS(ZK1,ZD2) AND REF(ZD2,1)<60;</p><p>波段低点:=EXIST(JCD,MMM),COLORYELLOW,NODRAW;</p><p>STICKLINE(IF(波段低点,20,0),-4,0,2,0),COLORBROWN;</p><p>{DRAWTEXT(波段低点,-4,'▲黑夜之眼'),COLORWHITE;}</p><p>{金坑重叠要拉一波}</p><p>VAR1A:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);</p><p>VAR4AA:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);{1.05;1.01}</p><p>游资进场:=(FILTER(VAR4AA>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;{34;4;8}</p><p>A100:=5;</p><p>{STICKLINE(XYSHSL>2.1 AND CYS13>5,53,86,5,0 ),COLOR000055;}</p><p>STICKLINE(游资进场,10,18,2.4,0),COLORWHITE;{白色柱}</p><p>DRAWTEXT(游资进场,18,' 要拉一波'),COLORMAGENTA;</p><p>{财神来敲门}</p><p>LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,6),2.1*FORCAST(V,6));</p><p>拉升:=FILTER(LS,10);</p><p>STICKLINE(拉升,0,16,1,0),COLORBROWN;</p><p>DRAWICON(拉升,16.2,9);</p><p>{DRAWTEXT(拉升,16,'▲财神来敲门'),COLORGREEN;{1.048;0.2;2.1}</p><p>{跃上金坑.与主图K线黄金坑配合使用。}</p><p>A1J:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,10))/EMA(CLOSE,10)); {23}</p><p>A2J:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1J); </p><p>金线王:=EMA(A2J,5)*1;{200}</p><p>金线王2:=EMA(A2J,200)*1.118;{200}</p><p>条件:=(C-REF(C,1))/REF(C,1)*100>8;</p><p>金K线:=CROSS(C,金线王) AND 条件;</p><p>RRFJ:=金K线,STICK;</p><p>STICKLINE(IF(RRFJ,20,0),+10,0,2,0),COLORYELLOW;{COLOR000088;}</p><p>{DRAWTEXT(RRFJ,10,'▲金K迎财神'),COLORYELLOW;}</p><p>{●主图出黄K底买}</p><p>VAR11:=REF(LOW,1);</p><p>VAR2H:=(SMA(ABS(LOW-VAR11),13,1))/(SMA(MAX(LOW-VAR11,0),13,1))*4;</p><p>VAR3H:=EMA(VAR2H,13);</p><p>VAR4H:=LLV(LOW,34);</p><p>VAR5H:=EMA(IF(LOW<=VAR4H,VAR3H,0),3);</p><p>VAR6H:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)</p><p>+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);</p><p>VAR7H:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)</p><p>+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);</p><p>VAR8H:=VAR6H<REF(VAR7H,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);</p><p>STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,6,4,0),COLORBROWN;{粉色住}</p><p>{DRAWTEXT(VAR8H AND COUNT(VAR8H,18)=1,6,'●金K底时买'),COLORRED;}</p><p>T1R:=MA(MA(MA(EMA(CLOSE,1),2),2),2);</p><p>TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000,COLORFF00FF,NODRAW;</p><p>净:=MA(TR1,11);</p><p>流:=EMA(净,11);</p><p>主力动向:=EMA(净+流,1)-MA(净-流,2),COLORFF00FF,NODRAW;</p><p>MA1:=MA(主力动向,13),COLORFF00FF,NODRAW;</p><p>MA3:=EMA(MA1,2);</p><p>LC:=REF(CLOSE,1);</p><p>RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);</p><p>VWR5:=C>MAX(REF(C,1),REF(O,1)) AND C/MAX(REF(C,1),REF(O,1))>1.02;</p><p>VWR6:=REF(VWR5,1) AND VWR5=0;</p><p>DOWNQK1:=RSI>76;</p><p>VWR8:=VWR6 AND DOWNQK1;</p><p>VWR9:FILTER(VWR8,10);</p><p>{MACD低位金叉附图;这个MACD不同于以往的MACD,它的柱状体会随着上攻动能增加变红色。</p><p>会随着上攻动能对敲出货,而柱状缩小变色,与正在拉升的K线动能呈反向走势,让买卖点更清晰。}</p><p>VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);</p><p>OBV6:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);</p><p>OBV7:=EMA(OBV6,3)-MA(OBV6,9);</p><p>OBV8:=EMA(IF(OBV7>0,OBV7,0),3);</p><p>MAC:=MA(C,3);</p><p>RC:=DYNAINFO(3);</p><p>AP:=VOL*C; </p><p>BP:=SUM(AP,1)/SUM(VOL,1);</p><p>B1:=EMA(BP,17); </p><p>资金:=(BP-B1)*100/BP; </p><p>DIF:=EMA(资金,12)-EMA(资金,26),COLORGREEN;</p><p>DEA:=EMA(DIF,9),COLORCYAN;</p><p>MACD:=(DIF-DEA)*2,;</p><p>STICKLINE(OBV8>REF(OBV8,1) AND MAC>REF(MAC,1),0,MACD,3,0),COLORRED;</p><p>{持币:STICKLINE((SAR(10,2,20)>=H),MACD,0,1.5,0),COLORGREEN;</p><p>持股:STICKLINE((SAR(10,2,20)<=L),0,MACD,1.5,0),COLORCYAN;}</p><p>吸:=XLPL.NOTEXT吸,COLORMAGENTA,CIRCLEDOT,LINETHICK3;</p><p>拉:=XLPL.NOTEXT拉,COLORRED,CIRCLEDOT,LINETHICK3;</p><p>派:=XLPL.NOTEXT派,COLORGREEN,CIRCLEDOT,LINETHICK3;</p><p>落:=XLPL.NOTEXT落,COLORWHITE,CIRCLEDOT,LINETHICK3;</p><p>STICKLINE(吸,0,MACD,4,0),COLORYELLOW;</p><p>STICKLINE(拉,0,MACD,4,0),COLORMAGENTA;</p><p>{STICKLINE(派,0,MACD,10,1),COLORGRAY;</p><p>STICKLINE(落,0,MACD,10,1),COLORGRAY;};</p><p>{零轴下红色资金活跃块。属于左侧信号,用于研判右侧交易是否确立信号}</p><p>DIFZ:=EMA(CLOSE,12)-EMA(CLOSE,26);</p><p>DEAZ:=EMA(DIFZ,9);</p><p>MACD6:=(DIFZ-DEAZ)*2,COLORSTICK;</p><p>主力进驻:=COUNT(MACD6<0,10)=10,COLORRED,NODRAW;</p><p>{STICKLINE(主力进驻,0,MACD6*1,10,0),COLORRED;}</p><p>{MACD低位金叉附图;这个MACD不同于以往的MACD,它的柱状体会随着上攻动能增加变色。</p><p>会随着上攻动能对敲出货,而柱状缩小变色,与正在拉升的K线动能呈反向走势,让买卖点更清晰。}</p><p>VA1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);</p><p>OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA1),0);</p><p>OBV2:=EMA(OBV1,3)-MA(OBV1,9);</p><p>OBV3:=EMA(IF(OBV2>0,OBV2,0),3);</p><p>MAC3:=MA(C,3);</p><p>RCC:=DYNAINFO(3);</p><p>AP3:=VOL*C; </p><p>BP3:=SUM(AP3,1)/SUM(VOL,1);</p><p>B13:=EMA(BP3,17); </p><p>资金1:=(BP3-B13)*100/BP3; </p><p>DIF3:=EMA(资金1,12)-EMA(资金1,26),COLORGREEN;</p><p>DEA3:=EMA(DIF3,9),COLORCYAN;</p><p>MACD1:=(DIF3-DEA3)*2,;</p><p>STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,MACD,2,0),COLORMAGENTA;</p><p>持币1:STICKLINE((SAR(10,2,20)>=H),MACD1,0,1.5,0),COLORGREEN;</p><p>持股1:STICKLINE((SAR(10,2,20)<=L),0,MACD1,1.5,0),COLORCYAN;</p><p>吸1:=XLPL.NOTEXT吸,COLORMAGENTA,CIRCLEDOT,LINETHICK3;</p><p>拉1:=XLPL.NOTEXT拉,COLORMAGENTA,CIRCLEDOT,LINETHICK3;</p><p>派1:=XLPL.NOTEXT派,COLORGREEN,CIRCLEDOT,LINETHICK3;</p><p>落1:=XLPL.NOTEXT落,COLORWHITE,CIRCLEDOT,LINETHICK3;</p><p>STICKLINE(吸1,0,MACD1,2,0),COLORMAGENTA;</p><p>STICKLINE(拉1,0,MACD1,2,0),COLORMAGENTA;</p><p>STICKLINE(派1,0,MACD1,3,0),COLORGREEN;</p><p>STICKLINE(落1,0,MACD1,2,0),COLORBLUE;</p><p>{▲主图有金坑吸筹,无金坑放弃。}</p><p>LCF:=REF(CLOSE,1);</p><p>RSI5:=((SMA(MAX((CLOSE - LCF),0),5,1) / SMA(ABS((CLOSE - LCF)),5,1)) * 100);</p><p>TR1F:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);</p><p>HD:=(HIGH - REF(HIGH,1));</p><p>LD:=(REF(LOW,1) - LOW);</p><p>DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);</p><p>DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);</p><p>PDI:=((DMP * 100) / TR1F);</p><p>MDI:=((DMM * 100) / TR1F);</p><p>ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);</p><p>AV:=(RSI5 + ADX);</p><p>DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);</p><p>WR10:=((100 * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60)));{10}</p><p>NEWVOL:=(RSI5 - WR10);</p><p>金坑买入:=(AV + NEWVOL);</p><p>买入选股:=IF(CROSS(金坑买入,0),1,0),STICK,COLORRED;{NODRAW}</p><p>VAR1Z:=SMA(买入选股,8,1);{3}</p><p>VAR2Z:=SMA(VAR1Z,8,1),COLOR0000FF;{3}</p><p>VAR3Z:=SMA(VAR2Z,10,1),COLOR00FFFF;{3}</p><p>金坑吸筹:=IF(CROSS(VAR2Z,VAR3Z) AND (VAR2Z<40),5,0* 10000),COLOR0000FF,LINETHICK1;{40}</p><p>STICKLINE(金坑吸筹,0,8,1,0),COLORMAGENTA;</p><p>DRAWTEXT(金坑吸筹>0,8,'▲主图有金坑吸筹'),COLORLIRED;</p><p>MACD2:=(DIF-DEA)*2,;</p><p>STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,MACD2,3,0),COLORYELLOW;</p><p>持币2:STICKLINE((SAR(10,2,20)>=H),MACD2,0,1.5,0),COLORGREEN;</p><p>持股2:STICKLINE((SAR(10,2,20)<=L),0,MACD2,1.5,0),COLORCYAN;</p><p>吸2:=XLPL.NOTEXT吸,COLORMAGENTA,CIRCLEDOT,LINETHICK3;</p><p>拉2:=XLPL.NOTEXT拉,COLORMAGENTA,CIRCLEDOT,LINETHICK3;</p><p>派2:=XLPL.NOTEXT派,COLORGREEN,CIRCLEDOT,LINETHICK3;</p><p>落2:=XLPL.NOTEXT落,COLORWHITE,CIRCLEDOT,LINETHICK3;</p><p>STICKLINE(吸2,0,MACD2,1.2,0),COLORMAGENTA;</p><p>STICKLINE(拉2,0,MACD2,1.7,0),COLORMAGENTA;</p><p>STICKLINE(派2,0,MACD2,2,0),COLORBLUE;</p><p>STICKLINE(落2,0,MACD2,1,1),COLORGRAY;</p><p>{开始控盘黄箭头}</p><p>VAR1:=EMA(EMA(CLOSE,9),9);</p><p>控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*350;</p><p>{STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;}</p><p>A10:=CROSS(控盘,0);</p><p>无庄控盘:=IF(控盘<0,控盘,0),COLORWHITE,NODRAW;</p><p>{开始控盘:IF(A10,5,0),LINETHICK3,COLORYELLOW;{移至最下方}</p><p>STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;</p><p>有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;</p><p>VAR2F:=100*WINNER(CLOSE*0.95);</p><p>STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;{绿};</p><p>{STICKLINE(游资进场,10,18,1,0),COLORWHITE;{白色柱}</p><p>DRAWTEXT(游资进场,18,' 要拉一波'),COLORMAGENTA;</p><p>DRAWTEXT(拉升,16,'▲财神来敲门'),COLORYELLOW;{1.048;0.2;2.1}</p><p>DRAWTEXT(RRFJ,10.5,'▲金K迎财神'),COLORYELLOW;</p><p>DRAWTEXT(VAR8H AND COUNT(VAR8H,18)=1,6,'●金K底时买'),COLORWHITE;</p><p>DRAWTEXT(波段低点,-4,'▲黑夜之眼'),COLORWHITE;</p><p>{成交放量}</p><p>AA:=VOL;</p><p>BB:=REF(MA(VOL,5),1);{5}</p><p>CC:=AA/BB;</p><p>A1:=CC>=0.001 AND CC<0.5;</p><p>A2:=CC>=0.5 AND CC<0.8;</p><p>A3:=CC>=0.8 AND CC<1.5;</p><p>A4:=CC>=1.5 AND CC<2.3;{2.5}</p><p>A5:=CC>=2.5 AND CC<5.0;</p><p>A6:=CC>=5.0 AND CC<10.0;</p><p>A7:=CC>=10.0 AND CC<20.0;</p><p>关注线:1.5,COLORFFFFFF,LINETHICK1;</p><p>温和放量:=A4,STICK,COLOR00CCFF;</p><p>STICKLINE(A5,0,CC,2,0),COLORBLUE; </p><p>明显放量:A5,STICK,COLORLIBLUE;</p><p>DRAWTEXT(明显放量,3.5,'▲中量'),COLORWHITE;</p><p>XG:STICKLINE(A6,0,CC,1.2,0),COLORBLUE;</p><p>DRAWTEXT(XG,7,'▲成交大量'),COLORCYAN;</p><p>放量线:2.5,COLORRED,LINETHICK2;</p><p>今日量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;</p><p>DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);</p><p>DEA1:=EMA(DIF1,9);</p><p>AAA1:=(DIF1-DEA1)*2*60;{60}</p><p>XP1:=10;{10}</p><p>XP2:=AAA1-REF(AAA1,1);</p><p>底部家族:CROSS(XP2,XP1),COLORWHITE,LINETHICK2;</p> 好人一生平安! 不知该说些什么。。。。。。就是谢谢 good!vevy good!
页:
[1]