P1:=19;- ?% y/ |. v& L" |
P2:=120;0 E# j# W. Q, x
K:=-40;
- ~, Y: G% ^ L+ ]' A7 \. c" D( ]G:=-26;" B4 T3 h0 \$ O
STICKLINE(C>0,-1,1,6,0),COLOR330066;# ?4 o/ Y Z. V
DIF:=((EMA(CLOSE,12)-EMA(CLOSE,26)))*-1;
. C6 B* k/ b- c; O4 z1 pDEA:=EMA(DIF,9),COLORFF00FF;
4 ?* V( k7 y5 f4 ~2 x+ TMACD:=2*(DIF-DEA);/ V8 P' l1 c r( T
HH:=MA(CLOSE,10);# z5 w, H3 E- ?/ c! n
GG:=MA(CLOSE,12);
r5 N8 g3 T& p! U上:=EMA((MA(HIGH,3) * 1.05),30);
4 Y& Q9 J8 h D下:=EMA((MA(LOW,3) * 0.96),30);
$ ?2 ]1 Z% r6 j3 G' t# k决斗:STICKLINE((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF < 0)),DIF,0.4,3,0),COLOR0000FF;
! a3 p; ~- A0 m0 B; {) ZDRAWICON((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF < 0)),0.4,0);
% G3 k }8 S4 Y9 j. U3 u) S" aDRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF = REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD = 0)),3),0,0.5,3,0),COLOR00FF00;
; M% n; ~( `* PDRAWICON(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD = 0)),3),0.5,0);1 a: u# G: ` W' F5 c& j( C
DRAWTEXT(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD = 0)),3),0.5,''绝佳买入''),COLOR00FF00;
: A* f2 i* g* u7 Q4 ~4 {( w: HVCF1:=LLV(LOW,5);
9 h# F+ D& g' D- i$ ^& tVCF2:=HHV(HIGH,5);. I4 J, T' G; D
VCF3:=EMA((((CLOSE - VCF1) / (VCF2 - VCF1)) * 100),4);
2 k; t1 ^, p0 P+ l* E- N7 uVCF4:=EMA(((0.667 * REF(VCF3,1)) + (0.333 * VCF3)),2);
6 w0 e' K8 g, A4 `: n& a- ?VCF5:=((HIGH + LOW) / 2);
% i3 V4 N" m7 U& i& sVCF6:=DMA(VCF5,(VOL / SUM(VOL,5)));, w- v! w$ D, c- L
VCF7:=DMA(VCF5,(VOL / SUM(VOL,13)));
# x7 ? i: S: _9 Z* N# M! ?3 j- jVCF8:=DMA(VCF5,(VOL / SUM(VOL,34)));3 S* C5 a( M3 y0 b: Z; N7 w5 l) s# \
VCF9:=DMA(VCF5,(VOL / SUM(VOL,75)));
1 y3 [9 K* x- lVCFA:=EMA(WINNER((0.9 * CLOSE)),5);
* [( S3 x, W1 c% C# mVCFB:=(1 - EMA(WINNER((1.2 * CLOSE)),5));
. J9 D; i- r% j: I9 [7 J, Q& `VCFC:=EMA(WINNER(CLOSE),5);
2 H% L& d3 P' ?+ \1 x0 \, _: eVCFD:=((100 * (CLOSE - VCF6)) / VCF6);
: H1 A' r, |. `% hVCFE:=((100 * (CLOSE - VCF7)) / VCF7);
( M2 ?; u9 h" S! V! [VCFF:=((100 * (MIN(CLOSE,OPEN) - VCF8)) / VCF8);, b! c9 |" U& t$ G- `, ?1 k
VCF10:=BARSLAST(((VCF8 > VCF9) AND (REF(VCF8,1) 0) OR (((1 - WINNER((1.2 * CLOSE))) >= 0.8) AND (WINNER(CLOSE) < 0.05))) AND (COUNT((VCFE < (0 - 16)),2) > 0)) AND (COUNT((VCFF < (0 - 20)),2) > 0));
1 j$ J" ?, G( A! M( `VCF12:=((((COUNT((VCFD < (0 - 10)),2) > 0) AND (COUNT((VCFE < (0 - 15)),2) > 0)) AND (COUNT((VCFF < (0 - 15)),2) > 0)) AND (COUNT((VCFA > 0.8),VCF10) = 0));
5 }: g) a4 B. J! a$ D" m i1 C( w& iVCF13:=(((COUNT((VCF11 OR VCF12),2) > 0) AND (VCF3 > REF(VCF3,1))) AND (((1 - WINNER((1.15 * CLOSE))) * 100) > 80));5 v: ?- G2 Q" F6 ]- C& T7 F. e$ O
出击1:=IF((VCF13 AND (COUNT(VCF13,3) 0),0.35,''★黑马''),COLORFFFFFF;* n N2 U, Y8 o3 x- a
DRAWTEXT((黑马出击 > 0),0.35,''出击''),COLOR00FF00;8 O3 _$ {1 `$ `9 z
VAR26:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);/ r% d ]& u, a2 f
VAR27:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
0 Y$ |6 c4 ?) B; H; Z7 [* q7 L, TVAR28:=EMA(VAR27,9);
9 t' `" u4 X8 YVAR29:=(2 * (VAR27 - VAR28));
~9 p8 u6 g% l8 {8 R, YSTICKLINE(((VAR27 < (0 - 50)) AND (VAR26 > 7)),0,(0 - 0.1),5,0),COLOR0000FF;+ }4 u7 X5 r. A; {
DRAWTEXT((((VAR27 < (0 - 50)) AND (VAR26 > 7)) AND (VAR27 < VAR28)),(0 - 0.09),''底''),COLORFFFFFF;; g# u, I% G" l+ {( d
DRAWTEXT((((VAR27 < (0 - 50)) AND (VAR26 > 7)) AND (VAR27 >= VAR28)),(0 - 0.1),''追''),COLORFFFFFF;( t* W5 T' b- a
VAR1:=1;
4 Q# c" m# L9 e/ k H$ rVAR2:=MA(CLOSE,18);/ U$ G" g4 p. |6 B/ L+ C/ a
VAR3:=(((CLOSE - VAR2) / VAR2) * 100);
# a" b5 l' [9 h2 f( zVAR4:=MA(VAR3,1); J* `* U1 O# [; S
升跌:=(VAR4 * VAR1);- I* T$ W }# b: b9 w
VAR5:=BARSLAST((CROSS((0 - 10),VAR4) = 1));* n7 e& d2 t1 J; i5 ~ I- e7 ^4 i5 k
VAR6:=BARSLAST((CROSS(VAR4,10) = 1));$ t4 M+ m+ t* b* I# Y8 o
VAR7:=((VAR4 < (0 - 10)) AND (VAR5 >= 5));9 p/ L: A' j I% c+ r# Y4 ^
VAR8:=((VAR4 > 10) AND (VAR6 >= 5));
( u& f+ c+ l6 l8 C; B9 ]C3:=(IF(((VAR4 > 10) AND (VAR6 >= 5)),VAR4,0) * VAR1);
# h& u$ ~% E( P& J! O6 CC4:=C3;
( a9 `) s9 Y8 K( I+ t. O+ o/ mD1:=((((升跌 > REF(升跌,1)) AND VAR7) * 0.2) * VAR1);
# u( e3 k! R$ i7 p6 \0 F中期底部:=LLV(CLOSE,30);
4 U) i9 Q/ A/ q+ k$ RDFILTER(((((((升跌 > REF(升跌,1)) AND (LOW 中期底部)) AND VAR7) * 0.5) * VAR1),3) * 0.5),LINETHICK2,COLOR0000FF;
$ f: h* A) I4 C( h- a: cDRAWTEXT((D >= 0.25),D,''★铁底''),COLOR00FFFF;
( M* [1 e9 q/ xSTICKLINE(((CROSS(MACD,DIF) AND (MACD >= (0 - 0.05))) AND (MACD = (0 - 0.05))) AND (MACD = (0 - 0.05))) AND (MACD = (0 - 0.05))) AND (MACD REF(VOL,1)))));* o, g# m( l1 S) G0 W/ j
DRAWTEXT((((BB >= 0.7) AND (CLOSE < 上)) AND ((下 - REF(下,1)) > 0)),0.7,''。量价共同完善''),COLOR00FF00;* A9 V' T$ j+ @: e' k |; ]
DRAWTEXT((((BB >= 0.7) AND (CLOSE < 上)) AND ((下 - REF(下,1)) > 0)),0.7,''。(追)''),COLOR0000FF;, n6 }$ T, S _8 k9 W% ^- W
N15HIGH:=REF(HIGH,15);
% q/ {* l- Y6 n4 A& L2 ZN1LOW:=REF(LOW,1);( ?1 O. y& z8 _' p: Y! y
FF:=(((N15HIGH - N1LOW) / N1LOW) > 0.15);, _" l( A' n6 ]; u1 a1 g5 F
DRAWICON((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW 0) AND (((N15HIGH - N1LOW) / N1LOW) < 0.15)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW (1 * REF(VAR10,1))) AND (VAR10 < K)) AND (VAR10 > G)) * 1.5);
' F' ~/ e! ^4 `* [+ p- tVAR12:=((VOL / CAPITAL) * 100);- o, D$ E3 A3 I* K, E" {+ ]
VAR13:=LLVBARS(LOW,50);; x. [1 W/ v' `! g/ G
VAR14:=SUM(VOL,VAR13);
# F; K6 N% ]# ?1 w. ^. \VAR15:=HHVBARS(HIGH,50);
$ h0 [7 n' y0 B+ w* XVAR16:=SUM(VOL,VAR15);
8 N0 X+ [' a/ I, f! ~, jVAR17:=(((CLOSE - REF(OPEN,VAR15)) / REF(OPEN,VAR15)) * 100);
" E1 N+ {. s4 E6 XVAR18:=((VAR16 / CAPITAL) * 100);: T) V G, c: Z2 `4 T3 s) \
VAR19:=(((CLOSE - REF(OPEN,VAR13)) / REF(OPEN,VAR13)) * 100); P1 o0 q G( W, y' J) y% p& s: }- @
VAR20:=((VAR14 / CAPITAL) * 100);% i3 O. S& @' X ]
VAR21:=MA(CLOSE,3);
% ]& R$ b, D' U" UVAR22:=(REF(CLOSE,2) * 0.865);
) c; v# w* E" f* P3 Q. |VAR23:=(REF(CLOSE,13) * 0.772);
' I) Y$ M1 V/ a5 qVAR24:=MIN(VAR22,VAR23);) ?; M( W$ x( m5 C6 I
VAR25:=MA(CLOSE,13);
' {5 ?. {8 k- T" ~! j抄底1:(IF((((((CLOSE - VAR24) / CLOSE) < 0.03) AND (VAR17 < (-35))) AND ((SUM(VAR12,5) / 5) < 1.8)),1,0) * 0.4),LINETHICK3,COLORFF0000;
( Y* f& I* W2 c/ V/ YDRAWTEXT((抄底1 > 0),抄底1,''★抄底''),LINETHICK3,COLORFFFFFF;5 n+ @3 W9 }8 T: I& ]+ b
DRAWTEXT((抄底1 > 0),抄底1,''乐成90%''),LINETHICK3,COLOR00FF00;3 h" K9 [! i# Z) @+ S0 p* ?
VAR266:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
- a9 o/ d4 _2 z9 S$ I. t$ AVAR277:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
! j( w- o( L1 B" L0 @3 tVAR288:=EMA(VAR277,9);
' d+ i- O3 E( Y1 {) W" ZVAR299:=(2 * (VAR277 - VAR288));
: U4 x/ X* u$ MDRAWTEXT((((VAR277 < (-50)) AND (VAR266 > 7)) AND (VAR277 < VAR288)),(-0.08),''★''),COLORFFFFFF;
4 N6 f4 [4 o1 S V5 _DRAWTEXT((((VAR277 < (-50)) AND (VAR266 > 7)) AND (VAR277 >= VAR288)),(-0.1),''● ''),COLORFFFFFF;
8 y; U& s+ q9 }: B3 n' N7 j2 i/ rVAC:=(LOW * 0.9);
1 a, ~ a4 h2 n6 f; a/ PVAB:=EMA(LLV(LOW,90),21);- m) C8 z5 n8 X) M( D; G
VAD:=(((VAC * VOL) + (VAB * (CAPITAL - VOL))) / CAPITAL);
0 z3 ^, F* }$ v( T5 l& SVAE:=EMA(VAD,30);
/ ?; w2 B! p& y9 }1 E, |VAF:=(CLOSE - REF(CLOSE,1));2 e4 B! z* [5 m+ y9 f
VA10:=MAX(VAF,0);
6 z& v+ A; ~" ^& \5 }VA11:=ABS(VAF);
. `. L0 G& x% q# x, o" UVA12:=((SMA(VA10,7,1) / SMA(VA11,7,1)) * 100);
/ f) i; I5 H3 Q2 i: @VA13:=((SMA(VA10,13,1) / SMA(VA11,13,1)) * 100);' ?, t( W4 S2 Q# c% F& I' s
VA14:=((SMA(MAX(VAF,0),6,1) / SMA(ABS(VAF),6,1)) * 100);
" A! G& r+ K0 v0 @/ ]4 r b: vVA15:=((((-200) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 100);
6 G4 Y6 v* T, K% WVA16:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);7 n) w* L4 b6 C, C) T
VA17:=SMA(((SMA(VA16,4,1) - 50) * 2),3,1);
& ~+ p ?5 F" c4 PVA18:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
8 ?6 O# i8 t0 P+ ?9 t! zVA19:=SMA(VA18,4,1);
4 H$ ~2 V- J+ G1 o! hVA1A:=SMA(VA19,3,1);
2 e! d# S$ S5 mVA1B:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
" [4 m, [+ G/ t9 d% KVA1C:=((((((((VA14 20)) AND (VA17 < (-30))) AND (VA1A < 30)) AND ((VAE - CLOSE) >= (-0.25))) AND (VA12 < 22)) AND (VA13 < 28));9 f! T5 C+ X- H' @
低买1:=STICKLINE(VA1C,0,0.1,1,1);
, J# y; T. G* a% x/ ?; ^: v发射:STICKLINE(VA1C,0,0.7,2,0),LINETHICK2,COLOR0000FF;
( ?2 p0 ?" n ?2 C! @DRAWTEXT((VA1C > 0),0.7,''^★发射''),COLORFFFFFF;
^& o# f( E8 ]9 FA4:=BARSLAST(REF(CROSS(DIF,DEA),1));
2 D @* }$ K: Z6 EB1:=REF(C,A4+1)>C AND REF(DIF,A4+1)0,5),DIF+0.2,''●背离''),COLORYELLOW;, X' m+ |# J* r* K b$ D+ P+ c
IF(DIF>DEA,DEA,DEA),{COLORGREEN}COLORFF937F,LINETHICK2;1 s+ ^& z+ ~/ ?1 D; Z$ e7 Q$ r
缩头:=IF(MACD>0 AND REF(MACD,1)>REF(MACD,2) AND MACD< REF(MACD,1),1,0);; e0 l3 j! E4 P/ t1 m2 ^7 x
缩脚:=IF(MACDREF(MACD,1),1,0);
; q" `1 F4 c+ H1 W( T* A' B3 y阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
, }0 w& {: n9 Q3 `支持:=IF(CROSS(MA(C,20),C) OR CROSS(MA(C,60),C),1,0);
- H& ~! w6 Y! p. l( ?( g做多:=IF(CROSS(MACD,DIF) AND DIF>0 AND MACD>0,1,0);
- G$ ?" H7 P! O5 j: m放空:=IF(CROSS(DIF,MACD) AND DIF=0 OR (DIF=0),1,0);2 y5 z' y+ X$ C) O1 W3 t8 U
空头趋势:=DIF |