TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-2-22 16:04:38
|
只看该作者
不好意思,第一次发帖,公式如下:
) W% r0 q* A: H- Y% j2 cMA20:MA(CLOSE,M1),COLORRED,LINETHICK2;9 C# a1 S C$ D; X g0 x0 r# b
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
, i I+ |: D! o1 E( m+ j平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLORWHITE,LINETHICK2;
( @8 B4 J# ^. h9 m) b6 R跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
, f+ t3 ]! q: W# y& x1 E3 E5 j& Q
3 {/ Q5 l0 T9 o, S- F3 ~) F aDRAWTEXT_FIX(1,0,0,0,'叉叉看阳线买,冲冲看阴线抛,只做上升趋势,加油'),COLORRED;
3 w$ ?( x' z; [5 y% T+ ]& H) H+ hAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
( Q5 ^& B1 R& E* w5 n- mDRAWTEXT_FIX(ISLASTBAR,0,0.1,0,AB股总市值),COLORWHITE;5 k' t# E, F* z( R' a: c+ W0 R
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');/ R& T( `0 ~8 a" h+ q8 ^
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,流通股市值),COLORWHITE;
. i% M/ l$ U! q8 d$ [历史Z~高点跌幅:=STRCAT(STRCAT('历史Z~高点跌幅:',CON2STR((1-CLOSE/HHV(HIGH,150000))*100,1)),'%');3 y: W3 V5 U A; V; {, {; i7 h0 ^8 t
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,历史Z~高点跌幅),COLORGREEN;; m5 ^2 i$ h* o. g8 U* `, c% Z
+ `4 \; W' v8 `: z
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');! O+ V( M0 J! a7 y Z( M
C1:=REF(C,1);
1 W n- ^; y6 j9 y6 H2 r' n6 g5 w" V* a" U4 I" |
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST; q" O$ o; A; w+ [- j
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
- l& S- s% R& `" O) |1 M涨停:=ST涨停||非ST涨停;
, [" [/ b( x8 K8 ~8 m, r; }% m% cSTICKLINE(涨停,O,C,2,0),COLORRED; K* ~" e9 U7 a) ]
STICKLINE(涨停,H,L,0,0),COLORRED;
$ O5 v! f2 B) H3 e7 TNUMBER1:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORRED;
# {( \' E$ H5 I# J WDRAWNUMBER(非ST涨停,H*1.04,NUMBER1),COLORRED;
5 e [8 L- H" T8 s- ^0 L{上市以来共涨停:NUMBER1,NODRAW,COLORRED;}
" x" ?/ v& J2 O* ?. t0 }% t3 m& i# D7 l0 k% h% f- L
上市以来涨停值:=STRCAT(STRCAT('上市以来共涨停:',CON2STR(NUMBER1,0)),'次');
8 x- I" x U, o Q g' o$ u( SDRAWTEXT_FIX(ISLASTBAR,0,0.05,0,上市以来涨停值),COLORRED;
' S4 X2 ^: x- Q- p' T, z) Y
! r& D5 I, t" `ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;8 f1 Q/ l# K9 u3 k
非ST跌停:=IF(C-0.9*C1<0.005,1,0);& f- ]7 H' {7 ?" L% ]9 j2 \* i1 f
跌停:=ST跌停||非ST跌停;" ?1 a+ ~- v, \7 s8 k
STICKLINE(跌停,O,C,2,0),COLORGREEN;9 S) K0 j2 { I: m/ S' h
STICKLINE(跌停,H,L,0,1),COLORGREEN;/ r$ J) K" W* w
NUMBER2:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1),NODRAW,COLORGREEN;
3 o( M3 S7 Q& S+ C) oDRAWNUMBER(非ST跌停,H*1.04,NUMBER2),COLORGREEN;$ j- F3 g, F+ Y: z) R
{上市以来共跌停:NUMBER2,NODRAW,COLORGREEN;}
" D! ^! @4 t5 V' P& B6 V4 u" Z9 g+ P( T3 p% J$ v' _9 X
上市以来涨跌值:=STRCAT(STRCAT('上市以来共跌停:',CON2STR(NUMBER2,0)),'次');% ^+ w1 V2 c- A2 H# p
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,上市以来涨跌值),COLORGREEN;( w }" `$ r/ g
" @! Z2 `' p9 ^ZTB:=(C-REF(C,1))/REF(C,1)>=0.099 && C>=O && H>L;
D0 g! n4 f9 @' Z! ^DYX:=(REF(C,1)-C)/REF(C,1)>=0.05 && C<O && H>L;
5 o9 {2 i* v- a @; ZSTICKLINE(ZTB,O,C,3,0), COLORRED;1 \: Z+ a4 }5 _, W3 `# ^% Y
STICKLINE(DYX,C,O,3,0), COLORLIGREEN;
# u% j2 O" m- t( l `
6 A- x3 Z1 g1 {# B% x( B3 d/ yD5D:MA(C,5),COLORRED;6 P5 h4 d" t+ u+ O0 S$ K8 I
D10D:MA(C,10),COLORGREEN;
' f8 L5 z0 e" E. OD20D:MA(C,20),COLORYELLOW;4 c3 x2 _" k" |$ D7 M$ W: u
D55D:MA(C,55),COLORCYAN;
. ~9 G7 |- D" qD89D:MA(C,89),COLORMAGENTA;
0 |$ R) n: V5 G- X9 K3 G6 N; B8 ZD144D:MA(C,144),COLORRED,LINETHICK2;
2 m1 q _+ x8 n$ P# i! M. XD233D:MA(C,233),COLORGREEN,LINETHICK2;3 e2 i& x4 j. L) g4 ?/ q/ t
D377D:MA(C,377),COLORLIGRAY,LINETHICK2;
0 ^4 e, P) [: @ [% Z; }D450D:MA(C,450),COLORRED,POINTDOT,LINETHICK4;5 D$ d5 y3 w* p3 I E- l$ N8 X" K, ?: |* {
D610D:MA(C,610),COLORWHITE,POINTDOT,LINETHICK4;
) K# k( [* k, M Q2 F! ~6 M5 z( H& T! u8 i
二十天角度: (ATAN((D20D/REF(D20D,1)-1)*100)*180/3.1415926),NODRAW,COLORWHITE;/ N) |- U- Q9 i1 q7 N
IF(二十天角度>0,D20D,DRAWNULL),LINETHICK4,COLORYELLOW;" g$ F5 b9 E+ Z: Q
|
|