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

通达信免费指标 12-25 阅读:14 评论:0

image.png

20,POINTDOT,LINETHICK2;   

80,POINTDOT,LINETHICK2;   

AA: (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,COLORRED,LINETHICK2;   

VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;   

VAR3:=LLV(LOW,34);   

VAR4:=HHV(HIGH,34);   

BB:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00,LINETHICK1;   

STICKLINE(AA>=80,92,97,1,1),COLOR00FFFF;   

STICKLINE(AA<20,2,7,1,1),COLOR00FFFF;   

STICKLINE(CROSS(AA,20),10,0,3,0),COLORRED;   

STICKLINE(CROSS(AA,20),10,20,2,0),COLOR00FFFF;   

STICKLINE(CROSS(AA,20),20,28,0.5,0),COLORFF00FF;   

DRAWICON(CROSS(AA,20),28,13);   

STICKLINE(AA>=BB,0,-5,4,0),COLORRED;   

STICKLINE(AA<BB ,0,-5,4,0),COLORCCCCCC;   

DRAWICON(AA<REF(AA,1) AND CROSS(80,AA),80+4,2);   

DRAWICON(CROSS(AA,BB),BB-4,1);   

STICKLINE(C>0,105,100,4,0),COLORCCCC33;   

清仓:CROSS(BB,AA),COLORFF0000;   

STICKLINE(清仓 ,100,93,3,0),COLORFF0000;   

STICKLINE(清仓 ,93,83,1.5,0),COLOR00FF00;   

STICKLINE(清仓 ,83,75,0.5,0),COLORFF9933;   

DRAWICON(清仓,75,14);   

STICKLINE(CROSS(AA,20) ,100,105,4,0),COLORRED;   

STICKLINE(CROSS(AA,BB),105,100,4,0),COLORFF00FF;   

STICKLINE(AA<REF(AA,1) AND CROSS( 80,AA),100,105,4,0),COLOR00FF00;   

STICKLINE(清仓 ,105,100,4,0),COLORFF0000;


版权声明

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

服务热线

18020657357

微信客服

微信客服