【通达信免费源码】专捉“顶底线”,源码自己原创(源码,副图,指标说明)

通达信免费指标 05-25 阅读:458 评论:0

30-1P411141535.jpg

公式源码:

顶:HHV(HIGH,20),COLOR007FFF;

底:LLV(LOW,20),COLORYELLOW;

A20Y:EMA(SLOPE((CLOSE+HIGH+LOW)/3,25)*8+(CLOSE+HIGH+LOW)/3,21),COLORMAGENTA;

VAR1:=EMA(A20Y,3);

C20Y:EMA(VAR1,3),COLORMAGENTA;

D20:IF(A20Y<REF(A20Y,1),A20Y,DRAWNULL),COLORGREEN;

VAR2:=IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL);

F20:IF(C20Y<REF(C20Y,1),C20Y,DRAWNULL),COLORGREEN;

VAR3:=MA(CLOSE,5);

VAR4:=MA(CLOSE,10);

VAR5:=MA(CLOSE,30);

VAR6:=IF(VAR4>VAR5,VAR4,VAR5);

VAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR8:=SMA(VAR7,3,1);

VAR9:=SMA(VAR8,3,1);

VAR10:=3VAR8-2VAR9;

VAR11:=CLOSE-REF(CLOSE,1);

VAR12:=100*EMA(EMA(VAR11,6),6)/EMA(EMA(ABS(VAR11),6),6);

VAR13:=LLV(VAR12,2)=LLV(VAR12,7) AND COUNT(VAR12<0,2) AND CROSS(VAR12,MA(VAR12,2));

DRAWTEXT(FILTER(VAR13=1,5),LOW-0.05,1024),COLORWHITE;

STICKLINE(VAR13,OPEN,CLOSE,2,0),COLORWHITE;

VAR14:=HHV(VAR12,2)=HHV(VAR12,7) AND COUNT(VAR12>34,2) AND CROSS(MA(VAR12,2),VAR12);

DRAWTEXT(FILTER(VAR14=1,1),HIGH*1.01,6),COLOR99CC32;


版权声明

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

服务热线

18020657357

微信客服

微信客服