冠军一号主图 修改: ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,COLOR000066,LINETHICK3; ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORDD6600; 白色点空定位1:=H>ZK1 AND L<ZK1; STICKLINE(白色点空定位1=1,H,ZK1,4,0),COLOR666666; VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6); 回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2)); XG:=ZD1>HIGH AND 回调买 AND L<=ZD1; DRAWTEXT(XG,L,'▲买入'),COLORRED; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))); QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK; V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1); V5:=SMA(V2*120/FROMOPEN*5,2,1); V10:=SMA(V5,5,1); V20:=SMA(V10,5,1); DY:=CURRBARSCOUNT=1 AND C<REF(C,1); DY2:=REF(V2,1)-DY; XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1; DRAWTEXT(XG2 AND L<ZD1,L,'↖黑马暴涨'),COLORRED; X_18:=CURRBARSCOUNT; X_19:=精准计数周期; X_20:=X_18<=X_19; X_21:=IF(低1开2收3高4=1,LOW,IF(低1开2收3高4=2,OPEN,IF(低1开2收3高4=3,CLOSE,HIGH))); X_22:=IF(基准点前N天=0,X_21,REF(X_21,基准点前N天)); WEN98编_基准价:IF(X_20,CONST(X_22),DRAWNULL),POINTDOT,COLOR444444; {所属行业及板块} DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR555555; DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR555555; DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR555555; DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR555555; DRAWTEXT_FIX(1,0.28,0,0,'概念板块:')COLOR555555; DRAWTEXT_FIX(1,0.35,0,0,GNBLOCK)COLOR555555; 所属风格:DRAWTEXT_FIX(1,0,0.04,0,'所属风格:'),COLOR555555; DRAWTEXT_FIX(1,0.05,0.04,0,FGBLOCK),COLOR555555; 上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW; DRAWTEXT_FIX(1,0,0.08,0,'上市日期:'),COLOR555555; DRAWNUMBER_FIX(1,0.05,0.08,0,上市日期),COLOR555555; 前20内高:=HHV(C,20); 昨前高:CONST(REF(前20内高,2)),COLORGRAY,POINTDOT; 主力控盘: 无未来函数 主图源码 20,POINTDOT; 80,POINTDOT; VAR1:=(2*C+H+L)/4; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); AA:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5),COLORRED; BB:EMA(AA,5)COLOR00FFFF; DRAWBAND(AA,RGB(200,0,0),BB,RGB(0,200,200)); DRAWICON(CROSS(AA,BB),BB-5,1); DRAWICON(CROSS(BB,AA),AA+5,2); STICKLINE(AA<20,2,7,1,1),COLORFF00FF; STICKLINE(AA>80,92,97,1,1),COLOR00FFFF; IF(AA>=BB,100,108); IF(AA<BB,0,-8); DRAWICON(AA>=BB,105,1); DRAWICON(BB>AA,-8,2); STICKLINE( CROSS(AA,BB),-8,15,1,0),COLORRED,LINETHICK2; STICKLINE( CROSS(AA,BB),1,6,1,0),COLOR00FFFF,LINETHICK2; DRAWICON(CROSS(AA,BB),13,13); STICKLINE( CROSS(BB,AA),108,85,1,0),COLOR00FF00,LINETHICK2; STICKLINE( CROSS(BB,AA),94,99,1,0),COLORFF00FF,LINETHICK2; DRAWICON(CROSS(BB,AA),85,14); 选股幅图 买:=IF("KDJ.J"<0,10,0); 条件:=CROSS(9.9,买); VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,5); VAR3:=HHV(HIGH,5); VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5); MA1:=MA(VAR4,2); AA:=STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED; BBB:=STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED; CROSS(9.9,买); 一鸣抄底: 小小公式,成功率比较高(顶尖财经 股票学院: www.58188.com): DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=(DIFF-DEA)*2; 月K:="KDJ.K#MONTH"; 月D:="KDJ.D#MONTH"; 周K:="KDJ.K#WEEK"; 周D:="KDJ.D#WEEK"; 日K:"KDJ.K"COLORRED; 日D:"KDJ.D"COLORGREEN; 日J:="KDJ.J"COLORWHITE; MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); 均价:=REF(MA(C,5),1); VOLUME:=VOL; MAVOL1:=MA(VOLUME,5); MAVOL2:=MA(VOLUME,10); 日金叉1:=IF(CROSS(日K,日D),20,0); 周金叉1:=IF(CROSS(周K,周D),40,0); 月金叉1:=IF(CROSS(月K,月D),60,0); 红钻:DRAWICON(日K>日D AND 周K>周D AND 月金叉1,日K,25); |