线里乾坤 通达信主图指标 源码 贴图
SJ:=IF(DATE+19000000 20191009,1,1);收盘线:C,NODRAW;
飞龙线:SQRT(EMA(CLOSE,89)*COST(89))*SJ,LINETHICK2,COLORRED;
抄底线:SQRT(EMA(CLOSE,89)*COST(5))*SJ,LINETHICK2,COLORGREEN;
MA5:MA(C,5),COLORFFFFFF;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORFF80FF;
MA30:MA(C,30),COLORGREEN;
MA60:MA(C,60),COLOR800080;
MA120:MA(C,120),COLORC09E7D;
JJ:=(CLOSE+HIGH+LOW)/3;
AA:=EMA(JJ,20);
BB:=REF(AA,1);
{出击:CROSS(AA,BB),COLORRED,LINETHICK0;}
STICKLINE(AA BB,AA,BB,2,0),COLORYELLOW,LINETHICK2;
STICKLINE(AA BB,BB,AA,2,0),COLORBLUE,LINETHICK2;
XOPEN:=(REF(O,1)+REF(C,1))/2;
XCLOSE:=CLOSE;
XHIGH:=MAX(HIGH,XOPEN);
XLOW:=MIN(LOW,XOPEN);
VOLALITY:=MA(XHIGH-XLOW,8);
凰线:=MA(XCLOSE,5)+VOLALITY/2;
凤线:=MA(XCLOSE,5)-VOLALITY/2;
BU:=CROSS(XCLOSE,凰线);
SEL:=CROSS(凤线,XCLOSE);
VAR1:=BARSLAST(BU);
VAR2:=BARSLAST(SEL);
A:=XCLOSE XOPEN AND VAR1 VAR2 ;
B:=XCLOSE =XOPEN AND VAR1 VAR2;
E:=XCLOSE =XOPEN AND VAR1 VAR2;
D:=XCLOSE XOPEN AND VAR1 VAR2;
DRAWICON(A AND NOT(REF(A,1) OR REF(B,1)),L*0.99,1),COLORRED;
DRAWICON(E AND NOT(REF(E,1) OR REF(D,1)),H*1.01,2),COLORGREEN;
STICKLINE(A AND NOT(REF(A,1) OR REF(B,1)),AA,BB,2,0),COLORRED,LINETHICK2;
STICKLINE((BB AA AND XCLOSE XOPEN AND VAR1 VAR2 ) OR (BB AA AND XCLOSE =XOPEN AND VAR1 VAR2 ),AA,BB,2,0),COLORRED,LINETHICK2;
STICKLINE((AA BB AND XCLOSE XOPEN AND VAR1 VAR2 AND REF(XCLOSE XOPEN AND VAR1 VAR2,1)) OR (AA BB AND XCLOSE =XOPEN AND VAR1 VAR2 AND REF(XCLOSE XOPEN AND VAR1 VAR2,1)),AA,BB,2,0),COLORYELLOW,LINETHICK2;
STICKLINE((CROSS(BB,AA) AND E AND NOT(REF(E,1) OR REF(D,1))) OR (BB AA AND E AND NOT(REF(E,1) OR REF(D,1))),AA,BB,2,0),COLORBLUE,LINETHICK2;
STICKLINE((CROSS(AA,BB) AND E AND NOT(REF(E,1) OR REF(D,1))) OR (AA BB AND E AND NOT(REF(E,1) OR REF(D,1))),AA,BB,2,0),COLORYELLOW,LINETHICK2;
{涨停动因}{www.9m8.cn 九毛八公式指标网}
DRAWTEXT_FIX(1,0.65,1,0,'涨停动因:');
DRAWTEXT_FIX(1,0.7,1,0,EXTERNSTR(0,6))COLORMAGENTA;
{公告摘要}
DRAWTEXT_FIX(1,0,0.01,0,'公告摘要:');
DRAWTEXT_FIX(1,0.05,0.01,0,EXTERNSTR(0,1))COLORMAGENTA;