指标先容:
% |# ~. Q2 O! X8 P5 }+ K, s4 N- C) h7 Y: b3 v! ~4 i% q/ k
同花顺论坛平台里的指标,接待各人试一试。。。。。。 & ~- s2 v1 z+ {
" W$ m5 Z7 |4 i2 O& T4 y
1 S$ W/ p. I, O$ q( y s7 X6 f$ z) J! N
公式源码: ) L' m' Y6 D3 t% Z
% B! c# M7 [3 c
DRAWGBKLAST(C>0,STRIP(RGB(10,10,50),RGB(60,13,10),0));0 o S3 H& W8 D: P
B1:=MA(C,1);; J- {1 H/ m _5 j+ q4 m
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
' T9 ?4 f* a. V, [SMA2:=MA(B2,3);
! s: }, T$ l8 }0 ]停损下限:IF(LLV(MA(B2,8),3) FILLRGN(B2,SMA2,B2>SMA2,RGB(255,0,0),B2 SNAKEA:HHV(MA
6 n+ c4 v, ^9 c& X6 w* a \, G% |& n, D2 T/ m9 T$ a$ |( d
(B2,1),13),coloryellow; VAR1A:=(2*CLOSE+HIGH+LOW)/4;% g5 Y: `" g# `# n/ S5 A6 ^! f
VAR2A:=MA(VAR1A,7);
# Y U8 p: q, A. }VAR3A:=VAR2A-MA(VAR1A,7/2)0;
. Q7 K7 A1 Z) l: jVAR5A:=BARSLAST(VAR3A);
+ X1 [0 i9 {" N9 X: KVAR6A:=0-BARSLAST(VAR4A);3 J% t% R N' m) [
VAR7A:=IF(VAR3AB2 AND B2>SMA2,SNAKEA,B2,0,0),colorblue;9 u3 d/ g6 C& q- c: e1 o% y! h
STICKLINE(SNAKEA>SMA2 AND B2 VAR11A:=(CLOSE*2+HIGH+LOW)/4;3 u7 k( n& M: {+ M6 e. M' q5 T
VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34);
( k" F$ s# e, Q0 V N* GVAR31A:=EMA(VAR21A,5);# T) L7 Z0 o( ~! H$ O
STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;
4 E4 g9 Z7 s3 S+ H. YSTICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA; J2 z" P" i( `# D
STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE((C STICKLINE: r7 q& Q# [2 `4 N1 k+ {$ W
1 g8 [9 Y+ b7 i3 _* X6 M- Q
((C>O),CLOSE,OPEN,2,0),COLOR0754E9;: H& T g4 r2 o3 w
STICKLINE((C>O),CLOSE,OPEN,1.5,0),COLOR076EF3;3 _ f5 b& H! X% g; E: J0 F
STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR077BF3;' E) o0 ?; ~$ R3 B# O5 e
VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
0 n( a/ Z. O! ^/ z J4 wVAR3:=((REF(VAR2,1) AND (CLOSE = REF(CLOSE,2)));1 n: _3 C- d( o2 m6 r
VAR4:=((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);: v7 k- }6 J/ J& M4 m4 r
A30:=A28 AND ((COUNT(A28,A21)) = 1);* I+ e5 G$ i4 [5 F1 g2 S9 [
A31:=A29 AND ((COUNT(A29,A22)) = 1);; N9 t$ T" r. n2 t
A32:=A30 AND ((REF(BARSLAST(A31),1)) < (REF(BARSLAST(A30),1)));7 U- N- Q! R( ^( `: X
A33:=A31 AND ((REF(BARSLAST(A31),1)) > (REF(BARSLAST(A30),1)));
+ C6 v% L6 x* k, }2 WDRAWTEXT(A32,SMA2*0.99,'←═≒∝'),coloryellow;3 \* ` B+ G/ s8 N
AC:=AMOUNT/(VOL);5 ~/ w( J1 [# L. s& F
YY:=MA(AC,13);
* f+ l& ^ M. c2 Q+ yLLL:=(C-YY)/YY*100;
9 M6 x0 L$ d0 R0 o- i0 \MIDC := MA(CLOSE,22);
1 k9 E0 ^- {, v* |UPPERC:= MIDC + 2*STD(C,22);
5 T! H% q* T5 v0 _( [, eLOWERC:= MIDC - 2*STD(C,22);
3 R. x5 `/ b4 H2 X+ N% oBBA:=(C-LOWERC)/(UPPERC-LOWERC);1 _% G( A! U+ W i8 _
BBC:=FORCAST(BBA,3);
% _% ^7 \# {- w' U! X8 qLIFENGCYC:=(REF(LLL,1)0,C,O,2,0),COLOR10ABFF;5 h( A( W* e" o& h: z# Y
STICKLINE(LIFENGCYC>0,C,O,1.5,0),COLOR10D0FF;% Y8 y; ]" D" O, r8 H. ^4 g9 G+ W+ M6 r
STICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10FFFF;
1 V V" p2 s" DDRAWTEXT(LIFENGCYC>0,LOW*0.99,'☆'),COLORDD00DD; |