指标先容:6 }3 I; @# A; W
指标分析:由于函数FORCAST就叫线性回归推测值。以是我们使用这个函数就大概具有推测的作用
7 C; g! v7 s m) ~; r$ f% S
/ ?% {4 @9 B" n* V: j F6 H, C。特别是股价高位横盘时,他会及时的提示你是不是该卖出了。但是他也有缺点就是当股价反复4 B1 k0 I" k5 d' a) s
; G, E9 o- G* k拉升时只要此中回调,他会跟不上去的。因此这个公式每每跟不到最高点,但是他也不会令你亏
\, y3 V9 f* }: t V2 Z K4 ?( |- W
损出局。他最大的长处就是用他就可以不到场高位横盘,及时逃脱.,使用本指标请共同大盘、成3 p7 s; r1 H t8 A5 }$ ~: i( R
* b& h! c B; n交量等因素综合判定。该指标来自同花顺的指标平台。
1 w( p, k" f: S o
$ L) w7 Z& r- R# I公式源码:
/ }1 Q9 Q; C7 b- T2 C# WBBI:=(HHV(C,3)+LLV(C,3)+HHV(H,3)+LLV(L,3))/4;- X$ \# n9 k. f9 Q3 W) d! V; C/ N
AD1:=FORCAST(WMA(BBI,3),3);
2 e; q ]; I: T. i0 i, B- d$ VAD2:=FORCAST(WMA(BBI,5),3);
* ~: \' p9 r! C5 q4 JAD3:=FORCAST(WMA(BBI,8),3);; ?+ \; k# H7 L/ @% X. G) r
AD4:=FORCAST(WMA(BBI,11),3);
$ y1 Y* [. C9 D& t, kAC5:=FORCAST(WMA(BBI,13),3);
* l4 w5 f! }; c2 ?/ pAC6:=FORCAST(WMA(BBI,15),3);. X4 j# V9 Q! \4 M. D/ |
AC7:=FORCAST(WMA(BBI,18),3);
5 U8 k5 p5 y9 [. sAC8:=FORCAST(WMA(BBI,21),3);
5 n+ E$ [" F1 t( M( b! jADC:=((AD1+AD2+AD3+AD4)-(AC5+AC6+AC7+AC8))*10;
4 W. Y3 a5 F5 A8 n# ]- Y( MB虚:FORCAST(ADC,3),COLOR00FFFF,LINETHICK0;
9 P8 q: @6 e' t$ T" X5 lIF(B虚>REF(B虚,1),B虚,DRAWNULL),colorred,DOTLINE;" P; `' B: t' g# ~% a
IF(B虚 B实:WMA(ADC,3),COLOR00FF00,LINETHICK0;
; Z1 Y2 K* Y4 N7 A# FSTICKLINE(B实>=REF(B实,1),B实,REF(B实,1),3,0),COLOR000099;! d/ O2 X9 d9 w, f8 U' Z
STICKLINE(B实>=REF(B实,1),B实,REF(B实,1),2,0),COLOR0000AA;2 z, y1 S$ a# S' z
STICKLINE(B实>=REF(B实,1),B实,REF(B实,1),1.5,0),COLOR0000BB;% x$ {; |0 m1 k2 s+ Q
STICKLINE(B实>=REF(B实,1),B实,REF(B实,1),1,0),COLOR0000CC;
/ S8 d8 Y, E$ L9 l& KSTICKLINE(B实>=REF(B实,1),B实,REF(B实,1),0.5,0),COLOR0000DD;9 k @( a4 n' o$ D4 l" ]7 V& ~" \
STICKLINE(B实>=REF(B实,1),B实,REF(B实,1),0,0),COLOR0000FF;+ L% e* G$ t; f5 J' A; O4 i
STICKLINE(B实 STICKLINE(B实 STICKLINE(B实 STICKLINE(B实 STICKLINE(B实 STICKLINE(B实
: P. l. q- A4 S9 J; }) o* Y8 z. R9 k9 W& t3 F8 L
B1:FORCAST(WMA(ADC,3),3),POINTDOT,COLORFF3300,LINETHICK1;' E4 Z( O- _9 h- M. ^8 f
B3:FORCAST(WMA(ADC,5),3),POINTDOT,COLORFF4400,LINETHICK2;
) Y' V5 u0 W5 r6 ]( b) A) @" oB5:FORCAST(WMA(ADC,8),3),POINTDOT,COLORFF5500,LINETHICK2;
; o3 \' q' c% P6 \B7:FORCAST(WMA(ADC,11),3),POINTDOT,COLORFF6600,LINETHICK3;1 c, A" z8 D [! j" w5 V8 J
B9:FORCAST(WMA(ADC,13),3),POINTDOT,COLORFF7700,LINETHICK3;, N# j1 j/ @7 M* P# x
B11:FORCAST(WMA(ADC,15),3),POINTDOT,COLORFF8800,LINETHICK4;
3 [( w7 F1 x; `B13:FORCAST(WMA(ADC,18),3),POINTDOT,COLORFF9900,LINETHICK4;+ n" E( E: ]' E3 y4 t* g4 h; @# h
B15:FORCAST(WMA(ADC,21),3),COLOR00FFFF,LINETHICK0;# P/ D; D5 J9 p% ?9 z
IF(B15>REF(B15,1),B15,DRAWNULL),colorred,LINETHICK1;
# o- ~+ W Y: e8 P! U: |! d, J5 u4 X; SIF(B15 |