绝底操盘: VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); VAR4:=LLV(LOW,50); VAR5:=HHV(HIGH,150); VAR6:=LLV(LOW,10); VAR7:=HHV(HIGH,16); 警戒线:2.8 ,colorbrown,DOTLINE ; 减仓线: 3.2 ,colorligray,DOTLINE; 卖出线: 3.5 ,colorred,; 快动: EMA((CLOSE-VAR6)/(VAR7-VAR6)*4,4),colorcyan ,DOTLINE; 动力线: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4),colorgreen,LINETHICK1; DRAWTEXT(CROSS(动力线,警戒线),2,'!'),colorwhite; DRAWTEXT(CROSS(动力线,减仓线),2.8,'减'), ,; DRAWTEXT(CROSS(动力线,卖出线),3.5,'出'), , ; DRAWICON(CROSS(动力线,警戒线),3,2); DRAWICON(CROSS(动力线,减仓线),3.4,2); DRAWICON(CROSS(动力线,卖出线),3.9,2); 绝底:0.3,LINETHICK1,colorbrown; 操盘线: EMA((CLOSE-VAR4)/(VAR5-VAR4)*4,4),colormagenta; 趋势线: EMA((CLOSE-VAR4)/(VAR5-VAR4)*4,20),LINETHICK2,colorred; 生命指数:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),7)/28,COLOR3399FF,LINETHICK2; IF(操盘线<=REF(操盘线,1) AND 操盘线<趋势线 ,操盘线,DRAWNULL),LINETHICK1,colorwhite; IF(趋势线<=REF(趋势线,1),趋势线,DRAWNULL),LINETHICK2,colorgreen; HJZ:=(3*C+H+L+O)/6; 资金流高抛低吸抄底组合: 入时机和建仓共振 底部买入 顶部卖出 源码 10,coloryellow; 生命指数: 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); 90,colorgreen; 顶:IF(生命指数>90,80,90); 底:IF(生命指数<10,30,10),coloryellow; 买入时间: IF(CROSS(生命指数,底),40,0); N1:=3;N2:=7;N3:=21; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; ZB1:=RSI1<底; 建仓:IF(CROSS(RSI1,底) ,30,0),LINETHICK1; DRAWICON(建仓 AND 买入时间,20,11); DRAWICON(CROSS(RSI1,底) ,30,11); ZB2:=(ZB1=0 AND RSI1<=顶); 卖出:IF(ZB2=1 AND REF(ZB2,1)=0 AND 建仓=0,80,100),LINETHICK1; 抄底高抛低吸: K线底部区域 量能缩小到最低 开始建仓( 顶尖财经 股票学院: http://www.58188.com ) 源码 Var1:=REF(OPEN,1); Var2:=SMA(MAX(OPEN-Var1,0),6,1)/SMA(ABS(OPEN-Var1),6,1)*100; Var3:=REF(CLOSE,1); Var4:=SMA(MAX(CLOSE-Var3,0),6,1)/SMA(ABS(CLOSE-Var3),6,1)*100; Var5:=REF(HIGH,1); Var6:=SMA(MAX(HIGH-Var5,0),6,1)/SMA(ABS(HIGH-Var5),6,1)*100; Var7:=REF(LOW,1); Var8:=SMA(MAX(LOW-Var7,0),6,1)/SMA(ABS(LOW-Var7),6,1)*100; STICKLINE(Var4<Var2,Var2,Var4,8,0),colorgreen , ; STICKLINE(Var4>Var2,Var2,Var4,8,0),colorred , ; STICKLINE(Var4>Var2 AND Var6>Var8 AND Var8>Var4,Var4,Var6,0.5,1),colorred , ; V1:=STICKLINE(Var4>Var2 AND Var6>Var8 AND Var8<Var4,Var4,Var6,0.5,1),colorred ,; V2:=STICKLINE(Var4>Var2 AND Var6<Var8 AND Var6>Var4,Var4,Var8,0.5,1),colorred , ; V3:=STICKLINE(Var4>Var2 AND Var6>Var8 AND Var6<Var2,Var2,Var8,0.5,1),colorred , ; V4:=STICKLINE(Var4>Var2 AND Var6>Var8 AND Var6>Var2,Var2,Var8,0.5,1),colorred , ; v5:=STICKLINE(Var4>Var2 AND Var6<Var8 AND Var8<Var2,Var2,Var6,0.5,1),colorred , ; STICKLINE(Var4>Var2 AND Var6<Var8 AND Var8>Var2,Var2,Var6,0.5,1),colorred , ; STICKLINE(Var4<Var2 AND Var6>Var8 AND Var6<Var4,Var4,Var8,0.5,1),colorgreen , ; v6:=STICKLINE(Var4<Var2 AND Var6<Var8 AND Var8<Var4,Var4,Var6,0.5,1),colorgreen , ; V7:=STICKLINE(Var4<Var2 AND Var6<Var8 AND Var6>Var4,Var4,Var8,0.5,1),colorgreen , ; V8:=STICKLINE(Var4<Var2 AND Var6>Var8 AND Var6<Var4,Var2,Var8,0.5,1),colorgreen ,; V9:=STICKLINE(Var4<Var2 AND Var6>Var8 AND Var6>Var4,Var2,Var8,0.5,1),colorgreen , ; V10:=STICKLINE(Var4<Var2 AND Var6<Var8 AND Var8<Var2,Var2,Var6,0.5,1), colorgreen , ; STICKLINE(Var4<Var2 AND Var6<Var8 AND Var8>Var2,Var2,Var6,0.5,1),colorgreen , ; RSI1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; RSI2:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),12,1)*100; 顶部线:80,coloryellow; 底部线:20,colormagenta; 中部线:50; 股价趋势: 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); 底部警戒: 10; 买入信号: IF(CROSS(股价趋势,底部警戒),20,0),STICK,linethick6,colormagenta;顶部警戒: 90; 5,coloryellow; 生命指数: EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4; 23.16,colorgreen; 顶:IF(生命指数>23.16,20,23.16),colorgreen; 底:IF(生命指数<2,10,5),coloryellow; 买入时间: IF(CROSS(生命指数,底),10,0); |