黑马全息彩虹版* h- C; K5 ~; D. C/ k/ L
1 I/ N0 ^8 o0 w6 K. ODRAWGBK(CLOSE=CLOSE,COLORRGB(130,130,130),COLORRGB(30,30,30),1);
8 I( c% L" O, G' T0 i7 j上:=SMA(HIGH,21,2)*1.05;
/ F( x: J$ U: {) t7 tDRAWTEXT(FILTER(CLOSE=MA(CLOSE,20),50,20);
( e K. ]4 ?, F% j; P& g' ]RH1:=IF(J=U2L,HHV(REF(HIGH,1),(BARSLAST(J>=U2L AND REF(J,1)=U2L AND REF(J,1)RH1))); 9 U B3 b% j0 F3 ?$ v
RH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1))); ( O! j( |* D# s! A+ c( D! w
RH5:=IF(HIGH>RH4 AND J0 AND CLOSE=1,AA10,AA12),colorFF; 4 q5 E# ~! B" B2 Y
FILLRGN(AA12>=AA10 AND BB100 AND 黑马趋势>1 AND LOW支持位 AND HIGH0 AND HIGHRL5,LOW,'←短买'),colorFF00; 7 p$ Q4 S: o' @* I$ N
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;
" X7 }0 ?) u8 x/ D% b; I- M3 IDRAWTEXT(VA AND 均线120-REF(均线120,1)>0 AND HIGHOPEN,LOW,'★宝马望月'),colorFFFFFF;
- f+ G; w- r7 G% a* A. ~4 mDRAWTEXT(均线-REF(均线,1)>0 AND CROSS(均线20,均线120) AND LOW=均线120,LOW,'三线着花'),colorFFFFFF; & R, u0 R3 ]9 o0 k1 ^
短期底部2LV(HIGH,30),LINETHICK2,colorFF;
' [( l/ S. V$ z( h上轨:SMA(HIGH,21,2)*1.092,POINTDOT,colorFFFFFF;
% ]4 g1 H1 @2 \; w1 L中轨道:SMA(HIGH,21,2)*1.017,POINTDOT,colorFFFFFF; 0 H; e- ]4 P( K9 S2 X( |
DRAWTEXT(FILTER(LOWMA(CLOSE,15) AND CLOSE>短期底部2 AND HIGH=均线120 AND CLOSE=均线 AND HIGH0 AND 拦截-REF(拦截,2)>0,11),LOW-0.11,'★快马加鞭'),colorFF;
* u9 x& X' h1 w: ~1 bDRAWTEXT(FILTER(OPEN0 AND HIGH0.35,4),LOW-0.05,'★黑马狂奔'),colorD18073; : n1 Q* p6 i7 e6 M
DRAWTEXT(CROSS(支持,均线) AND HIGH0,HIGH*1.14,'●逃命'),colorFF;
0 m6 F* t( ]1 M' h R7 z- ZRDV:=SMA(LOW,8,1); # |+ r- A% D. |0 s- w% @( B/ W
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; ' [. S" s! q+ o
DRAWTEXT(OPEN0 AND CLOSE>均线89 AND BB10>1 AND CLOSE/OPEN>1.04,LOW,'★天马过桥'),colorCC99FF; ) @2 y6 E1 j# Z5 o% J- f [: t2 M0 v
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorFF5B00; ; X% r- f9 P8 K+ u$ O
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),colorFF6C00;
" K% f* P0 d9 g! {2 G; j. ]STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF7B00; % C' J, f. L' g( _! o. X# Q2 |$ r
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFF9C00; 6 p" S' \+ z1 F& f# O
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBE00;
2 _% r% c6 ?$ _3 X# X7 fSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5,0),colorFFCC00; 5 W! p, G2 c- H3 u* V4 o. \& X
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),colorFFFF00; 5 f* x- a: ^! l0 w
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9,0),color70084;
, P1 z5 S0 }2 b+ v- g0 {2 eSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorA3;
5 l2 e3 @) J! d/ X- N0 I$ xSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),colorB7;
. r& P; I7 s8 s# G7 R6 n0 A USTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCD;
S, V- W. O& gSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),colorE9; 1 U0 E. i7 @$ A# z; i
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),color754E9; + G! _% l- E' |6 n/ V! {
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),color76EF3; 6 K( ^0 y0 K7 \+ _8 Y1 w' P& Y
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),color77BF3;
! y* {% d+ U7 H5 u7 WSTICKLINE(CLOSE>OPEN,OPEN,LOW,1,0),color726CA;
; }7 H- p7 F- \6 kSTICKLINE(CLOSE>OPEN,CLOSE,HIGH,1,0),color726CA;
/ ]( G; A; [) i. h1 l' H& VSTICKLINE(OPEN>CLOSE,CLOSE,LOW,1,0),colorDE9100;
+ _6 Q6 T& @+ x N, B3 @$ FSTICKLINE(OPEN>CLOSE,OPEN,HIGH,1,0),colorDE9100; ) `) G. z) F; o. {
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,9,0),color90FF; ! ~% W- x0 c3 q* N7 L) A
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,8,0),color9FFF; 9 `& p" M& I: Y' y, e
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,4,0),colorB5FF;
0 I% W$ S2 Q6 R/ b. q! Z% MSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,2,0),colorE4FF;
" z3 P2 I7 c# T, A ~$ W, vSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,OPEN,LOW,0.7,0),colorFFFF;
; u% D& H! K2 S+ s# l! _' w! pSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,HIGH,0.7,0),colorFFFF;
. Z: s) q- b4 V1 E/ zSTICKLINE(CLOSE85))>=1,'RSI相对强弱指标超买,属卖出信号。'),colorFF00; * j) {: z7 }* d0 s, x8 {
EXPLAIN((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;
/ i3 t$ H. ~7 {; e+ aEXPLAIN(CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"50,'RSI相对强弱指标死叉,属卖出信号。'),colorFF00;
?. `" j" a5 s7 kEXPLAIN("RSI.RSI1"93,'RSI相对强弱指标极高位,猛烈卖出信号。'),colorFF00; x+ g: c: @8 F7 {8 b, ~& O4 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; / D* @5 s5 F( R/ W5 O& X; x
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;
, v2 |! p3 ~! ]0 h6 `! l* X# _日K:="KDJ.K#day"(20,5,5); 7 w* f( Y" W7 p) E, }
日D:="KDJ.D#day"(20,5,5);
4 v& N y/ i" V' T- F+ a周K:="KDJ.K#week"(9,3,3);
& M# x+ p7 ?5 u: u周D:="KDJ.D#week"(9,3,3); # A1 ]5 |& \& s% P1 W
EXPLAIN(CROSS(日K,日D),'日KD金叉且底背离买入;'),colorFF;
- d6 z- S1 s% }EXPLAIN(CROSS(日D,日K),'日KD死叉且顶背离必须卖出;'),colorFF00;
* f! Q) K' E1 z1 O2 K, p* HEXPLAIN(CROSS(周K,周D),'周KD金叉且底背离买入;'),colorFF;
$ X8 u, r8 {& _5 s# Y, v+ ]3 rEXPLAIN(CROSS(周D,周K),'周KD死叉且顶背离必须卖出;'),colorFF00; 4 p! S* A: \: Z4 v! n" s! R1 z
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
6 e4 D; O( P. r3 }9 ?! XUPR:=BBI+3*STD(BBI,10); . Y6 L8 ?- V3 H- g# }
DWN:=BBI-3*STD(BBI,10); # P# ^6 ]4 |& [+ F( r+ d8 S
VAR55:=(UPR-DWN)/UPR0.18;
$ A& P( X& m* h0 W$ MVAR57:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15; * M6 O! C' \$ H7 ]
VAR58:=(MA(CLOSE,5)-MA(CLOSE,60))/MA(CLOSE,5)>0.15;
0 M* R4 I$ O9 |+ d4 Y2 OEXPLAIN(VAR55,'布林线收窄大概变盘;'),colorFF00FF;
0 _; I) Y; i9 S" U7 cEXPLAIN(VAR57 AND VAR56 AND CLOSE>OPEN,'布林上下乖离太大大概反弹;'),colorFF00FF; & @% z% X+ e) L
EXPLAIN(VAR58 AND VAR56 AND CLOSE=0.01,'SAR向上突破提示买入;'),colorFF; ! S# ]+ i8 A) B( g
EXPLAIN(CROSS("SAR",CLOSE) AND (ABS(CLOSE-"SAR"))/CLOSE>=0.01,'SAR向下突破提示卖出;'),colorFF00;
6 C, K6 G( x' G: j$ I: O) @* LTYP:=(HIGH+LOW+CLOSE)/3; & h, a* C+ ?+ v* P
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); : a' h) |; ~8 ~4 K v7 o5 j/ \; e
EXPLAIN(CCI100,'CCI指标高位,卖出时机。'),colorFF00; $ X- }! H2 G4 x8 N3 C9 _0 |( L7 A2 y2 g, L
EXPLAIN(VOL/CAPITAL>0.075,'换手过大,警惕主力出逃,短期头部。'),colorFFFF; 9 l5 X$ j0 Z6 z. I" f: ?' ^4 a- s
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); ( Q6 i/ L0 c1 J* D
EXPLAIN(WR>-20,'W&R超买,即将见顶,应实时卖出。'),colorFF00; 0 j: e1 m" @& J# k$ R; E
EXPLAIN(WR=0.5,'ARBR人气指标非常,若股价从高价下跌,属买入信号。'),colorFF;
8 D+ f* T. e8 j, \; PEXPLAIN(("ARBR.AR"-LLV("ARBR.AR",10))/LLV("ARBR.AR",10)>=0.5,'ARBR人气指标非常,若股价从低价上升,属卖出信号。'),colorFF00;
0 U2 L$ D# y. ~' I6 {5 S+ W; zEXPLAIN("ARBR.BR"300,'ARBR意愿指标表现股价随时下挫思量卖出。'),colorFF00FF; $ M4 ~7 \# E$ ^! V
EXPLAIN(CROSS("ARBR.AR","ARBR.BR") AND ("ARBR.AR"300),'ARBR人气意愿指标死叉,属卖出信号。'),colorFF00;
8 a/ i) }! i4 l" J0 d, g0 aEXPLAIN((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;
+ O$ P$ ]. y7 O( Z. P dEXPLAIN("CR.CR"18 AND (COUNT("ROC.ROC">REF("ROC.ROC",1),3))=3,'ROC变动速率指标表现短期反弹有望,属买入信号。'),colorFF;
: I( K) ^0 d QEXPLAIN((COUNT(CLOSE18 AND (COUNT(CLOSE=2) AND (COUNT(CLOSE=3,'VR容量比率指标非常,表现股价即将涨升,属买入信号。'),colorFF; U: X0 q* p4 k1 D7 G
EXPLAIN("VR">300 AND (COUNT("VR"=3 AND (COUNT(CLOSE>REF(CLOSE,1),5))>=3,'VR容量比率指标表现涨势耗尽,发起卖出。'),colorFF00; 7 j3 P1 R7 J9 G$ U S
VV6:=(2*CLOSE+HIGH+LOW)/4; . y$ D5 O$ N5 B- P: A6 p0 F
VV7:=LLV(LOW,27);
# m8 f+ v) P: e W5 r, y EVV8:=HHV(HIGH,27); ! Q" s5 G+ ~, X, r( s
攀:=EMA((VV6-VV7)/(VV8-VV7)*100,13)-50;
2 d" ~; t! L+ l9 V, u金:=EMA(0.618*REF(攀,1)+0.382*攀,3);
! r6 m* T8 ]0 \. D' H起攀:=CROSS(攀,金) AND CLOSE>OPEN; 9 g4 R ^! m0 S6 Z
EXPLAIN(CROSS(攀,金) AND CLOSE>OPEN,'起攀指标发出起攀买入信号。'),colorFF; 4 I& H. p; H' b0 z2 O# s8 x
EXPLAIN(1=1,' 【均线体系分析】'),colorFFFF; 7 t+ ]% b0 `) W5 j
MA5:=MA(CLOSE,5); 0 H2 i( G; ?7 |3 G. K
MA10:=MA(CLOSE,10);
; |; T. o* i9 k, dMA30:=MA(CLOSE,30); $ C: ^1 Q V! u8 E) k# l
MA60:=MA(CLOSE,60);
" M7 t3 }! U* _& y/ O, P8 CMA125:=MA(CLOSE,125); . p# L8 r. ~# l9 v9 F5 I
MA250:=MA(CLOSE,250); & V1 `. U2 R8 T. T) W# V
EXPLAIN(MA5>MA10 AND MA10>MA30 AND MA5>MA30,'短期均线多头分列;'),colorFF;
4 B2 c# @1 L) B3 R; C6 G, Q. PEXPLAIN(MA5MA125,'中期均线多头分列;'),colorFF;
3 m& ~# ^8 D p! U# |. Z! }EXPLAIN(MA30MA250,'恒久均线多头分列;'),colorFF; 2 D- D, x# f% h! N( p/ a V+ j
EXPLAIN(MA60MA(CLOSE,5); 3 y& h% [0 I6 `
穿头破脚:=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)); . O! E1 V6 e, K3 F, i! A0 s/ v
平顶:=(ABS(HIGH-REF(HIGH,1)))/HIGHOPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);
% ?8 h8 K E1 ]3 I. R双飞乌鸦:=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 |