根据论坛各位老师的指标综合后的----很好用,对趋势的预测感觉还可以。
VAR1:=1;
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力筹码趋向: (100-VARA)*VAR1,COLOR0099FF,LINETHICK2;
VARD:=主力筹码趋向>VAR4;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR11:=EMA(VARF,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-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;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
STICKLINE(VARD,VAR4,主力筹码趋向,1,0),COLOR0099FF;
STICKLINE(VAR20,0,80,2,0),COLORRED,LINETHICK3;
主力做底轴线:95,COLORYELLOW ,LINETHICK1 ;
主力做大底轴线:100,COLORRED,LINETHICK1;
主力做顶轴线:0,COLORCYAN ,LINETHICK2 ;
中线轴: 15,COLORWHITE ,LINETHICK1;
VAR1G:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1G);
VAR3G:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR4G:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR5G:=(HIGH+LOW+CLOSE)/3;
VAR6G:=(VAR5G-MA(VAR5G,14))/(0.015*AVEDEV(VAR5G,14));
VAR7G:=(VAR5G-MA(VAR5G,70))/(0.015*AVEDEV(VAR5G,70));
VAR8G:=IF(VAR6G>=150 AND VAR6G<200 AND VAR7G>=150 AND VAR7G<200,10,0);
VAR9G:=IF(VAR6G<=-150 AND VAR6G>-200 AND VAR7G<=-150 AND VAR7G>-200,-10,VAR8G);
VARAG:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARBG:=100-ABS(VARAG);
VARCG:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
VARDG:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
VAREG:=REF(LOW,1)*0.9;
VARFG:=LOW*0.9;
VAR11G:=EMA(VARFG,30);
VAR12G:=VAR11G-CLOSE;
VAR13G:=REF(CLOSE,1);
VAR14G:=SMA(MAX(CLOSE-VAR13G,0),7,1)/SMA(ABS(CLOSE-VAR13G),7,1)*100;
VAR15G:=SMA(MAX(CLOSE-VAR13G,0),13,1)/SMA(ABS(CLOSE-VAR13G),13,1)*100;
VAR16G:=BARSCOUNT(CLOSE);
VAR17G:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
VAR18G:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
VAR19G:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1AG:=(SMA(VAR19G,4,1)-50)*2;
VAR1BG:=SMA(VAR1AG,3,1);
VAR1CG:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1DG:=SMA(VAR1CG,4,1);
VAR1EG:=SMA(VAR1DG,3,1);
VAR1FG:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20G:=IF(VAR17G<=25 AND VAR18G<-95 AND VAR1FG>20 AND VAR1BG<-30 AND VAR1EG<30 AND VAR12G>=-0.25 AND VAR14G<22 AND VAR15G<28 AND VAR16G>50,80,0);
天线:=IF(VARB<90,VARB,100),COLORCYAN, LINETHICK1;
多:IF(VAR1G>0,VAR1G,0),COLORRED, LINESTICK;
空:IF(VAR1G<0,VAR2,0),COLORGREEN,LINESTICK;
HLM1:=MA(HHV(H,485),17);
HLM2:=MA(HHV(H,222),17);
HLM3:=MA(HHV(H,96),17);
HLM4:=MA(LLV(L,485),17);
HLM5:=MA(LLV(L,222),17);
HLM6:=MA(LLV(L,96),17);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
关注:IF(L<=LLV(L,13),40,0),COLORFFFFFF,LINETHICK1;
趋势:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),
3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,
1),2,1),LINETHICK1,COLOR7F52AF;
V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
V2:= MA(CLOSE,5)>MA(CLOSE,20);
V3:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;
风险: IF(V1 AND V2 AND V3,30,0),LINETHICK3,STICK,COLOR00FF00;
底部:=0;
抄底: IF(CROSS(趋势,底部),60,0),LINETHICK2,STICK,COLOR00FFFF;
DRAWTEXT(CROSS(趋势,底部),50,'抄底'),COLOR0000FF;
顶:=IF(CROSS(108,趋势),1,0),LINETHICK1,STICK,COLORFF9D00;
STICKLINE(CROSS(108,趋势),90,106,1,0),COLORGREEN;
DRAWTEXT(CROSS(108,趋势),85,'顶'),COLOR00FF00;
VAR111:=((CLOSE-MA(CLOSE,21))/MA(CLOSE,13)*100),VOLSTICK;
大顶:(VAR111>20 AND FILTER(VAR111< REF(VAR111,1),5))*90,COLORGREEN;
STICKLINE(VAR111>9 AND FILTER(VAR111< REF(VAR111,1),5),0,65,2,1),COLORGREEN;
VAR3C:=(HIGH+LOW+CLOSE*2)/4;
VAR3D:=EMA(VAR3C,21);
VAR3E:=STD(VAR3C,21);
VAR3F:=((VAR3C-VAR3D)/VAR3E*100+200)/4;
VAR40:=(EMA(VAR3F,5)-25)*1.56;
VAR41:=EMA(VAR40,2)*1.22;
AJD: EMA(VAR41,2),COLORCYAN;
AJJ: 3*VAR41-2*AJD,COLORFF937F;
VAR88:=MA(CLOSE,27);
VAR98:=(CLOSE-VAR88)/VAR88*100;
VARA8:=MA(VAR98,2);
VARB8:=BARSLAST(CROSS(-10,VARA8)=1);
VARC8:=BARSLAST(CROSS(VARA8,10)=1);
VARD8:=VARA8<-10 AND VARB8>3;
VARE8:=VARA8>10 AND VARC8>3;
黄金坑: IF(VARD8,VARA8,0),LINESTICK ,LINETHICK2, COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=30,-16,'●趋势指标●'),COLORRED;
|