TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);3 ^: o6 ?5 w+ ^1 M3 ]3 @! ^3 ?$ ^4 ^
MA10:MA(CLOSE,M2);
6 C9 |8 O) G' Q t, GMA20:MA(CLOSE,M3);6 q2 h* V$ e( a+ P3 o
MA55:MA(CLOSE,M4);
* I+ D$ J! a4 Z6 a! c& wMA89:MA(CLOSE,M5);
# I, V. O0 ], j, kMA144:MA(CLOSE,M6);
' h# {8 s" D# S( a. Y+ NMA233:MA(CLOSE,M7);
2 v& N- |2 X+ a: hMA377:MA(CLOSE,M8);( |. r8 _# \# {+ P
MA450:MA(CLOSE,M9);! Y+ D8 j- z- J" R7 B3 i" W/ G
MA610:MA(CLOSE,M10);
+ d7 z) J, P& `8 X! c6 t涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
. Y( ^. \5 G I- j& ]8 i平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
8 T0 S& ?+ l2 u" h) j# ~6 Q0 T" y- l+ _跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
( l0 V' M) B& y6 T/ M" nDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;* r9 }$ ?5 D$ }" |: O. M
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
; k Z4 g7 L& H9 FDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;' Q/ S$ K8 B/ Z4 I3 e, n% U. Q
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
! `9 y# v6 E6 e4 n; fDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;" O& Z6 |, c: ?9 ~. I# r
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');- h( X8 B3 \9 g1 K* f F
C1:=REF(C,1);
& N* ]& W4 A; E' ]- `: h* wST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;& H6 T9 A# H4 z
非ST涨停:=IF(1.1*C1-C<0.005,1,0);
: W3 @1 `* h- r9 _8 v. Q涨停:=ST涨停||非ST涨停;$ S% P* J$ n8 p
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;6 n0 X# M. E4 i+ ^
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
& `$ U7 p' z, r) JST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;
! T8 n0 D9 h0 z" H+ }0 Y非ST跌停:=IF(C-0.9*C1<0.005,1,0);
6 {" o/ [. d7 r3 g3 h跌停:=ST跌停||非ST跌停;
. [' A, U4 h- R- `+ R) pSTICKLINE(跌停,O,C,2,0),COLORGREEN;
f$ r' b# S, y( B7 h+ ^9 F$ ?STICKLINE(跌停,H,L,0,1),COLORGREEN;
- f" O" U% `8 I: j9 E半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
1 W' v3 F% g) ]2 A半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
$ P7 f) k# E+ A% q8 |% RJRS:=半涨1&&半涨2&&NOT(ST);
" ]) I! J) ?2 b9 E0 F{STICKLINE(JRS,O,C,2,0),COLOR0066FF;* D! h9 O' Z4 ~ \. B( o
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}+ b7 j$ m; ~# ]
{涨停次序标注}
; g6 S7 e9 a( kNUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;7 Q/ m/ D* ? _" c2 Q; p' J5 l
DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
7 y/ _+ N6 c9 I3 `上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
7 P9 Q, O0 ?7 F/ K1 rAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
u, v9 Y: |4 D9 y9 B' \* MA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);4 ?4 O/ r% E2 l1 Y) N7 {+ N2 K
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;* x8 T3 F H7 ^+ j2 t/ a
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;7 \+ l" c, [3 y% |
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
5 [( B% Z8 I ^8 z. ZIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',7 V1 |/ m/ @% ~6 m9 w' z( g0 y" H9 ]
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',$ z9 t9 ]# Y+ J$ w9 P
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',2 r( ^7 S0 y& M9 z) N f* N8 \
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
$ _" b3 L9 V3 x9 Y2 DIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
* `: _; P) I/ ]( `2 Y+ LDRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;
/ }8 Z- u" N# V% w* L' b月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
. F3 O2 p" `" ~" p* Q$ M! jIF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
( \$ X M6 ]5 q) |3 K/ k) KIF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
( q- P' i, d) mIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
4 ~2 |9 e: a* ? \* nIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
1 L: [' |+ f( ^IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
/ C* ]- B9 B) E( C3 b* I; lDRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
' R; B q6 V$ T% R6 E# R4 ?; R输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));1 }, Q2 [' D3 g" S% {: g: o
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;) p' a. A a$ y: ^7 s9 i9 m$ C
|
|