指标先容:
7 [1 t9 a; | N7 V5 p3 a4 o P P$ V7 N f/ Z: ?
同花顺指标平台指标,欢迎各人试一试,好用记得给五星评价。
2 ?- }- ^6 i) [$ D* m; t0 V4 s- r {- o) f$ q. T0 f
& P/ I p: h1 }+ U/ F* u/ @
T8 r% V# {# B. `( u. O" |/ t4 H公式源码:
4 G2 J7 X( {. I8 m! G& T! Y3 ]+ s
DRAWGBKLAST(CLOSE>0,STRIP(RGB(41,36,0),RGB(0,0,0),0));, s% |4 |0 A! e8 H1 i0 |. F+ Y
B1:=MA(C,1);
- Q# A3 ]; h8 D" h, GB2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);; G& W, j3 ~8 @6 v" o
SMA2:=MA(B2,3);$ U3 m1 @$ g. q5 E4 e, u" Z
停损下限:IF(LLV(MA(B2,8),3) FILLRGN(b2,sma2,b2>sma2,RGB(255,200,0),b2 snakeA:HHV(MA6 z5 z7 c7 r" S" \6 t! f
6 H9 T- k1 j1 Z; y4 x5 ^5 H
(B2,1),13),coloryellow;
9 c! [3 ~4 t0 G) S3 x4 cVar1:=(2*CLOSE+HIGH+LOW)/4;2 ^% s M: |# T9 Z
Var2:=MA(Var1,7);
( k4 p- t! L$ i& GVar3:=Var2-MA(Var1,7/2)0;# f) `2 K7 G; p2 P7 }: j
Var5:=BARSLAST(Var3);2 n; i# A$ H: o" B) g
Var6:=0-BARSLAST(Var4);
" @' x5 ^0 h- G$ g oVar7:=IF(Var3b2 AND b2>SMA2,snakea,b2,1,1),colorblue;( X+ c" z; i7 `
STICKLINE(snakea>SMA2 AND b2 Var11:=(CLOSE*2+HIGH+LOW)/4;% w# y7 _: o( ?6 O) R0 Q/ v' Q
Var21:=EMA(Var11,13)-EMA(Var11,34);
7 k) B1 L7 X( Z# u* d" F3 pVar31:=EMA(Var21,5);, Q P) ?" ?2 c
STICKLINE((C>=O),OPEN,LOW,1,0),color0726CA;
, N `7 w* A* R- qSTICKLINE((C>=O),CLOSE,HIGH,1,0),color0726CA;( l4 U9 o# g2 @. h# ^% W' ^
STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C 7 J* E4 Q8 z9 J* u
# |6 a# ~% H. G& E& M! O- b( V' T
STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE
3 f; e1 e/ ^, x$ F' P5 x
, [ X+ c: e# o- E/ _((C>O),CLOSE,OPEN,8,0),color070084;
+ e l' h* y' g' Z6 T# G) F( m% }STICKLINE((C>O),CLOSE,OPEN,10,0),color000000;
l9 P, ~" |; zSTICKLINE((C>O),CLOSE,OPEN,7,0),color0000A3;
# R: I. T/ z4 Q; I9 F7 KSTICKLINE((C>O),CLOSE,OPEN,6,0),color0000B7;8 v2 v _4 ~, B, g3 F' Z! D7 o
STICKLINE((C>O),CLOSE,OPEN,5,0),color0000CD;6 ?( ?1 z; v( v; ~
STICKLINE((C>O),CLOSE,OPEN,4,0),color0000E9;7 p7 g: G" T: O4 j
STICKLINE((C>O),CLOSE,OPEN,2,0),color0754E9;
9 X% _( v, d2 T- A$ [* M, }, e% hSTICKLINE((C>O),CLOSE,OPEN,1.5,0),color076EF3;
8 w$ M) b- J. B- [+ t8 NSTICKLINE((C>O),CLOSE,OPEN,1,0),color077BF3;
# ]2 W8 S% }2 i$ M" b( b- t/ `VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));0 e; ~9 `- `4 q( L
VAR3A:=((REF(VAR2A,1) AND (CLOSE = REF(CLOSE,2)));7 h( a' K; p+ L( i
VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = (REF(a27,1))) AND (CLOSE < a27)) AND (a22 < a21);* T- x( G G9 W# {
a30:=a28 AND ((COUNT(a28,a21)) = 1);) f# H, h, J6 d; _
a31:=a29 AND ((COUNT(a29,a22)) = 1);1 h# h; t5 Z% d/ m3 U( V0 i! o" J* I
a32:=a30 AND ((REF(BARSLAST(a31),1)) < (REF(BARSLAST(a30),1)));$ S R3 P7 E4 x- A$ }1 A/ {
a33:=a31 AND ((REF(BARSLAST(a31),1)) > (REF(BARSLAST(a30),1)));
; |4 U9 v+ N0 D, ~DRAWTEXT(a32,SMA2*0.99,'←═╬∝'),coloryellow;) {/ z8 w& L! ]7 i4 j, Z
ac:=AMOUNT/(VOL);$ q& u# [2 h# F/ m
yy:=MA(ac,13);4 M0 t: |4 J4 S# ^
lll:=(C-yy)/yy*100;& B2 Y1 ? h6 V; l3 H
MIDc := MA(CLOSE,22);/ S, q/ V2 g0 r
UPPERc:= MIDc + 2*STD(C,22);
1 I* `& I1 V, o% dLOWERc:= MIDc - 2*STD(C,22);% p& \6 a; ]3 l
bba:=(C-lowerc)/(upperc-lowerc);9 o" V& C( A- C; ?
bbc:=FORCAST(bba,3);3 M1 h2 [8 F- ^% R& Z" S
LIFENGcyc:=(REF(lll,1)0,C,O,8,0),colorred;
9 b# N3 }5 @. J; ~* {) K- GSTICKLINE(lifengcyc>0,C,O,7,0),color1029FF;( u ^$ ` v; c' ^9 j
STICKLINE(lifengcyc>0,C,O,6,0),color1040FF;5 Y+ F' O2 |- a7 o* m- \
STICKLINE(lifengcyc>0,C,O,4,0),color1083FF;
, {" x" D$ f* i# T# ~' N% iSTICKLINE(lifengcyc>0,C,O,2,0),color10ABFF; c+ P& H& B3 i- S5 V
STICKLINE(lifengcyc>0,C,O,1.5,0),color10D0FF;5 L8 m3 N0 y, ?. K* j
STICKLINE(lifengcyc>0,C,O,1,0),color10FFFF;
7 {+ Y# Z7 d( V2 y/ Z8 s$ wDRAWTEXT(LIFENGcyc>0,LOW*0.99,'☆'),colordd00dd; |