TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:& x# F+ X% j; K6 m
MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;5 w! N. z4 K6 P
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;0 R8 m" @9 D1 ~& O& O
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;8 | u, n# F7 }9 g4 f; ~: i- i
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;+ ~% N) B9 q0 Y7 h8 I8 K$ @
3 S7 x) b$ k7 g
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;& \8 c' J3 v0 ]) ^+ c2 f- U
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');3 G! Y. G! V, Y4 a4 r
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;+ h9 o6 L& e$ r! `" @4 @
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
& Z! C+ ~& F; r! Z$ I8 YDRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;/ v4 [# A, s4 q
历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
8 _; o2 J# o) H, }8 GDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;5 V' @* l+ X4 w: v9 W
2 q6 f# ~% V0 E. T2 S( S2 K WST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
# J9 s; J+ V) w5 ^% K) FC1:=REF(C,1);4 r! G+ Z/ r$ U3 n& ^
, C, Z4 k7 i# z; Y: o
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
- |# h( T* o0 B D非ST涨停:=IF(1.1*C1-C<0.005,1,0);
! g. d. Q% S7 @/ j; P- t涨停:=ST涨停||非ST涨停;1 a& K9 P, W# x* J+ }6 o$ H
STICKLINE(涨停,O,C,2,0),COLORRED;
% t) q- x2 W7 j6 Y" `. l8 P% {STICKLINE(涨停,H,L,0,0),COLORRED;3 K: N4 e! |$ t+ Z$ w/ N6 {# @/ B- b& e
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
+ p0 d3 k, z; w! A# F# e' u' [' d7 MDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;) g' [% r9 P B
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}8 O: W9 ]" @0 y [, M/ _
5 V" x, p: E) T/ t+ O2 Y z上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
* }+ p& v& K5 z+ C* iDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
& ~0 H/ V& ~+ V* U* L
" v) R3 j7 o3 E/ S6 |: jST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;) f) j6 ~# U, F+ Y" Z( }8 p
非ST跌停:=IF(C-0.9*C1<0.005,1,0);- L8 M+ X' x- F# x# V0 F& A
跌停:=ST跌停||非ST跌停;% S" v9 G0 y8 O$ {$ N
STICKLINE(跌停,O,C,2,0),COLORGREEN;
4 r R. H2 k) ~- QSTICKLINE(跌停,H,L,0,1),COLORGREEN;5 k4 ~, r. B) u3 f0 G5 ^
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;5 Z( b6 l6 O$ h5 F( ^9 \$ `
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;% _" @5 d4 t' z$ [
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}9 A; n: I% y7 L! A' l6 [
+ a+ P6 r, } l* a8 ^+ L( S上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');
6 x' p g- _; d: ~* L& G( ]DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
0 B" R p# Y- k! P- c0 z
6 |3 Y. u; e) ?7 o) f* A" dZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
* t7 N" w7 A, o2 @, s) I& QDYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
. F& w/ K$ p! i. m/ uSTICKLINE(ZTB,O,C,3,0), COLORRED;- _' @: C/ {0 R# k5 O4 t5 K& {
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;0 Z% {8 x4 m+ l) _
7 G# m. Y/ l5 o0 l( ?" ~( KD5D:MA(C,5),COLORRED;/ p3 v$ w8 ~. V
D10D:MA(C,10),COLORGREEN;# x2 G( ^0 X4 ~3 N6 Q
D20D:MA(C,20),COLORYELLOW;
4 l8 Z/ N. J" ]( s% V0 i; HD55D:MA(C,55),COLORCYAN;
9 A$ o% z. c/ RD89D:MA(C,89),COLORMAGENTA;
6 V2 d# Q: V7 C; [' o% U4 u4 aD144D:MA(C,144),COLORRED,LINETHICK2;& l& m) e5 k6 L. t$ T
D233D:MA(C,233),COLORGREEN,LINETHICK2;6 h, V8 Z- W/ y% f2 U
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
/ O8 k6 `3 g; r4 }D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;6 ^, _) ^, n) V: F. h
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;4 B7 K' ]' {, O5 R, r; g; @) l9 z3 t
/ Y- F( M8 Y- ]' C. Q& q& ]
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;
0 |( y* M3 W" N$ j- C4 Z! jIF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;
' F+ t; m. C- {$ @; p' k |
|