通达信箱体主图指标源码

 2023-09-02 11:15:39    通达信指标网  

MA1:MA(CLOSE,20),COLORYELLOW,LINETHICK2;   

MA2:IF(MA1>=REF(MA1,1),MA1,DRAWNULL),COLORYELLOW,LINETHICK2;   

MA3:IF(REF(MA1,1)>MA1,MA1,DRAWNULL),COLORBLUE,LINETHICK2;   

VA1:=EMA(C,5);   

VA2:=EMA(C,20);   

DRAWTEXT(CROSS(VA1,VA2),VA1*0.97,'加码'),COLOR00FF3A;   

选手:=MA(C,2);   

箱顶:MA(REF(HHV(C,30),1),2),LINETHICK2,COLORFFFFE5;   

箱底:MA(REF(LLV(C,30),1),2),LINETHICK2,COLORGREEN;   

T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;   

T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;   

VAR1:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;   

VAR2:=SMA(VAR1,3,1);   

VAR3:=SMA(VAR2,3,1);   

VAR4:=SMA(VAR3,3,1);   

DRAWTEXT(CROSS(VAR4,VAR3) AND VAR4>75,H*1.03,'减仓'),COLORYELLOW;   

DRAWTEXT(CROSS(VAR3,VAR4) AND VAR3<40,C*0.97,'低吸'),COLORFFFFE5;   

STICKLINE((C<O),HIGH,LOW,0,0),COLORCYAN;   

STICKLINE((C<O),OPEN,CLOSE,1,0),COLORCYAN;   

STICKLINE((C>=O),HIGH,LOW,0,0),COLORRED;   

STICKLINE((C>=O),OPEN,CLOSE,1,1),COLORRED;  

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1563

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服