股市客栈 股市客栈 2023-09-13 21:38 发表于江苏 {副图指标} N1:=5;N2:=10; LC:=REF(收盘,1); A0:=(2*C+H+L)/4; 均线:=MA(A0,3)>REF(MA(A0,3),1); 安全线:20、COLORLIGRAY、POINTDOT、LINETHICK4; AS1:=(收盘-LLV(低,7))/(HHV(高,7)-LLV(低,7))*10; K:(MA(3*SMA(AS1,6,1)-2*SMA(SMA(AS1,5,1),5,1),3))*10,LINETHICK1,COLORF00FF0; D:MA(K,3),COLORFF0000,LINETHICK1; J:(3*K-2*D),LINETHICK1,COLORF00FF0; VAGSKZZB:=C-REF(C,1); VAR2:=100*EMA(EMA(VAGSKZZB,6),6)/EMA(EMA(ABS(VAGSKZZB),6),6); MA5:=EMA(C,5); MA13:=EMA(C,13); HR:=HHV(高,55); HRY:=LLV(低,55); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); 差值:(EMA(DCLOSE,12)-EMA(DCLOSE,26))*10; DEA:EMA(DIFF,9),COLORFFFF00; A11:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 底背离:=REF(CLOSE,A11+1)>CLOSE AND DIFF>REF(DIFF,A11+1) AND CROSS(DIFF,DEA); DRAWTEXT(底背离,-6,'底背离'),COLORWHITE; A22:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 顶背离:=REF(CLOSE,A22+1)<CLOSE AND REF(DIFF,A22+1)>DIFF AND CROSS(DEA,DIFF); DRAWTEXT(顶背离,90,'顶背离'),COLORWHITE; RSV2:=(收盘-LLV(低,45))/(HHV(高,45)-LLV(低,45))*10; K周:=SMA(RSV2,15,1)*10,COLORWHITE; D周:=SMA(K周,3,1),COLORYELLOW; J周:=3*K周-2*D周,彩色; LCC:=REF(收盘,1); RSI:=SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100; 8.18、彩色、线厚2; GDIF:=(EMA(C,12)-EMA(C,26)); GDEA:=EMA(GDIF,9); MACD:=2*(GDIF-GDEA); MJBT:=EXIST((CROSS(GDIF,GDEA) AND GDIF>0) 或 CROSS(GDIF,0),5) ; MVOL5:=MA(V,5); MVOL10:=MA(V,10); MVOL20:=MA(V,20); 量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) AND REF(MVOL10,1)<REF(MVOL20,1); VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,5); VAR7:=(收盘-LLV(低,9))/(HHV(高,9)-LLV(低,9))*100; VAR8:=EMA(VAR7,30); VAR9:=EMA(VAR8,30); VAGSKZZB0:=3*VAR8-2*VAR9; 趋势:=EMA(VAGSKZZB0,5); DRAWTEXT(CROSS(10,势),48,'异'),COLORBLUE; DRAWTEXT(CROSS(10,势),38,'动'),COLORBLUE; N:=24; AN:=MA(C,N); A:=REF(C,4)>REF(C,3); A1:=REF(C,3)>REF(C,2); A2:=REF(C,2)>REF(C,1); A3:=A 和 A1 和 A2; A4:=C/REF(C,1)>1.065; A5:=BARSLAST(A4); A6:= A5>6 且 C>REF(C,1)*1.03 ; B:=EMA(MAX(C-REF(C,1),0),5)/EMA(ABS(C-REF(C,1)),5)*100; B1:=EMA(MAX(C-REF(C,1),0),8)/EMA(ABS(C-REF(C,1)),8)*100; B2:=REF(C,3)>REF(C,2) 且 REF(C,2)>REF(C,1) 且 REF(C,4)>REF(C,3); B3:=交叉(B,20)和(交叉(B,B1)); XGG:= A3 和 A6 和 B3 ; D1:=L<AN; D2:=C>AN; D3:=C/REF(C,1)<AN; D4:=CROSS(C,AN) AND V/REF(MA(V,5),1)>1.016; XG1:= D3 和 D4 和 D1 和 D2 ; 超牛:=XG1 和 XGG; DRAWTEXT(超牛,58,'牛股启动'),COLORWHITE; VARR2:=(((关闭 - 参考(关闭,1)) / 参考(关闭,1))*100); VARR3:=(((收盘价 - LLV(低,18)) / (HHV(高,18) - LLV(低,18)))*100); VARR4:=SMA(VARR3,9,1); VARR5:=SMA(VARR4,3,1); 主力线:=((3 * VARR4) - (2 * VARR5)),LINETHICK1,COLORBLUE; 散户线:=EMA(VARR4,3),COLORFFFFFF,LINETHICK1; 穿2:=CROSS(主力线,散户线)>REF(CROSS(主力线,散户线),1),LINETHICK1; SJTJ:=日期<1590301; MAH:=(H*18+REF(H,1)*17+REF(H,2)*16+REF(H,3)*15+REF(H,4)*14+REF(H,5) *13+REF(H,6)*12+REF(H,7)*11+REF(H,8)*10+REF(H,9)*9+REF(H,10)*8+REF( H,11)*7+REF(H,12)*6+REF(H,13)*5+REF(H,14)*4+REF(H,15)*3+REF(H,16)* 2+参考(H,17)*1)/171; MAL:=(L*18+REF(L,1)*17+REF(L,2)*16+REF(L,3)*15+REF(L,4)*14+REF(L,5)*13+REF(L,6)*12+REF(L,7)*11+REF(L,8)*10+REF(L,9)*9+REF(L,10)*8+REF(L,11)*7+REF(L,12)*6+REF(L,13)*5+REF(L,14)*4+REF(L,15)*3+REF(L,16)*2+REF(L,17)*1)/171; FA1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23)); FA2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),FA1); 金线王:=EMA(FA2,200)*1.118; 金线王2:=EMA(FA2,200)*1.118; 条件:=(C-REF(C,1))/REF(C,1)*100>8; 金K线:=CROSS(C,金线王) AND 条件; 黑马启动:金K线*10; AA:=LLV(LOW,34); BB:=HHV(HIGH,30); DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25); 谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25); GSKZZBGS1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; GSKZZBGS2:=SMA(GSKZZBGS1,3,1); GSKZZBGS3:=SMA(GSKZZBGS2,3,1); GSKZZBGS4:=SMA(GSKZZBGS3,3,1); 波:=GSKZZBGS3,COLORWHITE; 段:=GSKZZBGS4,COLORYELLOW; GSKZZBGS7:=CROSS(GSKZZBGS4,GSKZZBGS3) AND GSKZZBGS3>80; STICKLINE(FILTER(GSKZZBGS7,5)=1,0,90,1,0),COLORGREEN ; DRAWTEXT(FILTER(GSKZZBGS7,5)=1,70,'卖'),LINETHICK1,COLORFFCC66; 趋势: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),LINETHICK1,COLORBLUE; GSKZZBGS8:=CROSS(GSKZZBGS2,GSKZZBGS3) AND GSKZZBGS3>80 AND GSKZZBGS3>GSKZZBGS4; GSKZZBGS9:=CROSS(趋势,GSKZZBGS2) AND 趋势<20 AND 趋势<段; 分批卖出:STICKLINE(GSKZZBGS8,50,90,1,0),COLOR008360,LINETHICK3; 分批买入:STICKLINE(GSKZZBGS9,40,0,1,0),COLOR000080,LINETHICK3; 90,COLORGREEN ; 0,COLORYELLOW ; GSKZZBGS01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); GSKZZBGS02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); GSKZZBGS03:=CROSS(GSKZZBGS02,GSKZZBGS01); GSKZZBGS04:=REF(GSKZZBGS02,2)<REF(GSKZZBGS02,1) AND GSKZZBGS02<REF(GSKZZBGS02,1); GSKZZBGS05:=COUNT(GSKZZBGS03,7)>0 AND GSKZZBGS04; GSKZZBGS06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); GSKZZBGS07:=SMA(ABS(LOW-GSKZZBGS06),13,1)/SMA(MAX(LOW-GSKZZBGS06,0),10,1); GSKZZBGS08:=EMA(GSKZZBGS07,10); GSKZZBGS09:=EMA(C,5); GSKZZBGS10:=LLV(LOW,33); GSKZZBGS11:=EMA(IF(LOW<=GSKZZBGS10,GSKZZBGS09,0),3)*40; GSKZZBGS12:=IF(GSKZZBGS11>100,GSKZZBGS11*0.312,GSKZZBGS11); 资金入场:GSKZZBGS02,COLORRED; GSKZ1:=REF(LOW,1); GSKZ2:=SMA(ABS(LOW-GSKZ1),13,1)/SMA(MAX(LOW-GSKZ1,0),13,1)*4; GSKZ3:=EMA(GSKZ2,13); GSKZ4:=LLV(LOW,34); GSKZ5:=EMA(IF(LOW<=GSKZ4,GSKZ3,0),3); GSKZ6:=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); GSKZ7:=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); GSKZ8:=GSKZ6<REF(GSKZ7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 散户:STICKLINE(GSKZ5>REF(GSKZ5,1),0,GSKZ5,0.5,0),COLORGREEN,LINETHICK1; STICKLINE(GSKZ8 AND COUNT(GSKZ8,30)=1,0,18,0.5,0),COLORBLUE,LINETHICK3; STICKLINE(GSKZ8 AND COUNT(GSKZ8,30)=1,18,36,0.5,0),COLORFF7700,LINETHICK3; STICKLINE(GSKZ8 AND COUNT(GSKZ8,30)=1,36,60,1,0),COLORYELLOW; DRAWTEXT(GSKZ8 AND COUNT(GSKZ8,30)=1,90,'主力进场★'),COLORYELLOW; RE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; GSKZZB2:=(HIGH+LOW+CLOSE)/3; GSKZZB3:=(GSKZZB2-MA(GSKZZB2,14))/(0.015*AVEDEV(GSKZZB2,14)); GSKZZB4:=(GSKZZB2-MA(GSKZZB2,70))/(0.015*AVEDEV(GSKZZB2,70)); GSKZZB5:=IF(GSKZZB3>=150 AND GSKZZB3<200 AND GSKZZB4>=150 AND GSKZZB4<200,10,0); GSKZZB6:=IF(GSKZZB3<=-150 AND GSKZZB3>-200 AND GSKZZB4<=-150 AND GSKZZB4>-200,-10,GSKZZB5); GSKZZB7:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; GSKZZB8:=100-ABS(GSKZZB7); GSKZZB9:=IF(GSKZZB8<90,GSKZZB8,100); GSKZZBA:=IF(RE>0,RE,0); GSKZZBB:=IF(GSKZZB4>=200 AND GSKZZB3>=150,15,IF(GSKZZB4<=-200 AND GSKZZB3<=-150,-15,GSKZZB6))+60; GSKZZBC:=GSKZZBA>48 AND GSKZZBB>60 AND GSKZZB9<100; DRAWTEXT(GSKZZBC AND COUNT(GSKZZBC,25)=1,80,'分批出货'),LINETHICK1,COLORFFCC66; STICKLINE(GSKZZBC AND COUNT(GSKZZBC,25)=1,90,60,0.5,0),COLORFFCC66; GSKZZBGS3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); GSKZZBGS4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (GSKZZBGS3AA>0),91,0); 金牛:=(FILTER((GSKZZBGS4AA>90),45)),COLORYELLOW; STICKLINE(金牛,150,0,4,0),COLOR000099; STICKLINE(金牛,150,0,2,0),COLOR0000BB; STICKLINE(金牛,150,0,1,0),COLOR0000DD; STICKLINE(金牛,150,0,0.9,0),COLOR0000FF; DRAWTEXT(金牛>0,130,'金牛起爆'),COLOR00C5FF; DRAWTEXT_FIX(1,0,100,0,'★金牛起爆后市看涨'),COLORYELLOW; {选股指标源码} GSKZZBGS3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); GSKZZBGS4AA:=IF(((收盘)/(REF(收盘,1))>1.05) AND ((高)/(收盘)<1.01) AND (GSKZZBGS3AA>0),91,0); 金牛:(FILTER((GSKZZBGS4AA>90),45)); |
|
来自: vfswjjx9wz3kz7 > 《股市客栈》