通达信qsdd操盘手的经典指标 源码
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- 80,COLOR996699;
- 20,COLORGREEN;
- 10,COLORCC6633,LINETHICK2;
- 90,COLOR9966FF,LINETHICK2;
- {
-
-
-
- 50,COLORRED;
- FILLRGN(1,20,80),color222222;
- FILLRGN(1,90,100),color000068;
- FILLRGN(1,79,90),color663366;
- FILLRGN(1,10,20),color666600;
- FILLRGN(1, 0,10),color663300;
-
-
-
- }
- A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
- B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
- d:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),linethick2;
- 长期线:A+100,color9900FF;
- 短期线:B+100,color888888;
- 中期线:d+100,coloryellow,linethick2;
- {见顶:(长期线>85 or ref(长期线,1)>85 ) and (cross(中期线,短期线) or cross(ref(中期线,1),ref(短期线,1)) )and cross(长期线,短期线);}
- 见顶:(ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线) ;
- 顶部区域:(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5
- and 短期线<中期线 and 短期线<长期线+4;
- 顶部:=filter(顶部区域,4);
- {DRAWICON( 见顶, 108, 2 );}
- 底部区域:(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))
- or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ;
- stickline( {见顶 or} 顶部,99,103,20,1 ),colorred,linethick2;
- stickline( 底部区域,-4,0,22,0 ),colorgreen;
- 低位金叉:长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线
- and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线 or ref( 短期线,1)<1 );
- stickline( 低位金叉,0,5,11,0 ),colorred;
747111719.png
|