通达信三源主图主图指标划线指标源码
DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0);
MV10:=MA(V,10);
量差:=AVG_V-REF(AVG_V,1);
高开:=(O-REF(C,1))/REF(C,1)*100;
振幅:=(H-L)/REF(C,1)*100;
涨停:=C/REF(C,1)>1.095 ;
XG1:=REF(三元,1) AND 倍量;
XG0610:=三元 AND 量差>REF(HHV(量差,20),1);
XG600352:=高开>=6 AND 假阴 AND REF(EVERY(涨停,2),1) AND 倍量;
XGOK:=FILTER(XG3,2);
支撑2:REF(C,T+2),NODRAW;
STICKLINE(O,支撑1,支撑1,5,-1),COLOR22B4EE
STICKLINE(O,支撑2,支撑2,5,-1),COLOR0000FF
STICKLINE(O,支撑,支撑,5,-1),COLORGREEN;
V12:=CROSS(C,V2);
V11:=C>REF(C,1) AND L<REF(C,1) AND XGOK=0 AND REF(XGOK,1)>0;
X12:=V11>0 OR X11>0;
DRAWTEXT(买3>0,L*0.97,'3'),COLORGREEN;
DRAWTEXT(买2>0,L*0.95,'2'),COLORGREEN;
DRAWTEXT(买1>0,L*0.90,'1'),COLORGREEN;
启动8:=XA8 AND COUNT(XA8,4)=1;
A11111:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
A31111:=A11111 AND V>A21111;
A17:=(VOL=HHV(VOL,N2));
K17:=BARSLAST(A17);
K21:=REF(L,K17);
K4:=BARSLAST(K3);
NOTEXT1:=IF(CURRBARSCOUNT<CONST(SUMBARS(A17,1)),CONST(K27),DRAWNULL), COLORRED;
NOTEXT3:IF(CURRBARSCOUNT<CONST(SUMBARS(A17,1)),CONST(K21),DRAWNULL),COLORGREEN,LINETHICK1;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
梯量4:=REF(梯量9,1) AND C>=REF(C,1);
BK5:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(FILTER(梯量9,2)))+1),COLORD355BA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.9,0.1,1,EXTERNSTR(0,9997)); { 涨停原因}
DRAWTEXT_FIX(1,0.03,0.05,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'_____'),GNBLOCK),'__'),DYBLOCK))COLOR0066BB; {板块信息}
DRAWTEXT_FIX(1,0.03,0.10,0,EXTERNSTR(0,9886))COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.15,0,'游资:')COLOR0000FF;
U21:=11;
UPPER:=(1+U21/100)*MA(CLOSE,U11);
ENE1:=(UPPER+LOWER)/2;
A14:=FINANCE(7)<120000000;
C14:=FINANCE(7)<500000000 AND FINANCE(7)>300000000;
E19:=FINANCE(7)<1300000000 AND FINANCE(7)>800000000;
B:=DYNAINFO(9);
竞价龙头:=S19 OR (A14 AND A88=1 AND B>1200) OR (B14 AND A88=1 AND B>3000)OR (C14 AND A88=1 AND B>5000)OR (D14 AND A88=1 AND B>8000)OR (E19 AND A88=1 AND B>13000) COLORRED;
FD:=O/REF(C,1);
GK2:=IF(GK1>0 AND FD>REF(FD,1) AND REF(ZT33,1)>0 AND REF(GK1,1)>0,1,0);
竞换达标:=1; {原公式没有提供这行,所以测试不通过。}
墨轩寻牛1:=出轨 AND 竞换达标;
DRAWICON(墨轩寻牛1,L*0.94,24);