自用主图 梅开二度 通达信主图指标 源码 贴图
M60:MA(C,60)COLORRED;M120:MA(C,120)COLOR871F78;
AM1:=C/REF(C,1) 1.095 AND C=H;
H1:=(REF(C,1)/REF(C,2) 0.96) OR (REF(O,1)/REF(C,1) 1.05);
H2:=C/REF(C,1) 1.041 AND C REF(O,1);
XGH1:=H1 AND H2;
梅开二度:=COUNT(REF(AM1,3),10) AND XGH1;
STICKLINE(梅开二度,O,C,1,0),COLORRED;
DRAWTEXT(梅开二度,L*0.78,'梅开二度'),COLORFF00FF;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
短线:VAR1,COLORWHITE;
中线:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORGREEN;
N1:=5;N2:=7;N3:=11;
EM1:=EMA(C,N1),COLORWHITE;
EM2:=EMA(C,N2),COLORRED;
EM3:=EMA(C,N3),COLORGREEN;
TJ:=BETWEEN(EM2,EM1,EM3);
{www.9m8.cn 九毛八公式指标网}
立桩量:=FILTER(TJ=0,5);
MA200:=EMA(CLOSE,20);
MA400:=EMA(CLOSE,40);
MA600:=EMA(C,60);
AA:=BARSLAST(MA400 MA600 AND (MA200=MA400 OR MA200 MA400));
BB:=REF(COUNT(C MA600,AA)=AA,1);
CC:=CROSS(C,MA600) AND VOL MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100
出水:=BB AND CC;
STICKLINE(出水,C,O,2,0),COLORYELLOW;
DRAWTEXT(出水,L-L*0.0005,'爆发'),COLORRED;
天1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
天2:=SMA(天1,3,1);
天3:=SMA(天2,3,1);
天4:=3*天2-2*天3;
天5:=C-REF(C,1);
天6:=100*EMA(EMA(天5,6),6)/EMA(EMA(ABS(天5),6),6);
天:=LLV(天6,2)=LLV(天6,7) AND COUNT(天6 0,2) AND CROSS(天6,MA(天6,2));
DRAWTEXT(FILTER(天=1,5),LOW*0.97,'发力'),COLORRED;
STICKLINE(天,L*0.99,L*0.98,2,0),COLORYELLOW ;