FD5 [最佳买入点] 9 A+ ]8 |# W8 c5 V+ A& ^: \
LC:=REF(CLOSE,1);
" w( k: b; K- M- v/ c2 vRSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);# D: ]/ r7 A; G
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
3 B5 Z% e3 |5 j" R, wHD:=(HIGH - REF(HIGH,1));
' O+ \! s! q. l( D3 [& jLD:=(REF(LOW,1) - LOW);7 u, Y) V! R, }+ z. |9 l+ ~
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);: |' @9 T4 H, @
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
* b B0 U$ D' x9 b' iPDI:=((DMP * 100) / TR1);
# g$ L; @! L U" `6 [ {2 NMDI:=((DMM * 100) / TR1);
4 Y. O1 n8 P f4 |) v4 aADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);- {! T, l i" j% x# m
AV:=(RSI5 + ADX);
1 ?( o" y2 h1 A( c5 E/ KDXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
; {8 d7 ^0 ]! W" mWR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
8 s/ h2 ~4 @5 {2 TNEWVOL:=(RSI5 - WR10);
2 x# J" G* V9 c9 X. L6 ]6 l最佳买入:=(AV + NEWVOL);. t- K2 _1 ]3 z
买入选股:IF(CROSS(最佳买入,0),4,0),STICK,COLOR00FFFF,LINETHICK2;
) ]0 l. @1 X- S% u2 [VARA1:=SMA(买入选股,3,1);8 Y% |( Y# i& H
VARA2:=SMA(VARA1,3,1),COLOR0000FF;
$ H" S. l }$ M/ E, cVARA3:=SMA(VARA2,3,1),COLOR00FFFF;
: H2 ?' X2 L0 b6 ]( s建仓买点:IF(CROSS(VARA2,VARA3) AND (VARA2 |