发一个本论坛“咘玎的主图指标+连连涨的副图指标”两位的指标组合,发现同时出现“主图指标发出‘买入’+副图指标发出‘红包’提示”,抄底很正确,非常完善4 b9 Z, ?; W6 t
请看图+ R5 { T+ K+ c5 W$ ~1 P
* M7 s" Q# M4 J) e* M! d; s# I8 b! M) P2 ~
( L: ^3 ?/ W+ I! ?) C9 F( x - M1 ?# e s+ Q4 g Y* c" o
两源码如下" V6 K/ j( V; G; }7 L+ M" Q" [0 t
黄金江恩
* n8 o, @0 b1 f7 e6 U. DDRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));( T0 u1 w+ [+ G8 R7 S) k9 B) [9 J
DRAWTEXTREL(0,3,''代码:''+STKLABEL),ColorFFFFFF,LINETHICK2;8 u: x a4 E$ `8 `
: T. N9 v0 b& h* K5 F* MT := BARSLAST(DISPSTATUS=1)+1;
/ l8 k( [9 L5 _; `0 GA := DISPSTATUS=2;2 U* r/ \' F: U6 E1 }# J: r1 }
HH := HHV(H, T);2 J) x3 |( a N" M
LL := LLV(L, T);2 p' B' x% a7 @# i2 [ P; }, d
HL := HH-LL;4 G% C; t' L9 R5 R4 n& e, g- \
wH := HHVBARS(H, T);
& ^" W/ P% e& ~ [2 OwL := LLVBARS(L, T);7 A% n8 {$ W$ a# Y; P3 |
KK := wH-wL;
- U& M8 K8 b/ W5 P8 ?7 LmHL := HH-HL*0.5;
) B+ x6 W) C0 D3 a _if K=1 then begin/ v' x& R" e# L1 {" K
HL191 := (HH-LL)*0.191;
# E4 Y( Y# Z) T8 L& N- ^ HL382 := (HH-LL)*0.382;
2 l& [7 S$ Z" |' X" w HL618 := (HH-LL)*0.618;$ ~; [! d4 I" u U$ L; i, {
HL809 := (HH-LL)*0.809;2 p: @. [, X( z2 \+ V1 W
if KK=O,C,O,6,0),COLOR0000bb ;
n0 h, E: s- ?# MSTICKLINE(C>=O,C,O,4,0),COLOR0000cc ;
# P( v6 G" W: R$ o/ _STICKLINE(C>=O,C,O,2,0),COLOR0000ee;
* K* q$ {& [6 q3 {3 jSTICKLINE(C>=O,H,L,0,0),COLOR0000ff;
- m* h0 L) J3 F: o6 X1 t' ?; H0 O4 HSTICKLINE(C |