黑马全息彩虹版) [6 t- F; F I# ]" c- G3 {
6 d9 q3 y+ Z1 xDRAWGBK(CLOSE=CLOSE,COLORRGB(130,130,130),COLORRGB(30,30,30),1);
1 d$ m0 S' _, U5 p8 W9 R {上:=SMA(HIGH,21,2)*1.05;
$ |1 g* Z) m: k. gDRAWTEXT(FILTER(CLOSE=MA(CLOSE,20),50,20);
+ B! n: v. _( ZRH1:=IF(J=U2L,HHV(REF(HIGH,1),(BARSLAST(J>=U2L AND REF(J,1)=U2L AND REF(J,1)RH1)));
" I* A3 |) j' X! Z) q( {; R$ xRH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1)));
; J3 \5 E2 K T8 M7 T" xRH5:=IF(HIGH>RH4 AND J0 AND CLOSE=1,AA10,AA12),colorFF;
3 _9 F9 i6 K( r; @- tFILLRGN(AA12>=AA10 AND BB100 AND 黑马趋势>1 AND LOW支持位 AND HIGH0 AND HIGHRL5,LOW,'←短买'),colorFF00;
9 d) a/ c# V# [: W) U& _DRAWTEXT(FILTER(LOWCLOSE AND MA(CLOSE,10)-REF(MA(CLOSE,10),1)>0 AND WINNER(CLOSE)均线120 AND 均线20OPEN AND 均线120-REF(均线120,1)>0 AND HIGH=均线120,15),LOW,'★120跳马'),color89E0;
6 U1 t6 e* Y" o$ c0 B2 e) y1 H& |DRAWTEXT(VA AND 均线120-REF(均线120,1)>0 AND HIGHOPEN,LOW,'★宝马望月'),colorFFFFFF;
8 \( \# f q7 m7 K+ W$ a2 V/ ]* TDRAWTEXT(均线-REF(均线,1)>0 AND CROSS(均线20,均线120) AND LOW=均线120,LOW,'三线着花'),colorFFFFFF;
/ l' q, B" w Z9 F# K短期底部2 LV(HIGH,30),LINETHICK2,colorFF; + ^- n; M# B* P+ E F( t
上轨:SMA(HIGH,21,2)*1.092,POINTDOT,colorFFFFFF;
. c9 G) i& ~* P5 }) _中轨道:SMA(HIGH,21,2)*1.017,POINTDOT,colorFFFFFF;
5 Q% e: M2 v& D4 o$ j6 RDRAWTEXT(FILTER(LOWMA(CLOSE,15) AND CLOSE>短期底部2 AND HIGH=均线120 AND CLOSE=均线 AND HIGH0 AND 拦截-REF(拦截,2)>0,11),LOW-0.11,'★快马加鞭'),colorFF; 2 o, A( b9 s1 G" M& k$ W" y
DRAWTEXT(FILTER(OPEN0 AND HIGH0.35,4),LOW-0.05,'★黑马狂奔'),colorD18073; 9 D( |: d6 A0 b7 s
DRAWTEXT(CROSS(支持,均线) AND HIGH0,HIGH*1.14,'●逃命'),colorFF; $ d% ~% R$ u' C: w P* N
RDV:=SMA(LOW,8,1); & k& q6 ^8 f K4 V L0 b
DRAWTEXT(CROSS(K,D) AND CLOSE>=OPEN AND X2-REF(X2,1)>0 AND RDV-REF(RDV,1)>0 AND K=均线30 AND WINNER(CLOSE)1.01,3),LOW,'★天马奔月'),color76B0FC; 3 X" F; a5 c. i! j
DRAWTEXT(OPEN0 AND CLOSE>均线89 AND BB10>1 AND CLOSE/OPEN>1.04,LOW,'★天马过桥'),colorCC99FF;
. {. P5 g4 L) M0 bSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorFF5B00;
4 y. }/ y3 W- Z: z c ASTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),colorFF6C00; 8 a( Y5 W3 D' w/ r$ i8 e# X4 T; F
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF7B00;
0 i# A. P4 E9 N4 Z* |STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFF9C00; 1 f5 w' Q7 C4 A* K
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBE00;
; i6 \( T& x' @# {/ l* E* [; t6 j/ oSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5,0),colorFFCC00; ; B7 K: r9 t" j. b# c
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),colorFFFF00;
' P0 G) P; `3 F0 w1 ^( VSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9,0),color70084; ! B7 H) w1 e* E
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorA3; / {" ?1 B9 e/ a3 ]. x; Y# R
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),colorB7; ' ]/ I" [) I$ F* K5 Q. x8 g
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCD; : f) i& C G/ L2 v; H# E
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),colorE9; 2 ?$ {' h) D7 \1 T/ R' D+ c
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),color754E9; 9 }5 i' o* @. n, o
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),color76EF3; ; j2 [3 ]0 M( `8 b, y* w1 r
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),color77BF3;
- {* J' O) w! K) ^STICKLINE(CLOSE>OPEN,OPEN,LOW,1,0),color726CA; 8 \( }% `3 j; K$ u3 P( S
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1,0),color726CA; : V5 d( c6 n# l. O9 R
STICKLINE(OPEN>CLOSE,CLOSE,LOW,1,0),colorDE9100; ! N' c5 T$ {3 H1 m; N9 Y |
STICKLINE(OPEN>CLOSE,OPEN,HIGH,1,0),colorDE9100;
7 g: C% t$ R8 v: U+ Z a+ kSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,9,0),color90FF; 7 F8 \8 Q+ \. A9 f% {
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,8,0),color9FFF; / x2 I7 n/ _4 F7 ]8 K+ _/ m' ~" T
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,4,0),colorB5FF;
) I+ s/ N' L, D H) D" LSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,2,0),colorE4FF;
. Z. L! h9 A- \7 A [ ASTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,OPEN,LOW,0.7,0),colorFFFF; : s F- D) ?7 x/ A0 n, x
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,HIGH,0.7,0),colorFFFF; 8 F& o% b4 ?4 j# ~. q' `
STICKLINE(CLOSE85))>=1,'RSI相对强弱指标超买,属卖出信号。'),colorFF00;
: f3 i% F- m3 lEXPLAIN((LLV(LOW,20)=LOW AND NOT(LLV("RSI.RSI1",20)="RSI.RSI1") OR (COUNT(CLOSE18 AND (COUNT("RSI.RSI1">REF("RSI.RSI1",1),30))>18) AND "RSI.RSI1"REF(CLOSE,1),30))>18 AND (COUNT("RSI.RSI1"18) AND "RSI.RSI1">80,'RSI相对强弱指标顶背离,股价在高位时属卖出信号。'),colorFF00; 8 s) u. w3 ]" }2 p3 `! ^; v3 C! b
EXPLAIN(CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"50,'RSI相对强弱指标死叉,属卖出信号。'),colorFF00;
7 A4 C; @* J9 o! R$ v w+ x4 [) n. X' D$ BEXPLAIN("RSI.RSI1"93,'RSI相对强弱指标极高位,猛烈卖出信号。'),colorFF00; 9 s" S+ M3 n. D& n( z N: H" \
EXPLAIN(RSI1REF(VOL,1),30))>3 AND VOL/CAPITAL=60 AND "KDJ.D">=60))>=1 AND (BARSLAST(CROSS("KDJ.D","KDJ.K") AND "KDJ.K">=60 AND "KDJ.D">=60))18 AND ((COUNT("KDJ.K"18 OR (COUNT("KDJ.D"18),'KD顶背离提示卖出;'),colorFF00; , t6 |7 U1 w3 A7 Q5 a
EXPLAIN(LLV(LOW,20)=LOW AND (NOT(LLV("KDJ.K",20)="KDJ.K" OR LLV("KDJ.D",20)="KDJ.D")) OR (COUNT(CLOSE18 AND ((COUNT("KDJ.K">REF("KDJ.K",1),30))>18 OR (COUNT("KDJ.D">REF("KDJ.D",1),30))>18),'KD底背离提示买入;'),colorFF; 4 D" ], u( \3 _
日K:="KDJ.K#day"(20,5,5);
n) b0 g0 Y4 M4 b8 h日D:="KDJ.D#day"(20,5,5); * }! Z) w% G8 B
周K:="KDJ.K#week"(9,3,3); $ G" I T& \8 z/ C0 Q' {$ f
周D:="KDJ.D#week"(9,3,3); # S4 c; Q" l4 p; M
EXPLAIN(CROSS(日K,日D),'日KD金叉且底背离买入;'),colorFF;
1 A4 N4 j) x. g5 ~EXPLAIN(CROSS(日D,日K),'日KD死叉且顶背离必须卖出;'),colorFF00; 9 e' o1 d I* E4 i5 B9 f
EXPLAIN(CROSS(周K,周D),'周KD金叉且底背离买入;'),colorFF; ; z4 D1 l9 T$ P, h( c |. r; z. ~
EXPLAIN(CROSS(周D,周K),'周KD死叉且顶背离必须卖出;'),colorFF00; z7 v( g4 k" _$ e6 x6 U0 M3 b9 ?9 V
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; 2 w0 w9 B* a# @+ P8 F
UPR:=BBI+3*STD(BBI,10);
5 K! E& S% y* B% S4 ^& d1 bDWN:=BBI-3*STD(BBI,10); % _# |8 B# v9 r% w
VAR55:=(UPR-DWN)/UPR0.18;
' T' T5 Q1 e2 x9 O6 B0 RVAR57:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15;
# F a- \$ g! U5 B1 yVAR58:=(MA(CLOSE,5)-MA(CLOSE,60))/MA(CLOSE,5)>0.15; 0 `; V$ \( _( ~
EXPLAIN(VAR55,'布林线收窄大概变盘;'),colorFF00FF;
6 V% N/ S9 j {$ k+ H0 I8 l) KEXPLAIN(VAR57 AND VAR56 AND CLOSE>OPEN,'布林上下乖离太大大概反弹;'),colorFF00FF; 2 |+ N' L9 a6 h) O$ V3 E5 g
EXPLAIN(VAR58 AND VAR56 AND CLOSE=0.01,'SAR向上突破提示买入;'),colorFF;
3 H, d2 C; o# K. B; W6 WEXPLAIN(CROSS("SAR",CLOSE) AND (ABS(CLOSE-"SAR"))/CLOSE>=0.01,'SAR向下突破提示卖出;'),colorFF00;
) @( d" l% ^1 ]5 zTYP:=(HIGH+LOW+CLOSE)/3;
+ m9 B/ r5 U5 Y8 y! d4 ?, T, qCCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
) n6 C: }, k2 v5 M' ]: TEXPLAIN(CCI100,'CCI指标高位,卖出时机。'),colorFF00;
$ ~; }/ d& b$ KEXPLAIN(VOL/CAPITAL>0.075,'换手过大,警惕主力出逃,短期头部。'),colorFFFF; ! Z" y% U4 W( [0 l9 w% B' U
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
3 L* g' H3 s5 DEXPLAIN(WR>-20,'W&R超买,即将见顶,应实时卖出。'),colorFF00;
; z2 b( z: {) q0 @EXPLAIN(WR=0.5,'ARBR人气指标非常,若股价从高价下跌,属买入信号。'),colorFF; " k6 R" G( q; V
EXPLAIN(("ARBR.AR"-LLV("ARBR.AR",10))/LLV("ARBR.AR",10)>=0.5,'ARBR人气指标非常,若股价从低价上升,属卖出信号。'),colorFF00; 7 ?6 y+ E1 ~8 A6 ]) f- Z! \0 _
EXPLAIN("ARBR.BR"300,'ARBR意愿指标表现股价随时下挫思量卖出。'),colorFF00FF; , Q' o1 i) }6 E5 B" X/ U2 F
EXPLAIN(CROSS("ARBR.AR","ARBR.BR") AND ("ARBR.AR"300),'ARBR人气意愿指标死叉,属卖出信号。'),colorFF00;
7 s% M; `' Z* qEXPLAIN((COUNT(CLOSE18 AND (COUNT(CLOSEREF("OBV.OBV",1),30))>18 AND (COUNT("OBV.OBV">REF("OBV.OBV",1),3))=3 AND (COUNT(VOL>REF(VOL,1),30))>3 AND VOL/CAPITALREF(CLOSE,1),30))>18 AND (COUNT(CLOSE>REF(CLOSE,1),3))=3 AND (COUNT("OBV.OBV">REF("OBV.OBV",1),30))>18 AND (COUNT("OBV.OBV">REF("OBV.OBV",1),3))=3 AND (COUNT(VOL>REF(VOL,1),30))>3 AND VOL/CAPITALREF(CLOSE,1),30))>18 AND (COUNT(CLOSE>REF(CLOSE,1),3))=3 AND ((COUNT("OBV.OBV"18 OR (COUNT("OBV.OBV"0.07 AND "OBV.OBV">REF("OBV.OBV",1),'OBV能量潮非常。若股价在高位属卖出信号,若OBV能量线在低位长时间横向整理后出现,属买入信号。'),colorFF00FF; 7 F" @* _% }' Y z$ r
EXPLAIN("CR.CR"18 AND (COUNT("ROC.ROC">REF("ROC.ROC",1),3))=3,'ROC变动速率指标表现短期反弹有望,属买入信号。'),colorFF; 7 |: r9 f" ~% s s- D. u/ ]1 G
EXPLAIN((COUNT(CLOSE18 AND (COUNT(CLOSE=2) AND (COUNT(CLOSE=3,'VR容量比率指标非常,表现股价即将涨升,属买入信号。'),colorFF;
+ A1 w2 n2 l5 y: X) M8 c: zEXPLAIN("VR">300 AND (COUNT("VR"=3 AND (COUNT(CLOSE>REF(CLOSE,1),5))>=3,'VR容量比率指标表现涨势耗尽,发起卖出。'),colorFF00; 6 I, m0 H8 ?/ p# f4 _ U; \0 b) L4 @
VV6:=(2*CLOSE+HIGH+LOW)/4; * J' F! c7 Y' V# o- t2 D
VV7:=LLV(LOW,27); 0 U5 R$ {7 |$ p' S. y ^0 }
VV8:=HHV(HIGH,27); 7 f* U; ?5 O B0 C! N: \( @+ y" Z
攀:=EMA((VV6-VV7)/(VV8-VV7)*100,13)-50;
5 S; t5 J6 A* }8 k4 F( V/ F金:=EMA(0.618*REF(攀,1)+0.382*攀,3);
3 n; c) `+ m. k4 a( r% g起攀:=CROSS(攀,金) AND CLOSE>OPEN; - u5 d: G+ H) ?! P2 ?) G
EXPLAIN(CROSS(攀,金) AND CLOSE>OPEN,'起攀指标发出起攀买入信号。'),colorFF;
: l2 s1 C- m% @: h8 `EXPLAIN(1=1,' 【均线体系分析】'),colorFFFF;
2 p& y+ Z0 i8 v- L, Q0 N) \+ oMA5:=MA(CLOSE,5);
& y; X6 L( D/ a, y3 S9 PMA10:=MA(CLOSE,10);
( k% x0 y2 z1 \3 h8 x& o) ^: HMA30:=MA(CLOSE,30); , o" W$ p# I. ]+ j! X, G3 A
MA60:=MA(CLOSE,60);
/ i! L+ U! f+ S. i! p- O/ r2 IMA125:=MA(CLOSE,125); ; @3 s* p4 g9 c; i
MA250:=MA(CLOSE,250);
1 q& t5 a/ b* w" z) lEXPLAIN(MA5>MA10 AND MA10>MA30 AND MA5>MA30,'短期均线多头分列;'),colorFF; % w/ M# z x. f
EXPLAIN(MA5MA125,'中期均线多头分列;'),colorFF;
. x, y$ y% j- f2 q' Z, gEXPLAIN(MA30MA250,'恒久均线多头分列;'),colorFF; 3 P6 D3 Q& D8 E7 w1 L0 T" P
EXPLAIN(MA60MA(CLOSE,5); / q& J( h1 p6 o
穿头破脚:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPENREF(OPEN,1) AND OPEN1.03 AND CLOSE/OPENREF(CLOSE,1) AND CLOSE0.04 AND (ABS(CLOSE-OPEN))/CLOSE0.04 AND CLOSE=OPEN AND CLOSEMIN(REF(CLOSE,1),REF(OPEN,1)); , E. c T S7 l; v3 \; r
平顶:=(ABS(HIGH-REF(HIGH,1)))/HIGHOPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1); & F1 T+ K" L) s1 h6 Q- M5 ^
双飞乌鸦:=REF(CLOSE,1)=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN1.03 AND REF(CLOSE,3)REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)REF(HIGH,1) AND CLOSE/OPEN |