十拿九稳操盘线
-
相关简介:C/C++ Code 复制内容到剪贴板 {十拿九稳操盘线} STICKLINE(C=O,O,C,5,1),colorred; STICKLINE(OC,C,O,5,0),colorffffcc; STICKLINE(C=O,C,H,0.5,0),colorred; STICKLINE(C=O,O,L,0.5,0),colorred; STICKLINE(OC,C,L&nbs
-
文章来源:择股网作者:股海网发布时间:2009-11-26浏览次数:
C/C++ Code复制内容到剪贴板
- {十拿九稳操盘线}
- STICKLINE(C>=O ,O ,C ,5 ,1 ),colorred;
- STICKLINE(O> C ,C ,O ,5 ,0 ),colorffffcc;
- STICKLINE(C>=O ,C ,H ,0.5 ,0 ),colorred;
- STICKLINE(C>=O ,O ,L ,0.5 ,0 ),colorred;
- STICKLINE(O> C ,C ,L ,0.5 ,0 ),colorffffcc;
- STICKLINE(O> C ,O ,H ,0.5 ,0 ),colorffffcc;
- ma1:ma(c,20),coloryellow;
- ma2:ma(c,200),colorffff00;
- TY:=C;
- A1:=REF(TY,10)=HHV(TY,2*10+1); vB1:=FILTER(A1,10); C1:=BACKSET(vB1,10+1); HD:=FILTER(C1,10);
- A2:=REF(TY,10)=LLV(TY,2*10+1); vB2:=FILTER(A2,10); C2:=BACKSET(vB2,10+1); LD:=FILTER(C2,10);
- A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));
- t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
- t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
- 波峰:IF(t1,A,A),ColorFF00FF,POINTDOT;
- STICKLINE(t1,A,A,9,0),ColorFF00FF;
- 波谷:IF(t2,B,B),Color80FF00,POINTDOT;
- STICKLINE(t2,B,B,9,0),Color80FF00;
- DRAWTEXT(ma1>ref(ma1,1),ma1,'↑'),color4455ef;