TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);! Z0 t* r) e/ h6 g: m
MA10:MA(CLOSE,M2);
* q+ G8 E2 ~1 C. bMA20:MA(CLOSE,M3);3 ~' B' c( r6 { L! O/ O& r
MA55:MA(CLOSE,M4);- P1 m+ N. o# D, ?" I1 b( @
MA89:MA(CLOSE,M5);
) |, q! `% h: x0 Y+ y: `+ ZMA144:MA(CLOSE,M6);5 C* r+ v4 n& @) D( ~* ^) s5 M1 A" e
MA233:MA(CLOSE,M7);
" _% o" w0 x( L3 V( k# S# w. M0 QMA377:MA(CLOSE,M8);
4 q1 Y2 p1 M7 E ]% L* \MA450:MA(CLOSE,M9);) R# B, }4 o: k! i- `4 l& q
MA610:MA(CLOSE,M10);- h4 e; k1 p0 f5 ^" Y3 l4 j
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;. J# T& r) c, m( ]! l# n( A
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
1 N4 m6 d3 X: r2 o% {9 K4 A跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; A( B! P, x/ _
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;# `/ s: B" C; o# W# J8 E( q
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');1 J6 C; W9 Z* Y# T9 Q
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
5 W, I4 E! ]8 A# `5 p流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');
) v0 Z( [$ y5 JDRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
0 L$ A. v& [6 |$ B7 P7 \$ p( {3 IST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');/ [5 `" ^. g! u( ~
C1:=REF(C,1);" w8 ]) W- W" c* |8 n& ]7 s
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
. l8 z% H% W, P- I5 e非ST涨停:=IF(1.1*C1-C<0.005,1,0);9 Z; l2 E' `9 k8 T
涨停:=ST涨停||非ST涨停;
( ]: p7 W9 W, OSTICKLINE(涨停,O,C,2,0),COLOR00FFFF;- }+ e1 d9 |- F" q* h# O
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;0 Q% a8 M' L7 s+ i2 \
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;3 H ?5 y) t& H
非ST跌停:=IF(C-0.9*C1<0.005,1,0);3 @' r3 k1 ]' Y: N' Z
跌停:=ST跌停||非ST跌停;
# n7 S) F0 d. e/ l: bSTICKLINE(跌停,O,C,2,0),COLORGREEN;( y7 }( x7 u" Y4 W
STICKLINE(跌停,H,L,0,1),COLORGREEN;
$ I; C+ N. Z$ f半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
; ^# M6 B4 o" U" Q8 }半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);
( I" E3 F" U, v* `7 o. SJRS:=半涨1&&半涨2&&NOT(ST);
% G% A9 J9 v9 l6 M8 j" ~, w( c2 Q ^{STICKLINE(JRS,O,C,2,0),COLOR0066FF;
7 W% M+ ?! `, @8 }/ t! J4 c5 USTICKLINE(JRS,H,L,0,0),COLOR0066FF;}
% [% `& E/ c% V5 z{涨停次序标注}/ K. [8 I" W! a3 U9 g
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
' u7 p1 Y1 n* Q/ Q! {) ]DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
# K; o& @$ Q, ~) a( @% f2 ~上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;
( Q: }1 f* E9 P' M# _3 G* q- R5 U6 aAA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;. V! N0 O7 y+ E- J5 }
A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);2 [; v1 J& H* a2 i
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;0 `2 `, t' o# L4 y0 q) z1 G
STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;4 K9 R9 O) u0 j, X) P
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',* S1 W4 D3 w# D
IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
$ i( p @. t1 |$ {: B EIF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',! O: q7 `; V" P) X* B, ]% M
IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
- q0 c) e% Y8 \, @/ k; m7 MIF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',
. ~% S! T" x: _) A' q) E. H* EIF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',6 M p8 d% \4 a( D* t& @
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;; G& W. @. S8 h/ p: Y T( }( n# ~
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',) ~% L( Y! Z( m4 L
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',$ E$ o* J3 X9 d- I4 u; \ e8 }
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
" l5 o* o; t* ]8 M! pIF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日'," j. e/ B1 n& ?0 K" D* {% T
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
; v' T5 s& d# [/ Q/ v0 s2 p4 n# UIF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',- S [' X. X- } u! B* t
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;
: K* B4 _- Y% G# {( j输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
8 L# c" M `+ VDRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
! K# F1 T- l% ?' V; q. B
|
|