买卖决策2-精品通达信指标公式源码分享

通达信免费指标 09-02 阅读:105 评论:0

image.png

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

A1:=LLV(LOW,34);    

A2:=HHV(HIGH,34);    

A:EMA((Q-A1)/(A2-A1)*100,13),COLORRED,LINETHICK0;    

B:EMA(0.667*REF(A,1)+0.333*A,3),COLOR00FF00,LINETHICK0;   

买: IF(CROSS(A,B) AND A<=13,25,0),COLORRED;   

低: IF(CROSS(A,B) AND A>13 AND A<15,20,0),COLORYELLOW;   

高: IF(CROSS(B,A) AND A>=85,70,85),COLORGREEN;   

卖: IF(CROSS(B,A) AND A>75 AND A<85,65,85),COLORWHITE;   

STICKLINE(A-B>=0,A,B,4,0),COLOR4B0097;   

STICKLINE(A-B>=0,A,B,3.5,0),COLOR5500AA;   

STICKLINE(A-B>=0,A,B,3,0),COLOR5E00BB;   

STICKLINE(A-B>=0,A,B,2.5,0),COLOR6900D2;   

STICKLINE(A-B>=0,A,B,2,0),COLOR6F00DD;   

STICKLINE(A-B>=0,A,B,1.5,0),COLOR7600EC;   

STICKLINE(A-B>=0,A,B,1,0),COLOR8306FF;   

STICKLINE(A-B>=0,A,B,0.5,0),COLOR8C1AFF;   

STICKLINE(A-B<0,A,B,4,0),COLOR979700;   

STICKLINE(A-B<0,A,B,3.5,0),COLORAEAE00;   

STICKLINE(A-B<0,A,B,3,0),COLORC4C400;   

STICKLINE(A-B<0,A,B,2.5,0),COLORDBDB00;   

STICKLINE(A-B<0,A,B,2,0),COLORECEC00;   

STICKLINE(A-B<0,A,B,1.5,0),COLORFFFF06;   

STICKLINE(A-B<0,A,B,1,0),COLORFFFF1A;   

STICKLINE(A-B<0,A,B,0.5,0),COLORFFFF3E;   

DRAWTEXT(CROSS(B,A) AND A>85,A,'高'),COLOR00FF00;   

DRAWTEXT(CROSS(A,B) AND A<15,A,'低'),COLORWHITE; 


版权声明

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

服务热线

18020657357

微信客服

微信客服