必胜阁精品公式源码1
ma5:ma(c,5),coloryellow;
ma10:ma(c,10),color00ff00;
ma30:ma(c,30),colorf00ff0;
Var1:=IF(YEAR>=2034 AND MONTH>9,0,1);
江恩线: EMA(CLOSE,144), colorblue,linethick2;
Var2:=IF(YEAR<=2003 AND MONTH<4,0,1);
Var3:=IF(YEAR=2003 AND MONTH=5,0,1);
Var4:=IF(YEAR<2003,0,1);
Var5:=IF(YEAR=2002 AND MONTH=6 AND DAY=28,1,0);
Var6:=IF(YEAR=2002 AND MONTH=3 AND DAY=21,1,0);
Var7:=IF(YEAR=2001 AND MONTH=12 AND DAY=5,1,0);
Var8:=IF(YEAR=2001 AND MONTH=6 AND DAY=14,1,0);
Var9:=IF(YEAR=2001 AND MONTH=1 AND DAY=11,1,0);
VarA:=IF(YEAR=2000 AND MONTH=11 AND DAY=23,1,0);
VarB:=IF(YEAR=2000 AND MONTH=8 AND DAY=22,1,0);
VarC:=IF(YEAR=2000 AND MONTH=4 AND DAY=21,1,0);
VarD:=IF(YEAR=1999 AND MONTH=6 AND DAY=30,1,0);
VarE:=IF(YEAR=1999 AND MONTH=4 AND DAY=9,1,0);
VarF:=IF(YEAR=1998 AND MONTH=11 AND DAY=17,1,0);
Var10:=IF(YEAR=1998 AND MONTH=6 AND DAY=4,1,0);
Var11:=IF(YEAR=1997 AND MONTH=5 AND DAY=12,1,0);
Var12:=IF(YEAR=1996 AND MONTH=12 AND DAY=11,1,0);
Var13:=IF(YEAR=1994 AND MONTH=9 AND DAY=13,1,0);
Var14:=IF(YEAR=1993 AND MONTH=2 AND DAY=16,1,0);
Var15:=IF(YEAR=1992 AND MONTH=5 AND DAY=26,1,0);
Var16:=IF(YEAR=2003 AND MONTH=3 AND DAY=4,1,0);
Var17:=IF(YEAR=2003 AND MONTH=4 AND DAY=16,1,0);
var18:=(CROSS(100,"KDJ.J"(9,3,3)) OR CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3))) AND "KDJ.D"(9,3,3)>75;
Var19:=IF(YEAR>1990 AND YEAR<2003,0,1);
Var1A:=IF(YEAR=2003 AND MONTH=1 AND DAY=3,1,0);
Var1B:=IF(YEAR=2002 AND MONTH=6 AND DAY=6,1,0);
Var1C:=IF(YEAR=2002 AND MONTH=1 AND DAY=29,1,0);
Var1D:=IF(YEAR=2001 AND MONTH=10 AND DAY=22,1,0);
Var1E:=IF(YEAR=2001 AND MONTH=2 AND DAY=22,1,0);
Var1F:=IF(YEAR=2000 AND MONTH=9 AND DAY=26,1,0);
Var20:=IF(YEAR=1999 AND MONTH=12 AND DAY=28,1,0);
Var21:=IF(YEAR=1999 AND MONTH=5 AND DAY=17,1,0);
Var22:=IF(YEAR=1999 AND MONTH=2 AND DAY=9,1,0);
Var23:=IF(YEAR=1998 AND MONTH=8 AND DAY=18,1,0);
Var24:=IF(YEAR=1998 AND MONTH=3 AND DAY=26,1,0);
Var25:=IF(YEAR=1997 AND MONTH=2 AND DAY=20,1,0);
Var26:=IF(YEAR=1994 AND MONTH=7 AND DAY=29,1,0);
Var27:=IF(YEAR=2000 AND MONTH=5 AND DAY=15,1,0);
Var28:=IF(YEAR=1996 AND MONTH=1 AND DAY=19,1,0);
Var29:=IF(YEAR=1992 AND MONTH=11 AND DAY=20,1,0);
Var2A:=IF(YEAR=2003 AND MONTH=3 AND DAY=26,1,0);
Var2B:=IF(YEAR=2003 AND MONTH=5 AND DAY=13 AND CLOSE>200,1,0);
Var2C:=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)*Var19;
Var2D:=5;
Var2E:=CROSS(Var2C,Var2D);
Var2F:=Var1A OR Var1B OR Var1C OR Var1D OR Var1E OR Var1F OR Var20 OR Var21 OR Var22 OR Var23 OR Var24 OR Var25 OR Var26 OR Var27 OR Var28 OR Var29 OR Var2A OR Var2B OR Var2E;
Var30:=(var18 or Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC OR VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17){ AND CLOSE>200};
DRAWICON(Var2F,LOW-LOW*1/100,1);
DRAWICON(Var2F AND CLOSE>江恩线,LOW,1);
DRAWICON(Var30,HIGH,2);
DRAWTEXT(Var2F AND CLOSE<江恩线,LOW,'秘密买点!'), coloryellow;
DRAWTEXT(Var2F AND CLOSE>江恩线,LOW,'强势买点!'), ,colorred;
DRAWTEXT(var30,HIGH,'秘密抛点'), ,color00ff00;
秘密买点:if(Var2F AND CLOSE<江恩线,1,0), coloryellow;
必胜阁公式源码2
多:EMA(C,3),COLORYELLOW;
空:EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),COLORWHITE,;
varF1:=COUNT(CROSS(多,均衡),2)=1;
varF2:=COUNT(CROSS(空,均衡),2)=1;
ZAI:=FILTER(varF1 AND varF2,2);
DRAWTEXT(ZAI,均衡*0.98,' 主升行情'),color00ff00;
VV2:=REF(CLOSE,1);
VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);
DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,' 沽空↓'),COLORYELLOW;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;
varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
varB:=EMA(0.667*REF(varA,1)+0.333*varA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
varR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,varR1),HIGH,2);
DRAWTEXT(CROSS(82,varR1),HIGH,'短空↓'),COLORYELLOW;
var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var2:=REF(var1,1);
var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100;
HY3:=IF(COUNT(var3<20,5)>=1 AND COUNT(var1=LLV(var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW,' 注意买入'),COLORyellow;
S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2;
A:=MA(S,5),COLORGREEN,,LINETHICK2;
BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F:=MA(S,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,'逃顶!'),COLORYELLOW ;
S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,COLOR00ff00;
DRAWTEXT(S1=2,LOW,'关注!'), COLORGREEN;
中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;
趋势:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;
必胜阁公式源码3
VAR1:=1;
VAR2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100*VAR1;
VAR3:=SMA(VAR2,3,1)*VAR1;
VAR4:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*VAR1;
VAR5:=SMA(SMA(VAR4,2,1)+3*VAR1,2,1);
WINNER(MA(CLOSE,5))*100, COLORSTICK;
VAR6:=WINNER(MA(CLOSE,5))*100;
VAR7:=HHV(HIGH,9)-LLV(LOW,9);
VAR8:=HHV(HIGH,9)-CLOSE;
VAR9:=CLOSE-LLV(LOW,9);
VARA:=VAR8/VAR7*100-70;
VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VARC:=(2*CLOSE+HIGH+LOW)/4;
VARD:=SMA(VAR9/VAR7*100,3,1);
VARE:=LLV(LOW,26);
VARF:=SMA(VARD,3,1)-SMA(VARA,9,1);
VAR10:=IF(VARF>100,VARF-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VARC-VARE)/(VAR11-VARE)*100,16);
VAR13:=EMA(VAR12,4);
VAR14:=LLVBARS(MA(CLOSE,5),30);
压力线: IF(35+EMA(VAR13,80)<100,35+EMA(VAR13,80),100),COLORYELLOW;
主力生命: WINNER(MA(CLOSE,5))*100,COLORWHITE;
多方: SMA(SMA(VAR4,2,1)+3*VAR1,2,1),COLORRED;
浮筹: EMA(VAR12,4),COLORGREEN;
空方: SMA(VAR2,3,1)*VAR1,COLORBLUE;
必胜阁公式源码4
上线:=sma(c,6.5,1);
下线:=sma(c,13.5,1);
上线1:=sma(c,3,1);
下线1:=sma(c,8,1);
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2;
stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;
DRAWTEXT( cross(上线,下线),low *0.98,'全仓买' ),color00ff00;
drawtext(cross(下线1,上线1),h*1.02,'清仓'),coloryellow;
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) , HIGH*1.02,'减仓') ,COLORff9966,linethick2;
A7:=(2*C+H+L)/4;
操作:MA(a7,5),linethick2;
操作1:=MA(a7,5)*1.03,linethick2;
操作2:=MA(a7,5)*0.97,linethick2;
var1:LLV(a7,21);
var2:HHV(a7,21);
SK:=EMA((A7-var1)/(var2-var1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(count(close<ref(close,1), |