内容发布更新时间 : 2025/1/7 10:53:57星期一 下面是文章的全部内容请认真阅读。
指标一:相信自己主图
{老狼底背离信号}
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);{来自经典副B} DEA:=EMA(DIFF,9),COLORFFFF00; MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); DRAWICON(底背离,L*0.92,1);
DRAWTEXT(底背离,LOW*0.935,'底背离现价吸货'),COLORYELLOW;
听风买线:=EMA(C,2);
听风卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(听风买线,听风卖线);
听风SEL:=CROSS(听风卖线,听风买线);
{DRAWTEXT(BU,L*1.02,'抄底'),COLORYELLOW;} {DRAWICON(BU,L*0.99,1);} DRAWICON(听风SEL,H+0.1,2);
{STICKLINE(听风买线>=听风卖线,LOW,HIGH,0.0,1),COLORLIRED;} {STICKLINE(听风买线>=听风卖线,CLOSE,OPEN,2,1),COLORLIRED;} {STICKLINE(听风买线<听风卖线,LOW,HIGH,0.0,1),COLORLIBLUE;} {STICKLINE(听风买线<听风卖线,CLOSE,OPEN,2,1),COLORLIBLUE;} 空:=EMA(CLOSE,5);
动平衡:EMA(空,34),COLORYELLOW,LINETHICK2;
双线持币:HHV(MA(HIGH,3),2),COLORGREEN,LINETHICK2;
单线持股:LLV(MA(HIGH,3),1),COLORRED,LINETHICK2; VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
{DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),L*0.97,'买入');}
VARC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR2:=REF(VAR1,1);
VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100;
VAR4:=FILTER(IF((COUNT(VAR3<20,5))>=1 AND (COUNT(VAR1=LLV(VAR1,10),10))>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
VAR5:=FILTER(动平衡>REF(动平衡,1) AND 双线持币REF(CLOSE,1),11); VAR6:=REF(CLOSE,1);
VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100; IF(单线持股>REF(单线持股,1),单线持股,DRAWNULL),COLORRED,LINETHICK2; IF(单线持股=REF(动平衡,1),动平衡,DRAWNULL),COLORMAGENTA,LINETHICK2; IF(动平衡<=REF(动平衡,1),动平衡,DRAWNULL),COLORGREEN,LINETHICK2; 财神:=双线持币=单线持股 AND CROSS(单线持股,动平衡); DRAWICON(财神,L*0.97,1);
DRAWTEXT(财神,L*0.985,'财神'),COLORRED; {DRAWICON(动平衡 {国峰-强势无敌} 日时转换:=IF(PERIOD=5,120,240); QQZZSS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2; VVAARR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2; VVAARR2:=(EMA(VOL,10)+EMA(VOL,32))/2; VVAARR3:=(VVAARR1+VVAARR2)/2; VVAARR4:=EMA(VVAARR3,30); VVAARR5:=EMA(VVAARR3,60); VVAARR6:=EVERY(VVAARR1>REF(VVAARR1,1),5) AND EVERY(VVAARR4>REF(VVAARR4,1),5); 牵引线:=VVAARR1,COLORYELLOW; 强弱线:=EMA(VVAARR1,日时转换),POINTDOT,COLORWHITE; 趋势关注:=IF(CROSS(VVAARR1,EMA(VVAARR1,60)) AND VVAARR6,1,0),NODRAW,COLORRED; 量价关注:=IF(CROSS(VVAARR3,VVAARR5) AND VVAARR6,1,0),NODRAW,COLORWHITE; 冲击量:=IF(VVAARR3>VVAARR5 AND VVAARR6,1,0),NODRAW,COLORYELLOW; 强势区:=IF(VVAARR1>强弱线,1,DRAWNULL),NODRAW,COLORRED; 止损区:=IF(VVAARR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN; DRAWICON(趋势关注=1,L*0.87,1); DRAWTEXT(趋势关注=1,LOW*0.90,'进入强势'),COLORRED; {立量柱} AAF:=LLV(LOW,34),LINETHICK1,COLORFFFFCC; BBF:=MA(AAF,4),LINETHICK1,COLORYELLOW; TYP := (HIGH + LOW + CLOSE)/3; CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5)); 差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0; CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10)); 差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0; CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)); 差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0; CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30)); 差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0; CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60)); 差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0; CCI:=CCI1+CCI2+CCI3+CCI4+CCI5; AAA:=(3*C+H+L+O)/6; VVVAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3) +4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36; VVVAR2:=(HHV(VVVAR1,5)+HHV(VVVAR1,10)+HHV(VVVAR1,20))/3; VVVAR3:=(LLV(VVVAR1,5)+LLV(VVVAR1,10)+LLV(VVVAR1,20))/3; VVVAR4:=(HHV(VVVAR2,5)+HHV(VVVAR2,10)+HHV(VVVAR2,20))/3; VVVAR5:=(LLV(VVVAR3,5)+LLV(VVVAR3,10)+LLV(VVVAR3,20))/3; VVVAR6:=(LLV(VVVAR1,2)+LLV(VVVAR1,4)+LLV(VVVAR1,6))/3; 短线:=VVVAR1,COLORWHITE; 中线:=VVVAR6,COLORRED; 下跌:=IF(VVVAR1=VVVAR6,VVVAR6, DRAWNULL),COLORGREEN; TJ1:= CCI1>差值4; 立桩量:=FILTER(TJ1,0),NODRAW; TJ2:=IF(BARSLAST(立桩量)=1 ,1,0); STICKLINE(立桩量 !=1,REF(HIGH,BARSLAST(立桩量)), REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN; {STICKLINE(立桩量 !=1,REF(LOW,BARSLAST(立桩量)), REF(LOW,BARSLAST(立桩量)),1,1),COLORCYAN;} 成立1:=TJ2=1; 条件成立1:=FILTER(成立1,5); {DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORLIBLUE;} TJ11:= CCI1<-差值4 ; 立桩量2:=FILTER(TJ11,0),NODRAW;