1、私密1号,追涨类公式 有主图副图和选股,公式仅提供副图源码。( 股民学院: http://www.58188.com ) {公式名称: 私密1号副 公式描述: 无参数 公式类型: 技术指标公式-其他类型 画线方法: 副图 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} VAR1:=VOL/REF(MA(VOL,5),1); VAR2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; VAR3:=HIGH; VAR4:=REF(HIGH,1); VAR5:=CLOSE; VAR6:=LOW; VAR7:=REF(CLOSE,1); VAR8:=MA(CLOSE,5); VAR9:=MA(CLOSE,10); VAR10:=MA(CLOSE,20); VAR11:=MA(CLOSE,30); VAR12:=MA(CLOSE,60); 股海无涯:DRAWNULL,COLORGREEN; VAR13:=MA(VAR5,120); VAR14:=VAR5>VAR8; VAR15:=VAR5>VAR9; VAR16:=VAR5>VAR10; VAR17:=VAR5>VAR11; VAR18:=VAR5>VAR12; VAR19:=VAR5>MA(VAR5,88); VAR20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.93; WWW58188COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); VAR21:=BARSLAST(VAR20); VAR22:=CROSS(VAR5,VAR13) AND VAR14 AND VAR15 AND VAR16 AND VAR17 AND VAR18 AND VAR21<=7 AND VAR3>VAR4; STICKLINE(VAR22,0,10,0.2,0),COLORLIMAGENTA; DRAWTEXT(VAR22,7.4,43),COLORYELLOW; DRAWICON(VAR22,10,18); DRAWICON(VAR22,11,18); DRAWTEXT(VAR22=1 AND (VAR1>=5 OR VAR2>=6),4.3,44),COLORMAGENTA; DRAWTEXT(VAR22=1 AND VAR2>=9.91,2.6,45),COLORRED; DRAWTEXT(VAR22=1 AND VAR3/VAR7>=1.097 AND VAR3>CLOSE,2.6,46),COLORGREEN; 2、狙击庄家低吸 M:=55; N:=34; J:=21; J1:=REVERSE(J); AA:=REF(MA(C,1),10)>REF(MA(C,60),10); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100); 买点:CROSS(J,J1) AND AA; FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); STICKLINE(买点,0,30,1,0),COLORBLUE; STICKLINE(买点,30,60,1,0),COLORWHITE; DRAWTEXT(CROSS(85,RSI),75,'▼'),COLORGREEN; VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1); STICKLINE(买点,60,80,1,0),COLORYELLOW; DRAWTEXT(买点,70,'庄家出现'),COLORRED; VAR2:=REF(LOW,1)*VAR1; VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1; VARQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VARQ2:=SMA(ABS(LOW-VARQ1),13,1)/SMA(MAX(LOW-VARQ1,0),10,1); VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1; VAR5:=LLV(LOW,30)*VAR1; VARQ3:=EMA(VARQ2,10); VARQ4:=LLV(LOW,33); VAR6:=HHV(VAR4,30)*VAR1; VAR7:=IF(MA(CLOSE,58),1,0)*VAR1; VARQ5:=EMA(IF(LOW<=VARQ4,VARQ3,0),3); 主力进场:IF(VARQ5>REF(VARQ5,1),VARQ5,0),COLORRED,NODRAW; VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1; 吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORRED; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLORRED; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR000055; 庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),COLORRED; 散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH, M)-LLV(LOW,M)),COLORLIBLUE,LINETHICK2; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR000077; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR000099; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); WWW58188COM:DRAWNULL,COLORRED; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR0000BB; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR0000DD; D:=SMA(K,3,1); JJ:=3*K-2*D; STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,1,0 ),COLOR0000FF; 洗盘:IF(VARQ5<REF(VARQ5,1),VARQ5,0),COLORGREEN,NODRAW; STICKLINE(VARQ5<REF(VARQ5,1),0,VARQ5,1,0),COLORGREEN; 庄家:EMA(JJ,6),COLORLIRED,LINETHICK2; STICKLINE(VARQ5<REF(VARQ5,1),0,VARQ5,1,0),COLOR005500; STICKLINE(VARQ5<REF(VARQ5,1),0,VARQ5,1,0),COLOR007700; 3、KDJ背驰金叉买点,利用金叉找底 N:=19; A0:=(2*C+H+L)/4; RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; 均线:=MA(A0,3)>REF(MA(A0,3),1); K0:=SMA(RSV,3,1); K2:=K0; A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; A2:=EMA(WINNER(C)*100,5); D2:=SMA(K0,2,1); A3:=MA(SMA(C-REF(C,1),3,1)/SMA(H-REF(C,1),3,1),3)*100; J1:(3*K0-2*D2),COLORYELLOW; J2:MA(J1,2),COLORRED; K:MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),3),LINETHICK1,COLORYELLOW; D:MA(K,3),COLORFF0000,LINETHICK1; J:3*K-2*D,LINETHICK1; MAV:=(2*C+H+L)/4; VAR1:=LLV(LOW,21); A4:=SMA(MAX(C-REF(C,2),0),6,1)/SMA(ABS(C-REF(C,2)),6,1)*100; A5:=MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5, 1)-2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3); VAR2:=HHV(HIGH,21); SK:EMA((MAV-VAR1)/(VAR2-VAR1)*100,8),COLORWHITE; 低吸:IF(CROSS(A4,14) OR A5>REF(A5,1) AND CROSS(K,A2)AND K<40,10,0); IF(A2>80 AND CROSS(95,K),85,100); SD:EMA(0.667*REF(SK,1)+0.333*SK,1),COLORCYAN; SJ:=3*SK-2*SD; 跌幅较大:K<5 AND LLV(C,3)/HHV(C,20)<0.8,COLOR00FF00; STICKLINE(跌幅较大,0,30,3,0),COLOR00FF00; A6:=COUNT(CROSS(K,A2),2)=1 AND CROSS(K,A5)AND A5/REF(A5,1)>0.9 AND K<50; A7:=CROSS(K,D)AND D<10 OR CROSS(K,D)AND CROSS(K,A5)AND D<18; 50,POINTDOT,COLORRED; 70,POINTDOT,COLORRED; 无限风光:A2>85 AND K>85 OR A2>90 OR K>90,LINETHICK0,COLORFFFF00; STICKLINE(无限风光,MAX(A2,K),100,6,1),COLORFFFF00; WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); DRAWICON(CROSS(A3,-300)AND K<10,5,1); 90,COLOR00AA00; WWW:SJ<20,COLOR00AA00; A8:=BARSLAST(REF(CROSS(K,D),1)); 二次金叉:=(A8<15 AND D<50 AND K>REF(K,A8+1) AND CROSS(K,D)AND A5<60); IF(WWW,0,20),COLOR00AA00,LINETHICK2; A9:=LLV(C,2)<REF(LLV(C,15),2); ZDF:=(C-REF(C,2))/REF(C,2)*100>19.8 AND O>REF(C,1); IF(ZDF,70,90),COLOR00AA00,LINETHICK2; DRAWTEXT(二次金叉 AND A9,K,'底背离'),COLORMAGENTA; |