★★★★★求高手改成选股,非常感谢哈★★★★★★" S' i. R4 P, a
' @ H4 e. W( Q: B- w
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
* G" v4 q2 L9 Q6 S8 Z% o* |Q3:=SMA(Q2, 9, 1); 5 l( D( `& h) S4 f
Q4:=SMA(Q3, 3, 1);
" I4 w9 p( t# ]' O8 ^ r7 K- D长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
" ^0 y/ [' }" C* C( Q, H趋势线:EMA(Q3, 3),COLORRED,LINETHICK3; 6 C1 G7 ^& V: J6 A. a! @
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '顶'),COLORRED,LINETHICK5;0 ?) A3 O6 t: C/ r8 `
逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'逢低买'),LINETHICK1;, Y f( S: o9 @3 |! A
买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1; " J. a* ~3 B$ g) _9 k* b7 Y8 f& Z
VAR3:=PEAKBARS(3,15,1)REF(顶,1),50,0),COLORGREEN;; E8 ~; @& B9 g- {: B
DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;
+ Q3 d9 ^/ B2 r* P, t金叉: CROSS(长趋势,趋势线);# A6 D0 x1 }" m9 d; m! F
DRAWTEXT(金叉,趋势线,'★'),COLORRED;+ J) ?# d" k8 j- y; E
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);; `. W7 r& k( H! U1 n
V2:=EMA(V1,300);
2 d5 q/ W: B3 C9 VV3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;/ F( j( f9 `: @4 {1 z0 H
V4:SMA(V3,2,1);9 Y q! Q( r8 C$ l* i" f9 C
V5:SMA(V4,2,1);2 C4 ^9 g4 E2 g0 u
V6:=CLOSE/REF(CLOSE,3)>=1.1;9 e. f2 Q" J L; ]
V7:=BACKSET(V6,3);
! y$ ~7 R1 H+ u买入:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,LINETHICK3;: R! V. H3 \2 t) |- u
DRAWTEXT(买入,35,'买入 '),COLORYELLOW,LINETHICK3;
5 E9 ], t+ ~4 R/ K9 a0 a x
- g, Q9 s2 x T* P[该帖子由作者于2010年3月18日 9:56:52末了编辑] |