TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
9 E. N! F/ ^# \; W6 | ^MA20:MA(CLOSE,M1),COLORRED,LINETHICK2;- j* J% A0 l, Q( L& {1 |
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;- \: s" ~5 ?5 K- m* }% v# w
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;! f) B" h0 w" t2 Q* O& r
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
; V2 G1 l0 N9 O8 |0 g! T! E* x* N: j1 I' P v
DRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
* l- j# i( u) q0 U( dAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
" `3 }: |" w8 Q7 ? K( O$ WDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;0 Y% J' q. S S' |
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
$ B8 x; g, a; L) N# z6 D0 S5 wDRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;
" M( m2 q6 k; U- y历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');
0 L0 o5 ?. E% a/ CDRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;
! F( B+ S& s D! }! ~. F e) K* d
0 ?1 C: \$ v% ZST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
! |$ L) U& q% Q+ W: A8 DC1:=REF(C,1);
5 Q3 ?7 k: _4 _- }; }5 F
9 v9 }& g/ S- F& Z C! @ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;) }! b; O0 I7 c8 y
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
% T& q, ]1 E9 j4 ]9 k; K( A涨停:=ST涨停||非ST涨停;
! N8 l+ k3 Y, O- f+ T9 F! u6 lSTICKLINE(涨停,O,C,2,0),COLORRED;
9 I# {6 }0 x' n# K% n8 c+ q5 VSTICKLINE(涨停,H,L,0,0),COLORRED;+ D- t# y4 k, U5 v$ m$ n0 q1 K1 |
NUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED; F0 j7 J" X& e6 S
DRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;5 U! q9 B9 k/ ^' M$ r9 n7 g
{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}3 a0 q- @; f3 j
6 p- k% J) ~4 {- ]上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');: n3 g8 h3 H+ m7 A5 N' n' \
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
" L, \1 P; j- v$ d2 [% i; o& N3 P+ c5 m/ ?, y' q2 g
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;% |' `7 M5 |8 r4 G- T$ ^) B
非ST跌停:=IF(C-0.9*C1<0.005,1,0);: ] U8 J$ m) ~! C; @5 v7 {4 Q
跌停:=ST跌停||非ST跌停;
+ f' H2 T* H) p7 ?) ^8 Y5 JSTICKLINE(跌停,O,C,2,0),COLORGREEN;& b p) _0 |" [2 O0 y# F
STICKLINE(跌停,H,L,0,1),COLORGREEN;
/ f. R' P' c9 f+ [NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;3 C. A; A. i; {: j, b: u6 I
DRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;5 |5 w) r+ Q5 x4 V# L* B
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
2 ]$ ]/ ?/ m( L( I! V, x' o3 F* b+ A+ W* S L, g
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');4 P7 n: B# {6 O2 ~+ `5 ?8 ], V
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;
! x' N( ]7 w9 Y0 X2 e
% @$ O7 N) f. _; wZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;+ J4 c, {1 I7 c' G6 u
DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
/ c& j* F/ t' v4 _/ l' j3 z- [STICKLINE(ZTB,O,C,3,0), COLORRED;
3 l+ V/ S% u; v: v7 X7 @4 ?9 RSTICKLINE(DYX,C,O,3,0), COLORLIGREEN;
6 h, }; p7 ~) x/ g1 R9 P+ j) V: o5 `) Y, Q* k6 i' f- g2 B9 w) C8 b
D5D:MA(C,5),COLORRED;9 U) v+ p# s9 y d, I. |" j. `
D10D:MA(C,10),COLORGREEN;$ }/ Z0 N7 n7 M9 o3 s
D20D:MA(C,20),COLORYELLOW;
: n1 w& n4 o. I2 }D55D:MA(C,55),COLORCYAN;
3 p0 \* V4 R3 w$ I; JD89D:MA(C,89),COLORMAGENTA;7 X9 h% K8 u, U6 x4 x7 D$ s
D144D:MA(C,144),COLORRED,LINETHICK2;& n9 j P+ p r
D233D:MA(C,233),COLORGREEN,LINETHICK2;' h/ O% [' v5 U; `$ T$ R9 D
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;! g; q8 M" q; \4 U0 F) l
D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;
" f4 }* W9 p4 _5 b2 FD610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;
3 u0 ^* R J/ F! }5 G
$ V7 X; W7 g2 I二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;5 G6 ^3 @6 ~; Z9 _, X9 l( M3 R3 {
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;3 `* C/ ]3 }3 {
|
|