通达信逃顶副图公式源码
[通达信] 不含未来函数的逃顶公式,
使用方法:
(1)两条k线相重合,顶部到来,出现蓝色k线,逃顶;
(2)此指标不含未来函数,请大家放心使用。
量:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;量1:=EMA(量,3);
量2:=EMA(量,5);量3:=EMA(量,7);STICKLINE(量1
>= 量2,量3,量1,3,0),COLOR0000AA;
STICKLINE(量1 >=
量2,量3,量1,2,0),COLOR0000BB;
STICKLINE(量1 >=
量2,量3,量1,1.5,0),COLOR0000CC;
STICKLINE(量1 >=
量2,量3,量1,1,0),COLOR0000DD;
STICKLINE(量1 >=
量2,量3,量1,0.5,0),COLOR0000EE;
STICKLINE(量1 >=
量2,量3,量1,0.1,0),COLOR0000FF;
STICKLINE(量1 <=
量2,量3,量1,3,0),COLORFF0000;
STICKLINE(量1 <=
量2,量3,量1,2,0),COLORFF3300;
STICKLINE(量1 <=
量2,量3,量1,1.5,0),COLORFF7700;
STICKLINE(量1 <=
量2,量3,量1,1,0),COLORFF9900;
STICKLINE(量1 <=
量2,量3,量1,0.5,0),COLORFFBB00;
STICKLINE(量1 <=
量2,量3,量1,0.1,0),COLORFFFF00;
T1:=量2 >= 量3 AND 量1 < REF(量1,1);T2:=量2
< 量3 AND 量1 >
REF(量1,1);
STICKLINE(T1,量1,量3,3,0),COLORFFBB11;STICKLINE(T1,量1,量3,1.5,0),COLORFFFF55;
STICKLINE(T2,量1,量3,3,0),COLOR338FDD;STICKLINE(T2,量1,量3,1.5,0),COLOR00FFFF;