通达信梅开二度主图指标公式

财富   2024-11-02 09:00   北京  

每天早上9:00更新--最新股票指标

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;
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>3;
梅开二度:=BB AND CC AND C>REF(C,1)*1.05;
STICKLINE(梅开二度,C,O,2,0),COLORYELLOW;
DRAWTEXT(梅开二度,L-L*0.0005,'梅开二度'),COLORYELLOW;

阅读后把下面的在看点亮

设定为星标

系统才会给你主动推荐最新指标

股票指标源码分享
通达信指标源码天天免费分享,主图幅图选股源码,免费通达信软件分享-最好用的股票软件,欢迎关注
 最新文章