不复兴源码不全0 T6 O' @ k+ f# z
指标只是参考,理念才告急,是人驾御指标,不是指标驾御人。
' y7 X* `4 N9 F: q. S9 a+ f; M+ q: v; w w% @( @
源码如下:具体怎么用,本身去领会。
" C p6 z5 J. E7 V) DEMA13:EMA(C,13),COLORWHITE; 1 J" m+ j2 C2 O
EMA21:EMA(C,21),COLORYELLOW;
" {0 k- X [7 L; TEMA34:EMA(C,34),COLORFF00FF;
5 {0 Z' O, W, ?" P8 L9 a' z8 [& y& DEMA60:MA(C,60),COLORFFCC66; 8 t9 U8 E5 I. X& Z* G
VAR2:=(2*CLOSE+HIGH+LOW)/4;, F5 H$ `/ E* f- `
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);8 N* d9 C- r4 h* B% [5 T4 D
VAR4:=LLV(LOW,5);
# o& }" O3 J0 lVAR5:=HHV(HIGH,4);
# b, }+ ^$ x! d散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;5 N. D. L; Y, C6 [8 q
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;8 n" [: z3 l3 ~( q! O
DRAWTEXT(CROSS(散户,庄家) AND 散户散户,H+0.05,'短出'),COLORGREEN;
7 I: }( o9 c5 B# @0 PDRAWTEXT(CROSS(散户,庄家) AND 散户70,H+0.05,'高减'),COLORYELLOW;) z7 d$ X, ]% Y. _! P
DRAWICON(CROSS(散户,庄家) AND 散户70,H+0.05,2);
+ W0 x5 l1 p& }3 w" ~" A1 Q% `VAR9:=CLOSE-REF(CLOSE,5);0 v) g; T; [8 L$ |& G' O
VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);
1 h: w S0 F2 P% N5 _2 {VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);
1 p$ m! Y+ a) H# X4 l卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);
! r, O, j4 p. r MDRAWTEXT(VARA>0 AND CROSS(VARC,VARA),H+0.05,'中线逃!'),COLORYELLOW;+ J5 y2 w1 \/ L
DRAWICON(卖出20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; |