指标先容:
, Q" J0 `0 \7 F; a7 G
% h* Z% h I, w/ {) B$ d4 [" K同花顺论坛平台里的指标,接待各人试一试。。。。。。
+ g; a7 H# C0 V2 i$ x
% [# z5 {9 ]( N
# [3 N! h. o3 b
+ E% A8 K- u! L# Z0 K: \' B公式源码:
; C$ @6 a+ a( o; [: E: @" D# P h3 t, V- \
DRAWGBKLAST(C>0,STRIP(RGB(10,10,50),RGB(60,13,10),0));
( X2 F P, y% ]# n8 wB1:=MA(C,1);
, L( o% H# m* B5 \# r1 G8 CB2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
, s+ f: h# k3 N. NSMA2:=MA(B2,3);
7 R/ o) W2 I* g' w& j, J% |# \停损下限:IF(LLV(MA(B2,8),3) FILLRGN(B2,SMA2,B2>SMA2,RGB(255,0,0),B2 SNAKEA:HHV(MA
. a' H9 w% n* P
; c e- B5 h2 v(B2,1),13),coloryellow; VAR1A:=(2*CLOSE+HIGH+LOW)/4;
3 o5 M! N7 s# YVAR2A:=MA(VAR1A,7);
1 s8 g7 g. i2 B+ G' R* O' W2 _* CVAR3A:=VAR2A-MA(VAR1A,7/2)0;- ?+ a& Y d# Q0 Z# Q. E
VAR5A:=BARSLAST(VAR3A);
- k4 S; }; q1 x( n" M# MVAR6A:=0-BARSLAST(VAR4A);
4 T& K6 U7 P8 S r) HVAR7A:=IF(VAR3AB2 AND B2>SMA2,SNAKEA,B2,0,0),colorblue;' v0 D5 E9 m1 m0 ?( S3 x6 U
STICKLINE(SNAKEA>SMA2 AND B2 VAR11A:=(CLOSE*2+HIGH+LOW)/4;
5 {9 ~! g: J( ~5 |% M& RVAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34);
$ W# Z+ ^, m! o3 @2 IVAR31A:=EMA(VAR21A,5);# f) M/ O5 m4 h1 g" Z
STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;7 q7 q: D2 x. v6 t8 R- T# m
STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;
$ P! `. x# Q8 d! ]* ~' e5 mSTICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE3 f: O; v1 _0 @+ _5 k. I
9 W. p3 F/ X4 ]4 V: X* _5 B((C>O),CLOSE,OPEN,2,0),COLOR0754E9;2 O6 ~% ?8 \3 m( E
STICKLINE((C>O),CLOSE,OPEN,1.5,0),COLOR076EF3;
/ p. T. t P6 N( u% F7 P4 sSTICKLINE((C>O),CLOSE,OPEN,1,0),COLOR077BF3;
" [7 `# J/ O7 `5 dVAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
) _5 y: Q6 N7 m8 \* ?' [6 QVAR3:=((REF(VAR2,1) AND (CLOSE = REF(CLOSE,2)));
* e9 ]7 g/ X2 w" u* JVAR4:=((REF(VAR3,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);
1 t& g( H; ~4 lA30:=A28 AND ((COUNT(A28,A21)) = 1);$ c) U4 \! V8 z7 e
A31:=A29 AND ((COUNT(A29,A22)) = 1);. {. [+ u! p2 H. e+ S3 K% U
A32:=A30 AND ((REF(BARSLAST(A31),1)) < (REF(BARSLAST(A30),1)));5 Z6 m7 Q! n7 ?% j7 R9 ~
A33:=A31 AND ((REF(BARSLAST(A31),1)) > (REF(BARSLAST(A30),1)));3 J' j2 R' l( M2 ?4 X: T, U; G
DRAWTEXT(A32,SMA2*0.99,'←═≒∝'),coloryellow;
$ Q* r- `! T6 u3 O: ]AC:=AMOUNT/(VOL);* ?$ ?' Z- E4 C& r3 H- E
YY:=MA(AC,13);1 t4 e4 H2 C# d" c; h# l
LLL:=(C-YY)/YY*100;3 V3 P/ k$ k: t
MIDC := MA(CLOSE,22);
7 j1 W# g$ Z8 tUPPERC:= MIDC + 2*STD(C,22);; a5 R# ]7 |" N `& [
LOWERC:= MIDC - 2*STD(C,22);
) N+ z1 N% X7 E3 L) D% VBBA:=(C-LOWERC)/(UPPERC-LOWERC);2 x9 C0 i5 H/ D$ }8 b1 V8 s
BBC:=FORCAST(BBA,3);2 N9 z, G, i2 i, n4 P; y7 z" Q
LIFENGCYC:=(REF(LLL,1)0,C,O,2,0),COLOR10ABFF;
: t7 b; g0 x6 W# @# F2 b% `( tSTICKLINE(LIFENGCYC>0,C,O,1.5,0),COLOR10D0FF;
6 K: b6 d/ h9 v/ D; KSTICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10FFFF;
0 T, d' x0 P6 Z- }6 qDRAWTEXT(LIFENGCYC>0,LOW*0.99,'☆'),COLORDD00DD; |