分享

《通达信主副图指标集锦》2

 风露_清愁 2010-09-23

 


买线:EMA(C,2),colorred;
卖线:EMA(SLOPE(C,21)*20+C,42),coloryellow;
BUY:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(buy,(LOW * 0.988),'↑'),colorred,linethick5;
drawtext(buy,(LOW * 0.958),'B'),colorred,linethick5;
drawtext(sel,(HIGH * 1.028),'↓'),colorwhite,linethick5;
drawtext(sel,(HIGH * 1.058),'S'),colorwhite,linethick5;
stickline(买线>=卖线,low,high,0.1,1),colorred;
stickline(买线>=卖线,close,open,8,1),colorred;
stickline(买线>=卖线,close,open,10,1),colorred;
stickline(买线<卖线,close,open,10,0),colorblue;
stickline(买线<卖线,close,open,8,0),colorblue;
stickline(买线<卖线,low,high,0.1,1),colorblue;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),coloryellow;

MACD实战

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
D1:=EMA(C,3)-EMA(C,8);
D2:=EMA(O,3)-EMA(O,8);
D3:=EMA(H,3)-EMA(H,8);
D4:=EMA(L,3)-EMA(L,8);
DRAWICON(cross(d1,diff) and diff<-0.05 ,d4-0.1,1);
DRAWICON(cross(diff,d1) and diff>0.1 ,d3+0.1,2);
STICKLINE(D1>=D2,D1,D2,8,0),COLOR0055AA;
STICKLINE(D1<=D2,D1,D2,8,0),COLOR006600;
STICKLINE(D1>=D2,D1,D2,5,0),COLOR0077CC;
STICKLINE(D1>=D2,D1,D2,3,0),COLOR0099DD;
STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;
STICKLINE(D1<=D2,D1,D2,5,0),COLOR009900;
STICKLINE(D1<=D2,D1,D2,3,0),COLOR00BB00;
STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;

碧血洗银枪(副、未来)

Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var3:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Var4:=SMA(Var3, 9, 1);
Var5:=SMA(Var4, 3, 1);
J:3*Var4-2*Var5,colorff00ff;
Var6:=J>1*REF(J, 1);
Var7:=LLVBARS(LOW, 50);
Var8:=SUM(VOL, Var7);
Var9:=HHVBARS(HIGH, 50);
Var10:=SUM(VOL, Var9);
Var11:=(CLOSE-REF(OPEN, Var9))/REF(OPEN, Var9)*100;
Var12:=Var10/CAPITAL*100;
Var13:=(CLOSE-REF(OPEN, Var7))/REF(OPEN, Var7)*100;
Var14:=Var8/CAPITAL*100;
Var15:MA(WINNER(CLOSE),3)*100;
Var16:EMA(Var4,3);
A2:EMA(Var4,3), COLORFFDDCC,linethick2;
A3:EMA(A2,3), COLORFFBBCC;
A4:EMA(A3,3), COLORFF99CC;
A5:EMA(A4,3), COLORFF55CC;
A6:EMA(A5,3), COLORFF33CC;
A7:EMA(A6,3), COLORFF11CC,linethick2;
c1:=cross(a2,a7) and a2>a7;
DRAWICON(c1,a2,1);
AA:EMA(A5,36),LINETHICK2, COLORyellow;
DRAWTEXT(CROSS(A4, AA) AND Var11,a4,'@'),color00ff00;
DRAWTEXT(CROSS(A2,J) AND A2>75, A2, '峰'), COLORYELLOW;
DRAWTEXT(CROSS(J, A2) AND Var6 AND A2<20 AND Var2>9 OR A2>1*REF(A2, 1) AND Var2>4 AND A2<60, A2, '拉'), colorred;

波段鬼王1(副未来)

Var2:=1/WINNER(CLOSE);
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);
散户:=MA(WINNER(CLOSE*0.95)*100,3);
新庄:=(100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0));
VarD:=散户>Var4;
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,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;
Var21:=(HIGH+LOW+CLOSE)/3;
Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));
Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70));
Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0);
Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24);
断子绝生:= IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50;
drawicon(VarD,high,2);
drawtext(Var20,c,'★'),coloryellow;
DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,c*1.01,'有钱不赚傻'), COLORYELLOW;
DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,high*1.01,'赚钱我走啦'),color00ff00;
Var26:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var27:=REVERSE(Var26);
Var28:=SMA(Var26,3,1);
波段王:= SMA(Var28,3,1);
波段鬼:= SMA(波段王,3,1);
地狱:drawicon(CROSS(波段王,波段鬼) AND 波段王<40,low,1);
天堂: drawicon(CROSS(波段鬼,波段王) AND 波段鬼>75,high,2);
DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,low*1.01,'低吸做波段'), COLORWHITE;
DRAWTEXT(CROSS(波段鬼,波段王) AND 波段鬼>75,high*1.01,'减磅是老师'),color00ff00;

理财专家
{参数 D:34,90,72}

VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1);
VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR5:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14));
VAR7:=(VAR5-MA(VAR5,89))/(0.015*AVEDEV(VAR5,89));
VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0);
VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);
VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARB:=100-ABS(VARA);
VARC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA
((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
VARD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA
((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=VAR11-CLOSE;
VAR13:=REF(CLOSE,1);
VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;
VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;
VAR16:=BARSCOUNT(CLOSE);
VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1A:=(SMA(VAR19,4,1)-50)*2;
VAR1B:=SMA(VAR1A,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:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50,80,0);
活筹OAMV: VAR3,COLORFF00FF;
OX: IF(VARB<90,VARB,100),COLORFFCC66;
VAR21:=IF(VAR1>0,VAR1,0);
核能: IF(VAR1<0,VAR2,0), LINESTICK;
牛角: VAR20,COLORYELLOW;
预警: IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9))
+60,COLOR00FF00;
VAR22:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34));
VAR23:=MA(VAR22,3);
VAR24:=EMA(AMOUNT/VOL/100,5);
VAR25:=EMA(AMOUNT/VOL/100,13);
VAR26:=VAR24-VAR25;
势能: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORRED,LINETHICK2;
STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,8,1),COLORRED;
STICKLINE(VAR3<REF(VAR4,1),VAR3,VAR4,8,1),COLOR00FF00;
VAR27:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
VAR28:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
VAR29:=VAR21>50 AND 预警>60 AND OX=100;
VAR2A:=VAR21>48 AND 预警>60 AND OX<100;
VAR2B:=核能>38 AND 预警<55;
VAR2C:=牛角>50 AND OX<90;
VAR2D:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VAR2E:=VAR3>=REF(VAR4,1) AND CLOSE<REF(CLOSE,1) AND 预警=60 AND 牛角=0 AND 核能>=REF(核能,1) AND VARC<REF(VARD,1);
DRAWTEXT(VAR27 AND COUNT(VAR27,30)=1,90,'持股待涨'),COLORFF00FF;
DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,10,'出局为佳'),COLOR00FF00;
DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'上涨过急,需要调整'),COLORWHITE;
DRAWTEXT(VAR2A AND COUNT(VAR2A,30)=1,80,'拉升在即狂牛!'),COLORYELLOW;
DRAWTEXT(VAR2B AND COUNT(VAR2B,30)=1,20,'不必杀跌有反弹 '),COLORWHITE;
DRAWTEXT(VAR2C AND COUNT(VAR2C,30)=1,30,'角斗士,阶段底部 '),COLORYELLOW;
DRAWTEXT(VAR2D AND COUNT(VAR2D,30)=1,60,'大资金进场'),COLOR0099FF;
DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,40,'高点回落'),COLORFFCC66;

陈氏抄底[原飞狐公式]

BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORCYAN,LINETHICK1;
STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORCYAN;
抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;
STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;
抄底三:IF(乖离<-6,5,0),COLORRED,LINETHICK1;
STICKLINE(乖离<-6,5,3,2,1),COLORRED;
抄底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;

VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR3:=(CLOSE-VAR1)/VAR1*100<-10;
VAR4:=(VAR1-VAR2)/VAR2*100<-16;
VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VAR8:=INDEXC;
VAR9:=MA(VAR8,6);
VARA:=MA(VAR8,24);
VARB:=MA(VAR8,32);
VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095;
SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;
抄底王:SSS>0,COLORWHITE,LINETHICK1;
STICKLINE(SSS>0,0,6,6,0),COLORWHITE;

波段鬼王2(副未来)

Var2:=1/WINNER(CLOSE);
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),linethick6, COLORRED ;
散户: MA(WINNER(CLOSE*0.95)*100,3), , COLORYELLOW;
新庄: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0)), ,COLORGREEN;
VarD:=散户>Var4;
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,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;
Var21:=(HIGH+LOW+CLOSE)/3;
Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));
Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70));
Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0);
Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24);
绝处逢生: IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50,LINETHICK2,CROSSDOT;
STICKLINE(VarD,Var4,散户,5,0), , COLORRED;
STICKLINE(1,散户,0,1,0), ,COLORYELLOW;
STICKLINE(1,新庄,100,1,0), , COLORGREEN;
STICKLINE(Var20,0,80,5,0),LINETHICK3,COLORRED,;
DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,60,'有钱不赚傻!'),LINETHICK7 , COLORYELLOW;
DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,70,'**我走啦!!!'),LINETHICK7 , COLORGREEN;
Var26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var27:=REVERSE(Var26);
Var28:=SMA(Var26,3,1);
波段王: SMA(Var28,3,1),linethick2 ;
波段鬼: SMA(波段王,3,1),linethick2 , COLORYELLOW;
地狱: IF(CROSS(波段王,波段鬼) AND 波段王<40,35,0),linethick2 , COLORRED;
天堂: IF(CROSS(波段鬼,波段王) AND 波段鬼>75,70,100),linethick2 , COLORGREEN;
DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,25,'逢低吸呐'),linethick4 , COLORWHITE;
DRAWTEXT(CROSS(波段鬼,波段王) AND 波段鬼>75,85,'减磅是老师!'),linethick4 ;

波段羊

白色: SMA(HIGH,2,2)*1.05,COLORWHITE;
白高13: SMA(HIGH,13,2)*1.05,COLORWHITE;
白色35: SMA(HIGH,35,2)*1.05,COLORWHITE;
白色55: SMA(HIGH,55,2)*1.05,COLORWHITE;
黄低13: SMA(LOW,13,2)*0.95,COLORYELLOW;
黄色21: SMA(LOW,21,2)*0.95,COLORYELLOW;
黄色35: SMA(LOW,35,2)*0.95,COLORYELLOW;
黄色55: SMA(LOW,55,2)*0.95,COLORYELLOW;
黄色: SMA(LOW,13,2)*0.95,COLORYELLOW;
粉色: SMA(LOW,5,1),COLORMAGENTA;
绿色: SMA(CLOSE,2,1),COLORGREEN;
绿色13: SMA(CLOSE,13,1),COLORGREEN;
绿色21: SMA(CLOSE,21,1),COLORGREEN;
绿色55: SMA(CLOSE,55,1),COLORGREEN;
波段买入:IF(CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1)),白高13*1.05,SMA(LOW,5,1)),COLORMAGENTA;
羊:IF(CROSS(SMA(CLOSE,2,1),SMA(HIGH,21,2)*1.05),白色*1.10,SMA(LOW,21,2)*0.95),COLORYELLOW,STICK;

{买卖奇准}

你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
急卖奇准:IF(HHV((你<好),5),100,50),colorblue;
短卖奇准:IF(HHV((你<好),10),100,50),colorgreen;

老板:= MA(老,5);
买卖:=LLV(老板,10);
急买奇准:IF(LLV((你<买卖),5),50,0),colorred;
短买奇准:IF(LLV((你<买卖),10),50,0),colorwhite;

TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
没神的只有不错:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),80,0)),LINETHICK3,colorFF00FF;

操盘线

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR600020;
STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR404050; DRAWKLINE(H,O,L,C);
指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF;
界:MA(CLOSE,27),COLOR00FFFF;
B买:IF(CROSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;
持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;
S卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;
空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;
DRAWICON(CROSS(买线,卖线),L,1);
DRAWICON(CROSS(卖线,买线),H,2);

操王盘

x:=c-ref(ma(c,20),11);
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0);
wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;
wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;
s2:=ema(s1,3);
s3:=abs(bias1-bias3);
sx:=(s1+s3)/2;
xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;
ccc:=xc1+sx;
zjz:=IF( lgl>0 and ccc<0,200,0)*x;
lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0);
jbj:=if(ccc<0 and lxl=-50,100,0)*x;
ma3:= ma(c,3);
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
bot:=MIN(c0,c1);
hsl:=100*vol/capital*x;
ma13:=ma(c,13)*x;
cxc:=if((c-bot)/c<3/100 and sum(hsl,5)/5<1.8,1,0);
vmc:=if(cxc>0 and (lxl<0 or lgl>0),10,0);
满仓:if((vmc>0),60,0),colorred;
半仓:if(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902)) or (((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) and vmc<10 ,50,0);
v93:=(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) ;
v90:=((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902));
买一点:if((v93 or v90),10,0);
Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
神奇线:= MA((CLOSE-Var2q)/Var2q,1);
买二点:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 and ((c-ref(c,2))/c)>0.06,20,0);
yy:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);
yt:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);
st:=if(cross(yt,yy),30,0);
Var5pt:=(HIGH+LOW+CLOSE)/3;
Var6pt:=(Var5pt-MA(Var5pt,14))/(0.015*AVEDEV(Var5pt,14));
Var7pt:=(Var5pt-MA(Var5pt,85))/(0.015*AVEDEV(Var5pt,85));
sa:=IF(Var7pt>=200 AND Var6pt>=150,10,0);
Var3qq:=REF(CLOSE,1);
Var4qq:=SMA(MAX(CLOSE-Var3qq,0),6,1)/SMA(ABS(CLOSE-Var3qq),6,1)*100;
sm:=if(CROSS(80,Var4qq),30,0);
卖点:if((sm and (sa or st)),30,0);

超级新庄杀手系列软件公式 (副未来)
M1(3,10,5)M2(5,20,10)M3(10,40,20)

Var2:=1/WINNER(CLOSE);
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),color0099ff,linethick2;
散户: MA(WINNER(CLOSE*0.95)*100,3),coloryellow, ;
新庄: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0)),colorgreen , ;
VarD:=散户>Var4;
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,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;
Var21:=(HIGH+LOW+CLOSE)/3;
Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));
Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70));
Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0);
Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24);
小心断裂:(IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50),colorcc9900 ,linethick2 ,crossdot;
STICKLINE(VarD,Var4,散户,5,0),, ;
STICKLINE(1,散户,0,1,0),coloryellow , ;
STICKLINE(1,新庄,100,1,0),colorgreen, ;
STICKLINE(Var20,0,80,5,0),colorred,linethick3 ;
DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,60,'有钱不赚是傻蛋!'),coloryellow,linethick2;
DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,70,'赚钱我走啦!'), , ;
Var26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var27:=REVERSE(Var26);
Var28:=SMA(Var26,3,1);
波段王: SMA(Var28,3,1),colorff00ff,linethick2;
波段鬼: SMA(波段王,3,1),coloryellow,linethick2;
地狱:IF(CROSS(波段王,波段鬼) AND 波段王<40,35,0),color0066ff ,linethick2 ;
天堂:IF(CROSS(波段鬼,波段王) AND 波段鬼>75,70,100),colorgreen ,linethick2 ;
DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,25,'逢低吸呐 !'),colorwhite , ;
DRAWTEXT(CROSS(波段鬼,波段王) AND 波段鬼>75,85,'逢高减磅!'),colorffff00 , ;

超级终结者(副\未来)

x:=1;
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and   c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0);
wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;
wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;
BIAS1 := ((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2 := ((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3 := ((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;
s2:=ema(s1,3);
s3:=abs(bias1-bias3);
sx:=(s1+s3)/2;
xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;
ccc:=xc1+sx;
zjz:=IF( lgl>0 and ccc<0,200,0)*x;
lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and
VOL/CAPITAL*100<5,-50,0);
jbj:=if(ccc<0 and lxl=-50,100,0)*x;
ma3:= ma(c,3);
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
bot:=MIN(c0,c1);
hsl:=100*vol/capital*x;
ma13:=ma(c,13)*x;
cxc:=if((c-bot)/c<3/100 and sum(hsl,5)/5<1.8,1,0);
vmc:=if(cxc>0 and (lxl<0 or lgl>0),100,0);
v满仓:=vmc;
v半仓a:=if(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902)) or
(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) and vmc<10 ,50,0) ;
v93:=(((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or cxc>0) and (lxl<0 or lgl>0)) ;
v90:=((zjz>0 and jbj>0 and SUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0 and ref(c,1)/ref(c,2)>0.902));
v半仓:=v93 or v90;
xmm87:=v满仓 or v半仓;
xmm91:=vmc;
g:=MA(CLOSE,80)-MA(CLOSE,10)/3*x;
初级:if(xmm87>0,87,0),stick,linethick2;
中级:if(xmm91>0,91,0),stick,linethick2;
高级:if(vmc>0 and CLOSE<g,97,0),stick,linethick2;
终结者:max(max(高级,初级),中级),circledot,coloryellow,linethick2;
Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
神奇线:= MA((CLOSE-Var2q)/Var2q,1);
买点1:= IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012,0.5,0), STICK;
稳赚:= IF(COUNT(神奇线>REF(神奇线,1),3)=3 AND COUNT(神奇线<0,10)=10 AND REF(神奇线,3)=LLV(神奇线,10),0.5,0);
买点2:= IF(REF(神奇线,2)=LLV(神奇线,20) AND REF(神奇线,2)<0.071 AND REF(神奇线,2)<REF(神奇线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),0.5,0);
xa:=ema(神奇线,12)*0.7;
xb:=ema(神奇线,3);
底部将成:if(llv(xb-xa,12)>0,0,-30),colorffcc66;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA), COLORSTICK;
抄底:if(底部将成<0 and cross(macd,0),50,0),colorblue;
DRAWICON( 抄底>0,60 ,1 );
短线投机:ema((CLOSE-llV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),linethick2,colorff00ff;
获利盘:EMA(WINNER(CLOSE),5)*100,colorffcccc;
A:=EMA(WINNER(CLOSE),10);
B:=EMA(WINNER(CLOSE),34);
Var31:=MA(VOL,5)>MA(VOL,60);
介入: IF(A<0.15 AND ABS(A-B)<0.05 AND CROSS(A,B) and var31,1,0)*100,colorred;
出货: IF(A>0.90 AND CLOSE<MA(CLOSE,5),1,0)*100,colorgreen;

{超级主力}副\未来

活筹: 100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);死筹: 100*WINNER(CLOSE);
主力筹码: 100*WINNER(CLOSE*0.9);
获利3: 100*WINNER(CLOSE*0.97);获利20: 100*WINNER(CLOSE*0.9*0.9);
获利30: 100*WINNER(CLOSE*0.9*0.9*0.9);
穿透筹码: 100*WINNER(CLOSE)-100*WINNER(REF(CLOSE,1)*1);
AA:REF(主力筹码<30,1) AND 主力筹码>30,color0099ff;
QW:LOW<COST(4) AND CLOSE>COST(4),color888888;
STICKLINE(获利3>85,0,获利3,8,0),coloryellow;
STICKLINE(主力筹码>30,0,主力筹码,8,1),colorff00ff;
STICKLINE(获利20>20,0,获利20,8,1),color00ff00;
STICKLINE(获利30>20,0,获利30,8,1),colorwhite;

{用法:以紫红色活筹为核心,当你在使用[主力建仓]发现股价在60日均线和建仓线上时以错过了股价的最佳买入时机,你可以立刻用现在的这个指标里的活筹来研判!当活筹出现时你可以考虑跟庄{因为活筹是庄家拉升的信号,当然这个指标里也有庄家筹码,要是庄家筹码出现{白色柱体]那可就是牛了!95%100是大牛股了!}


成交量复合炮(副\未来)

VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,1)*1.2;
MAVOL2:MA(VOLUME,2)*1.2;
MAVOL13:MA(VOLUME,13)*1.2;
MAVOL21:MA(VOLUME,21)*1.2;
MAVOL34:MA(VOLUME,34)*1.2,COLORLIBLUE;
MAVOL43:MA(VOLUME,43)*1.2;
MAVOL55:MA(VOLUME,55)*1.2;
铭180:MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),180);
庄180:EMA(WINNER(C)*70,180)*10,COLORYELLOW;
MAVOL120:MA(VOLUME,120)*1.2;
MAVOL180:MA(VOLUME,180)*1.2,COLORRED,LINETHICK4;
关注:= (CROSS(MAVOL1,MAVOL2))  AND MAVOL2<MAVOL180*0.9 AND UPNDAY(EMA(C,13),2);
DRAWTEXT(关注 ,MAVOL1*1.2,'▲剑'),COLORRED;
G:= (CROSS(MAVOL1,MAVOL180)) AND UPNDAY(MAVOL180,2);
DRAWTEXT(G ,MAVOL1,'▲箭'),COLORYELLOW;
DD:=  UPNDAY(MAVOL13,3)AND UPNDAY(MAVOL21,2)AND UPNDAY(MAVOL34,2)AND UPNDAY(MAVOL43,1)AND UPNDAY(MAVOL55,1)AND UPNDAY(MAVOL120,1)AND UPNDAY(庄180,3)AND UPNDAY(铭180,3);
DRAWTEXT(DD ,MAVOL1,'▲炮'),COLORMAGENTA;
EE:= (CROSS(MAVOL1,MAVOL180)) AND(CROSS(MAVOL2,MAVOL180)) AND UPNDAY(MAVOL13,2)AND UPNDAY(MAVOL21,2)AND UPNDAY(MAVOL34,2);
DRAWTEXT(EE ,MAVOL1*1.2,'▲出刀'),COLORGREEN;

成交炮群(副/未来)

VOLUME:VOL;
MAVOL1:MA(VOLUME,1)*1.2;
MAVOL13:MA(VOLUME,13)*1.2;
铭:MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),3.55),
VOLSTICK;
MAVOL21:MA(VOLUME,21)*1.2;
MAVOL34:MA(VOLUME,34)*1.2,COLORLIBLUE;
MAVOL43:MA(VOLUME,43)*1.2;
MAVOL99:MA(VOLUME,99)*1.2;
MAVOL180:MA(VOLUME,180)*1.2,COLORRED,LINETHICK4;
D1:=  UPNDAY(MAVOL13,1)AND UPNDAY(MAVOL21,1)AND UPNDAY(MAVOL34,1)AND UPNDAY(MAVOL43,1);
DRAWTEXT(D1 ,MAVOL180,'▲针'),COLORGREEN;
D3:=  UPNDAY(MAVOL13,3)AND UPNDAY(MAVOL21,3)AND UPNDAY(MAVOL34,3)AND UPNDAY(MAVOL43,3);
DRAWTEXT(D3 ,MAVOL180,'▲枪'),COLORLIBLUE;
D7:=  UPNDAY(MAVOL13,7)AND UPNDAY(MAVOL21,7)AND UPNDAY(MAVOL34,7)AND UPNDAY(MAVOL43,7);
DRAWTEXT(D7 ,MAVOL180,'▲炮'),COLORMAGENTA;
D13:=  UPNDAY(MAVOL13,13)AND UPNDAY(MAVOL21,13)AND UPNDAY(MAVOL34,13)AND UPNDAY(MAVOL43,13);
DRAWTEXT(D13 ,MAVOL180,'▲刃'),COLORWHITE;
DC:=    UPNDAY(MAVOL180,7)AND UPNDAY(MAVOL99,7)AND UPNDAY(MAVOL43,7);
DRAWTEXT(DC ,MAVOL180,'▲雷'),COLORRED;
LL:=(CROSS(EMA(WINNER(C)*70,7),EMA(WINNER(C)*70,13)));
DRAWTEXT(LL,MAVOL1*1.2,'▲冲'),COLORYELLOW;
DRAWTEXT(铭<6 ,铭,'▲鼎'),COLORWHITE;

我不知道名字

实价线:(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,COLORWHITE;
A1:=(2*C+H+L)/4;
A2:=LLV(L,34);
A3:=HHV(H,34);
A4:=SMA((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70,9,1)+100;
A5:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
A6:=SMA(SMA(A5,3,1),3,1)+100;
A7:=A6-A4;
底部区域:IF(A7>60,A7-60,0),COLORYELLOW;
持有:STICKLINE(REF(底部区域,1)<底部区域,底部区域,REF(底部区域,1),5,0),COLORF00FF0;
出货:STICKLINE(REF(底部区域,1)>底部区域,底部区域,REF(底部区域,1),5,0),COLOR00FF00;
中线持有:EMA((A1-A2)/(A3-A2)*100,13),COLORBLUE;
中线出货:EMA(0.667*REF(中线持有,1)+0.333*中线持有,2),COLORRED;
STICKLINE(中线持有-中线出货>0,中线持有,中线出货,8,0),COLORBLUE;
STICKLINE(中线持有-中线出货<0,中线持有,中线出货,8,0),COLORRED;

盘中参考(都说准确率极高,大家可以自己看看)

var1:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
var2:=2*abs(var1);
var3:=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);
var4:=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);
var5:=(high+low+close)/3;
var6:=(var5-ma(var5,14))/(0.015*avedev(var5,14));
var7:=(var5-ma(var5,70))/(0.015*avedev(var5,70));
var8:=if(var6>=150 and var6<200 and var7>=150 and var7<200,10,0);
var9:=if(var6<=-150 and var6>-200 and var7<=-150 and var7>-200,-10,var8);
vara:=(close-ma(close,13))/ma(close,13)*100;
varb:=100-abs(vara);
varc:=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);
vard:=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);
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var10:=(varf*vol+vare*(capital-vol))/capital;
var11:=ema(var10,30);
var12:=var11-close;
var13:=ref(close,1);
var14:=sma(max(close-var13,0),7,1)/sma(abs(close-var13),7,1)*100;
var15:=sma(max(close-var13,0),13,1)/sma(abs(close-var13),13,1)*100;
var16:=barscount(close);
var17:=sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100;
var18:=((-100)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+50)*2;
var19:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1a:=(sma(var19,4,1)-50)*2;
var1b:=sma(var1a,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:=if(var17<=25 and var18<-95 and var1f>20 and var1b<-30 and var1e<30 and var12>=-0.25 and var14<22 and var15<28 and var16>50,80,0);
情报: var3;
天线: if(varb<90,varb,100);
红军: if(var1>0,var1,0),colorred, linestick;
绿军: if(var1<0,var2,0),colorgreen,linestick;
导弹: var20;
预警系统: if(var7>=200 and var6>=150,15,if(var7<=-200 and var6<=-150,-15,var9))+60;
stickline(var3>=ref(var4,1),var3,var4,8,0);
stickline(var3<ref(var4,1),var3,var4,8,0);
var21:=close>ma(close,20) and ma(close,20)>=ref(ma(close,20),1);
var22:=close<ma(close,20) and ma(close,20)<ref(ma(close,20),1);
var23:=红军>50 and 预警系统>60 and 天线=100;
var24:=红军>48 and 预警系统>60 and 天线<100;
var25:=绿军>38 and 预警系统<55;
var26:=导弹>50 and 天线<90;
var27:=var3<ref(var4,1) and vol>ref(vol,1) and close>ref(close,1);
var28:=var3>=ref(var4,1) and close<ref(close,1) and 预警系统=60 and 导弹=0 and 绿军>=ref(绿军,1) and varc<ref(vard,1);
drawtext(var21 and count(var21,30)=1,100,'上升通道,持股待长或高抛低吸!');
drawtext(var22 and count(var22,30)=1,90,'下降通道,小心无量阴跌! ');
drawtext(var23 and count(var23,30)=1,70,'上涨过急,需要调整,短线先抛出! ');
drawtext(var24 and count(var24,30)=1,80,'庄家出货,大跌在即,中线抛出! ');
drawtext(var25 and count(var25,30)=1,50,'不必杀跌,应有小反弹 ,跌停除外!');
drawtext(var26 and count(var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外 ');
drawtext(var27 and count(var27,30)=1,40,'有大资金进场迹象,关注!');
drawtext(var28 and count(var28,30)=1,20,'见顶回落');

智能操盘(本人感觉此指标不适合牛市)

k2:=EMA(c,5),colorffff00;
k3:=EMA(c,10),colorffff00;
k5:=EMA(c,30),colorffff00;kk5:=EMA(indexc,30),colorffff00;

k6:=2*(k2-k5);k7:=2*(k2-k3);k8:=2*(k7+k6),COLORRED;
STICKLINE(CROSS(k8,0),0,10,8,0) ,COLORRED;

k1:=IF(k8>ref(k8,5) and k3<ref(k3,5) ,1,0 ),COLORYELLOW;
k21:=IF(k8>ref(k8,7) and k3<ref(k3,7) ,1,0 ),COLORYELLOW;
k31:=IF(k8>ref(k8,9) and k3<ref(k3,9) ,1,0 ),COLORYELLOW;
k4:=IF(k8>ref(k8,11) and k3<ref(k3,11) ,1,0 ),COLORYELLOW;
底部:STICKLINE((k1 or k21 or k31 or k4) and k8<0 and k8>ref(k8,1),5,0,8,0) ,COLORYELLOW;

不亏均线-稳健型   {主}

M0:EMA(C,7),COLOR00FF00;
M3:EMA(C,30),COLORFFCC66;
M5:EMA(C,43),COLORYELLOW;
M6:EMA(C,60),COLORRED;
M7:MA(C,78),COLORFFCC66;
M8:EMA(M7,3),COLORFFCC66;
M9:EMA(M8,3),COLORFF00FF;
M11:EMA(M9,3),COLORFF00FF;
MA17:EMA(C,17),COLORWHITE;
MA23:EMA(C,23),COLORD3D3FF;
MA30:EMA(CLOSE,30),COLORGREEN;
MA47:EMA(CLOSE,46),COLORYELLOW;
MA60:EMA(CLOSE,60),COLORRED,LINETHICK2;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,M9*0.987,'空转多'),COLORYELLOW;
DRAWTEXT(CROSS(M6,M9),M9*0.95,'空转多'),COLORWHITE;

神密线(副及选股)


X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;
X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;
X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
X5:=V/CAPITAL*(C+O+L+H)/4;
x6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
x7:=IF(x6>0,X5,0-X5);
x8:=H-MAX(C,O)-(MIN(C,O)-L);
x9:=(x7+x8)/2+C-REF(C,1);
x10:=SUM(x9,0)+100;
x11:=EMA(x10,5)+100;
x12:=EMA(x10,13)+100;
x13:=EMA(x10,34)+100;
x14:=EMA(x10,60)+100;
x15:=EMA(x10,120)+100;
x16:=(x11-x12)/EMA(C,13)*100;
x17:=(x11-x13)/EMA(C,13)*100;
x18:=(x11-x14)/EMA(C,13)*100;
x19:=(x11-x15)/EMA(C,13)*100;
x20:=(x19-x16);
x21:=(x19-x17);
x22:=(x19-x18);
y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
y3:=y1-y2;
y4:=100-y3;
y5:=(0-(EMA(y4,1)-50))+50;
y6:=(0-(EMA(y4,12)-50))+50;
Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
Z3:=(Z1-Z2-50)*1.032+50;
Z4:=(2*C+H+L+O)/5;
Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
P0:X4-X1+x20+y5-y6,COLORYELLOW;
P4:(Z3-Z5)/2+P0,COLORGREEN;
{筹码}
bb1:=SMA(ABS(L-REF(L,1)),3,1);
bb2:=SMA(MAX((L-REF(L,1)),0),3,1);
bb3:=bb1/bb2*100;
bb4:=EMA(IF(C*1.2,bb3*10,bb3/10),3);
bb5:=LLV(L,38);
bb6:=HHV(bb4,38);
bb7:=IF(LLV(L,90),1,0);
bb8:=IF(L<=bb5,(bb4+bb6*2)/2,0);
bb9:=EMA(bb8,3)/618*bb7;
drawtext(cross(p4,p0) and p4<40,(p4-10),'△'),colorred;

通达信选股
X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
Y3:=Y1-Y2;
Y4:=100-Y3;
Y5:=(0-(EMA(Y4,1)-50))+50;
Y6:=(0-(EMA(Y4,12)-50))+50;
X5:=V/CAPITAL*(C+O+L+H)/4;
X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
X7:=IF(X6>0,X5,0-X5);
X8:=H-MAX(C,O)-(MIN(C,O)-L);
X9:=(X7+X8)/2+C-REF(C,1);
X10:=SUM(X9,0)+100;
X11:=EMA(X10,5)+100;
X12:=EMA(X10,13)+100;
X15:=EMA(X10,120)+100;
X16:=(X11-X12)/EMA(C,13)*100;
X19:=(X11-X15)/EMA(C,13)*100;
X20:=(X19-X16);
Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
Z3:=(Z1-Z2-50)*1.032+50;
Z4:=(2*C+H+L+O)/5;
Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
P0:=X4-X1+X20+Y5-Y6,COLORYELLOW;
P4:=(Z3-Z5)/2+P0,COLORGREEN;
CROSS(P4,P0) AND P4<40;

睡醒了就卖(副)

 


梦乡:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,34))*89;
初醒:SMA(梦乡,7,1);
清醒:SMA(初醒,5,1);
挣开眼就买吧:IF(CROSS(初醒,清醒) AND 清醒<20,50,10);
睡醒了就卖吧:IF(CROSS(清醒,初醒) AND 清醒>40,50,10);

地板:8,COLORRED,LINETHICK2;
房顶:75,COLORGREEN,LINETHICK2;

实战主图

 

A:=LLV(INDEXC,13)*1.056;
X:=REF(CLOSE,1)<REF(CLOSE,2) AND REF(VOL,1)>MAX(REF(MA(VOL,5),1),MAX(REF(MA(VOL,10),1),REF(MA(VOL,20),1))) AND REF(VOL,1)>REF(MA(VOL,20),1)*1.1;
Y:=IF(X,MIN(REF(LOW,1),LOW),0);
Z1:REF(Y,BARSLAST(Y)),LINETHICK2;
X1:=REF(CLOSE,1)<REF(OPEN,1) AND REF(VOL,1)>MAX(REF(MA(VOL,5),1),MAX(REF(MA(VOL,10),1),REF(MA(VOL,20),1))) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1) OR REF(CLOSE,1)<REF(OPEN,1) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1);
S:=(3*CLOSE+LOW+OPEN+HIGH)/6;
B:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
B1:=MA(B,3);
B2:=MA(B,5);
B3:=MA(B,21);
B4:=MA(B,34);
Y1:=IF(X1,REF(CLOSE,1),0);
Z2:REF(Y1,BARSLAST(X1)),COLORBLUE,LINETHICK2;
N1:=7;
M1:=MA(C,11);
M2:MA(C,34),COLORGREEN,LINETHICK2;
均线变异:IF(M1>M2,M2,M1),COLOR0000FF,LINETHICK2;
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR6:=VAR3-VAR1;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(RSI,11),LOW,'* '),COLORYELLOW;
VAR7:=EMA(AMOUNT/VOL/100,3);
VAR8:=EMA(VAR7,88);
VAR9:=EMA(VAR7,88)*0.85;
VARA:=VAR9*0.87;
VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW*0.95,'★---》抄底'),COLORYELLOW;
DRAWTEXT(CROSS(RSI,11) , LOW,'......短底 '),COLORFFFFFF ;
MID := MA(CLOSE,26);
UPPER:= MID + 2*STD(CLOSE,26);
LOWER:= MID - 2*STD(CLOSE,26);
S1:=IF((MID<11 AND BIAS>-11 AND CROSS( A,B) AND (A-B)>0.010),2,0),STICK,LINETHICK3,COLORGREEN;
DRAWTEXT(RSI=2,LOW,'→关注 '), COLORGREEN;
DRAWICON( FILTER(CROSS(A,A) AND A<0.5 AND RSI<20,13),LOW,1 );
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);                                                                                                              
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,4,1),COLOR00FFFF;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1  AND REF(P2,1)=0,OPEN,CLOSE,3,1),COLOR00FF66;
RSN:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
AA:=(CLOSE - MA15);
波动回调提示图:MA(CLOSE,10000);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.96),'上拐点'),COLORFFFF33;
DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),COLOR00FF66;
DRAWTEXT(CROSS(78,RSI),(HIGH * 1.05),'回调!'),COLORFFFFFF;

耶稣双MACD(副)

DIFF: EMA(CLOSE,24) - EMA(CLOSE,60),colorwhite;
DEA: EMA(DIFF,12),coloryellow;
MACD2:=2*(DIFF-DEA),colorff00ff ;
DIFF1: EMA(CLOSE,10) - EMA(CLOSE,22),color00ff00;
DEA1: EMA(DIFF1,9),colorred;
MACD1:= 2*(DIFF1-DEA1),colorfccccc;
macd:(macd2+macd1)/2,COLORSTICK,linethick1;
stickline(DIFF-DEA>0,DIFF,DEA,4,0),color1234ff;
stickline(DIFF-DEA<0,DIFF,DEA,4,0),colorff4321;
stickline(DIFF1-DEA1>0,DIFF1,DEA1,4,0),colorccffff;
stickline(DIFF1-DEA1<0,DIFF1,DEA1,4,0),color65ff21;
stickline(macd>ref(macd,1) and (diff1+diff)/2>(dea1+dea)/2,macd,0,5,0),COLORff00ff;
stickline(macd>ref(macd,1) and (diff1+diff)/2>(dea1+dea)/2,macd,0,1,0),coloryellow;

 

落袋为安(副)

LC:REF(CLOSE,1);
RSI5:((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
R:(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(((B / 2) + 40) * 1.1);
落袋为安D:=SMA(CCC,3,1);
落袋为安:IF(CROSS(落袋为安D,RSI5),58,0),STICK;
DRAWICON(落袋为安,50.1,3);
DRAWTEXT(落袋为安,38,'短'),colorFFFFFF;
DRAWTEXT(落袋为安,28,'线'),colorFFFFFF;
DRAWTEXT(落袋为安,18,'逃'),colorFFFFFF;
买了不输(副)

A1:=AMOUNT/VOL/1000;
B2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
D3:=SUM(AMOUNT,13)/A1/1000;
E4:=DMA(B2,VOL/D3);
买了不输:(CLOSE-E4)/E4*1000;
VARX:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARX1:=SMA(VARX,3,1);
VARX2:=SMA(VARX1,3,1);
VARX3:=REF(LOW,1);
VARX4:=SMA(ABS(LOW-VARX3),3,1)/SMA(MAX(LOW-VARX3,0),3,1)*100;
VARX5:=EMA(IF(CLOSE*1.2,VARX4*10,VARX4/10),3);
VARX6:=LLV(LOW,30);
VARX7:=HHV(VARX5,30);
VARX8:=IF(LLV(LOW,58),1,0);
VARX9:=(EMA(IF(LOW<=VARX6,(VARX5+VARX7*2)/2,0),3)/618*VARX8);
-88,COLORYELLOW,POINTDOT;
STICKLINE(VARX9>VARX2,买了不输-15,买了不输+30,2,1),COLORGREEN ;
STICKLINE(CROSS(买了不输,-166),-200,60,4,0),COLORCYAN ;
STICKLINE(CROSS(买了不输,-120),-180,50,4,0),COLORBLUE ;
STICKLINE(CROSS(买了不输,-88),-140,20,4,0),COLORGREEN  ;
DRAWTEXT(CROSS(买了不输,-166),-160,'★:极低'),COLORCYAN;
DRAWTEXT(CROSS(买了不输,-120),-80,'★:较低'),COLORBLUE;
DRAWTEXT(CROSS(买了不输,-88),0,'★:稍低'),COLORGREEN;
{寻股公式(主图及选股)}

主图是由副图的选股公式改的,昨天刚刚改的.

上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
DRAWTEXT(CROSS(上线,下线),LOW,'全仓买'),COLOR0000FF;
DRAWTEXT(CROSS(下线1,上线1),LOW,'清仓'),COLOR00FFFF;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(82,RSI),LOW,'减仓'),COLOR00FF00;
A7:=(2*C+H+L)/4;
操作:MA(A7,5);
操作1:=MA(A7,5)*1.03;
操作2:=MA(A7,5)*0.97;
底:LLV(A7,21);
顶:HHV(A7,21);
SK:=EMA((A7-底)/(顶-底)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5)
AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买进'),COLORFF00FF;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底'),COLORFF0000;

 

{选股公式(副图)}
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
全仓买:CROSS(上线,下线);
清仓:CROSS(下线1,上线1),COLOR00FF00;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
减仓:CROSS(82,RSI),COLOR606099;
A7:=(2*C+H+L)/4;
操作:=MA(A7,5);
操作1:=MA(A7,5)*1.03;
操作2:=MA(A7,5)*0.97;
底:=LLV(A7,21);
顶:=HHV(A7,21);
SK:=EMA((A7-底)/(顶-底)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
买进:IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5)
AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),COLORFF0098;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
抄底:IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),COLORWHITE;

转强买入(主)


m5:Ema(c,43),COlORFFAA66,LINETHICK2;
m6:Ema(c,60),Colorblue,LINETHICK3;
m7:ma(c,78),Color00Ffff,LINETHICK1;
m8:Ema(m7,3),Color00Ffff,LINETHICK1;
m9:ema(m8,3),Color00Ffff,LINETHICK1;
m11:Ema(m9,3),Color00Ffff,LINETHICK1;
MA47:eMA(CLOSE,46),COlORFFAA66,LINETHICK2;
MA60:eMA(CLOSE,60),Colorblue,LINETHICK3;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,m9*0.978,'转强买入'),COLORyellow;
DRAWTEXT(cross(m6,m9),m9*0.98,'转强买入'),COLOR0000FF;

买卖成交量(副)


YE:=(((HIGH + LOW) + CLOSE) / 3);
YE1:=IF((HIGH = LOW),1,(HIGH - MAX(OPEN,CLOSE)));
YE2:=IF((HIGH = LOW),1,(MAX(CLOSE,OPEN) - YE));
YE3:=IF((HIGH = LOW),1,(MIN(OPEN,CLOSE) - LOW));
YE4:=IF((HIGH = LOW),1,(YE - MIN(CLOSE,OPEN)));
YE5:=(VOL / IF((HIGH = LOW),4,(HIGH - LOW)));
YE6:=SUM((YE1 * YE5),1);
YE7:=SUM((YE2 * YE5),1);
YE8:=SUM((YE3 * YE5),1);
YE9:=SUM((YE4 * YE5),1);
成交额Y: (AMOUNT / 100000000),LINETHICK0;
STICKLINE((CLOSE > OPEN),VOL,0,8,1),COLOR66CC00;
STICKLINE((CLOSE = OPEN),VOL,0,8,1),COLOR808080;
STICKLINE((CLOSE < OPEN),VOL,0,8,1),COLORFFFF00;
成交涨:VOL,LINETHICK0;
买进量: ((YE9 + YE8)),COLOR0000FF,LINETHICK0;
卖出量: (VOL - 买进量),COLORFF0000,LINETHICK0;
买卖量(差): (买进量 - 卖出量),LINETHICK0,COLORFFFFFF;
STICKLINE((CLOSE > 0),0,买进量,8,0),COLORFF0000;
STICKLINE((CLOSE > 0),0,卖出量,6,0),COLOR99FF33;
STICKLINE((买卖量(差) > 0),0,买卖量(差),5,0),COLORCC99FF;
STICKLINE((买卖量(差) < 0),0,(0 - 买卖量(差)),5,0),COLORCC3300;
买M:MA(买进量,20),COLOR0000FF,LINETHICK2;
卖M:MA(卖出量,20),COLORFF0000,LINETHICK2;

 

黑马战歌(副)


Var1:=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);
Var2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var3:=SMA(SMA(Var2,3,1),3,1);
Var4:=EMA(Var3,5);
Var5:=LLV(LOW,26);
Var6:=HHV(HIGH,34);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*4,4)*25;
Var8:=100-Var1;
Var9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var10:=SMA(Var9,3,1);
Var11:=SMA(Var10,3,1);
Var12:=EMA(3*Var10-2*Var11,3);
Var13:=(-1)*(EMA(Var8,1)-50)+50;
Var14:=EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);
底部雷达:IF(CROSS(Var4,10) AND Var4>10,50,0),STICK,coloryellow,LINETHICK3;0,STICK,color000000,LINETHICK3;
建仓区: IF((Var7<10),80,100), linethick2, color00ccff;
派发区: IF((Var7>90),10,0), linethick2 ,colorf00ff0;
大户:SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,9,1),color00ff00;
散户:SMA(大户,3,1),  colorwhite;
主力庄家:3*大户-2*散户, colorred;
头部线:89.307;
底部线:6.788,COLORFFFF00;
强弱线:49, colorwhite,POINTDOT,linethick2;
短线指标(副)

Var1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=3*Var2-2*Var3;
Var5:=LLV(LOW,5);
Var6:=HHV(HIGH,5);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;

Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);
Var9:=3*Var7-2*Var8;
VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VarB:=POW(MA(LOW,5),2)+MA(LOW,5);
VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;
VarE:=SMA(VarD,3,1)*1.5-100;
VarF:=SMA(VarE,3,1);
Var10:=3*VarE-2*VarF;
Var11:=(HIGH+LOW+CLOSE*2)/4;
Var12:=EMA(Var11,13);
Var13:=STD(Var11,13);
Var14:=(Var11-Var12)*100/Var13;
Var15:=EMA(Var14,5);
Var16:=EMA(Var15,13);
Var17:=EMA(Var15,13)+200-100;
Var18:=EMA(Var17,10);
Var19:=3*Var17-2*Var18;
Var1A:=Var2+Var7+VarE+Var17;
Var1B:=Var3+Var8+VarF+Var18;
Var1C:=Var4+Var9+Var10+Var19;
Var1D:=(HIGH+LOW+CLOSE)/3;
Var1E:=AMOUNT/VOL/100;
Var1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
Var20:=(Var1D-MA(Var1D,34))/(0.015*AVEDEV(Var1D,34));
Var21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
Var22:=(HIGH+LOW+CLOSE+Var1D)/4;
Var23:=EMA(Var22,24);
Var24:=STD(Var22,24);
Var25:=(Var22-Var23)/Var24*100;
Var26:=(Var1D-MA(Var1D,24))/(0.015*AVEDEV(Var1D,24));
Var27:=EMA(Var25,5);
Var28:=(Var1E-MA(Var1E,21))/(0.015*AVEDEV(Var1E,21));
Var29:=(Var1F-MA(Var1F,90))/(0.015*AVEDEV(Var1F,90));
Var2A:=((Var29+Var28+Var27+Var26+Var20)/5+165)/4;
Var2B:=(Var1A+Var1B+Var1C*30)/32/5-15;
Var2C:=(Var2A+Var2B)/2/1.1;
短线: Var2C,COLORGREEN;
MID: MA(短线,26),COLORWHITE;
UPPER: MID+2*STD(短线,26);
LOWER: MID-2*STD(短线,26),COLORFFFFFF;
IF(短线>MID,MID,短线),COLORRED;

DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3);

MID,COLORYELLOW;

买:IF(CROSS(短线,LOWER) AND  短线>LOWER ,100,0),COLORRED;

水波通道(主)

Q:=EMA(EMA(C,2),2);
R:=EMA(EMA(Q,5),5);
E:R,Color499300;
T:REF(E,2),Color499300;
Y:REF(E,4),Color499300;
U:REF(E,6),Color499300;
A:REF(E,8),Color499300;
D:REF(E,10),Color499300;
F:REF(E,12),Color499300;
G:MA(R,2)*1.15,ColorFF8000;
J:MA(R,2)*0.85,ColorFF8000;


见红即涨(副图及选股公式)

 


D01:=((EMA(CLOSE,3) - EMA(CLOSE,6)) * 5);
神光线:(EMA(D01,7) + EMA(CLOSE,5)),;
rc:=DYNAINFO(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6);
STICKLINE(dk>0,rc,rc+dk,0,1),COLORRED,linethick2;
STICKLINE(dk<0,rc,rc+dk,0,1),ColorFF00FF,linethick2;
价位轴:rc,COLOR00ff00,linethick2;
趋势:ma(c,9),COLOR00ff00,linethick2;
STICKLINE(cross(ma(c,1),ma(c,9)),CLOSE,OPEN,8,0),colorred;
STICKLINE(cross(ma(c,1),ma(c,9)),HIGH,LOW,0.8,0),COLORred;
STICKLINE(cross(ma(c,1),ma(c,55)),CLOSE,OPEN,6,0),COLORgray;
STICKLINE(cross(ma(c,1),ma(c,55)),HIGH,LOW,0.6,0),COLORgray;
STICKLINE(cross(ma(c,1),ma(c,23.5)),CLOSE,OPEN,7,0),COLORyellow;
STICKLINE(cross(ma(c,1),ma(c,23.5)),HIGH,LOW,0.7,0),COLORyellow;
STICKLINE(cross(ma(c,1),ma(c,120)),CLOSE,OPEN,5,0),ColorFF00FF;
STICKLINE(cross(ma(c,1),ma(c,120)),HIGH,LOW,0.5,0),ColorFF00FF;
va:=max(ref(c,1),ref(o,1));va1:=min(ref(c,1),ref(o,1));
j:=sum(AMOUNT/100,2)/sum(v,2);
vok:=if(o<va1 and c>va,1,0);
STICKLINE(vok=1 ,o ,c ,8 ,0 ),colorred;
vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1)
or ref(c,1)<ref(o,1) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0);
STICKLINE(vok1=1 ,o ,c ,8 ,0 ),colorff00ff;
vsj1:=BARSLAST(vok=1 or vok1=1);
阻击:if(vok=1 or vok1=1,l,ref(l,vsj1)),COLORBLUE,linethick2;

 

 


见红选股
AA:cross(ma(c,1),ma(c,9)),colorff00ff;
va:=max(ref(c,1),ref(o,1));
va1:=min(ref(c,1),ref(o,1));
j:=sum(AMOUNT/100,2)/sum(v,2);
BB:if(o<va1 and c>va,1,0),color00ffff;

很准风险(副)

 

VF1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)/10;
高: "DMI.PDI"(14,6)>33 AND "DMI.MDI"(14,6)<10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45, STICK;
危险: HHV(VF1,4)>0.38 OR VF1>0.25 AND 高, STICK;
可买: IF(高=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.03,-50,0), STICK;
调整: IF(高=0 AND HHV(高,5)>0,-50,0), STICK;
可卖: IF(危险=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE<OPEN*1.01,-75,0), STICK;
卖出: IF(危险=0 AND HHV(危险,3)>0,-100,0), STICK;
遇警: IF(可卖=-75,-75,IF(卖出<0,-100,IF(危险>0,100,IF(调整<0,-50,高)))), COLORSTICK;
付氏:IF(可卖=-75,-75,IF(卖出<0,-100,IF(危险>0,100,IF(调整<0,-50,高))));

{二次握手}(主)

 


ma5:MA(CLOSE,5),ColorFFFFFF;
ma10:MA(CLOSE,10),color00cc99;
ma20:MA(CLOSE,20),ColorBCFF8B;
ma30:MA(CLOSE,30),ColorBCFF8B;
ma60:MA(CLOSE,60),colorwhite;
ma120:MA(CLOSE,120),colorgreen;
fa:=BARSLAST(CROSS(ma10,ma5)) and CROSS(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>REF(ma10,1);
STICKLINE(fb,LOW,LOW-0.09,4,0),colorwhite;
DRAWTEXT(fb,LOW-0.13,'握手'),colorwhite;
fa1:=BARSLAST(CROSS(ma60,ma20)) and CROSS(ma20,ma60);
fb1:=fa and ma20>ma120 and ma60>ma120 and ma20>REF(ma20,1);
STICKLINE(fb,LOW,LOW-0.09,4,0),colorwhite;
DRAWTEXT(fb,LOW-0.13,'握手'),,Color00FF00;
VarA:=AMOUNT/vOL/100;
VarB:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VarC:=SUM(AMOUNT,7)/varA/100;
VarD:=DMA(VarB,VOL /varC);
VarE:=(CLOSE-VarD) /varD*100;
VarF:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VarJ:=MA(VarE,20)+STD(VarE,20);
BIAS18:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
K:=SMA(VarF,3,1);
DRAWTEXT(REF(BIAS18,1)>=5 AND CROSS(VarJ,VarE) AND K>79 ,H+0.1,'先走一走'),,COLORYELLOW;

黄金主图

 

JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);            
M1:EMA(CLOSE,3);
M2:EMA(CLOSE,8);
M3:EMA(M2,13);
M4:EMA(M2,55);
持股区域:STICKLINE(A>B,A,B,2,0),COLORYELLOW;
持币区域:STICKLINE(A<B,A,B,2,0),COLORBLUE;

《五星连珠》(副)


使用方法:
1 红柱线是中线指示
2 其余四色柱线是短线指示
3连续发出三个以上短线指示,可以短线买入.
4连续发出三个以上短线指示后,发出中线指示,可以重仓买入.}

k2:=EMA(c,5);
k3:=EMA(c,10);
k5:=EMA(c,30);
k6:=2*(k2-k5);
k7:=2*(k2-k3);
k8:=2*(k7+k6);
中线指示:STICKLINE(CROSS(k8,0),0,40,8,0),COLORRED;

p1:= ma(close,2);
p2:= ma(close,5);
diff :=ema(close,12) - ema(close,26);
dea :=ema(diff,9);
vma1:=ma (vol,2)/100000;
vma2:=ma(vol,5)/100000;
ppday:= barslast(cross(p1,p2));
vvday:= barslast(cross(vma1,vma2));
macdday:= barslast(cross(diff,dea));
A1:=BARSLAST(ref(cross(diff,dea),1));
金叉:if(ref(c,A1+1)>c and ref(diff,A1+1)<diff and cross(diff,dea),25,0),LINETHICK2,coloraaccff;
sjcjd:= if((ppday<=3 and vvday<=3 and macdday<=3)and (diff<0),1,0);
STICKLINE(sjcjd,50,60,6,0),colorwhite,linethick2;

短趋势:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var3:=LLV(LOW,34);
Var4:=HHV(HIGH,34);
长趋势:=EMA((Var2-Var3)/(Var4-Var3)*100,13),color00ff00;
判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*15;
Var5:=CROSS(短趋势,长趋势)AND 长趋势<25;
STICKLINE(Var5,60,70,8,0) ,colorgreen;

XX:=((((CLOSE-MA(CLOSE,34))/MA(CLOSE,34))*100)*5);
B001:=(((((CLOSE-MA(CLOSE,42))/MA(CLOSE,42)))*100)*5);
B002:=(((((CLOSE-MA(CLOSE,67))/MA(CLOSE,67)))*100)*5);
B003:=(((XX+B001)/2)-B002);
B004:=(((0-100)*(Var4-CLOSE))/(Var4- Var3));
B005:=(((0-100)*(HHV(HIGH,42) - CLOSE))/(HHV(HIGH,42) - LLV(LOW,42)));
B006:=(((0-100)*(HHV(HIGH,72) - CLOSE))/(HHV(HIGH,72) - LLV(LOW,72)));
B007:=EMA((((B004+B005)/2)-B006),6);
B008:=REF(CLOSE,1);
B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);
B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);
B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);
多头:EMA(((((B009 + B010)/2) - B011) * 5),6);
空头:=(((-1*((B007 + B003) + 多头))/3) * 1.5);
多均:EMA(多头,4);
空均:=EMA(空头,4);
C026:=WINNER(CLOSE);
W:=(DMA(C026,(VOL/CAPITAL)) * 100);
XD1:=EMA(W,6);
庄家控盘:((W-XD1)*15),COLORSTICK,LINETHICK2;
STICKLINE(cross(多头,空均),80,70,8,0),COLORYELLOW;

Varb1:=(2*CLOSE+HIGH+LOW)/4;
Varb2:=LLV(LOW,34);
Varb3:=HHV(HIGH,34);
Varb4:=ma(HIGH,8);
xx1:=EMA((Varb1-Varb2)/(Varb3-Varb2)*100,13);
yy:=EMA(0.667*REF(xx1,1)+0.333*xx1,2) , ;
STICKLINE(CROSS(xx1,20) AND yy<xx1 and Varb4>ref(Varb4,1),70,80,8,0),COLORFF0000;
逃顶:IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),70,90),COLORFF0000;
DRAWTEXT(CROSS(多头,多均)AND 多均<-15,多均,'☆'),COLORRED;
DRAWTEXT(CROSS(多均,多头)AND 多均>35,多均+7,'☆'),COLOR00FF00;

 

{草原黑马}副

 

Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
黑马: SMA(Var1,7,1),linethick2;
Var2:=SMA(黑马,5,1);
草原: IF(CROSS(黑马,Var2) AND cross(ma(c,5),ma(c,13) and 黑马>50) ,Var2*2,Var2),coloryellow;
买入:=CROSS(黑马,草原)and 黑马<30 and 草原>ref(草原,1);
DRAWICON(FILTER(买入 or 黑马<ref(黑马,3)and 黑马>ref(黑马,1)and 黑马<20 ,7),黑马,1 );
卖出:FILTER(黑马>ref(黑马,2)and 黑马<ref(黑马,1)and 黑马>50,5);
DRAWICON(卖出,黑马*1.05,2);
STICKLINE(黑马>Var2,黑马,草原,0,0);
STICKLINE(黑马<Var2,黑马,Var2,0,0),colorgreen ;
清凉西瓜(副)


input:P(13,0,100);


多:=EMA(C,3),COLORYELLOW;
空:=EMA(C,5),COLOR00FF00;
均衡:=EMA(空,5),COLORWHITE,;
中:=HHV(MA(H,13),13);
Var4:=(LOW+HIGH+CLOSE)/3;
操作:MA(Var4,5),color33FF33,linethick2;
拉升:=HHV(操作,13);
拉升买:=HHV(操作,13);
Var1:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,89))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,89));
Var2:=MA(Var1,13);
STICKLINE(操作<拉升买,中,拉升买,1,0),COLOR9FBC7D;
强弱分界:=eMA(CLOSE,60), Color438200,LINETHICK3;
f0:=ema(c,5),linethick0;
f1:=sma(f0,3,1);
f2:=sma(f0,5,1);
DRAWTEXT(f0>f2,f2,'●'),Color0000ff;
STICKLINE(操作>ref(操作,1),操作,操作+0.02,3,0),coloryellow,linethick2;
STICKLINE(拉升>ref(拉升,1),拉升,拉升+0.02,3,0),coloryellow,linethick2;
STICKLINE(操作<拉升买,操作,拉升买,1,0),COLOR9FBC7D;
STICKLINE(C>=O,H,L,0.1,1),COLORRED;
STICKLINE(C>=O,C,O,6,1),COLORRED;
STICKLINE(C<=O,H,L,0.1,0),COLORFFFF00;
STICKLINE(C<=O,C,O,6,0),COLORFFFF00;
STICKLINE(F0<F2,H,L,1,1),Color33FF33;
STICKLINE(F0<F2,O,C,6,1),Color33FF33;
大趋势:EMA(CLOSE,245),linethick1,COLORred;
Var1b:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-Var1b,0),7,1)/SMA(ABS(CLOSE-Var1b),7,1)*100;
DRAWICON(A2< REF(A2,1) AND A2>79,操作*1.05,5);
Var1c:=1;
Var2c:=(CLOSE-MA(CLOSE,P))/MA(CLOSE,P)*100;
Var3c:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
Var4c:=REF(Var2c,1)<-20 AND Var3c;
Var5c:=REF(Var2c,1)<-20 AND CLOSE>OPEN AND(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
Var6c:=FILTER(Var4c OR Var5c,3);
Var7c:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
Var8c:=REF(Var2c,1)>ABS(-20)AND Var7c;
Var9c:=REF(Var2c,1)>ABS(-20)AND CLOSE<OPEN AND(REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VarA:=FILTER(Var8c OR Var9c,3);
DRAWICON(VarA*Var1c>0,HIGH,2);


苍狼MACD(副)

INPUT:N1(3,1,100),N2(10,1,100),N3(10,1,100),N4(20,1,100),M(9,1,100);

 

短:=(EMA(C,N1)-EMA(C,N2))*300;
短均:=EMA(短,M);
MACD:=2*(短-短均);
{中波}
中波:(EMA(C,N3)-EMA(C,N4))*300,COLORYELLOW;
中均线:EMA(中波,M),COLORBLUE;
MACD2:2*(中波-中均线),LINETHICK1;
STICKLINE(MACD2>=0,MACD2,0,2,1),COLORFF00FF;
STICKLINE(MACD2<0,MACD2,0,2,1),COLORWHITE;
STICKLINE(中波>=中均线,中波,中均线,8,0),COLORYELLOW;
STICKLINE(中波<中均线,中波,中均线,8,0),COLORBLUE;
短波:短,LINETHICK2,COLORRED;
短均线:短均,LINETHICK2,COLORFFFF00;
EE:=CROSS(中波,中均线) AND MACD2>REF(MACD2,1) AND 短波>=REF(短波,1) AND 中均线>=REF(中均线,1);
出来:FILTER(EE,10);
DRAWICON(出来,中均线,1);

K007(副)


短波:(C-LLV(L,11))/(HHV(H,11)-LLV(L,11))*100,COLORRED;
波浪1:=EMA((SUM(C-REF(C,1),0)-LLV(SUM(C-REF(C,1),0),34))/(HHV(SUM(C-REF(C,1),0),34)-LLV(SUM(C-REF(C,1),0),34))*100,13);
波浪2:=EMA((SQRT(SQRT((O*C*H*L)))-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
地盘:SQRT(波浪1*波浪2),POINTDOT;
大盘波浪1:=EMA((SUM(INDEXC-REF(INDEXC,1),0)-LLV(SUM(INDEXC-REF(INDEXC,1),0),34))/(HHV(SUM(INDEXC-REF(INDEXC,1),0),34)-LLV(SUM(INDEXC-REF(INDEXC,1),0),34))*100,13);
大盘波浪2:=EMA((SQRT(SQRT((INDEXO*INDEXC*INDEXH*INDEXL)))-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,13);
大盘:SQRT(大盘波浪1*大盘波浪2),COLORWHITE;
SQRT(大盘波浪1*大盘波浪2),COLORaabb00;
STICKLINE( 地盘>REF(地盘,1),地盘 ,REF(地盘,1) ,2,1),COLORRED;
STICKLINE(地盘<=REF(地盘,1),地盘 ,REF(地盘,1) ,2,1),COLORGREEN;
10,COLORYELLOW,LINETHICK1,POINTDOT;90,COLORYELLOW,LINETHICK1,POINTDOT;50,COLORYELLOW,LINETHICK1,POINTDOT;

财出水面(副)

 


VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
操盘:=3*VAR3-2*VAR4;
A1:=CROSS(操盘,VAR3) AND VAR3;
40,COLORRED,POINTDOT;
STICKLINE(C>0,40,22,8,0),COLORFF8080;{设置背景,CLOSE>0条件满足时,在坐标40至坐标22处设置宽度为8的兰色背景}
STICKLINE(C>0,22,4,8,0),COLOR916F87;{设置背景,CLOSE>0条件满足时,在坐标22至坐标4处设置宽度为8的深紫色背景}
STICKLINE(A1,18,15,28,0),COLORRED;
STICKLINE(A1,18,18,18,0),COLORBLUE;
STICKLINE(A1,14,14,24,0),COLORFFFF00;
STICKLINE(A1,16,34,0.1,0),COLORC0C0C0;
STICKLINE(A1,33,18,9,0),COLORWHITE;
DRAWTEXT(A1,36,'财出水面'),COLORWHITE;
VARE:=30+(REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100/1.5;
VARF:=30+(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)*100/1.5;
VAR10:=CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3)) AND "KDJ.D"(9,3,3)>13;
VAR11:=CROSS(REF("KDJ.K"(9,3,3),1),REF("KDJ.J"(9,3,3),1)) AND REF("KDJ.D"(9,3,3),1)>13;
VAR12:=CROSS(REF("KDJ.K"(9,3,3),2),REF("KDJ.J"(9,3,3),2)) AND REF("KDJ.D"(9,3,3),2)>12;
VAR13:=VAR10 OR VAR11 OR VAR12;
VAR14:=REF("BIAS.BIAS2"(6,12,24),1)>2;
VAR15:=REF("RSI.RSI1"(6,12,24),1)>(VARE+VARF)/1.8 AND REF("ROC.ROC"(12,6),1)-"ROC.ROC"(12,6)>0 AND VAR13 AND VAR14;
卖出:=VAR15*100/15,COLOR00FF00;
STICKLINE(卖出,18,15,28,0),COLORYELLOW;
STICKLINE(卖出,18,18,18,0),COLORBLUE;
STICKLINE(卖出,8,8,9,0),COLORFFFF00;
STICKLINE(卖出,14,14,10,0),COLORFFFF00;
STICKLINE(卖出,16,28,0.1,0),COLORC0C0C0;
STICKLINE(卖出,28,18,6,0),COLOR00FF00;
DRAWTEXT(卖出,31,'落袋为安'),COLOR33FF33;

 

顾比均线看盘(主)


MA1:EMA(CLOSE,3),COLORFFE4E1;
MA2:EMA(CLOSE,5),COLORFFE4E1;
MA3:EMA(CLOSE,8),COLORFFE4E1;
MA4:EMA(CLOSE,10),COLORRED;
MA5:EMA(CLOSE,12),COLORFFE4E1;
MA6:EMA(CLOSE,15),COLORFFE4E1;
MA7:EMA(CLOSE,30),COLORRED;
MA8:EMA(CLOSE,35),COLOR00FA9A;
MA9:EMA(CLOSE,40),COLOR00FA9A;
MA10:EMA(CLOSE,45),COLOR00FA9A;
MA11:EMA(CLOSE,50),COLOR00FA9A;
MA12:EMA(CLOSE,60),COLOR00FA9A;
回认:EMA(EXPMA(C,20),13),COLORMAGENTA,POINTDOT,LINETHICK4;
认同修正:EMA(CLOSE,17),COLORGREEN,POINTDOT,LINETHICK4;
AA:=CLOSE/REF(C,1)>=1.09;
STICKLINE(AA,O,C,3,0),COLORYELLOW;
STICKLINE(AA,L,H,0,0),COLORYELLOW;
金品圣指(副)

参数名  最大  最小  确省
    N         10   -25   2


LC:=REF(CLOSE,1);
Var1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-LC)),ABS(LOW-LC)),14,1);
Var2:=HIGH-REF(HIGH,1);
Var3:=REF(LOW,1)-LOW;
Var4:=SMA(IF(Var2>0 AND Var2>Var3,Var2,0),12,1);
Var5:=SMA(IF(Var3>0 AND Var3>Var2,Var3,0),12,1);
Var6:=Var4*100/Var1;
Var7:=Var5*100/Var1;
Var8:=SMA(ABS(Var7-Var6)/(Var7+Var6)*100,12,1);
Var9:=(Var8+REF(Var8,5))/2;
VarC:=AMOUNT/VOL/100;
VarD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VarE:=SUM(AMOUNT,5)/VarC/100;
VarF:=SUM(AMOUNT,13)/VarC/100;
Var10:=SUM(AMOUNT,34)/VarC/100;
Var11:=SUM(AMOUNT,209)/VarC/100;
Var12:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
Var13:=Var12/CAPITAL;
Var14:=VOL/CAPITAL*VarD+Var13*REF(VarC,1);
Var15:=DMA(VarD,VOL/VarE);
Var16:=DMA(VarD,VOL/VarF);
Var17:=DMA(VarD,VOL/Var10);
Var18:=DMA(VarD,VOL/CAPITAL);
Var19:=MA(HHV(HIGH,488),18);
Var1A:=MA(HHV(HIGH,220),18);
Var1B:=MA(HHV(HIGH,98),18);
Var1C:=MA(LLV(LOW,488),18);
Var1D:=MA(LLV(LOW,220),18);
Var1E:=MA(LLV(LOW,98),18);
Var1F:=MA((Var1C*0.96+Var1D*0.96+Var1E*0.96+Var19*0.558+Var1A*0.558+Var1B*0.558)/6,18);
Var20:=MA((Var1C*1.25+Var1D*1.23+Var1E*1.2+Var19*0.55+Var1A*0.55+Var1B*0.65)/6,18);
Var21:=MA((Var1C*1.3+Var1D*1.3+Var1E*1.3+Var19*0.68+Var1A*0.68+Var1B*0.68)/6,18);
Var22:=MA((Var1F*3+Var20*2+Var21)/6*1.738,18);
Var25:=REF(LOW,1);
Var26:=SMA(ABS(LOW-Var25),3,1)/SMA(MAX(LOW-Var25,0),3,1)*100;
Var27:=MA(IF(CLOSE*1.35<=Var22,Var26*10,Var26/10),3);
Var29:=HHV(Var27,30);
Var2A:=IF(LOW=LLV(LOW,30),(Var27+Var29*2)/2,0);
jd1:=Var2A>20000 AND CLOSE<COST(1);
jd2:=(CLOSE-Var16)/Var16*100<N-13;
STICKLINE(jd1,0.1,0.3,4.6,0),color00cc99;
STICKLINE(jd2,0,0.1,4.6,0),colorwhite;
STICKLINE(jd1 and jd2,0.3,0.7,4.5,0),color00ff00;
qs1:=SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1);
趋势:ema(3*qs1-2*SMA(qs1,3,1),5)/100,linethick2;
圣指:IF((REF(CLOSE,13)-CLOSE)/REF(CLOSE,13)*100>15 AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5 AND (LC-CLOSE)/LC*100<8,0.8,0.1),colorFFCC99;{金指63}
v2:=(CLOSE-LC)/LC*100;
v3:=MA(VOL,2)/MA(VOL,10);
v4:=VOL/CAPITAL;
tct:=0.015*V2-0.124*V3+17.5*V4;
tct1:=hhv(tct,250)-0.4;
量能:if(tct>tct1,tct1-tct+1,1),coloryellow;
drawicon(filter(0.0015*V2-0.0124*V3+1.7461*V4>0.148,10),0.6,3);
买:filter(-0.08473268*V2+0.10052872*V3+5.20138076*V4+0.45692105<0,3)*0.8,linethick2,colorff00ff;
b1:=(CLOSE-MA(CLOSE,27))/MA(CLOSE,27)<-0.16;
品股:b1*0.5,colorred;
STICKLINE(b1,0.15,0.5,3.5,0),colorred;
金品:filter(圣指=0.8 and b1 and jd1 and jd2,2);
STICKLINE(金品,0,1,6,0),colorred;

北斗星(副)


北斗星操盘线: MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5), , color00ff00;
安全星云区: 10, , coloryellow;
主力异动: IF(北斗星操盘线<=10,50,0),linestick , colorffffff;
北斗星出击: IF(CROSS(北斗星操盘线,安全星云区),100,0), , colorred;
北斗星买点: 北斗星出击, , colorred;
DRAWTEXT(北斗星出击,50,'北斗星买点'), , colorred;
DRAWICON(北斗星出击,50,1);
90;

 

北斗能量(副)

 

Var2:=CLOSE-REF(CLOSE,1);
Var3:=IF(CLOSE-REF(CLOSE,1)>=0,Var2,0);
Var4:=REF(CLOSE,1)-CLOSE;
Var5:=IF(CLOSE-REF(CLOSE,1)<=0,Var4,0);
Var6:=SUM(Var3,16)/SUM(Var5,16);
Var7:=100-100/(1+Var6);
Var8:=EMA(Var7,16);
Var9:=EMA(Var8,8);
VarA:=EMA(Var8,45);
VarB:=Var8-VarA;
能量线: VarB;
能量均线: (Var9-VarA);
多空能量值: VarB, COLORSTICK;
{刀客压力带}(副)


AA:=(((CLOSE - EMA(CLOSE,6)) / EMA(CLOSE,6)) * 100);
XX:HHV((((CLOSE - EMA(CLOSE,6)) / EMA(CLOSE,6)) * 100),55),LINETHICK3;
YY:(0.68 * HHV((((CLOSE - MA(CLOSE,6)) / EMA(CLOSE,6)) * 100),55)),LINETHICK3;
ZZ:LLV((((CLOSE - EMA(CLOSE,6)) / EMA(CLOSE,6)) * 100),55),LINETHICK3;
MM:(0.68 * LLV((((CLOSE - EMA(CLOSE,6)) / EMA(CLOSE,6)) * 100),55)),LINETHICK3;
STICKLINE((XX AND YY),XX,YY,5,0),COLOR5E9FFF,LINETHICK2;
STICKLINE((ZZ AND MM),ZZ,MM,5,0),COLORFF8000,LINETHICK2;
STICKLINE((AA > REF(AA,1)),AA,REF(AA,1),5,0),COLORRED;
STICKLINE((AA <= REF(AA,1)),AA,REF(AA,1),5,0),COLORGREEN;

江恩八线(主)

 


大盘:=EMA(INDEXC,500)/EMA(C,500);
大盘线:=INDEXC/大盘,LINETHICK1,COLORBLUE;
工作线:EMA(C,14),COLOR00FFFF,LINETHICK1;
一号线:EMA(CLOSE,144),POINTDOT,LINETHICK2,COLOR0000FF;
二号线:EMA(C,25),COLORWHITE,LINETHICK2;
三号线:EMA(C,318),COLOR0000FF,LINETHICK2;
四黑马线:EMA(C,453),CIRCLEDOT,LINETHICK1,COLOR428899;
五号线:EMA(C,550),COLORFFCC66;
六号线:EMA(C,610),LINETHICK2,COLORYELLOW;
七号线:EMA(C,730),COLORBLUE;
八号线:EMA(C,99),POINTDOT,LINETHICK2,COLORWHITE;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORWHITE;
DEA:=EMA(DIFF,9),COLORF00FF0 ;
MACD:=0.90*(DIFF-DEA), COLORSTICK;
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
{STICKLINE(TJ,H,L,0,0),COLORYELLOW;}
STICKLINE(TJ,O,C,3,1),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0,1),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,3,1),COLORF00FF0;
STICKLINE(DIFF<DEA,H,L,0,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,3,1),COLORF0F000;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
{DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORFF66FF;}
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,3,0),LINETHICK3,COLORRED;
SS:=CROSS(二号线,八号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(二号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(二号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98{AND CROSS(二号线,三号线)};
{DRAWICON(SS,L-0.04,1);}
DD:=CROSS(八号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八号线,四黑马线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二号线,四黑马线);

{地煞量}副未来


量:(EMA(IF(C>=REF(C,2),V,(-V)),60)/MA(V,60))*100,COLORFFFFCC;
量1:= EMA(量,3);
量2:= EMA(量,5);
量3:= EMA(量,8);
弱:EMA(量,13),COLORYELLOW;
K4:=BACKSET(EMA(量,13)>REF(EMA(量,13),1),2);
【强】:IF(K4,EMA(量,13),DRAWNULL),COLOR0000FF,LINETHICK1;
强:STICKLINE(量2>=量3,量1,量3,0,0),COLOR0044FF;
STICKLINE(量2>=量3,量1,量3,0,0),COLOR00CCFF;
STICKLINE(量2>=量3,量2,量3,3,0),COLOR0044FF;
STICKLINE(量2>=量3,量2,量3,2,0),COLOR0066FF;
STICKLINE(量2>=量3,量2,量3,1,0),COLOR0077FF;
弱1:STICKLINE(量2<=量3,量1,量3,0,0),COLORFF4400;
STICKLINE(量2<=量3,量1,量3,0,0),COLORFFCC00;
STICKLINE(量2<=量3,量2,量3,3,0),COLORFF4400;
STICKLINE(量2<=量3,量2,量3,1.6,0),COLORFF6600;
T1:=量2>=量3 AND 量<REF(量,1);
T2:=量2<量3 AND 量>REF(量,1);
强转弱:STICKLINE(T1,量1,量3,1,0),COLORA0A0C0;
弱转强:STICKLINE(T2,量1,量3,1,0),COLOR338FDD;
T3:=EMA(量,21),COLORMAGENTA;
STICKLINE(T3>=REF(T3,1),T3,T3,3,0),COLORRED,LINETHICK2;
STICKLINE(T3<REF(T3,1),T3,T3,3,0),COLORWHITE,LINETHICK2;

金蛤蟆(副)

n:1  50  6
p1:1  50  2
p2:1  50  2

RSV:=(((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);
K:=(POW(SMA(RSV,P1,1),5) / POW(10,8));
D:=(POW(SMA(RSV,P2,1),5) / POW(10,10));
蛤:((K+ D)  / 2);
蟆:(0 - 蛤);
J:=1;
选股:CROSS(蛤,J);

 

猴王出世(副)

Var1:=MA(CLOSE,5);
Var2:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var3:=SMA(Var2,5,1);
Var4:=REF(CLOSE,1);
Var5:=SMA(MAX(CLOSE-Var4,0),8,1)/SMA(ABS(CLOSE-Var4),8,1)*100;
Var6:=SMA(MAX(CLOSE-Var4,0),21,1)/SMA(ABS(CLOSE-Var4),21,1)*100;
花果山: if(100-Var3<20 AND Var6<25,Var3+15,32.86),stick,linethick1,colorf00ff0;32.86,stick,linethick1,color000000;

山顶: if(100-Var3<30,Var3+5,32.86),stick ,linethick1, COLORRED;32.86,stick ,linethick1, COLOR000000;

山腰: if(100-Var3<50,Var3,32.86),stick ,linethick1, COLORGREEN;32.86,stick ,linethick1, COLOR000000;
山脚: if(100-Var3<50,Var3-15,32.86),stick ,linethick1, COLORYELLOW;32.86,stick ,linethick1, COLOR000000;

水帘洞: if(Var5<40 AND Var6<50 AND Var3>70,30,100-Var3),stick,linethick7,color0fff00;100-Var3,stick,linethick7,color000000;


猴王: 100-Var3, , COLORRED;
猴王出世1: CROSS(Var5,10) AND CROSS(Var6,20)*125, , COLORRED;
猴王出世2: CROSS(猴王,10)*125, , COLORRED;
{DRAWICON(猴王出世1=125,130,1);}
双向成交量(副)

成交量:VOL,POINTDOT;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动卖盘:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN;
换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;
STICKLINE(主动买盘>0,0,VOL,6,0),colorgreen;
STICKLINE(主动买盘>0,0,主动买盘,6,1),COLORRED;
STICKLINE(主动卖盘<0,0,主动卖盘,6,0),COLORGREEN;
短线买卖(副)


rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;
kk:=sma(rsv1,3,1);
dd:=sma(kk,3,1);
jj:=3*kk-2*dd;
j:=if(jj>=100,100,if(jj<=0,0,jj));
短线买:if((j=100),1,0),LINETHICK2,colorred;
短线卖:if((j=0),2,3),LINETHICK2,colorgreen;
不破买入(主)

 


va:=max(ref(c,1),ref(o,1));va1:=min(ref(c,1),ref(o,1));
j:=sum(AMOUNT/100,2)/sum(v,2);
vok:=if(o<va1 and c>va,1,0);
STICKLINE(vok=1 ,o ,c ,8 ,0 ),colorred;
vok1:=if(ref(c,1)<ref(c,2) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1)
or ref(c,1)<ref(o,1) and o>ref(c,1) and l>ref(l,1) and c>ref(c,1),1,0);
STICKLINE(vok1=1 ,o ,c ,8 ,0 ),colorff00ff;
vsj1:=BARSLAST(vok=1 or vok1=1);
mma2:sum(AMOUNT/100,2)/sum(vol,2),LINETHICK0;
zs:if(vok=1 or vok1=1,l,ref(l,vsj1)),coloryellow;


ma2:=sum(AMOUNT/100,2)/sum(v,2);
ma3:=sum(AMOUNT/100,3)/sum(v,3);
ma4:=sum(AMOUNT/100,4)/sum(v,4);
ma5:=sum(AMOUNT/100,5)/sum(v,5);
ma6:=sum(AMOUNT/100,6)/sum(v,6);
ma7:=sum(AMOUNT/100,7)/sum(v,7);
ma8:=sum(AMOUNT/100,8)/sum(v,8);
ma9:=sum(AMOUNT/100,9)/sum(v,9);
ma10:=sum(AMOUNT/100,10)/sum(v,10);
ma11:=sum(AMOUNT/100,11)/sum(v,11);
ma12:=sum(AMOUNT/100,12)/sum(v,12);
ma13:=sum(AMOUNT/100,13)/sum(v,13);
ma14:=sum(AMOUNT/100,14)/sum(v,14);
ma15:=sum(AMOUNT/100,15)/sum(v,15);
ma16:=sum(AMOUNT/100,16)/sum(v,16);
ma17:=sum(AMOUNT/100,17)/sum(v,17);
ma18:=sum(AMOUNT/100,18)/sum(v,18);
ma19:=sum(AMOUNT/100,19)/sum(v,19);

a:max(ma2,max(ma3,max(ma4,max(ma5,max(ma6,max(ma7,max(ma8,max(ma9,max(ma10,
max(ma11,max(ma12,max(ma13,max(ma14,max(ma15,max(ma16,max(ma17,
max(ma18,ma19))))))))))))))))),LINETHICK0;
b:min(ma2,min(ma3,min(ma4,min(ma5,min(ma6,min(ma7,min(ma8,min(ma9,min(ma10,
min(ma11,min(ma12,min(ma13,min(ma14,min(ma15,min(ma16,min(ma17,
min(ma18,ma19))))))))))))))))),LINETHICK0;
DRAWICON(cross(c,a),l ,4);
DRAWICON(((a-b)/b)*100<10 and cross(c,a),h+0.01,7);
STICKLINE( vok1=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff;
STICKLINE( vok=1 and cross(c,a) ,o ,c ,3 ,0 ),color00ffff;
{蛮准(副)}
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;
Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3);
Var5:=LLV(LOW,30);
Var6:=HHV(Var4,30);
Var7:=IF(MA(CLOSE,58),1,0);
Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
Var9:=IF(Var8>100,100,Var8);
吸筹:STICKLINE(Var9>-120,0,Var9,6,1),colorf00ff0;
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,COLORFF937F;
黄买:filter((ref(close,2)<close and rsi<25),7),colorYELLOW;
stickline(黄买,0,18,10,1),colorYELLOW;
黄卖:=filter((ref(close,2)>close and rsi>80),7);
stickline(黄卖,100,82,10,1),colorYELLOW;
红买:filter(CROSS(RSI,11),7),colorred;
stickline(红买,0,12,6,1),colorred;
红卖:=filter(CROSS(89,RSI),7);
stickline(红卖,100,88,6,1),colorred;
绿买:filter(CROSS(rsi,20),7),color00ff00;
stickline(绿买,0,6,6,1),color00ff00;
绿卖:=filter(CROSS(80,rsi),7);
stickline(绿卖,100,94,6,1),color00ff00;
急拉王(副)


aa:cost(10)/(cost(80)-cost(10)),COLORFFFFFF;
bb:2;
cc:7;
dd:ma(close,1);
ee:=REF(aa,2);
ff:=REF(aa,6);
gg:=REF(aa,4);
hh:=REF(aa,0);
if (ee-ff>0.3,aa,aa);
if (ee-gg>0.2,aa,aa);
ii:DRAWTEXT(ee-hh>0.2,aa,'0'),COLORFF00FF;
jj:ma(close,20);
if (jj<dd,ii,aa);
《龙蛇鼠 》主


T:=20;
S1:=STD(C,30); 
ZF:=(S1-REF(S1,1))/S1;  
A:=INTPART(T*(1+ZF));
B:=MIN(T,60);
M:=MAX(T,20);
MID:MA(C,T);
X:=STD(C,T);
UP:MID + 2*X,COLOR00A600;
DN:MID - 2*X,COLOR5E5EFF;
MA30:= MA(CLOSE,30);
通道上轨:MA30 + 2*STD(CLOSE,65),COLOR489100,LINETHICK3 ;
通道下轨:MA30 - 2*STD(CLOSE,60),COLOR5200CC,LINETHICK3;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,34);
VAR3:=MA(CLOSE,60);
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
DRAWTEXT( CROSS(84,VARE) OR ( CROSS(84,VARE) AND UP>通道上轨) ,HIGH,'见好就收'),COLORGREEN;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VARF-VAR4)/(VAR5-VAR4)*100,6);
VAR7:=EMA(0.667*REF(VAR6,1)+0.333*VAR6,4);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VAR6>VAR7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,'★出击'),COLORYELLOW;
仙人指:(C*2+H+L)/4,COLOR778877;
KK3:=C>MID AND REF(SUM(C<MID,2)=2,2) AND SUM(CROSS(C,MID),2)>0;
VAR1A:=LLV(LOW,21);
VAR2A:=HHV(HIGH,21);
快1:=EMA((CLOSE-VAR1A)/(VAR2A-VAR1A)*100,5);
VAR3A:=EMA((CLOSE-VAR1A)/(VAR2A-VAR1A)*50,13);
VAR4A:=EMA(0.667*REF(快1,1)+0.333*快1,2);
VAR5A:=LLV(LOW,55);
VAR6A:=HHV(HIGH,34);
VAR7A:=EMA((CLOSE-VAR5A)/(VAR6A-VAR5A)*100,3);
VAR8A:=(VAR3A+VAR7A)/2;
VAR9A:=EMA(0.667*REF(VAR7A,1)+0.333*快1,2);
VARAA:=EMA(VAR8A,5);
VARB:=EMA(0.667*REF(VARAA,1)+0.333*VARAA,2);
快2:=MA(快1,5);
{DRAWICON(CROSS(快1,VAR3A),LOW,1);}
DRAWTEXT(CROSS(快1,VARB) AND VARB<30,LOW,'低点'),COLOR0073FF;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VARB1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
VARB2:=SMA(VARB1,3,1);
V3:=SMA(VARB2,3,1)*VARB1;
V4:=SMA(V3,3,1);
K1:=CROSS(V3,V4);
KK2:=K1 AND SUM(K1,BARSLAST(CROSS(X3,X2)))=1;
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(YEAR<2058 AND VAR1F>0.015,VAR20,0)/45/4;
JJ :=(C*2+H+L)/4;
SKK :=( EMA(JJ,13) - EMA(JJ,21))*180;
SDD :=EMA(SKK,2);
多方:= (SKK-SDD)*0.000000001;
空方:= -1*(SKK-SDD)*0.000000001;
KK1:=CROSS(多方,空方);
M1:=1;  {M1=0,1,1(M1=1时,加入第4个条件)}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
K1K:=V>=MA(V,5) AND C>=REF(C,1) AND CROSS(K,D) AND K<=30;
K2K:=MAX(DIFF,MAX(DEA,MACD))<=0;
KK4:IF(M1=1,K1K AND K2K,K1K),LINETHICK0;  
KK5:KK1+KK2+KK3+KK4=4,LINETHICK0,COLORFF00FF;
KK6:KK1+KK2+KK3=3,LINETHICK0,COLORYELLOW;
KK7:KK1+KK3+KK4=3,LINETHICK0,COLORWHITE;
DRAWTEXT(KK5,L*0.99,'龙出'),COLORFF00FF;
DRAWTEXT(KK6 AND KK5<1,L*0.99,'蛇出'),COLORYELLOW;
DRAWTEXT(KK7 AND KK5<1,L*0.99,'鼠出'),COLORWHITE;
{ 仙人指路}副

Var1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var4:=(Var1+2*Var2+3*Var3)/6;
Var5:=MA(Var4,3);
Var6:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
Var7:=SMA(SMA(Var6,2,1)+3,2,1);
STICKLINE(Var7<20,-30,-40,10,1),colorffff00 , ;
Var9:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VarA:=SMA(Var9,3,1);
VarB:=SMA(VarA,3,1);
VarC:=3*VarA-2*VarB;
VarD:=LLV(LOW,5);
VarE:=HHV(HIGH,5);
VarF:=EMA((CLOSE-VarD)/(VarE-VarD)*100,4)*2;
Var10:=EMA(0.667*REF(VarF,1)+0.333*VarF,2);
Var11:=3*VarF-2*Var10;
Var12:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
Var13:=POW(MA(LOW,5),2)+MA(LOW,5);
Var14:=POW(MA(HIGH,5),2)+MA(HIGH,5);
Var15:=(Var12-LLV(Var13,64))/(HHV(Var14,64)-LLV(Var13,64))*150+65-10;
Var16:=SMA(Var15,3,1)*1.5-100;
Var17:=SMA(Var16,3,1);
Var18:=3*Var16-2*Var17;
Var19:=(HIGH+LOW+CLOSE*2)/4;
Var1A:=EMA(Var19,13);
Var1B:=STD(Var19,13);
Var1C:=(Var19-Var1A)*100/Var1B;
Var1D:=EMA(Var1C,5);
Var1E:=EMA(Var1D,13);
Var1F:=EMA(Var1D,13)+200-100;
Var20:=EMA(Var1F,10);
Var21:=3*Var1F-2*Var20;
Var22:=VarA+VarF+Var16+Var1F;
Var23:=VarB+Var10+Var17+Var20;
Var24:=VarC+Var11+Var18+Var21;
Var25:=(HIGH+LOW+CLOSE)/3;
Var26:=AMOUNT/VOL/100;
Var27:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
Var28:=(Var25-MA(Var25,34))/(0.015*AVEDEV(Var25,34));
Var29:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
Var2A:=(HIGH+LOW+CLOSE+Var25)/4;
Var2B:=EMA(Var2A,24);
Var2C:=STD(Var2A,24);
Var2D:=(Var2A-Var2B)/Var2C*100;
Var2E:=(Var25-MA(Var25,24))/(0.015*AVEDEV(Var25,24));
Var2F:=EMA(Var2D,5);
Var30:=(Var26-MA(Var26,21))/(0.015*AVEDEV(Var26,21));
Var31:=(Var27-MA(Var27,90))/(0.015*AVEDEV(Var27,90));
Var32:=((Var2F+Var2E+Var28)/3+165)/4;
Var33:=(EMA(EMA(EMA(Var32,15),10),5)-25)*2+Var29;
Var34:=(Var22+Var23+Var24*30)/32/5-15;
Var35:=EMA(Var34,13);
Var36:=(Var32+Var34)/2/1.1;
Var38:=EMA((Var33+Var35)/2,2);
Var39:=EMA(Var38,34);
STICKLINE(Var36>Var38,Var36,Var38,6,1),coloryellow , ;
STICKLINE(Var36>Var39,Var36,Var39,3,0),colorred , ;
STICKLINE(Var36<Var39,Var36,Var39,6,1),colorff0033 , ;
STICKLINE(Var36<Var38 AND Var36>Var39,Var36,Var38,3,1),,colorwhite  ;
STICKLINE(Var36<Var39,120,125,6,1),colorff0033 , ;
STICKLINE(Var36>Var39,120,125,3,0),colorred , ;
Var3A:=CROSS(Var36,0) AND COUNT(Var5<-12,2)>=1 OR CROSS(Var36,Var38) AND COUNT(Var5<-12,2)>=1;
STICKLINE(Var3A,100,0,3,0),colorff0033 , ;
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),colorgreen , ;
AJJ: 3*Var41-2*AJD, , ;
STICKLINE(AJJ>100,120,125,8,0),colorwhite, ;
100;
ys1:=(HIGH+LOW+CLOSE*2)/4;
rk3:=EMA(ys1,10);
rk4:=STD(ys1,10);
rk5:=(ys1-rk3)*100/rk4;
rk6:=EMA(rk5,5);
rk7:=EMA(rk6,10);
涨:=EMA(rk6,10)+100/2-5;
跌:=EMA(涨,4);
天晴了:=IF(cross(涨,跌) and 跌<-10,20,0);
DRAWICON(天晴了 and  if(EMA((CLOSE+HIGH+LOW)/3,10)>REF(EMA((CLOSE+HIGH+LOW)/3,10),1),EMA((CLOSE+HIGH+LOW)/3,10),0),0,1);
DRAWICON(cross(跌,80),120,2);
蚂蝗钉庄(副)

V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))
*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VE:=REF(L,1)*0.9;
VF:=L*0.9;
V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
V11:=EMA(V10,30);
V12:=V11-C;
V13:=REF(C,1);
V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;
V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;
V16:=BARSCOUNT(C);
V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
V1A:=(SMA(V19,4,1)-50)*2;
V1B:=SMA(V1A,3,1);
V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(HHV(H,30)-C)/C*100;
V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30
AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
大趋势: V3;
顶线: IF(VB<90,VB,100);
多方: IF(V1>0,V1,0),LINESTICK;
空方: -IF(V1<0,V2,0),LINESTICK;
抄底: V20,COLORRED,LINETHICK2;
预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200
AND V6<=-150,-15,V9))+65);
STICKLINE(V3<=REF(V4,1),V3,V4,8,0),COLORWHITE;
STICKLINE(V3>REF(V4,1),V3,V4,8,0),COLORRED;
T1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
T2:=C; T3:=多方>60 AND 预警系统>65 AND 顶线=100;
T4:=多方>48 AND 预警系统>65 AND 顶线<100;
T5:=空方<-38 AND 预警系统<65;
T6:=抄底>50 AND 顶线<90;
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
T8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; DRAWTEXT(T1 AND COUNT(T1,30)=1,10,'上升通道!'),COLOR00FFFF;
B2:=DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道!'),COLOR00FFFF;
B3:=DRAWTEXT(T3 AND COUNT(T3,30)=1,55,'上涨过急!'),COLOR00FFFF;
B4:=DRAWTEXT(T4 AND COUNT(T4,30)=1,75,'庄家出货!'),COLOR00FFFF;
B5:=DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'有小反弹!'),COLOR00FFFF;
B6:=DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹!'),COLOR00FFFF;
B7:=DRAWTEXT(T7 AND COUNT(T7,30)=1,-10,'资金进场!'),COLOR00FFFF;
DRAWTEXT(T8 AND COUNT(T8,30)=1,90,'见顶回落!'),COLOR00FFFF;
万国二号(副)


终止日:=(DATE<=8388608);
VAR2:=(HIGH+LOW+(CLOSE)*(2))/(4);
B: ((EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))*(38))*(终止日),COLOR0000FF,LINESTICK;
抄底1: ((((-1))*(EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))+0.01)*(38))*(终止日),COLOR339999,LINESTICK;
VAR22:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
VAR33:=EMA(VAR22,10);
VAR44:=EMA(VAR33,10);
VAR55:=(3)*(VAR33)-(2)*(VAR44);
VAR66:=EMA(VAR55,5);
桥: (EMA(VAR66,1))*(终止日),COLOR0000FF,LINETHICK2;
跨: (REVERSE(桥))*(终止日),COLORFFFFFF,LINETHICK2;
(0)*(终止日),COLORFFFF00,LINETHICK2;
趋势:=(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);
底部:=5;
底:DRAWTEXT((CROSS(趋势,底部))*(终止日),0,'◥◤'),COLOR00FFFF;
DRAWTEXT(CROSS((趋势)*(终止日),底部),15,'◢◣'),COLOR00FFFF;
VARA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3)) AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2)) AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2)) AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR (REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));
VARA2:=LLV(LOW,5);
VARA3:=HHV(HIGH,5);
VARA4:=EMA(((CLOSE-VARA2)/(VARA3-VARA2))*(100),4);
VARA5:=EMA((0.66699999)*(REF(VARA4,1))+(0.333)*(VARA4),2);
VARA6:=(VARA5<24) AND (OPEN<MA(CLOSE,20));
VARA1 AND (VARA6)*(终止日),COLORFF0000;
STICKLINE(VARA1 AND (VARA6)*(终止日),-40,40,10,1),COLOR2894FF;
VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
VARB3:=EMA(VARB2,7);
VARB4:=EMA(VARB3,10);
VARB5:=(3)*(VARB3)-(2)*(VARB4);
VARB6:=EMA(VARB5,5);
桥1:=EMA(VARB6,1),COLORRED,LINETHICK2;
K1:=BACKSET(桥<REF(桥,1),2);
IF(K1,桥,DRAWNULL),COLORGREEN,LINETHICK2;
K2:=BACKSET(桥>REF(桥,1),2);
IF(K2,桥,DRAWNULL),POINTDOT,COLOR00FFFF,LINETHICK4;
美化:=IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0);
STICKLINE((美化)*(终止日),-20,20,15,1),COLORFF0000;

 

新闪电手(副)

VAR1:=CLOSE/REF(CLOSE, 1)>=1.062 AND HIGH/CLOSE<1.005 AND MA(CLOSE, 90)/CLOSE>=1.150;
VAR2:=VAR1 AND COUNT(VAR1, 20)=1;
VAR3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
VAR4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
VAR5:=IF(VAR3>0.010, 0.900, 1) AND IF(VAR3>(-0.025), 1, 1.200);
VAR6:=VAR5*(VAR4-VAR3)*100;
VAR7:=SUM(VAR6, 10);
VAR8:=VAR7>20;
VAR9:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE>OPEN*1.060 AND VOL>=REF(VOL, 1)*1.5 AND CLOSE>=MA(CLOSE, 10);
VAR10:=VAR8 AND VAR9;
VAR11:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3));
VAR12:=CROSS(VAR11, (-87)) AND OPEN<MA(CLOSE, 5) AND CLOSE>=1.090*REF(CLOSE, 1) AND INDEXC>0.980*REF(INDEXC, 1) AND CLOSE<=1.470*LLV(CLOSE, 58);
VAR13:=EMA(CLOSE, 12)-EMA(CLOSE, 26);
VAR14:=EMA(VAR13, 9);
VAR15:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
VAR16:=SMA(VAR15, 3, 1);
VAR17:=SMA(VAR16, 3, 1);
VAR18:=EMA(IF(VAR14>REF(VAR14, 1), 1, (-1)), 14)*14;
VAR19:=EMA(IF(VAR17>REF(VAR17, 1), 1, (-1)), 14)*14*2;
VAR20:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100;
VAR21:=(VAR20+VAR19+VAR18)/3;
VAR22:=MA(CLOSE, 80)-MA(CLOSE,10)*4;
VAR23:=IF(CLOSE<VAR22 AND VOL/240>MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.062 AND CLOSE<MA(CLOSE, 13)*1.130, 88, 0);
VAR24:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<6 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VAR23>0, 91, 0);
VAR25:=IF(VAR21>REF(VAR21, 1) AND REF(VAR21, 1)<REF(VAR21, 2) AND (VAR2 OR VAR10 OR VAR12) OR VAR23>0 OR VAR24>0, 85, 0);
高级:IF(VAR24>0 ,95,0), STICK,COLOR0000FF,LINETHICK2;
中级:IF(VAR23>0 OR VAR24>0,80,0), COLOR0099FF, STICK,LINETHICK4 ;
初级:IF(VAR25>0 OR VAR24>0 OR VAR23>0,60,0),STICK,LINETHICK2,COLOR00FFFF ;
闪电手:MAX(MAX(高级, 中级), 初级), CIRCLEDOT COLORFF00FF,LINETHICK2;
新闪电手:CROSS(VAR21,VAR22)*20,STICK,LINETHICK1,COLOR00FF33;
DRAWICON( CROSS(VAR21,VAR22),15 ,9 );
[减仓警告] 副

VAR1:=EMA(CLOSE, 5)/EMA(EMA(CLOSE, 9), 16);
VAR5:=(CLOSE-LLV(LOW, 75))/(HHV(HIGH, 75)-LLV(LOW, 75))*100;
VAR6:=SMA(VAR5, 20, 1);
VAR7:=SMA(VAR6, 15, 1);
VAR8:=100-3*VAR6+2*VAR7;
VAR9:=((EMA(IF(VAR8>REF(VAR8, 1), VAR8, VAR8-3), 3)-50)*(-1)*2/2+50)/10;
VAR10:=EMA(AMOUNT, 13)/EMA(VOL, 13);
VAR11:=(VAR10/REF(VAR10, 1)-1)*100;
VAR12:=VOL/CAPITAL*100;
VAR13:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
VAR14:=(VAR9+VAR12)*VAR13*VAR11;
VAR15:=REF(CLOSE, 1);
VAR18:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
VAR19:=SMA(VAR18, 3, 1);
VAR20:=SMA(VAR19, 3, 1);
VAR21:=3*VAR19-2*VAR20;
VAR22:=(CLOSE-LLV(LOW, 26))/(HHV(HIGH, 26)-LLV(LOW, 26))*100;
VAR23:=SMA(VAR22, 6, 1);
VAR24:=SMA(VAR23, 3, 1);
VAR25:=3*VAR23-2*VAR24;
VAR26:=IF(CROSS(VAR21, VAR25) AND VAR25<20, (-1), 0)+IF(CROSS(VAR25, VAR21) AND VAR25>80, 1, 0);
VAR27:=(HIGH+LOW+CLOSE)/3;
VAR28:=(VAR27-MA(VAR27, 14))/(0.015*AVEDEV(VAR27, 14))/2;
VAR29:=SMA(MAX(CLOSE-VAR15, 0), 6, 1)/SMA(ABS(CLOSE-VAR15), 6, 1)*100;
VAR30:=LLV(LOW, 36);
VAR31:=HHV(HIGH, 36);
VAR32:=EMA((CLOSE-VAR30)/(VAR31-VAR30)*100, 9);
VAR33:=IF(VAR28>100 AND VAR32>50 AND CLOSE>OPEN, 0.5, 0)+IF(VAR29>80 AND VAR32>50 AND CLOSE>OPEN, 0.5, 0);
VAR34:=(CLOSE-LLV(LOW, 100))/(HHV(HIGH, 100)-LLV(LOW, 100))*100;
VAR35:=SMA(VAR34, 21, 1);
VAR36:=SMA(VAR19, 3, 1);
VAR37:=3*VAR35-2*VAR36;
VAR38:=IF(VAR37>80 AND VAR29>88, 0.5, 0);
减四分一:IF((VAR14>50 AND VAR14<100) OR (VAR26+VAR33+VAR38>0), 25, 0), STICK, COLORWHITE;
减三分一:IF(VAR14>100 AND VAR14<200, 33, 0), STICK, COLORYELLOW;
减二分一:IF(VAR14>200, 50, 0), STICK, COLORMAGENTA;
减三分二:IF(VAR1>1.100 AND VAR1<1.150 AND VAR1<REF(VAR1, 1) OR VAR1>1.150 AND VAR1<REF(VAR1, 1), 67, 0), STICK, COLORGREEN;
警示录:MAX(MAX(减四分一, 减三分一), MAX(减二分一, 减三分二)), POINTDOT,LINETHICK2, COLORRED;
成本和谐(主)

n1:1   100   8
n2:1   100   20
n3:1   100   50

 

 

SG:EMA(HHV(H,1),8),COLORMAGENTA;
X1:EMA(CLOSE,N1),COLORYELLOW;

JJ:=(H+L+3*C)/5;
VAR21:=EMA(JJ,5);VAR22:=EMA(JJ,13);VAR23:=EMA(JJ,21);VAR24:=EMA(JJ,34);
H1A:=(VAR21+VAR22+VAR23+VAR24)/4;
成本和谐:MA(H1A,5),COLORRED,LINETHICK2;
X4:EMA(X1,N2*3);
X6:EMA(X1,N3*3),COLORWHITE,CIRCLEDOT,LINETHICK2;
X7:EMA(X1,N3*5),COLORMAGENTA,LINETHICK4;

LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(X4>X6 AND CROSS(84,RSI), HIGH*1.02,'卖!'),COLORYELLOW;
DRAWTEXT(X4<X6 AND CROSS(80,RSI), HIGH*1.02,'卖!'),COLORYELLOW;

LL:=LLV(C,100),COLORGRAY;
X11:STICKLINE(成本和谐>REF(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),COLORRED,LINETHICK2;
X30:=X1<REF(X1,1) AND C<X1;
X31:STICKLINE(SG<REF(SG,1) OR X30, SG*0.998,SG*1.004,8,0),COLORBLUE,LINETHICK3;
X21:STICKLINE(成本和谐<REF(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),COLORGRAY,LINETHICK4;

X66:EMA(X1,N3*3),COLORGREEN,CIRCLEDOT;
TJ:=IF((C-REF(C,1))/REF(C,1)>0.025,1,0);
STICKLINE(C>REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),8,0),COLORGREEN;
多空趋势(副)


VAR1:=EMA(MA(IF(C>O,(C-O)*V,IF(C<O,(C-O)*V,0)),5),1);
VAR2:=EMA(MA(IF(C>REF(C,1),(C-REF(C,1))*V,IF(C<REF(C,1),(C-REF(C,1))*V,0)),5),1);
VAR3:=EMA(MA(IF(O>REF(C,1),(O-REF(C,1))*V,IF(O<REF(C,1),(O-REF(C,1))*V,0)),5),1);
VAR4:=EMA(MA(IF(C<O,(O-C)*V,IF(C>O,(O-C)*V,0)),10),1);
VAR5:=EMA(MA(IF(C<REF(C,1),(REF(C,1)-C)*V,IF(C>REF(C,1),(REF(C,1)-C)*V,0)),10),1);
VAR6:=EMA(MA(IF(O<REF(C,1),(REF(C,1)-O)*V,IF(O>REF(C,1),(REF(C,1)-O)*VOL,0)),10),1);
VAR7:=C>O;
VAR8:=C>REF(C,1);
VAR9:=O>REF(C,1);
多头:(VAR1+VAR2+VAR3)/3/100,COLORWHITE;
空头:(VAR4+VAR5+VAR6)/3/100,COLORYELLOW ;
一次警报:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,COLORMAGENTA;
二次警报:EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/3*MA(多头,5)*2*1.1,2),COLORGREEN;
STICKLINE(空头>0,0,空头,1,0),COLORCYAN;
STICKLINE(空头<0,0,空头,1,0),COLORRED;
X1:=EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100;
X2:=EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/5*MA(多头,5.3)*2*6.8,5);
X3:=EMA((COUNT(VAR8,22)/22+COUNT(VAR7,22)/22+COUNT(VAR9,22)/22)/18*MA(多头,8)*5*1.8,5);
DRAWTEXT(CROSS(X1,0),0,'★'),COLORFF9999,LINETHICK2;
DRAWTEXT(CROSS(X2,0),0,'★'),COLORFF99FF,LINETHICK2;
DRAWTEXT(CROSS(X3,0),0,'★<'),COLORGREEN,LINETHICK2;


中线趋势(主)

 

B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)!=0,REF(SS,3),IF(REF(SS,5)!=0,REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(REF(SS,7)!=0,REF(SS,7),0))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,3,1),COLOR33FF33;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,3,0),COLORFF9000;
STICKLINE(SS=2,B2,C,3,1),COLOR33FF33;
STICKLINE(SS=-2,B2,C,3,0),COLORFF9000;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,3,1),COLOR33FF33;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,3,0),COLORFF9000;
ZJ:=(C+H+L)/3;
VAR1:=MA(ZJ,30);
VAR2:=MA(ZJ,13)-MA(ZJ,34);
VAR3:=MA(VAR2,5);
VAR4:=(VAR2-VAR3)*5;
VAR5:=MA(IF(VAR4>=1000,1000,IF(VAR4<=ZJ,ZJ,VAR4) ),1);
VAR6:=MA(IF(VAR4>=1000,1000,IF(VAR4<=ZJ,ZJ,VAR4) ),3);
中线趋势:VAR1+2.2*STD(ZJ,30),COLORRED;

KS:=(C-MA(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
FENG:EMA(C,10),COLORWHITE;
YUN:EMA(KS/10+EMA(C,10),3),COLORYELLOW;
魔斗士:(EMA(C,5)*7+EMA(C,5)*3)/10,COLORGREEN;
DRAWTEXT(CROSS(FENG,YUN),YUN,'买'),COLORYELLOW,LINETHICK4;

V3:=(C-B1)/B1*100;
筹码:=MA((C-REF(O,34))/REF(O,34),1)*100;
筹码差:=MA(筹码,10);
V5:=V/CAPITAL*100;
上轨道:=SUM(V5,30);
下轨道:=REVERSE(SUM(V5,30));
跌筹比:=筹码/下轨道;
DRAWTEXT(COUNT(跌筹比>95/100 AND 筹码<-25 AND VAR3>5.5,12) AND C<0.95*B1,YUN,'震'),COLORRED;
DRAWTEXT(COUNT(跌筹比>95/100 AND 筹码<-25 AND VAR3>5.5,12) AND C<0.98*B1 AND C>0.96*B1,YUN,'打'),COLORGREEN;
DRAWTEXT(COUNT(跌筹比>95/100 AND 筹码<-25 AND VAR3>5.5,12) AND C<0.96*B1 AND C>0.94*B1,YUN,'压'),COLORGREEN;

先胜火龙珠(主)

 

A:=BARSCOUNT(C);
AH:=HHV(HIGH,120);
AL:=LLV(LOW,120);
B0:=(AH-AL)/40;
B1:=HIGH+B0;
B2:=LOW-B0;
AMV0:=((VOL * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);
势:=(EMA(AMV0,21) / EMA(VOL,21));
压线:((6 * HHV(势,2)) - (5 * 势)),LINETHICK1,COLOREE8400;
I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
黄点出低吸:IF(初晴,L*0.983,DRAWNULL),POINTDOT,COLOR00FFFF,LINETHICK5;

N1:=BARSCOUNT(5) ;
N:=((N1 - CURRBARSCOUNT ) + 1);
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
最高:=HHV(N1,1),POINTDOT;
最低:=LLV(N1,1),COLOR00FFFF;
DIFF:=(EMA(CLOSE,5) - EMA(CLOSE,26));
DEA:=EMA(DIFF,3);
MACD:=(2 * (DIFF - DEA));
MA5:=MA(CLOSE,5);
MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
AA10:=MA(CLOSE,10);
Y:=((LLV(LOW,1) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) > 1.04));
WX:=MA(CLOSE,0);
MB5:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
MB7:=(MA(CLOSE,20) * IF((20 < 7),WX,1));
M5:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
DDD:=(EMA(CLOSE,10) - EMA(CLOSE,100));
AMA:=EMA(DDD,4);
BMA:=(EMA(CLOSE,3) - EMA(CLOSE,30));
BMB:=EMA(BMA,4);
BMA1:=(EMA(CLOSE,13) - EMA(CLOSE,30));
SS:=(MA(CLOSE,8) * 0.998),COLORFFFFFF;
买:=(DDD >= AMA AND BMA >= BMB);
HH1:=FILTER(((DDD >= AMA) AND (BMA >= BMB)),33);
{DRAWICON(HH1,SS,6);}
VARR1:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),12,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),12,1)) * 100);
{DRAWICON(CROSS(82,VARR1),(HIGH * 1.07),5);}
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),12,1) / SMA(ABS((CLOSE - VAR1)),12,1)) * 100);
顶部雷达:=(CROSS(80,VAR2) * 1);
趋势线:=((3 * SMA((((CLOSE - LLV(LOW,28)) / (HHV(HIGH,28) - LLV(LOW,28))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
{DRAWTEXT(FILTER((IF(((CROSS(趋势线,10) AND ((CLOSE / LOW) > 1.04)) AND (短期乖离率 < 0.35)),1,0) AND (CLOSE > OPEN)),5),(LOW - 0.07),'底'),COLOR00FFFF;}
VARA:=EMA(((AMOUNT / VOL) / 100),3);
D:=LLV(CLOSE,20);
XXY:=EMA(VARA,88);
XXD:=(XXY * 0.74);
DRAWTEXT(FILTER(((((((短期乖离率 < 6) AND (OPEN <= D)) AND (LOW <= XXD)) AND ((CLOSE / OPEN) > 1.03)) AND (CLOSE > REF(CLOSE,1))) AND ((CLOSE / LOW) > 1.03)),5),(LOW - (LOW * 0.09)),'★'),COLORFF00FF;
均价:=((((HIGH + LOW) + OPEN) + CLOSE) / 4);
B:=((2 * EMA(LLV(均价,88),5)) - 均价);
黄买:=((3 * B) - (2 * SMA(B,5,1))),COLORFF0033,LINETHICK1;


Y2:=DRAWTEXT(CROSS(CLOSE,黄买),L*0.97,'● '),COLORFF00FF;
{DRAWTEXT(CROSS(CLOSE,黄买),L*0.97,'¤ '),COLORMAGENTA;}
黄点出买:=IF(Y2,L*0.97-0.01,DRAWNULL),CIRCLEDOT,COLOR00FFFF,LINETHICK2;
买进价:=((C-REF(MA(C,55),1))/6+MA(C,55))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
买进:STICKLINE(买进条件,H,L,0,0),COLORMAGENTA,LINETHICK2;
STICKLINE(买进条件,O,C,3,0),COLORMAGENTA,LINETHICK2;
{DRAWICON(买进条件,L*0.97,1),COLORRED;}

KS:=(C-MA(C,33))/MA(C,33)*(-200);
RKS:=REF(KS,1);
FT:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.03;
反弹:STICKLINE(FT,H,L,0,1),COLORMAGENTA,LINETHICK2;
STICKLINE(FT,O,C,3,0),COLORYELLOW,LINETHICK2;
K1:=BACKSET(SS>=REF(SS,1),2),COLORFFFFCC,LINETHICK1;
红线出买:IF(K1,SS, DRAWNULL),COLORRED,LINETHICK2;
K2:=BACKSET(SS<=REF(SS,1),2);
弱:IF(K2,SS, DRAWNULL),COLORCYAN,LINETHICK2;
粉点出买:IF(买,红线出买*0.988,DRAWNULL),POINTDOT,COLORFF66FF,LINETHICK5;

VAR10:=MA(C,80)-MA(C,10)/3;
VAR11:=REF(C,1);
VAR12:=SMA(MAX(C-VAR11,0),18,1)/SMA(ABS(C-VAR11),18,1)*100;
高1:=REF(HHV(H,10),20);
低1:=REF(LLV(L,10),20);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:=REFDATE(高1,DATE),COLORWHITE;
中线:REFDATE(H1,DATE),COLORYELLOW,POINTDOT;
二:=REFDATE(H2,DATE),COLOR33FF33{MAGENTA},POINTDOT;
三:=REFDATE(H3,DATE),COLORLIGRAY;
四:=REFDATE(H4,DATE),COLORRED;
水平线:REFDATE(H5,DATE),COLORWHITE,POINTDOT;
低:=REFDATE(低1,DATE),COLORYELLOW,POINTDOT;
DRAWTEXT( C=C AND CURRBARSCOUNT=50,中线+0.02,'中线'),COLORYELLOW;
DRAWTEXT( C=C AND CURRBARSCOUNT=20,水平线-0.02,' 水平线'),COLORFFFFCC;
KSS:=(C-MA(C,33))/MA(C,33)*(-200);
RKSS:=REF(KSS,1);
VAR101:=MA(C,80)-MA(C,10)/3;
VAR111:=REF(C,1);
VAR122:=SMA(MAX(C-VAR111,0),18,1)/SMA(ABS(C-VAR111),18,1)*100;
{DRAWICON(CROSS(79,VAR12),H*1.035,2);}
DRAWTEXT(CROSS(79,VAR122),H*1.04,' 抛↓'),COLOR33FF33;
{垂直1:=IF(CURRBARSCOUNT=0,REFDATE(HHV(H,240),DATE),DRAWNULL),STICK;
STICKLINE(低吸,HHV(H,240),LLV(L,240-239),0,0),STICK,COLORCYAN;};

{顶底}主

 

箱顶:HHV(MA((LOW+HIGH+CLOSE+O)/4,5),58),COLOR00AAFF;
箱底:LLV(MA((LOW+HIGH+CLOSE+O)/4,6),88),COLORGREEN,LINETHICK2;
VAR2:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱底,2);
VAR3:=(3*VAR2-2*SMA(VAR2,5,1))*0.3;
VAR4:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
VAR5:=EMA(3*VAR4-2*SMA(VAR4,18,1),5);
VAR6:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
VAR7:=3*SMA(VAR6,3,1)-2*SMA(SMA(VAR6,3,1),5,1);
VAR8:=(INDEXC*2+INDEXH+INDEXL)/4;
VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
VARA:=EMA(VAR9,5);
资金流向:=(VAR9-VARA+箱底)*1,COLORYELLOW;
VARG1:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13);
趋势力度:VARG1,COLORFFAA99;
K2:=BACKSET(趋势力度>REF(趋势力度,1),2);
IF(K2,趋势力度,DRAWNULL),COLORFF00FF,LINETHICK1;
AS:=箱底;
牛气冲天:STICKLINE( 趋势力度>=AS,AS ,趋势力度 ,0,0 ) ,COLORRED ;
STICKLINE( 趋势力度<= REF(趋势力度,1)
AND 趋势力度>AS,AS ,趋势力度 ,0,1 ) ,COLORWHITE;
趁机派发:STICKLINE( REF(趋势力度,2)<REF(趋势力度,1) AND 趋势力度<= REF(趋势力度,1)
AND 趋势力度>AS,AS ,趋势力度 ,0 ,0 ) ,COLORGREEN ;
熊气盖天:STICKLINE( 趋势力度<AS-0.5,AS-0.5 ,趋势力度 ,0 ,1 ) , ;
MA3:MA(C,3),COLORAAEE00;
MA21:MA(C,21),COLORGREEN;
K1:=BACKSET(MA21>REF(MA21,1),2);
强A:IF(K1,MA21,DRAWNULL),COLOR0000FF,LINETHICK2;
{DRAWTEXT( CROSS(MA3 , 箱底),L*0.99 , '试'),COLORRED;}
DRAWTEXT( CROSS(MA3 , MA21),L , '买'),COLORYELLOW;
DRAWTEXT( CROSS(MA3 , 箱顶) AND C>箱顶,箱顶 , '追'),COLOR00EEAA;
DRAWTEXT( CROSS(箱顶,MA3)AND C<箱顶 ,H , '卖') ,COLORFFAA99;
DRAWTEXT( REF(资金流向 ,2)<REF(资金流向 ,1) AND REF(资金流向 ,1)>资金流向
AND 资金流向>箱顶 AND C>箱顶,H*1.0051, '顶'),COLORWHITE;
DRAWTEXT( CROSS(趋势力度 , 箱底),箱底, '加仓'),COLORRED;

{换手率} 副未来


【换手率】:VOL/CAPITAL*100,COLORFFFFCC{,NODRAW};
【换手率2】:=【换手率】/REF(【换手率】,1);
【总量】:VOL/10000,VOLSTICK;
{天量,N,26,5,300}
AA1:=MA(C,250)<=REF(MA(C,250),1);
A22:=C<MA(C,250) AND C>MA(C,250)*0.90;
A32:=MA(C,5)<MA(C,250) AND MA(C,5)>REF(MA(C,5),1);
A42:=CAPITAL/V/100>0.03;
XX:= (HIGH+LOW+CLOSE)/3;
A52:=SUM(MAX(0,HIGH-REF(XX,1)),26)/SUM(MAX(0,REF(XX,1)-L),26)*100>175;
TJ1:=AA1 AND A22 AND A32 AND A42 AND A52;
B11:=V>MA(V,5)*3.33 AND V>REF(V,1)*2.5;
B22:=V>MA(V,5)*2.5 AND MA(V,5)>MA(V,10) AND MA(V,10)>MA(V,30);
TJ2:=B11 OR B22 OR V>REF(MA(V,3),1)*4 OR 100*V/CAPITAL>10;
TJ3:=TJ2 AND MA(C,5)>REF(MA(C,5),1) AND 100*V/CAPITAL>1;
关注:(TJ1 OR TJ3)*3.2,COLOR00FFFF,LINETHICK2;

A:=SUM(IF(BUYVOL>=5,VOL,0),0)-SUM(IF(SELLVOL>=10,VOL,0),0);
A1:=A/CAPITAL*100;
总股本〖亿〗:FINANCE(1)/100000000,NODRAW;
LTGB:=FINANCE(7)/100000000;
现流通〖亿〗:LTGB,COLORBBBBBB,NODRAW;
前流通〖亿〗:=REF(LTGB,BARSLAST(LTGB!=REF(LTGB,1))+1),NODRAW;
流通市值〖亿〗:FINANCE(7)*C/100000000,NODRAW;
【五日均量】:=MA(【总量】,5);
【十日均量】:=MA(【总量】,10);
【卅日均量】:=MA(【总量】,30);
【五市日均量】:=MA(【总量】,50);
QQ:=(((((MA(CLOSE,1) + MA(CLOSE,3)) + MA(CLOSE,5)) + MA(CLOSE,7)) + MA(CLOSE,9)) / 5);
WW:=(((((MA(CLOSE,2) + MA(CLOSE,4)) + MA(CLOSE,6)) + MA(CLOSE,8)) + MA(CLOSE,10)) / 5);
AY:=EMA(QQ,3);
B:=EMA(WW,10);
VAR1:=EMA(AMOUNT,1)/EMA(VOL,1)/100;
AA:=DMA(AY,VAR1);
BB:=DMA(B,VAR1);
VAR29:=MAX((2 * (AA - BB)),0) * 100;
强弱度:EMA(VAR29,34),COLOR33FF33;
强弱:EMA(VAR29,55),COLORFF9933;
弱:EMA(VAR29,555),COLORLIGREEN;
K1:=BACKSET(强弱度>REF(强弱度,1),2);
强:IF(K1,强弱度,DRAWNULL),COLOR0000FF,LINETHICK2;
STICKLINE(((VAR29 > 0) AND (VAR29 > REF(VAR29,1))),REF((强弱度 * 1.035),1),(强弱度 * 1.035),3,0),COLORLIRED;
STICKLINE(((VAR29 > 0) AND (VAR29 > REF(VAR29,1))),REF((强弱度 * 1.035),1),(强弱度 * 1.035),1.8,0),COLORRED;
STICKLINE(((VAR29 > 0) AND (VAR29 > REF(VAR29,1))),REF((强弱度 * 1.035),1),(强弱度 * 1.035),0.5,0),COLORFF00FF;

{波段}副

 

V0:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));
V1:=(POW(MA(LOW,5),2) + MA(LOW,5));
V2:=(POW(MA(HIGH,5),2) + MA(HIGH,5));
V3:=((((V0 - LLV(V1,9)) / (HHV(V2,9) - LLV(V1,9))) * 150) + 65);
DK:SMA(V3,3,1) * 1.5,COLORFFFFFF;
V4:=SMA(DK,3,1);
DJ:3* DK -2 * V4,COLOR9000F5;
DD:=(REF(CLOSE,2) * 0.865);
C1:=(REF(CLOSE,13) * 0.772);
C2:=((100 * VOL) / CAPITAL);
波段介入:IF(((((CLOSE - MIN(DD,C1)) / CLOSE) < 0.1) AND ((SUM(C2,5) / 5) < 1.8)),160,100),COLORRED;
C3:=(HHV(HIGH,4) = HHV(HIGH,120));
STICKLINE((C3 > 0),305,295,8,0),COLORGREEN;
FXQ:=((((2 * CLOSE) + HIGH) + LOW) / 4);
VV1:=LLV(LOW,5);
VV2:=HHV(HIGH,4);
VV3:=EMA((((FXQ - VV1) / (VV2 - VV1)) * 100),4);
VV4:=EMA(((0.667 * REF(VV3,1)) + (0.333 * VV3)),2);
DRAWTEXT(((CROSS(VV3,VV4) AND (VV3 < 50)) AND (VV3 > 29)),DK,'短进'),COLORMAGENTA;
DRAWTEXT((CROSS(VV3,VV4) AND (VV3 < 30)),DK,'低吸'),COLOR898BFF;
STICKLINE((CROSS(VV3,VV4) AND (VV3 < 30)),100,300,0,0),,COLOR898BFF;
STICKLINE((CROSS(DJ,DK) ),150,300,0,0),COLOR33FFFF;
DRAWTEXT(CROSS(DJ,DK),150,'买' ),COLOR33FFFF;
VV5:=(EMA(CLOSE,12) - EMA(CLOSE,26));
W1:=EMA(VV5,9);
W2:=(2 * (VV5 - W1));
W3:=REF(W2,1);
W4:=(CROSS(W3,W2) AND (W3 > 0));
W5:=(MA(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20);
XX1:=(((HIGH + LOW) + CLOSE) / 3);
XX2:=((XX1 - MA(XX1,10)) / (0.015 * AVEDEV(XX1,10)));
XX3:=((XX1 - MA(XX1,30)) / (0.015 * AVEDEV(XX1,30)));
XX4:=IF(((((XX2 >= 150) AND (XX2 < 200)) AND (XX3 >= 150)) AND (XX3 < 200)),10,0);
XX5:=IF(((((XX2 <= (0 - 150)) AND (XX2 > (0 - 200))) AND (XX3 <= (0 - 150))) AND (XX3 > (0 - 200))),(0 - 10),XX4);
XX6:=IF((W5 > 0),W5,0);
预警系统:(IF((((XX3 >= 200) AND (XX2 >= 150)) OR CROSS(65,XX6)),10,IF(((XX3 <= (0 - 200)) AND (XX2 <= (0 - 150))),(0 - 15),XX5)) + 200),COLORBLUE;
300,COLORFF00F8;
100,COLORFF0000;

抄底不败(副)

p1=-6,-10,10


BIAS1w :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2w :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3w :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1w+2*BIAS2w+3*BIAS3w)/6;
MN:MA(MM,3),COLORred,linethick1;
买入信号:ema(mn,2);
抄底653:if(mn<p1,-10,-15),colorgreen;
drawtext(cross(mn,买入信号) and COUNT(买入信号<p1,2)>1,-10,'」'),colorRED,LINETHICK3;
STICKLINE((mn<-9),0,-15,2,0 ),COLORcc0033;
STICKLINE((mn<-9),0,-11,2,0 ),COLORff9966;
底部预警信号:
STICKLINE( (mn<-9),0,-6,2,0) ,COLORffcc66;
STICKLINE( (mn<-9),0,-2,2,0 ),COLORffff66;
XY1272:
STICKLINE((MN<-12),10 ,-15,2 ,0) ,COLOR0066ff;
STICKLINE((MN<-12),10 ,-5,2 ,0 ),COLOR0099ff;
STICKLINE((MN<-12),10 ,0,2 ,0 ),COLOR00ccff;
STICKLINE((MN<-12),10 ,3,2 ,0),COLOR00ffff;

{早出}副


DIFF1:= EMA(C,3) - EMA(C,13);
DEA1 := EMA(DIFF1,9);
MACD1:= 2*(DIFF1-DEA1)*10;
DIFF2:= EMA(C,5) - EMA(C,26);
DEA2 := EMA(DIFF2,9);
MACD2:= 2*(DIFF2-DEA2)*10;
DIFF3:= EMA(C,7) - EMA(C,89);
DEA3 := EMA(DIFF3,21);
MACD3:= 2*(DIFF3-DEA3)*10;
STICKLINE(C>0,0,10,6,0),COLORE5C3EA;
STICKLINE(C>0,0,-5,6,0),COLORF6B06C;
STICKLINE(MACD3>=0,0,MACD3,5,0),COLOR009E3A;
STICKLINE(MACD3<0,0,-MACD3,5,0),COLOR646464;
STICKLINE(MACD2>=0,0,MACD2,5,0),COLOR007D19;
STICKLINE(MACD2<0,0,-MACD2,5,0),COLOR555555;
STICKLINE(MACD1>=0,0,MACD1,5,0),COLOR006400;
STICKLINE(MACD1<0,0,-MACD1,5,0),COLOR414141;
STICKLINE(MACD3,0,-ABS(MACD3)*0.6,5,0),COLOR232323;
STICKLINE(MACD1,0,-ABS(MACD1)*0.6,5,0),COLOR0F0F0F;
X1:=MA(LLV(C,8)*1.1,13);
X2:=MA(HHV(C,21)*0.9,13);
X3:=MA(LLV(INDEXC,8)*1.1,13);
X4:=MA(HHV(INDEXC,21)*0.9,13);
资金进出:3*(MA(C,1)-(X1+X2)/2-(X1+X2)/2*((X3+X4)/2-EMA(INDEXC,3))/((X3+X4)/2)),COLORSTICK;
红持:=(SMA(CLOSE,2,1)-EMA(LLV((CLOSE+LOW)/2,10),21))/MA(LLV((CLOSE+LOW)/2,10),21)*25,COLORRED;
白减:=(SMA(CLOSE,4,1)-EMA(LLV((CLOSE+LOW)/2,10),21))/MA(LLV((CLOSE+LOW)/2,10),21)*25,COLORFFFFFF;
STICKLINE(红持<白减,红持,白减,3,0),COLORWHITE;
STICKLINE(红持>白减,红持,白减,3,0),COLORRED;

 

{晚归}副

VARA:=EMA(REF(CLOSE,1),4);
色彩峰:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
STICKLINE(色彩峰,0,150,5,0),COLORFFB06C;
STICKLINE(色彩峰,0,-50,5,0),COLORFFB000;
STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR00003A;
AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);
VARA1:=VOL/CAPITAL/100< 0.015;
VARA2:=C/REF(C,1)> 1.05 AND C>O;
VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15;
VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);
PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RSV:=SMA(PF1,9,1);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2000* (2*(DIFF-DEA))/EMA(C,30),LINETHICK0;
FASTK1:=SMA(RSV,3,1);
K1:=SMA(FASTK1,2,1), COLORYELLOW;
D1:=SMA(K1,5,1),COLORB56C00;
T3:=(K1-D1)>REF((K1-D1),5);
STICKLINE(MACD>=0,0,MACD,4,0),COLOR666666;
STICKLINE(MACD>=0 AND MACD>REF(MACD,1),0,MACD,3,0),COLORAAAAAA;
STICKLINE(MACD<0,0,0.3*MACD,4,0),COLOR666666;
{STICKLINE(MACD<0,0,-0.3*MACD,0.1,0),COLOR9A9A9A;}
STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,0.3*MACD,0.1,0),COLOR6A9A9A;
RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
FASTK:=SMA(RSV2,3,1);
K:=SMA(FASTK,2,1), COLORYELLOW;
D:=SMA(K,5,1),COLORB56C00;
STICKLINE(K1>=D1,D1,K1,3,0),COLOR0000FF;
STICKLINE(K1<D1,D1,K1,3,0),COLORFFFFFF;
STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;
STICKLINE(K<D,D,K,1,0),COLORB56C00;
DRAWTEXT(色彩峰<3.5,-30,'ャ'),COLORDBDBDB;
DRAWTEXT(色彩峰<3.5,-30,'︼'),COLOR688EC1;
DRAWTEXT(CROSS(色彩峰,90),98,'ヲ'),COLORFFFFFF;
DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'Ψ'), COLORFFFFFF;
震仓与洗盘(副)

 


MI:=(CLOSE - REF(CLOSE,1));
AMI:=(SMA(MI,3,1) * 8);
股价未来走势:(MA(REF(AMI,1),10) - MA(REF(AMI,1),20));
动力趋势:SMA(股价未来走势,10,1);
VAR1:=(((CLOSE + HIGH) + LOW) / 3);
VAR2:=EMA(EMA(EMA(VAR1,1),13),21);
控盘度兼判洗盘:(((VAR2 - REF(VAR2,1)) / REF(VAR2,1)) * 100);
VAR3:=LLV(LOW,33);
VAR4:=HHV(HIGH,17);
VAR5:=(EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),20) * 0.998);
VAR6:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * VAR5)),1);
VAR7:=EMA(((100 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,33))),20);
VAR8:=EMA(VAR7,1);
VAR9:=((VOL / CAPITAL) * 100);
VARA:=(SUM(VAR9,5) >= 3);
VARB:=((VARA / REF(VAR9,10)) >= 2);
VARC:=HHV(CLOSE,5);
VARD:=((VARC / REF(CLOSE,5)) >= 1.01);
VARE:=(VAR8 > 20);
VARF:=((HIGH / REF(LOW,20)) < 1.2);
VAR10:=(WINNER(CLOSE) * 100);
VAR11:=((((VARA AND VARE) AND VARB) AND VARF) AND VARD);
VAR12:=FILTER(VAR11,20);
VAR13:=EMA(WINNER(CLOSE),20);
VAR14:=(((VAR13 > 0.85) AND (CLOSE OR ((SUM(VOL,3) / CAPITAL) > 0.1))) OR ((CLOSE / REF(CLOSE,20)) >= 1.9));
DRAWTEXT(VAR14,0.5,'');
强弱分界:0,colorB0CE4C;

 

暴涨启动线(主)


K2:=EMA(C,5);
K3:=EMA(C,10);
K5:=EMA(C,30);
KK5:=EMA(INDEXC,30);
A10:=EMA(C,10);
K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6);
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
年:MA(CLOSE,26),COLORGREEN,LINETHICK0;
箱底:LLV(MA((LOW),5),30),POINTDOT,COLORGREEN,LINETHICK1;
长箱底:LLV(MA((LOW),5),60),POINTDOT,COLORFF33FF,LINETHICK1;
长长箱底:LLV(MA((LOW),5),100),POINTDOT,COLORYELLOW,LINETHICK1;
长长箱顶:HHV(MA((HIGH),6),120),POINTDOT,LINETHICK1;
长箱顶:HHV(MA((HIGH),6),60),COLORRED,LINETHICK1;
箱顶:HHV(MA((HIGH),6),30),COLOR00AAFF,LINETHICK2;
中间:(箱顶+箱底)/2,COLORFF00FF,LINETHICK3;
WX:EMA(C,5),COLORWHITE,LINETHICK2;
STICKLINE(CROSS(WX,中间) ,中间+0.08,中间-0.08,0,0),COLORWHITE;
STICKLINE(CROSS(WX,长箱顶),长箱顶-0.8,长箱顶+0.8,0.1,0) ,COLORYELLOW,LINETHICK2;
STICKLINE(CROSS(WX,箱顶),箱顶-0.5,箱顶+0.5,0.1,0) ,COLORGREEN;
启动线:EMA(C,2),COLOR00FF00,LINETHICK2;
STICKLINE(WX<中间,WX,中间,0,0),COLORFF00FF;
STICKLINE(WX>中间,WX,中间,0,0),COLOR00FF00;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
TCF-趋势跟踪(副)

N(1,35,3)

ZCHANGE:=IF(C>REF(C,1),C-REF(C,1),0);
FCHANGE:=IF(C<REF(C,1),C-REF(C,1),0);
ZCF:=IF(C>REF(C,1),ZCHANGE+REF(ZCHANGE,1),0);
FCF:=IF(C<REF(C,1),FCHANGE+REF(FCHANGE,1),0);
ZTCF:SUM(ZCHANGE,N)-SUM(FCF,N)*(-1);
FTCF:SUM(FCHANGE,N)*(-1)-SUM(ZCF,N);
进场作多:STICKLINE(ZTCF>0 and FTCF<0,ZTCF,FTCF,2,0),colorred;
进场作空:STICKLINE(ZTCF<0 and FTCF>0,ZTCF,FTCF,2,0),colorwhite;
盘整:STICKLINE(ZTCF<0 and FTCF<0,ZTCF,FTCF,2,0),coloryellow;
多空差:ZTCF-FTCF,LINETHICK0;
DRAWTEXT(ZTCF=0 and FTCF=0,1,'变盘'),colorblue;
DRAWTEXT(ZTCF=0 and FTCF=0,0.5,'↓'),colorblue;
变盘:ZTCF=0 and FTCF=0,LINETHICK0,colorblue;

 

说明:
  ZTCF与FTCF的正值,是衡量目前趋势的强度。每日的ZTCF与FTCF的值不可能皆为正,因为不可能同时存在向上与向下的趋势,但有可能同时为负,此时为盘整。因此:
    若ZTCF>0且FTCF<0,则进场作多;
    若ZTCF<0且FTCF>0,则进场作空;
    若ZTCF<0且FTCF<0,不改变之前的操作策略。
  以完全机械式的交易,不掺杂个人的主观判断,TCF可带来惊人的获利表现。
  如果再加入停损机制的话,将会减少损失,进而增加净利,其获利将大大提升。
  此外,还可以再加强资金的控管,如加码等,将使TCF效能发挥到极至。
  参数的设定:可根据沪深两市个股的实际情况适当调整。

转强买入(副及选股公式两个)


m5:Ema(c,43),COlORFFAA66,LINETHICK2;
m6:Ema(c,60),Colorblue,LINETHICK3;
m7:ma(c,78),Color00Ffff,LINETHICK1;
m8:Ema(m7,3),Color00Ffff,LINETHICK1;
m9:ema(m8,3),Color00Ffff,LINETHICK1;
m11:Ema(m9,3),Color00Ffff,LINETHICK1;
MA47:eMA(CLOSE,46),COlORFFAA66,LINETHICK2;
MA60:eMA(CLOSE,60),Colorblue,LINETHICK3;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,m9*0.978,'转强买入'),COLORyellow;
DRAWTEXT(cross(m6,m9),m9*0.98,'转强买入'),COLOR0000FF;

 

 

 

 

 

 

 

{转强选股一}
M6:=EMA(C,60);
M7:=MA(C,78);
M8:=EMA(M7,3);
M9:=EMA(M8,3);
选股:CROSS(M6,M9);
-------------------------
{转强选股二}
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JUD2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
选股:JUD2;

乖离出入(副)

 

VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR4:=(VAR1+2*VAR2+3*VAR3)/6;
VAR5:=MA(VAR4,3)-STD(VAR4,3);
VAR6:=STICKLINE(VAR5<-4 AND VAR5>-6,-17,-30,5,0);
VAR7:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
VAR8:=EMA(VAR7,9);
VAR9:=2*(VAR7-VAR8);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(VARA,3,1),COLORYELLOW;
VARB:=SMA(K,3,1);
J:3*K-2*VARB,COLORGREEN;
试探介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-9,4)>=1,65,-15),LINETHICK2,COLOR6ACCFF;
果断介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-12,3)>=1,95,1),COLORMAGENTA;
主力介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,40,-15),COLORWHITE;
VARC:=DRAWICON(CROSS(J,1),1,1);
98;
乖离36: STICKLINE(VAR5<-36,125,110,6,0),COLOR95FBDD;
乖离28: STICKLINE(VAR5<-28 AND VAR5>-36,115,100,6,0),COLORMAGENTA ;
乖离24: STICKLINE(VAR5<-24 AND VAR5>-28,105,85,6,0),COLORYELLOW;
乖离20: STICKLINE(VAR5<-20 AND VAR5>-24,95,65,6,0),COLORRED;
乖离18: STICKLINE(VAR5<-18 AND VAR5>-20,85,55,6,0),COLORDDAA78 ;
乖离16: STICKLINE(VAR5<-16 AND VAR5>-18,75,45,6,0),COLORFFE0C0;
乖离14: STICKLINE(VAR5<-14 AND VAR5>-16,65,35,6,0);
乖离12: STICKLINE(VAR5<-12 AND VAR5>-14,50,20,5,0),COLORGREEN;
乖离9: STICKLINE(VAR5<-9 AND VAR5>-12,35,5,5,0),COLORAAAE5D;
乖离6: STICKLINE(VAR5<-6 AND VAR5>-9,-2,-15,5,0),COLORWHITE;

MACD背离(副)


SHORT:1   500  12
LONG: 1   500  26
M:    1   500   9

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK,COLOR5454FF;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
上升背离:(CC AND EE)*DEA,COLOR00FFFF;
顶背离:(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN;
FF:=C=LLV(C,180);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
下降背离:(LL AND GG)*DEA,COLORMAGENTA;
底背离:(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED;
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
介入区:(JJ AND ZZ)*DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短}
STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED;
DRAWTEXT(CROSS(DIFF,DEA ),0,'金N叉'),COLORCYAN;
DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;

 

无为买卖(副)

 

VAR1:=1;
趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1,COLORWHITE;
SD: EMA(SK,3),COLORYELLOW;
VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR6:=EMA(VAR5,9);
VAR7:=VAR1*CLOSE*1.236<MA(CLOSE,60);
VAR8:=CLOSE/REF(CLOSE,1)>1.021;
VAR9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;
VARA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
VARB:=ABS(VAR5-VAR6);
VARC:=STD(CLOSE,90)*10;
VARD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);
买:IF( VAR1*VAR7 AND VAR8 AND VAR9 AND VARC<25 AND CLOSE<8 AND VARA<114 AND VARB<=0.23*40,55,0),COLORRED;
VARE:=SLOPE(CLOSE,40);
VARF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);
VAR10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
VAR11:=STD(CLOSE,63)*10;
VAR12:=(MA(CLOSE,76)-MA(CLOSE,13)/3);
VAR13:=MA((CLOSE-VAR12)/VAR12,1);

VAR14:=MA(CLOSE,5);
VAR15:=MA(CLOSE,10);
VAR16:=MA(CLOSE,20);
VAR17:=MA(CLOSE,30);
VAR18:=MA(CLOSE,60);
VAR19:=MA(CLOSE,150);
VAR1A:=MA(CLOSE,250);
VAR1B:=VOL/CAPITAL*100;
VAR1C:=(CLOSE-VAR1A)/VAR1A*100;
VAR1D:=(CLOSE/REF(CLOSE,1)-1)*100;
VAR1E:=PWINNER(1,CLOSE);
VAR1F:=IF(VAR1>0.75 AND VAR1<0.901,0.618,1);
牛: IF(VAR14>VAR15 AND VAR15>VAR16 AND VAR16>VAR17 AND VAR16>VAR18 AND VAR19>VAR1A AND (VAR1E>=0.9 OR VAR1E>0.76 AND VAR1E<0.901 AND VAR1D>5 AND VAR1B>5) AND VAR1D>1.8 AND VAR1C<40 AND CLOSE>3 AND (CLOSE-VAR18)/VAR18<0.25 AND VAR1B<=6 AND VAR4*VAR1B>=1 AND CLOSE<18.5,35,0), COLORF00F00;
VAR20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR22:=VAR1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;
VAR23:=VAR1*MA(CLOSE,250);
VAR24:=MA(CLOSE,125);

VAR25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VAR26:=REF(CLOSE,1);
VAR27:=SMA(MAX(CLOSE-VAR26,0),5,1)/SMA(ABS(CLOSE-VAR26),5,1)*100;
VAR28:=VAR1*COUNT(VAR27<25,20)>=1;
VAR29:=(HIGH-LOW)/HIGH*100+(CLOSE-VAR26)/VAR26*100;
VAR2A:=EMA(MA(VAR29,41),6);
VAR2B:=VAR2A>LLV(VAR2A,6)*1.02 AND REF(VAR2A,1)<REF(LLV(VAR2A,6),1)*1.02 AND LLV(VAR2A,29)=LLV(VAR2A,6);
VAR2C:=VAR1*LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)<HHV(LOW,41)*71/100;
VAR2D:=HIGH>LOW*1.033;
涨势确立: VAR1*(VAR2C>0 AND VAR2D*16+81.5)*VAR1,COLOR80FFFF ;
买入:IF(CROSS(趋势线,21),50,18.5),LINETHICK1,COLORAAA0FF;
卖出:IF(CROSS(87,趋势线),60,81.5 ),COLORFFAA00;
DRAWTEXT(VAR2C>0 AND VAR2D,88,'↑'),COLORWHITE;
VAR2E:=IF(CROSS(SK,SD),25,18.5);
VAR2F:=IF(CROSS(SD,SK),75,81.5);
卖线:=VAR2F, COLORWHITE;
买线:=VAR2E,COLORRED;
VAR13<0.06*(-10)+81.5,COLORWHITE;
VAR30:0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
STICKLINE(VAR30<-2,0,VAR30,1.5,1);
DRAWTEXT(买入>VAR2E,61,' 短买'),COLORAAAAFF;
DRAWTEXT(卖出<VAR2F,58,'短卖'),COLORFFAA00;
DRAWTEXT(买>1.0,75,'长 买'),COLORRED;
DRAWTEXT(牛>1.0,40,'长牛'),COLORF00F00;
多色宝塔(副)


M1:2    250   5
M2:2    250   10
M3:2    250   20
M4:2    250   60
M5:2    500   120
M6:2    500   250

 

 

 

 

MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6),COLORRED;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.8,0),COLORRED;
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2.8,0),COLORGREEN;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.8,0),COLORYELLOW;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.8,0),COLORRED;

烈火冰山(主及选股)

主图有BACKSET未来

 

MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
廿一:MA(CLOSE,21),COLORRED,LINETHICK2;
STICKLINE(C>=廿一 AND C>=O,C,O,3,0),COLORRED;
注意:STICKLINE(C>=廿一 AND C>=O,H,L,0,0),COLORRED;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'★ '),COLORRED;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
IF(CROSS(84,RSI) , HIGH,HIGH+1),POINTDOT,LINETHICK7,COLORYELLOW ;HIGH+1,POINTDOT,LINETHICK7,COLOR000000 ;
HH:=HHV(H,250);
LL:=LLV(L,250);
E:=(HH-LL)/100;
GJ:=IF(C>=100,(C+H+L+O)/4,AMOUNT/(V+0.01)/100);

VARE1:=EMA(C,3);
VARE2:=EMA(C,5);
VARE3:=EMA(C,10);
VAR4:=EMA(C,20);
VAR5:=EMA(C,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7,8);
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK2;
STICKLINE(买进条件,O,C,3,0),COLORWHITE,LINETHICK2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,3,0),COLORYELLOW,LINETHICK2;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
峰:IF(T1,A,A),COLORYELLOW,LINETHICK1,POINTDOT;
底:IF(T2,Z,Z),COLORWHITE,LINETHICK1,POINTDOT;

 

 

 


{★选股公式}
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
XG:CROSS(VAR2,MA(VAR3,6));

 

江南鹰眼-洗钱(副)

 

洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
洗钱B:=SMA(洗钱A,13,1);
洗钱C:SMA(洗钱B,5.5,1.5),POINTDOT;
洗钱D:3*洗钱B-2*洗钱C;
洗钱E:4*洗钱C-3*洗钱B; 
量1:=EMA(洗钱A,3);
量2:=EMA(洗钱A,5);
量3:=EMA(洗钱A,7);
STICKLINE(量1>量2,量3,量1,8,1),colorRED; 
STICKLINE(量1<量2,量3,量1,8,1);
T1:=量2>量3 AND 量1<REF(量1,1);
T2:=量2<量3 AND 量1>REF(量1,1); 
STICKLINE(T1,量1,量3,5,0),colorFF00FF;
STICKLINE(T2,量1,量3,5,0),colorGREEN;
超级牛魔王(副)


Var4:=MA(CLOSE,5);
Var5:=MA(CLOSE,10);
Var6:=MA(CLOSE,30);
Var7:=MA(CLOSE,60);
Var8:=EMA(COST(85),7);
Var9:=EMA(COST(15),7);
VarA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VarB:=Intpart(VarA*100)/100;
VarC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VarD:=Intpart(VarC*100)/100;
VarE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VarF:=Intpart(VarE*100)/100;
短线趋势:EMA(CLOSE,5)-EMA(CLOSE,10);
中线趋势:EMA(短线趋势,9);
Var10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
Var11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
Var12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
Var13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
Var14:=REF(中线趋势,1);
Var15:=中线趋势;
Var16:=Var15-Var14;
Var17:=REF(短线趋势,1);
Var18:=短线趋势;
Var19:=Var18-Var17;
Var1A:=OPEN;
Var1B:=CLOSE;
超级牛魔王:If(Var1A<=Var4 AND Var1A<=Var5 AND Var1A<=Var6 AND Var1B>=Var4 AND Var1B>=VarF AND Var16>0 AND Var19>0,0.5,0);
短线指标:IF(CROSS(短线趋势,中线趋势) AND 短线趋势<0 AND 中线趋势<-0.2 AND Var11>45 AND Var16>0,0.3,0);
殷保华四号箱体线 (主)


HEPG:(EMA(CLOSE,450) * 2.14),colorFFFFFF;
MA03:(EMA(CLOSE,450) * 2.01),colorFF00FF;
MA02:(EMA(CLOSE,450) * 1.88),colorFF0000;
MA01:(EMA(CLOSE,450) * 1.75),colorFFFFFF;
MA1:(EMA(CLOSE,450) * 1.66),colorFF0000;
MA2:(EMA(CLOSE,450) * 1.5),colorFF00FF;
MA3:(EMA(CLOSE,450) * 1.37),colorFFFF00;
MA4:(EMA(CLOSE,450) * 1.33),colorFF00FF;
MA5:(EMA(CLOSE,450) * 1.25),colorFF0000;
MA6:(EMA(CLOSE,450) * 1.14),colorFFFFFF;
MA7:(EMA(CLOSE,450) * 0.99),colorFFFFFF;
MA8:(EMA(CLOSE,450) * 0.84),colorFFFFFF;
工作线:EMA(CLOSE,14),colorFFFFFF;
生命线:EMA(CLOSE,47),colorFFFF00;
抓牛线(主)

 


Var1:=MA((HIGH+LOW+2*CLOSE)/4,5);
Var2:=EMA(Var1,10)-EMA(Var1,30);
Var3:=EMA(Var2,5);
Var4:=(Var2-Var3)*5;
Var5:=IF(Var4<=Var1,Var1,Var4);
动向:= FORCAST(FORCAST(Var5,10),10),LINETHICK1;
趋势: IF(Var5>动向,Var5,Var1),COLORYELLOW;
强势: MA(Var1,5),COLORRED;
弱势:= MA(HHV(Var1,10),5),colorwhite;
主力: SMA(CLOSE,10,1),colorffff00;
疯牛: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHICK2,COLORRED;
年线: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),LINETHICK2,POINTDOT,COLOR30CC00;
Var6:=EMA(CLOSE,5);
Var7:=EMA(CLOSE,10);
Var8:=EMA(CLOSE,20);
Var9:=EMA(CLOSE,30);
VarA:=EMA(CLOSE,60);
VarB:=EMA(CLOSE,90);
VarC:=EMA(CLOSE,125);
VarD:=EMA(CLOSE,250);
Var10:=1.809*LLV(LOW,250);
Var11:=MA(CLOSE,10)-EMA(CLOSE,10)*100;
Var12:=MA(Var11,5);
Var13:=3*(Var12-Var11);
Var14:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200-100)/2-REF(CLOSE,5);
Var15:=SMA(SMA(Var14,5,1),5,1);
Var16:=MA(MA(Var15,5),5);
Var17:=3*Var16-5*Var15;
Var18:=EMA(Var17,10);
Var19:=MA(CLOSE,20)/MA(CLOSE,20)-REF(CLOSE,20)/CLOSE*100;
Var1A:=DMA(SMA(EMA(Var19,5),5,1),VOL/REF(VOL,5));
Var1B:=SMA(EMA(Var19,10),5,1);
Var1C:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
Var1D:=(-100)*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
Var1E:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
Var1F:=HIGH-REF(HIGH,1);
Var20:=REF(LOW,1)-LOW;
Var21:=SMA(IF(Var1F>0 AND Var1F>Var20,Var1F,0),14,1);
Var22:=SMA(IF(Var20>0 AND Var20>Var1F,Var20,0),14,1);
Var23:=Var21*100/Var1E;
Var24:=Var22*100/Var1E;
Var25:=SMA(ABS(Var24-Var23)/(Var24+Var23)*100,14,1);
Var26:=(Var25+REF(Var25,6))/2;
DRAWTEXT(CROSS(Var13,50) AND Var6>Var7 AND Var7>Var8 AND Var8>Var9 AND Var9>VarA AND VarA>VarB AND VarB>VarC AND VarC>VarD AND
疯牛>VarD AND Var19>Var1A AND Var1A>Var1B AND Var1B>-100 AND Var1C>-20 AND Var1D>-20 AND -30>Var18 AND Var18>Var17 AND
Var23>Var25 AND Var25>Var26 AND Var26>Var24,年线,'宝典'),COLORYELLOW;
DRAWTEXT(CROSS(Var13,200) AND Var6>Var7 AND Var7>Var8 AND Var8>Var9 AND Var9>VarA AND VarA>VarB AND VarB>VarC AND VarC>VarD AND
VarD>年线 AND 年线>Var10 AND Var19>Var1A AND Var1A>Var1B AND Var1B>-100 AND Var1C>-20 AND Var1D>-20 AND Var23>Var25 AND
Var25>Var26 AND Var26>Var24,年线,'疯牛'),COLORYELLOW;
(主图)未来

MA1:EMA(C,13)colorred;MA2:EMA(C,55)colorgreen;转向:ZIG(C,10);
顶:EMA(C,30)+2*STD(C,60)COLORYELLOW,pointdot,linethick3;
底:EMA(C,30)-2*STD(C,60)COLORYELLOW,pointdot,linethick3;
STICKLINE(MA1>MA2,MA1,MA2,0,0);STICKLINE(MA2>MA1,MA1,MA2,0,0);
STICKLINE(C>=O,H,L,0,0)colorred;STICKLINE(C<O,H,L,0,0)colorcyan;
STICKLINE(C>=O,C,O,8,0)colorred;STICKLINE(C<O,C,O,8,0)colorcyan;
组合指标(副)

注:MACD、RSI、KDJ、TRIX同图显示


RSI6:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DIFF:=EMA(C,5)-EMA(C,20);DEA:=EMA(DIFF,10);
MACD:500*(DIFF-DEA)/EMA(C,30) colorred pointdot;
RSV:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;
FK:=SMA(RSV,5,1);
K20:SMA(FK,5,1) pointdot COLORyellow;
D20:SMA(K20,5,1) pointdot COLORff9999;
TR:=EMA(EMA(EMA(C,5),5),5);
TRIX:(TR-REF(TR,1))/REF(TR,1)*1000 pointdot colormagenta;
TRMA:EMA(TRIX,30) pointdot colorff8888;
STICKLINE(K20>=D20,D20,K20,10,0) COLORyellow;
STICKLINE(K20<=D20,D20,K20,10,0) COLORff9999;
STICKLINE(MACD>=0,0,MACD,10,0) COLORred;
STICKLINE(MACD<=0,0,MACD,10,0) COLORgreen;
STICKLINE(TRIX>=TRMA,TRIX+60,TRMA+60,10,0) COLORmagenta;
STICKLINE(TRIX<=TRMA,TRIX+60,TRMA+60,10,0) COLORff9999;

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约