密战均线主图-精品通达信指标公式源码分享

通达信免费指标 12-05 阅读:59 评论:0

image.png

N:=8;   

M:=REF(CLOSE,1);   

A:=SMA(MAX(CLOSE-M,0),N,1)/SMA(ABS(CLOSE-M),N,1)*100,COLORYELLOW,LINETHICK1;   

B0:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),1,A),COLOR00FF00;   

B1:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),A,1),COLOR00FF00;   

B2:= A<REF(A,1);   

B3:=A>REF(1,A);   

C1:=DRAWICON(B1 AND B2,A,9);   

C2:=DRAWICON(B0 AND B3,A,15);   

DRAWICON(FILTER(C1>0,1),L*0.97,9);   

DRAWICON(FILTER(C2>0,1),H*1.02,15);   

网1:EXPMEMA(CLOSE,5);   

网2:MA(CLOSE,12),POINTDOT;   

网3:MA(CLOSE,33),COLORFF00FF,LINETHICK3;    

IF(网3<REF(网3,1),网3,DRAWNULL),COLOR00FF00,LINETHICK3;      

垂点:=REFDATE(HHV(H,N)/1.01,DATE);   

DRAWTEXT(CURRBARSCOUNT=N,垂点,'密战  '),COLORDDDD00;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服