主力趋势雷达: LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100; 卖点雷达:=CROSS(85,RSI1)*30; Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; Vard:=BARSCOUNT(CLOSE); 买点雷达:=(Varb< 20 AND Varc< 25 AND Vard> 50 AND AR<70 AND VOL<VOL[1] AND VOL[1]<VOL[2] AND VOL[2]<VOL[3])*30; Var1:=EMA(HHV(HIGH,484),21); Var2:=EMA(HHV(HIGH,242),21); Var3:=EMA(HHV(HIGH,90),21); Var4:=EMA(LLV(LOW,484),21); Var5:=EMA(LLV(LOW,242),21); Var6:=EMA(LLV(LOW,90),21); Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21); Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21); Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21); VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21); VarB:=REF(LOW,1); VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100; VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3); VarE:=LLV(LOW,30);//www.70822.com VarF:=HHV(VarD,30); Var10:=IF(MA(CLOSE,58),1,0); ZJRC:=EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10; 入场:IF(ZJRC>0.5 AND ZJRC<300 ,ZJRC,0),colorgreen; A1:IF(入场>0.5,入场*1,0),COLORD2FFD2; A2:IF(入场>0.5,入场*0.8,0),COLOR84FF84; A3:IF(入场>0.5,入场*0.6,0),COLOR00D700; A4:IF(入场>0.5,入场*0.4,0),COLOR008800; A5:IF(入场>0.5,入场*0.2,0),COLOR006600; 底场:=IF(ZJRC>=300,ZJRC*0.1,0),color0000FF; B1:IF(底场>0.5,底场*1,0),COLOR0000FF; B2:IF(底场>0.5,底场*0.8,0),COLOR5555FF; B3:IF(底场>0.5,底场*0.6,0),COLOR9999FF; B4:IF(底场>0.5,底场*0.4,0),COLORCCCCFF; B5:IF(底场>0.5,底场*0.2,0),COLORFFFFFF; 主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,Color5555FF; 散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,colorBBBB00; DRAWTEXT(CROSS(85,RSI1),80,'顶'); DRAWTEXT(CROSS(RSI1,25),-100,'底'); DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-60,'升'); DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1) OR CROSS(主力,散户) AND 散户<-35 ,-15,1); DRAWTEXT(CROSS(RSI1,20)AND 散户<-20 AND 买点雷达 ,-60,'底'); z:0,color999999; //资金仓位// m5=0; m10=0; m20=0; m30=0; m60=0; a2=MA(C,1); a5=MA(C,5); a10=MA(C,10); a20=MA(C,20); a30=MA(C,30); a60=MA(C,60); IF(a5=NULL)m5=100; IF(a2>=a5) { m5=100; IF(a2>=a10) { m10=0; IF(a2>=a20) { m20=0; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-100; } } IF(a2<a30) { m30=-70; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } IF(a2<a20) { m20=-50; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-50; } } IF(a2<a30) { M30=-20; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } } IF(a2<a10) { m10=-50; IF(a2>=a20) { m20=10; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-60; } } IF(a2<a30) { m30=-30; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } IF(a2<a20) { m20=-10; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-40; } } IF(a2<a30) { m30=-20; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-20; } } } } } IF(a2<a5) { m5=0; IF(a2>=a10) { m10=50; IF(a2>=a20) { m20=20; IF(a2>=a30) { m30=10; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-80; } } IF(a2<a30) { m30=-40; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } IF(a2<a20) { M20=0; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-50; } } IF(a2<a30) { m30=-20; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } } IF(a2<a10) { m10=0; IF(a2>=a20) { m20=50; IF(a2>=a30) { m30=0; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-50; } } IF(a2<a30) { m30=-20; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } } IF(a2<a20) { M20=0; IF(a2>=a30) { m30=30; IF(a2>=a60) { m60=0; } IF(a2<a60) { m60=-30; } } IF(a2<a30) { m30=0; IF(a2>=a60) { m60=10; } IF(a2<a60) { m60=0; } } } } } IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=150; IF(a2>=a5 AND a2>=a10 AND a2<a20 AND a2>=a30 AND a2<a60)m5=130; IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2<a30 AND a2<a60)m5=130; IF(a2>=a5 AND a2<a10 AND a2<a30 AND a2<a60)m5=110; IF(a2<a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=30; IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a5>=a10 AND a2<a30 AND a2<a60)m5=130; IF(a2>=a5 AND a2>=a10 AND a5>=a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=120; IF(a2>=a5 AND a2>=a10 AND a5<a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=110; IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60 AND a5<a10 AND a10<a30)m5=130; ZJCW:=(m5+m10+m20+m30+m60); CW:ZJCW,COLOR888888; IF(ZJCW>49) 仓位V:ZJCW,COLOR00FFFF; ELSE 仓位A:ZJCW,COLORAAAAAA; STICKLINE(ZJCW>49,25,ZJCW,1,-1),color00FFFF; //(顶尖股票学院: http://58188.com) 春去春又回全均线: 1.股价高于平均线,视为强势;股价低于平均线,视为弱势 2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道; 3.二条以上平均线向上交叉时,买进参考; 4.二条以上平均线向下交叉时,卖出参考; 5.移动平均线的信号经常落后股价,若以EXPMA 、VMA 辅助,可以改善。 C3:=REF(C,1); 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(涨停,OPEN,CLOSE,8,0),colormagenta; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,8,0),colorgreen ; IF (k<=0) RETURN 0; MA$1:MA(CLOSE, N1); IF (k<=1) RETURN 0; MA$2:MA(CLOSE, N2); IF (k<=2) RETURN 0; MA$3:MA(CLOSE, N3); IF (k<=3) RETURN 0; MA$4:MA(CLOSE, N4); IF (k<=4) RETURN 0; MA$5:MA(CLOSE, N5); IF (k<=5) RETURN 0; MA$6:MA(CLOSE, N6); IF (k<=6) RETURN 0; MA$7:MA(CLOSE, N7); IF (k<=7) RETURN 0; MA$8:MA(CLOSE, N8); |