黑马全息彩虹版$ B0 J7 x) f, M2 V3 @
& i K+ B; J6 b
DRAWGBK(CLOSE=CLOSE,COLORRGB(130,130,130),COLORRGB(30,30,30),1);
6 A$ b5 f% [ Y6 }( ?# v5 b2 f/ w. s上:=SMA(HIGH,21,2)*1.05; & P: [6 T. {- ?8 Y! k
DRAWTEXT(FILTER(CLOSE=MA(CLOSE,20),50,20); 6 C/ G4 N$ U2 o! [( h
RH1:=IF(J=U2L,HHV(REF(HIGH,1),(BARSLAST(J>=U2L AND REF(J,1)=U2L AND REF(J,1)RH1))); . l4 ~. D& e6 v' }( K; v
RH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1))); % X1 }3 x8 @7 j; s
RH5:=IF(HIGH>RH4 AND J0 AND CLOSE=1,AA10,AA12),colorFF;
" j# i8 I0 z+ b" W- FFILLRGN(AA12>=AA10 AND BB100 AND 黑马趋势>1 AND LOW支持位 AND HIGH0 AND HIGHRL5,LOW,'←短买'),colorFF00; ! l$ i) s- R5 M
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; ' M/ R7 o3 J" z& b. }
DRAWTEXT(VA AND 均线120-REF(均线120,1)>0 AND HIGHOPEN,LOW,'★宝马望月'),colorFFFFFF; s3 `! B- h. m$ p$ S
DRAWTEXT(均线-REF(均线,1)>0 AND CROSS(均线20,均线120) AND LOW=均线120,LOW,'三线着花'),colorFFFFFF; ! ]: n0 C+ b' s, ? r4 O+ V5 {
短期底部2LV(HIGH,30),LINETHICK2,colorFF;
( Z1 `* d3 V" V# t4 Z2 w上轨:SMA(HIGH,21,2)*1.092,POINTDOT,colorFFFFFF; 6 _( |5 C( X y. M% O( ~4 \
中轨道:SMA(HIGH,21,2)*1.017,POINTDOT,colorFFFFFF; 4 M# | l5 W% w9 ~! T6 ?
DRAWTEXT(FILTER(LOWMA(CLOSE,15) AND CLOSE>短期底部2 AND HIGH=均线120 AND CLOSE=均线 AND HIGH0 AND 拦截-REF(拦截,2)>0,11),LOW-0.11,'★快马加鞭'),colorFF;
2 R, E" h4 Q% j8 NDRAWTEXT(FILTER(OPEN0 AND HIGH0.35,4),LOW-0.05,'★黑马狂奔'),colorD18073;
" [( y0 v0 p/ [* ZDRAWTEXT(CROSS(支持,均线) AND HIGH0,HIGH*1.14,'●逃命'),colorFF; * ~" j! S+ o4 @" x* Q& n; w
RDV:=SMA(LOW,8,1); 0 ~5 ^) ~6 W+ m% @
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; % r, r! B: ^7 Q2 M
DRAWTEXT(OPEN0 AND CLOSE>均线89 AND BB10>1 AND CLOSE/OPEN>1.04,LOW,'★天马过桥'),colorCC99FF;
. j1 ^6 u, V& g, f: g0 pSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorFF5B00;
+ c7 Q/ b: E) ^STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),colorFF6C00;
; j0 a. A% P6 q' g. U# W7 D. NSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF7B00;
# D& a1 w% P% o6 G* g, x( Q1 USTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFF9C00; / Q8 ]% R2 K: N. j0 l; d
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBE00;
1 U" K# Q/ O' h- OSTICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5,0),colorFFCC00; ' g: C3 u; w# i' u1 |" U s
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),colorFFFF00;
) e3 O! j: h% z0 s+ V9 kSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9,0),color70084;
* F* N( n! g$ M+ O CSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorA3;
) }# Y7 u) K: l% Y# t* @3 |9 \STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),colorB7;
7 a8 X5 H3 _$ oSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCD;
$ X& t- {2 Y- z( s" d; v4 xSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),colorE9; ' E1 b$ o6 {2 B& D% @1 ?
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),color754E9;
& A# C0 q' ] p) uSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),color76EF3;
. `0 _5 y" s8 y; K+ BSTICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),color77BF3;
+ C2 q5 k" p0 y; ^% WSTICKLINE(CLOSE>OPEN,OPEN,LOW,1,0),color726CA;
) g, f; Z. A1 w0 q: RSTICKLINE(CLOSE>OPEN,CLOSE,HIGH,1,0),color726CA; ! Q1 f G8 e. H& U8 f* B
STICKLINE(OPEN>CLOSE,CLOSE,LOW,1,0),colorDE9100; " j7 m0 A" b' }2 d3 c! g) n d
STICKLINE(OPEN>CLOSE,OPEN,HIGH,1,0),colorDE9100;
% F# E2 X2 e) ^' BSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,9,0),color90FF; ' c: l& x) f1 K) a) L+ X8 c' |0 L
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,8,0),color9FFF; / h9 k% o: l' j& D+ G+ n
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,4,0),colorB5FF;
+ `9 M9 H; D2 NSTICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,OPEN,2,0),colorE4FF; ; H" E" L1 v/ P2 I3 z' ^+ D; m
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,OPEN,LOW,0.7,0),colorFFFF; 2 W, i$ f3 j% n) p* h( {+ ~
STICKLINE(CLOSE/OPEN>1.04 AND CLOSE0,CLOSE,HIGH,0.7,0),colorFFFF; % M9 ^" n8 x7 N5 ?3 M8 i& o
STICKLINE(CLOSE85))>=1,'RSI相对强弱指标超买,属卖出信号。'),colorFF00;
9 v+ A+ U1 W7 I5 e0 W9 N) M9 pEXPLAIN((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; 2 K4 z2 G4 ^0 p8 t4 c2 n
EXPLAIN(CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"50,'RSI相对强弱指标死叉,属卖出信号。'),colorFF00;
) D" A2 t. w: O( G, S# EEXPLAIN("RSI.RSI1"93,'RSI相对强弱指标极高位,猛烈卖出信号。'),colorFF00;
% C& S3 ^# @/ V' W" DEXPLAIN(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;
0 \1 c: o @1 z @+ z7 q# qEXPLAIN(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; , U( n0 U/ r/ d' S
日K:="KDJ.K#day"(20,5,5);
* o% Y t. r L# e1 q- }6 S9 U日D:="KDJ.D#day"(20,5,5); , x. H5 _ O, d+ H
周K:="KDJ.K#week"(9,3,3); 3 E. U6 `: Q- B$ p% a
周D:="KDJ.D#week"(9,3,3);
( k( m+ J. B6 ?# SEXPLAIN(CROSS(日K,日D),'日KD金叉且底背离买入;'),colorFF;
+ F7 u& |5 _' e0 ~* M" {& @EXPLAIN(CROSS(日D,日K),'日KD死叉且顶背离必须卖出;'),colorFF00; 2 w5 g( r. M! W$ B9 w3 Y
EXPLAIN(CROSS(周K,周D),'周KD金叉且底背离买入;'),colorFF; 4 b$ x# X( z7 ]3 W; {0 x
EXPLAIN(CROSS(周D,周K),'周KD死叉且顶背离必须卖出;'),colorFF00; * @, r( b- h: {+ r
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; $ m X! b4 p% k2 r
UPR:=BBI+3*STD(BBI,10);
- Y6 T/ s! _( Z! ^# ZDWN:=BBI-3*STD(BBI,10); 3 n) }$ Q- F+ z/ c3 {
VAR55:=(UPR-DWN)/UPR0.18; . C# ^* S, f( U% O. `" ]6 v9 v/ U
VAR57:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15; - I: O% e0 h: r3 f5 J
VAR58:=(MA(CLOSE,5)-MA(CLOSE,60))/MA(CLOSE,5)>0.15;
1 d7 S, h: ` ^" `7 FEXPLAIN(VAR55,'布林线收窄大概变盘;'),colorFF00FF; # n9 I9 g! S) X, \& U
EXPLAIN(VAR57 AND VAR56 AND CLOSE>OPEN,'布林上下乖离太大大概反弹;'),colorFF00FF;
. w5 d* _5 W" {# \0 \EXPLAIN(VAR58 AND VAR56 AND CLOSE=0.01,'SAR向上突破提示买入;'),colorFF; 7 O" Q4 g# }" W# {% W/ o
EXPLAIN(CROSS("SAR",CLOSE) AND (ABS(CLOSE-"SAR"))/CLOSE>=0.01,'SAR向下突破提示卖出;'),colorFF00; Q) s2 R `0 H: D: X& I
TYP:=(HIGH+LOW+CLOSE)/3; - G) s% X4 O" P3 z$ M- P
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); 0 m$ \8 c4 s f$ y4 `4 v
EXPLAIN(CCI100,'CCI指标高位,卖出时机。'),colorFF00;
# V, p% u" W8 j; X) ]3 TEXPLAIN(VOL/CAPITAL>0.075,'换手过大,警惕主力出逃,短期头部。'),colorFFFF;
( E2 m/ b* |' X4 Y7 p0 y" P# W) \3 R- CWR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); 4 `$ |1 H6 @. `
EXPLAIN(WR>-20,'W&R超买,即将见顶,应实时卖出。'),colorFF00;
4 \* P) \( Z$ s) ~ DEXPLAIN(WR=0.5,'ARBR人气指标非常,若股价从高价下跌,属买入信号。'),colorFF;
0 a, T) n- W2 A2 n' gEXPLAIN(("ARBR.AR"-LLV("ARBR.AR",10))/LLV("ARBR.AR",10)>=0.5,'ARBR人气指标非常,若股价从低价上升,属卖出信号。'),colorFF00; 1 {3 M* W" {3 ]% h$ O0 L. W$ ~5 Z
EXPLAIN("ARBR.BR"300,'ARBR意愿指标表现股价随时下挫思量卖出。'),colorFF00FF; " I6 g6 E7 k! v! A9 |
EXPLAIN(CROSS("ARBR.AR","ARBR.BR") AND ("ARBR.AR"300),'ARBR人气意愿指标死叉,属卖出信号。'),colorFF00; 4 Q4 l7 k/ N4 J3 V' n( v
EXPLAIN((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;
/ s8 w- G% N3 m9 P$ Q# `4 eEXPLAIN("CR.CR"18 AND (COUNT("ROC.ROC">REF("ROC.ROC",1),3))=3,'ROC变动速率指标表现短期反弹有望,属买入信号。'),colorFF;
5 y# N! X8 h6 K- N- C" I# z l8 C# gEXPLAIN((COUNT(CLOSE18 AND (COUNT(CLOSE=2) AND (COUNT(CLOSE=3,'VR容量比率指标非常,表现股价即将涨升,属买入信号。'),colorFF; : X# X3 _, f+ S1 A, A" X, T5 N
EXPLAIN("VR">300 AND (COUNT("VR"=3 AND (COUNT(CLOSE>REF(CLOSE,1),5))>=3,'VR容量比率指标表现涨势耗尽,发起卖出。'),colorFF00;
( l) K4 Y* X- `! i5 X. ?; MVV6:=(2*CLOSE+HIGH+LOW)/4; . K* | u! h1 Z4 O& S3 M; X- @+ J
VV7:=LLV(LOW,27);
3 R$ P5 q" m1 `! d% d# [VV8:=HHV(HIGH,27); ]! `8 w" R/ r( g8 v
攀:=EMA((VV6-VV7)/(VV8-VV7)*100,13)-50;
) ~8 ]5 a. n, B2 b) N. i2 Q; g金:=EMA(0.618*REF(攀,1)+0.382*攀,3); 4 b, A, f& E2 t8 b
起攀:=CROSS(攀,金) AND CLOSE>OPEN; ) t8 Z; i/ P( v- t9 ~7 D. B
EXPLAIN(CROSS(攀,金) AND CLOSE>OPEN,'起攀指标发出起攀买入信号。'),colorFF;
. v8 N/ x, ~( Y: u7 e! @EXPLAIN(1=1,' 【均线体系分析】'),colorFFFF;
/ d4 C0 p8 r! y0 U t) ZMA5:=MA(CLOSE,5);
" W& X$ b3 g$ rMA10:=MA(CLOSE,10);
5 L& D5 J5 B3 M. s' F) [- p6 HMA30:=MA(CLOSE,30);
6 i5 m; B. i" Z& [- C+ K3 QMA60:=MA(CLOSE,60); % I& i5 B( s) G* n7 ?
MA125:=MA(CLOSE,125); 3 G8 e; u' K# e3 W
MA250:=MA(CLOSE,250); / | h( l8 z) }9 U1 \0 `% \
EXPLAIN(MA5>MA10 AND MA10>MA30 AND MA5>MA30,'短期均线多头分列;'),colorFF;
( }* y# c8 f' w1 Z4 {EXPLAIN(MA5MA125,'中期均线多头分列;'),colorFF;
3 ]1 I( j) H. E1 E9 v. eEXPLAIN(MA30MA250,'恒久均线多头分列;'),colorFF;
. e7 @+ f1 N& @2 ^EXPLAIN(MA60MA(CLOSE,5); ! y1 C* @+ K$ Y6 `8 ?( J: U0 `
穿头破脚:=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));
. `; j4 j) ]+ O5 n6 j& {( f平顶:=(ABS(HIGH-REF(HIGH,1)))/HIGHOPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1); 2 T; h$ D" F8 |& K( x% F
双飞乌鸦:=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 |