飞狐精品指标-与庄共舞
-
相关简介:C/C++ Code 复制内容到剪贴板 {与庄共舞} VAR2:=REF(LOW,1); VAR3:=IF(CLOSE0,0,(SMA(ABS(LOW-VAR2),13,1))/(SMA(MAX(LOW-VAR2,0),13,1))*100); VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13); VAR5:=LLV(LOW,34); VAR6:=HHV(VAR4,34); VAR7:=IF(LLV(LOW,56),1,0);
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
C/C++ Code复制内容到剪贴板
- {与庄共舞}
- VAR2:=REF(LOW,1);
- VAR3:=IF(CLOSE<0,0,(SMA(ABS(LOW-VAR2),13,1))/(SMA(MAX(LOW-VAR2,0),13,1))*100);
- VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
- VAR5:=LLV(LOW,34);
- VAR6:=HHV(VAR4,34);
- VAR7:=IF(LLV(LOW,56),1,0);
- VAR8:=IF(CLOSE<0,0,(EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3))/(618)*VAR7);
- VAR9:=EMA(CLOSE,5);
- VAR10:=IF(CLOSE<0,0,(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10));
- STICKLINE(VAR8>REF(VAR8,1),0,VAR8,4,1),color10FFFF;
- 庄进场:IF(VAR8>REF(VAR8,1),VAR8*8,0),LINETHICK2,color10FFFF;
- STICKLINE(VAR8<REF(VAR8,1),0,VAR8,4,1),colorFFF810;
- 洗盘:IF(VAR8<REF(VAR8,1),VAR8*10,0),LINETHICK1,colorFFF810;
- 庄持仓:LOW*5,LINETHICK1,colorFF10FF;
- XL1:=IF(CLOSE<0,0,MA(LOW,2)*0.96);
- XL2:=IF(CLOSE<0,0,MA(LOW,26)*0.85);
- XL3:=IF(CLOSE<0,0,REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2));
- STICKLINE(XL3,0,VAR8*3,4,1),color6EFF;
- DRAWTEXT(XL3,VAR8*2,'买'),color6EFF;
- V1:=IF(CLOSE<0,0,(CLOSE*2+HIGH+LOW)/4*10);
- V2:=IF(CLOSE<0,0,EMA(V1,13)-EMA(V1,34));
- V3:=IF(CLOSE<0,0,EMA(V2,5));
- V4:=IF(CLOSE<0,0,2*(V2-V3)*5.5);
- 主力撤:IF(CLOSE<0,0,IF(V4<=0,V4,0)),LINETHICK1,colorFF00;
- 主力拉:IF(CLOSE<0,0,IF(V4>=0,V4,0)),LINETHICK1,colorFF;
- V5:=IF(CLOSE<0,0,(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8);
- V6:=EMA(3*V5-2*SMA(V5,18,1),5);
- V7:=IF(CLOSE<0,0,(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10);
- V8:=(INDEXC*2+INDEXH+INDEXL)/4;
- V9:=IF(CLOSE<0,0,EMA(V8,13)-EMA(V8,34));
- 底部区域:IF(CLOSE<0,0,(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100),LINETHICK0;
- STICKLINE(CROSS(底部区域,-24),100,0,6,0),colorFFFFFF;
- DRAWTEXT(CROSS(底部区域,-24),80,'底部'),colorFFFFFF;
- VA:=EMA(V9,3);
- VB:=(V9-VA)/2;
- VB1:=(V9-VA)/2*100;
- 变换:=IF(CLOSE<0,0,IF(CAPITAL>0,VB,VB1));
- JIA:=EMA(V4,2);
- V11:=IF(CLOSE<0,0,3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1));
- 趋势线:=IF(CLOSE<0,0,EMA(V11,3)-9);
- MID:=IF(CLOSE<0,0,(HIGH+LOW+CLOSE)/3);
- CR:=SUM(MAX(0,HIGH-REF(MID,1)),26)/(SUM(MAX(0,REF(MID,1)-LOW),26))*100;
- A:=IF(CLOSE<0,0,IF(CR<55,CR,0));
- DPZD1:=BARSLAST(A)<10;
- STICKLINE(A,0,-3,0.5,0),colorCC9900;
- STICKLINE(DPZD1 AND CROSS(趋势线,0) AND MA(CLOSE,3)>MA(CLOSE,5),0,5,0.5,0),color99FF;
- DRAWTEXT(DPZD1 AND CROSS(趋势线,0) AND MA(CLOSE,3)>MA(CLOSE,5),4,'买票'),color99FF;
- STICKLINE(趋势线>=75 AND CROSS(JIA,V4),V4-2,V4+2,5,0),colorFFFF;
- DRAWTEXT(趋势线>=75 AND CROSS(JIA,V4),V4+2,' 风险'),colorFFFF;
- 庄持仓=LOW*5;
- EXPLAIN(庄持仓=LOW*5,' 舞庄进言'),colorFF00FF;
- EXPLAIN(庄持仓=LOW*5,'请先把握主图趋势再与庄共舞'),colorFF;
- EXPLAIN(庄持仓=LOW*5,'证券代码:'+STKLABEL),colorFF;
- EXPLAIN(庄持仓=LOW*5,' 舞庄解盘'),colorFFFFFF;
- EXPLAIN(CROSS(趋势线,0) AND MA(CLOSE,3)>MA(CLOSE,5),'洗盘即将结束可以考虑逐步进场。'),colorFFFF;
- EXPLAIN(趋势线>=75 AND CROSS(JIA,V4),'股价运行高位请注意安全,趋势若尚好可谨慎持有,不然严重出局!!'),colorFF00;
- EXPLAIN(庄进场>2,'预示有狼在此吸血,了解下是新庄打压还是老庄补仓?'),colorFFFF;
- EXPLAIN(洗盘>2,'洗盘动作,注意观望是否会再次打压吸筹!'),colorFFF810;
- EXPLAINICON(庄进场>2,1);
- EXPLAINICON(DPZD1 AND CROSS(趋势线,0) AND MA(CLOSE,3)>MA(CLOSE,5),'MyBMP'),ALIGN0;
- EXPLAINICON(趋势线>=75 AND CROSS(JIA,V4),'mao'),ALIGN0;
- AA:D IF(CLOSE<0,0,VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN))));
- 主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*(HIGH-OPEN+CLOSE-LOW),VOL/2));
- 主动卖盘:=IF(CLOSE>OPEN,AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL/2));
- B:=主动买盘-主动卖盘;
- 五日:=IF(CLOSE<0,0,SUM(B,5));
- 十日:=IF(CLOSE<0,0,SUM(B,10));
- 十五日:=IF(CLOSE<0,0,SUM(B,15));
- DRAWTEXTEX(CLOSE,1,540,20,'主动买盘:'),colorFF;
- DRAWTEXTEX(CLOSE,1,610,20,NUMTOSTR(主动买盘,2)+''),colorFF;
- DRAWTEXTEX(CLOSE,1,700,20,'主动卖盘:'),colorFF00;
- DRAWTEXTEX(CLOSE,1,780,20,NUMTOSTR(主动卖盘,2)+''),colorFF00;
- DRAWTEXTEX(CLOSE,1,4,20,'五日增减:'),colorFFFF;
- DRAWTEXTEX(CLOSE,1,75,20,NUMTOSTR(五日,2)+''),colorFFFF;
- DRAWTEXTEX(CLOSE,1,170,20,'十日增减:'),colorFFFF;
- DRAWTEXTEX(CLOSE,1,245,20,NUMTOSTR(十日,2)+''),colorFFFF;
- DRAWTEXTEX(CLOSE,1,350,20,'十五日增减:'),colorFFFF;
- DRAWTEXTEX(CLOSE,1,440,20,NUMTOSTR(十五日,2)+''),colorFFFF;
- {波段知底}
- VAR1:=IF(CLOSE<0,0,SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0));
- VAR2:=IF(CLOSE<0,0,SUMBARS(VOL,CAPITAL));
- VAR3:=IF(CLOSE<0,0,(IF(CLOSE>LLV(CLOSE,VAR2),1,-1))*(IF(VAR1>LLV(VAR1,VAR2),1,-1)));
- VAR4:=IF(CLOSE<0,0,IF(VAR3=-1,1,0));
- VAR5:=IF(CLOSE<0,0,COUNT(VAR4=1,8)>3);
- VAR6:=IF(CLOSE<0,0,SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100);
- VAR7:=IF(CLOSE<0,0,DMA((OPEN+HIGH+LOW+CLOSE)/4,VOL/VAR6));
- VAR8:=(CLOSE-VAR7)/VAR7*100<-17;
- VAR9:=(CLOSE-MIN(REF(CLOSE,5)*0.83,REF(CLOSE,21)*0.72))/CLOSE<0.05;
- RSW:=VAR8 AND VAR9 AND VAR5;
- DRAWICON(RSW,0,1);
- {绝地反攻}
- AA:=DMA(CLOSE,VOL/MA(VOL,4)/4);
- BB:=DMA(CLOSE,VOL/MA(VOL,33)/33);
- V1:=(CLOSE*2+HIGH+LOW)/4*10;
- V2:=EMA(V1,13)-EMA(V1,34);
- V3:=EMA(V2,5);
- V4:=2*(V2-V3)*5.5;
- 主力撤:IF(CLOSE<0,0,IF(V4<=0,V4,0)),LINETHICK1,colorFF00;
- 主力拉:IF(CLOSE<0,0,IF(V4>=0,V4,0)),LINETHICK1,colorFF;
- JIA:D EMA(V4,2);
- V11:D 3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
- 趋势线:=EMA(V11,3)-9;
- MID:=(HIGH+LOW+CLOSE)/3;
- CR:=SUM(MAX(0,HIGH-REF(MID,1)),26)/(SUM(MAX(0,REF(MID,1)-LOW),26))*100;
- A:=IF(CR<55,CR,0);
- DPZD1:=BARSLAST(A)<10;
- STICKLINE(趋势线>=75 AND CROSS(JIA,V4),V4-2,V4+2,5,0),colorFFFF;
- DRAWTEXT(趋势线>=75 AND CROSS(JIA,V4),V4+2,' 风险'),colorFFFF;
- CC:=(CLOSE-AA)/AA*100<-11;
- DD:=(AA-BB)/BB*100<-22.3;
- EE:=CC AND DD;
- DRAWICON(IF(EE AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)),1,0),0,'jd'),ALIGN0;
上一篇:飞狐精品指标-英雄趋势线
下一篇:飞狐精品指标-买卖均线