简化版:笑脸K线(dzh2)
6 j3 u+ V# d: y7 U. t) x) o% A; T$ A6 k( y, V' @
N:=150;+ T0 H/ J2 t9 p4 m# ^; `) W9 d
BU:=BARSLAST((CLOSE = HHV(CLOSE,N)));
/ Y% A+ k' Z, c$ HSE:=BARSLAST((CLOSE = LLV(CLOSE,N)));
% o7 Z2 T+ k0 V( E2 A! H- JKK1:=SE;
: W7 F @2 |& ?/ s# K: u, g. PKK2:=BU;# L2 T* B8 k) H& z3 N
LM1:=SE;7 r9 L: h Q3 U1 p2 k
LM2:=BU;
$ n( l& }: z- @. kOK:=((KK1 > KK2) AND (LM1 > LM2));
& K0 |1 b1 n, }) u a! @OK1:=((KK1 > KK2) AND (LM1 < LM2));& h+ D& \& t$ d4 a+ d3 s
NOK:=((KK2 > KK1) AND (LM2 > LM1));+ p$ \. ~( u B$ [4 s9 G
NOK1:=((KK2 > KK1) AND (LM2 < LM1));- t' G) U' r# e; |4 c
STICKLINE(OK1,CLOSE,OPEN,8,0),colorFFFF00;
) w ?* g5 e) g& n7 T' ASTICKLINE(OK1,HIGH,LOW,0,0),colorFFFF00;
" o# Q' @' t5 v( b$ r3 r- E2 F6 G& d5 TSTICKLINE(OK,CLOSE,OPEN,8,0),colorred;
7 U# ~$ h" Q* S9 G1 ISTICKLINE(OK,HIGH,LOW,0,0),colorred;! e8 O2 W6 G9 F0 D$ l1 v
STICKLINE(NOK,CLOSE,OPEN,8,0),colorFFFF00;7 M/ ]+ D! m1 [; N0 {6 {
STICKLINE(NOK,HIGH,LOW,0,0),colorFFFF00;
! c8 J$ k+ R& J# T3 rSTICKLINE(NOK1,CLOSE,OPEN,8,0),colorred;1 Q! u$ l9 Y& _6 W. D$ x: I, H
STICKLINE(NOK1,HIGH,LOW,0,0),colorred;/ u; @# U @6 x4 S. \' P
DRAWICON(CROSS(KK1,KK2),(OPEN * 0.9999),1);
- Z* G9 z3 N, D, j$ o6 cDRAWICON(CROSS(KK2,KK1),(OPEN * 1.0009),2);2 q9 D% ^8 s, ]" i+ A0 b1 I
DRAWTEXT(CROSS(KK1,KK2),(OPEN * 0.99),'跟\n进'),colorred;
8 }5 s% m* T' H% d) [; ^0 H
, U2 t( N; a/ Y- A! e% \& I+ Q5 X' p+ T+ [- u
# r# j) h# r6 S a
/ Z& W; D% ]/ i# [7 a. n
0 v+ W9 q4 `9 ?$ } M1 h. g; _5 {# x
5 f5 ~7 o4 m3 _" m
选股公式- W0 n% c! |5 D# ]
0 \, t( N7 g" r7 O8 K
N:=150;
& J; p1 |5 t! TBU:=BARSLAST((CLOSE = HHV(CLOSE,N)));0 D& z* x$ W% ~% r" a1 J$ N
SE:=BARSLAST((CLOSE = LLV(CLOSE,N)));6 N5 O; R8 [0 W* m& d# \4 P
KK1:=SE;4 `, V( G1 Y9 r
KK2:=BU;
v/ b6 W4 W: M跟进:if(CROSS(KK1,KK2),1,0); |