TA的每日心情 | 开心 2022-5-24 11:38 |
---|
签到天数: 1563 天 [LV.Master]签到十一级
六段
- 积分
- 47060
|
MA5:MA(CLOSE,M1);
8 }; O0 ]) A& _) PMA10:MA(CLOSE,M2);; ~6 {6 [6 q3 X
MA20:MA(CLOSE,M3);
+ m2 p0 u4 L+ h7 O- GMA55:MA(CLOSE,M4);6 [" t) Q$ v7 j2 i/ u- o
MA89:MA(CLOSE,M5);# S: o) q8 F) g$ O9 x- b" ^
MA144:MA(CLOSE,M6);
4 L w$ O7 H% E8 TMA233:MA(CLOSE,M7);
( ~8 i3 M8 a: p8 ?/ Z! I$ ?2 Z0 CMA377:MA(CLOSE,M8);# E$ `7 b1 m( ]! `! F& W8 S. F
MA450:MA(CLOSE,M9);9 Q" d/ f" i: ?
MA610:MA(CLOSE,M10);
; F0 u7 O9 s- ~8 Q1 p涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;# j l7 V& h _! Z! \. F# L
平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;
( d0 X* x! A7 G, y' b/ C2 `2 ]跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2;" S! z) q b% d% Q4 b9 B! a5 g
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;6 E( M5 n2 \2 h9 A0 X: T4 O
AB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
; j# N# S' p- J/ XDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;
# U$ ^" Z7 G6 Q: x流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');* I6 J/ l. Y( R, ~! M; q
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;$ _) E4 D7 O' r, J
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
U( \% l+ Q8 O& iC1:=REF(C,1);3 y `0 g; E9 C5 B
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;
, g. g& T! E# M/ X9 h% c非ST涨停:=IF(1.1*C1-C<0.005,1,0);
2 V% }' r* |6 Z! s涨停:=ST涨停||非ST涨停;
' y& c2 R# a. N5 W$ lSTICKLINE(涨停,O,C,2,0),COLOR00FFFF;6 ?" @" K& h" J* L& v# ~
STICKLINE(涨停,H,L,0,0),COLOR00FFFF;1 F f# N/ w# X }8 x, u
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;& k- [! U z2 V' g* H9 ^7 s- R. i
非ST跌停:=IF(C-0.9*C1<0.005,1,0);! O( @ e2 [: d9 Z; G( |: q
跌停:=ST跌停||非ST跌停;
; O# l8 g8 `6 RSTICKLINE(跌停,O,C,2,0),COLORGREEN;
$ g! J. M; F9 ]- Q6 USTICKLINE(跌停,H,L,0,1),COLORGREEN;& u( U3 L9 ]9 h" A8 \8 {% m8 B
半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);
* T/ C1 V0 E( f半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);& o. E& ^8 p" p3 O( `0 g; n
JRS:=半涨1&&半涨2&&NOT(ST);8 `% l0 q! O: m- R' _; H
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;3 P3 L' c8 X Z' e% v, U
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}* T5 q" p3 N* C4 g% R4 m
{涨停次序标注}0 P9 f1 j; N, m/ V
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
- f3 |* M [2 D m5 I) @! n( a& ]- L' Y7 PDRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
- c+ R( v& {9 g. z: R7 ^, d8 b- C! {上市以来共涨停:NUMBER,NODRAW,COLORYELLOW;1 v5 v7 p+ d, Y/ J+ O
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
/ ~( r( Z. b+ d9 G4 m8 WA节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);
# Y5 p* m# r+ [: sAHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
7 a/ s# M3 @' u; A" u" _+ \STICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF;+ _+ @% n! x' F6 b3 Y1 F
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
8 [; H* S; N, c j4 d5 QIF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',
" F% a/ T- o L, {IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
# d! j* X$ _" R) y7 d* _IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
5 ^' U* {4 b1 E" a& m, |IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',+ K2 u( j/ g0 a1 ?. u" z X3 f
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',
1 T7 y8 ^1 A( T6 Q2 ADRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;. R6 F# b. \; q% g
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',6 L) C! J, P; R& z F
IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',
! x2 ^) T1 {$ j1 z' w F, gIF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',1 [9 {6 y G& |
IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',
7 K! `+ W: `7 z4 X" u/ x3 }, CIF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',
, z1 _/ H1 d9 @2 d# DIF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',' _1 T8 o) o+ }9 E
DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;7 l" j5 ~3 _9 U
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));5 C0 |0 ~ A: g
DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;
0 n, V/ r, O, H
|
|