趋势王副图-精品通达信指标公式源码分享

通达信免费指标 06-05 阅读:188 评论:0

image.png

V1:=LLV(LOW,10);

V2:=HHV(HIGH,30);

价格线:EMA(((CLOSE-V1)/(V2-V1))*(100),4),COLORGREEN;

IF(价格线> REF(价格线,1)*1.01,价格线 ,DRAWNULL),COLORRED;

IF(价格线< REF(价格线,1),价格线 ,DRAWNULL),COLORBLUE;

VAR06:=(2*CLOSE+HIGH+LOW)/4;

VAR07:=LLV(LOW,13);

VAR08:=HHV(HIGH,13);

VAR09:=EMA((VAR06-VAR07)/(VAR08-VAR07)*100,13);

VARA1:=EMA(0.667*REF(VAR09,1)+0.333*VAR09,2);

{A:VAR9-50;

B:VARA1-50;

STICKLINE(A> B,A,B,2,0),COLORRED;

STICKLINE(A<= B,A,B,2,0),COLORGREEN;

0,COLORRED;}

STICKLINE(VAR09> VARA1,VAR09,VARA1,3,0),COLORRED;

STICKLINE(VAR09<= VARA1,VAR09,VARA1,3,0),COLORGREEN;

80,COLORRED,DOTLINE;

20,,COLORGREEN,DOTLINE;

DRAWTEXT(ISLASTBAR,80,'顶点'),COLORRED;

DRAWTEXT(ISLASTBAR,20,'低点'),COLORGREEN;


版权声明

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

服务热线

18020657357

微信客服

微信客服