TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);( ]$ J2 E* L! J4 P5 d7 Y- j$ K
MA10:MA(CLOSE,M2);$ [0 u/ ]) n; w o
MA20:MA(CLOSE,M3);
q4 z& T; Q4 d8 N6 ^% _5 @5 nMA55:MA(CLOSE,M4);) s* S& D5 V9 Z# W
MA89:MA(CLOSE,M5);
& ~6 K# p% o R2 h' V+ I5 m5 SMA144:MA(CLOSE,M6);# y; x' Z- t$ f1 L
MA233:MA(CLOSE,M7);
. k( u ^1 R& z* T- j1 uMA377:MA(CLOSE,M8);
* }( W7 H2 V) C: U( PMA450:MA(CLOSE,M9);
9 P+ X( Q2 ^2 f* }. v3 ]MA610:MA(CLOSE,M10);
4 _% p8 M& m, H1 c涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
6 ~* N* J4 ^0 V! s& L) x8 e平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
/ w) X8 B, J j5 f跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;
& M" C: S" J3 s- T6 qDRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;
. K# q- e `' K* tAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');3 G2 H2 u, c" |7 Q s {: o
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;$ @1 c% U/ ^( {8 c
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');% F* @; U$ e1 G" y5 I( O
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
* C' d% J8 M5 r& p, CST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
' l: b9 X7 Q' \! B; T/ QC1:=REF(C,1);
9 A: ~! w, o0 cST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
, t6 f! d) b6 ]. \5 b% N) S非ST涨停:=IF(1.1*C1-C<0.005,1,0);
- O7 h) b: h6 \# ^6 M t5 j' v涨停:=ST涨停||非ST涨停;% \- r! L7 y1 q8 M0 j
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
: e9 g% l! z# f: m1 r- ~6 [STICKLINE(涨停,H,L,0,0),COLOR00FFFF;* ?6 d; ~7 C0 n# B
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;+ |. v% {2 \+ C2 X
非ST跌停:=IF(C-0.9*C1<0.005,1,0);8 Q: _0 _* G& ~
跌停:=ST跌停||非ST跌停;, m. t- c- W5 o" [
STICKLINE(跌停,O,C,2,0),COLORGREEN;% x9 w' C M: W
STICKLINE(跌停,H,L,0,1),COLORGREEN;; Y8 Y$ t: L! Z: C# U+ H
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);; d; w# A' O3 Y) x' a8 H2 K% @
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
( o z7 r3 C2 T0 X; {- nJRS:=半涨1&&半涨2&&NOT(ST);" i: V0 ]% I ?- G% t% ?3 B
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
6 B- |0 a& s$ Y" u6 y/ Z" Q$ GSTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
9 L& R4 `; x$ A' V' O{涨停次序标注}/ B. E) f% {5 K
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
! \( e& r C, {( gDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
; m0 ^) [2 s! L2 S上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;0 T( q& w* a$ @6 g+ U' T& e5 y
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
! x- M4 l$ { R) Y- DA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
& |# ?- B+ h6 YAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
6 \8 U7 N! Q% I tSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;
! z0 _$ t* r& S节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
/ f, L+ h1 B# t" n8 E3 Z. V6 WIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',& M. g- E! d7 R! K) E
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
- T5 [2 V& g/ |" I4 L4 mIF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',1 u# m, F* ]9 v" p! a# |7 B1 {: U
IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
$ p% w, X; z; iIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',* K6 `. \5 b; `9 l) |; F T5 v
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;3 I6 K8 t2 W* x; }1 z
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
9 _9 \; M* o( {. s3 p& ZIF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',' v: E" Q$ I+ ?6 g" D$ D5 k
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
( ?7 V* e! `4 a2 F( r( w+ WIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',: v5 P# Z) A9 B4 S8 w( w
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',, j" \4 f% p; T9 n8 _* o( m1 ~
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',5 {, D2 U8 b& c! @* ~! |
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;) ?# F {# N+ F* C) ~7 c
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
0 x8 o! n* p6 ?' i X# M& cDRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;3 S: Q+ _" |& {4 W, @( j+ @
|
|