TA的每日心情 | 奋斗 2021-4-11 17:52 |
---|
签到天数: 847 天 [LV.10]签到十级
五段
- 积分
- 26580
|
MMA5:MA(CLOSE,M1);
- \3 X+ F( x" g( m+ s- vMA10:MA(CLOSE,M2);
) E* \" y# i5 [MA20:MA(CLOSE,M3);+ I; x: O( U# P& w0 {. o8 K0 S
MA34:MA(CLOSE,M4);
$ u7 r+ I* ~# T1 l; n+ [MA55:MA(CLOSE,M5);
* V2 X/ b# Q* \& mMA89:MA(CLOSE,M6);
3 t5 P0 A6 K0 d( ?* s3 t% GMA144:MA(CLOSE,M7);* ^/ ?9 R: o; u
MA233:MA(CLOSE,M8);5 N# Y8 j& A$ `
MA377:MA(CLOSE,M9);
7 J: F) y( X+ j) t: G$ U) L2 X+ lMA450:MA(CLOSE,M10);$ F( B4 h0 u2 m: \
MA610:MA(CLOSE,M11); 6 P& L/ v7 S7 T# n
涨:IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK2;
- w5 \* M* v5 c+ J' m平:=IF(MA20=REF(MA20,1),MA20,DRAWNULL),COLOR00FFFF,LINETHICK2;8 m9 \9 I: L3 S8 D6 N' @$ s @
跌:IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORBLUE,LINETHICK2; ' n) @( a( Q1 B. L
DRAWTEXT_FIX(1,0,0,0,'严格遵守520法则,破5日线减1/3, 破10日再减1/3,破20日线清仓'),COLORYELLOW;
" b" s' j0 P, P8 B$ x M' v4 gAB股总市值:=STRCAT(STRCAT('AB股总市值:',CON2STR(FINANCE(41)/100000000,2)),'亿');
+ h: T& S8 C! b: S: zDRAWTEXT_FIX(ISLASTBAR,0,0.2,0,AB股总市值),COLORWHITE;* y9 I' Z8 E7 P1 ^5 i% E: c! n
流通股市值:=STRCAT(STRCAT('流通股市值:',CON2STR(FINANCE(40)/100000000,2)),'亿');; p) H ?: x7 _8 c7 o0 M, T$ K
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,流通股市值),COLORWHITE;
8 ?0 r- J# G' v* c, k- xST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');- B; [: t3 s/ A& l$ X
C1:=REF(C,1);; e( |+ w# X$ r' L$ S
ST涨停:=IF(1.05*C1-C<0.005,1,0)&&ST;8 U) H" c J3 _8 H0 e0 `
非ST涨停:=IF(1.1*C1-C<0.005,1,0);+ J9 G9 A# y. `2 r2 D4 n* r0 |
涨停:=ST涨停||非ST涨停;1 t2 j \1 E0 i; V* \- A) O# ^
STICKLINE(涨停,O,C,2,0),COLOR00FFFF;
5 |* a% Z. L8 e. C2 @ STICKLINE(涨停,H,L,0,0),COLOR00FFFF;, k0 b6 {4 \7 H
ST跌停:=IF(C-0.95*C1<0.005,1,0)&&ST;2 p' _' n& y+ e1 U% e! j: x8 \% M4 E3 c
非ST跌停:=IF(C-0.9*C1<0.005,1,0);9 ~! G& a' G& ^9 r" ? k
跌停:=ST跌停||非ST跌停;* w) g- f4 `3 l0 p ]. d
STICKLINE(跌停,O,C,2,0),COLORGREEN;
5 P6 I+ q) ?& Y! L9 s1 e STICKLINE(跌停,H,L,0,1),COLORGREEN;
& R s% v( m5 }7 b% ^' k& ^& C3 M 半涨1:=IF((C-C1)*100/C1>=(5-0.01*100/C1),1,0);$ t" O$ w( v2 P+ F, Z J* c$ v2 Z
半涨2:=IF((C-C1)*100/C1<(10-0.01*100/C1),1,0);, L4 a4 @. X! b- N1 b' {3 V! m
JRS:=半涨1&&半涨2&&NOT(ST);$ C( F+ V3 ^/ u1 B" k" u
{STICKLINE(JRS,O,C,2,0),COLOR0066FF;4 r, N& ]; N% U: D9 w
STICKLINE(JRS,H,L,0,0),COLOR0066FF;}
/ u2 `( h2 P9 g3 O6 A4 X$ H( N {涨停次序标注}
3 e% h- o" X6 O z( U5 L NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1),NODRAW,COLORYELLOW;
( a: P2 u# H3 D* u' e3 S% \' _" a DRAWNUMBER(非ST涨停,H*1.04,NUMBER),COLORWHITE;
8 L0 K4 G4 [3 F 上市以来共涨停:NUMBER,NODRAW,COLORYELLOW; % J8 Z$ k5 a8 k9 S7 y
AA节:=(360*FRACPART(((DATETODAY(DATE)-21)/(365/360))/360)),NODRAW;
6 e% g4 _$ N8 b' \( v" {. e/ l8 P" C A节:=INTPART(AA节/15)+1,NODRAW;节N:=A节!=REF(A节,1);. }7 e3 v0 {% a6 {
AHZ:=HHV(H,200);ALZ:=LLV(L,200); BZ0:=(AHZ-ALZ)/40;
5 a, F/ j3 `0 O. E7 Y4 iSTICKLINE(A节!=REF(A节,1),C,C-BZ0,1,1),COLOR00FFFF; ^% ^$ y- L' H+ K% o/ F
节气:=IF(节N AND A节=3,'立春',IF(节N AND A节=4 ,'雨水',IF(节N AND A节=5,'惊蛰',IF(节N AND A节=6,'春分',
6 L) A) y' r! q IF(节N AND A节=7,'清明',IF(节N AND A节=8,'谷雨',IF(节N AND A节=9,'立夏',IF(节N AND A节=10,'小满',9 f0 K }! |2 o6 W* g" ]
IF(节N AND A节=11,'芒种',IF(节N AND A节=12,'夏至',IF(节N AND A节=13,'小暑',IF(节N AND A节=14,'大署',
: n* R+ @) X2 {7 c" e- x9 c IF(节N AND A节=15,'立秋',IF(节N AND A节=16,'处暑',IF(节N AND A节=17,'白露',IF(节N AND A节=18,'秋分',
/ ~5 ~* e4 o, p: o j- [: F IF(节N AND A节=19,'寒露',IF(节N AND A节=20,'霜降',IF(节N AND A节=21 ,'立冬',IF(节N AND A节=22,'小雪',# ?; v; X/ Y' [& M6 }0 ?6 k4 j, B
IF(节N AND A节=23,'大雪',IF(节N AND A节=24,'冬至',IF(节N AND A节=1,'小寒',IF(节N AND A节=2,'大寒',# S; I. F3 S( B f
DRAWNULL))))))))))))))))))))))));DRAWTEXT(1,H+BZ0,节气),COLOR00FFFF;; R. e$ R! L; L. F% {7 [$ i+ O
月节:=IF(REFDATE(MONTH,DATE)=1,'小寒5日-7日大寒20日-22日',IF(REFDATE(MONTH,DATE)=2,'立春3日-5日雨水18日-20日',
" }- w5 y! [! O, J IF(REFDATE(MONTH,DATE)=3,'惊蛰5日-7日春分20日-22日',IF(REFDATE(MONTH,DATE)=4,'清明4日-6日谷雨19日-21日',' o. v$ q* d# M+ L- @9 G3 {
IF(REFDATE(MONTH,DATE)=5,'立夏5日-7日小满20日-22日',IF(REFDATE(MONTH,DATE)=6,'芒种5日-7日夏至21日-23日',
; S7 y. k' v. v, M$ N* n$ N IF(REFDATE(MONTH,DATE)=7,'小暑6日-8日大暑22日-24日',IF(REFDATE(MONTH,DATE)=8,'立秋7日-9日处暑22日-24日',# U) i, G; h. f
IF(REFDATE(MONTH,DATE)=9,'白露7日-9日秋分22日-24日',IF(REFDATE(MONTH,DATE)=10,'寒露8日-10日霜降23日-25日',2 q; ]% H7 P6 e+ }+ T
IF(REFDATE(MONTH,DATE)=11,'立冬7日-9日小雪22日-24日',IF(REFDATE(MONTH,DATE)=12,'大雪6日-8日冬至21日-23日',
! D o8 q7 e. R: i" K% O8 X' H DRAWNULL)))))))))))); 今日:=DATE+19000000,NODRAW;" a: J6 H3 @; }9 Z) `( X6 Q/ v/ s
输节K:=STRCAT(CON2STR(今日,0),STRCAT('■农历节气',月节));
! U0 C* j( {8 | A0 z9 } DRAWTEXT_FIX(1,0.70,0.02,1,输节K),COLORWHITE;! Y; C/ Q2 r1 {% o" E# v* B
( t. L" _6 p9 z- ~& ~3 r% f3 Y
|
|