不错的主图(源码 主图 通达信 贴图)
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
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
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;